by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 2.7, Creation date: 2015-09-24, Last change: 2025-09-14
See Also: CPLspringSpiral
, PLevolvente
, PLgrowline
, SGspringSpiral
, SGspringSpiralbolt
PL=CPLspiral(RI,RO,[ws,d,n,m])
RI: | Inner radius | |
RO: | Outer radius | |
ws: | turning angle; default is 2pi | |
d: | wall thickness; default is (RO-RI)/2/(wm/(2*pi)+1 | |
n: | number of points; default is nofrd | |
m: | number of spokes |
PL: | Point list [nx2] |
CPLspiral(3,10,10*2*pi) % Outer radius is 10, core circle has radius 3, 10 complete windings
CPLspiral(1,15,.5*pi,1,'',6); % used to create spokes for q torque control wheel