Syntax
SGjuicerAdapter([Do,Di])
Input Parameter
Do : | | Outer Diameter |
Di : | | Inner Diameter |
Copyright 2023-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Algorithm (Workflow)
This algorithm is designed to create a spare part for a BOSCH juicer using parametric design principles. The function SGjuicerAdapter
takes input parameters to define the geometry of the adapter.
Input Parameters
- Do: Outer Diameter, specified as a vector with default values [19, 6].
- Di: Inner Diameter, specified as a vector with default values [13.5, 6].
- h: Height of the adapter, with a default value of 40.
Algorithm Steps
- Retrieve the outer diameter
Do
using getfuncparams
with default values [19, 6].
- Retrieve the inner diameter
Di
using getfuncparams
with default values [13.5, 6].
- Retrieve the height
h
using getfuncparams
with a default value of 40.
- Calculate the slot thickness
slt
using slfit('t')
.
- Calculate the slot clearance
slc
using slfit('c')
.
- Create the outer profile
CPLo
using PLinbus
with the outer diameter values.
- Create the inner profile
CPLi
using PLinbus
with the inner diameter values adjusted by the slot clearance.
- Combine the profiles
CPLo
and CPLi
into a single profile CPL
, separated by nan nan
to indicate a break.
- Generate the 3D geometry
SG
from the profile CPL
and height h
using SGofCPLz
.
- If no output is specified, visualize the geometry using
SGfigure
and SGplotalpha
, and write the geometry to an STL file using SGwriteSTL
.
Algorithm explaination created using ChatGPT on 2025-08-18 22:56. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21