Syntax
[CPLN,PLN]=CPLspringSpiral([RP,d,D,CPLC,cc])
Input Parameter
RP : | | [radius distance]; default is [30 0]. Outer radius of the spring; In case of D(1)>1 this is the distance to the axis |
d : | | Thickness of the spring contour; default is 1.2 |
D : | | Diameter and circular angle for the end; default is [0 1.7] |
CPLC : | | Optinal middle contour to be integrated for shaft |
cc : | | [Outer-spring-rounds Inner=Spring-Round; default is [2 3] |
Output Parameter
CPLN : | | Contour of the spring for SGofCPLz |
PLN : | | Point list for the path |
Examples
CPLspringSpiral(30,2); % 2mm spring contour 30mm
CPLspringSpiral(30,2,4); % 2mm spring contour for 4mm axis in 30mm
CPLspringSpiral(30,2,4,[PLcircle(5);nan nan; PLwrench(6.4,6)]); % turn by a 1/4 inch shaft
CPLspringSpiral([30 40],2,4,[PLcircle(5);nan nan; PLwrench(6.4,6)]); % turn by a 1/4 inch shaft in 40mm
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 2024-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