SGspring

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 4.6, Creation date: 2019-06-11, Last change: 2025-09-14

returns a cylindric spring

Description

circular cross section is different to the former function square cross section spring of Dec 2011: VLFLspring
This function was written in Tokyo visiting Hajime Asama's Lab at The University of Tokyo


See Also: VLFLspring , SGstent , SGspringSpiral

Example Illustration

 missing image of SGspring(l,d,n,s,m,r)

Syntax

[SGX,SG,SGA,SGB]=SGspring([l,d,n,s,m,r])

Input Parameter

l: length of spring
d: outer diameter of spring
n: number of windings
s: ratio of compressed spring default is 0.5
m: number of parallel yarns
r: optional radius

Output Parameter

SGX:
SG:
SGA:
SGB:

Examples


SGspring(30,10,10,.5,4);
SGspring(30,10,10,.5,1);
SGspring(30,10,10,.5,8);
SGspring(30,10,10,.5,8,.35);




Copyright 2019-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