Syntax
[SG,SGC,SGL,CPLC,CPLX]=SGspringSpiral([r,w,d,h,k,"STL","ccw","CPLu"])
Input Parameter
r : | | Distance between center and 2nd axis; default is 30 |
w : | | number of windings as integer of pi; default is 10 * pi |
d : | | thickness; default is 1.2 mm |
h : | | height; default is 5 mm |
k : | | [wrench-size n-edges diameter n-edges] default is [6.4 4 5 0] |
"STL" : | | if used a STL file is written |
"ccw" : | | if used for Freewheel and Spring, torque is ccw and windup is cw |
"CPLu" : | | if used an optional contour is cut out of the lid (for example shape of SGfreewheel) |
Output Parameter
SG : | | Solid Geometry of the Spring |
SGC : | | SG of a safety cage cover |
SGL : | | SG of a safety cage lid with opening for CPLu |
CPLC : | | Contour of the cage |
CPLX : | | Contour of the shaft bearing and the axis bearing |
Examples
SGspringSpiral(20,'',0.8,'',[6.4 6 5 0],'CPLu',PLcircle(10)) % With cage and lid & torque cw
SGspringSpiral(20,'',0.8,'',[6.4 6 5 0]) % without lid
SGspringSpiral(20,'',0.8,'',[6.4 6 5 0],'CPLu',PLcircle(10),'ccw') % With cage and lid & torque ccw
SGspringSpiral('simple'); A=ans; SGrotate(A,'z',pi);B=ans % 2 arm spring coil
SGspringSpiral('simple'); A=ans; SGrotate(A,'z',2*pi/3);B=ans; SGrotate(B,'z',2*pi/3); C=ans; SGplotalpha(A); % 3 arm coil
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
Last html export of this page out of FM database by TL: 2025-09-21