by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-02, Last change: 2025-09-15
[SG,CPL]=SGwheelspiral([R,H,n,A,shf,"DIN433","STL"])
R: | [Ro Ro2 Ri]; default 15 | |
H: | Heightand width of the spokes; default is [5 2] | |
n: | number of spokes; if n<0 the spokes are ccw | |
A: | 'T30' if there is a need for a torx axle; Can also be a CPL | |
shf: | shaft==true [slfit('t')], axle=false [slfit('c')]; default is true | |
"DIN433": | if used a pinring whaser of a DIN433 size is added | |
"STL": | if used an STL file is written |
SG: | Solid Geometry | |
CPL: | CPL that was extruded |
SGwheelspiral(15,[3 2],3)
SGwheelspiral(15,[3 2],-3)
SGwheelspiral(15,[3 .8],-3,PLcircle(3),'DIN433')
SGwheelspiral(15,[3 2],3,'T30') % String for Torx
SGwheelspiral(20,'','',PLwrench(6.4,6),true, 'stl','DIN433'); % For shafts
SGwheelspiral(20,'','',PLwrench(6.4,6),false, 'stl','DIN433'); % For axes