by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-05, Last change: 2025-09-15
[A,B,C,E,F,AParts]=SGsteepspindle([MA,p,CPL,sl,BL,isleft])
MA: | [DM-Diameter | Screw-Length | Nut-Height | Hole-Diameter] all in mm (checked bei DIN13/985) | |
p: | pitch by winding. Per default it is the DIN13 value multplied with 2 | |
CPL: | A contour to create a nut; per default the standard DIN985 shape and height is used | |
sl: | fitting between screw and nut; default is 'c' for clearance | |
BL: | [Diameter Length Top Length-Bottom] of bearing; default is [0 M M] | |
isleft: | if true a left thread is used |
A: | Solid Geometry of Spindle | |
B: | Solid Geometry of Nut | |
C: | Solid Geometry of open Nut | |
E: | Solid Geometry of Spindle and Nut with conical transition | |
F: | Plugable spindle | |
AParts: | Parts list |
SGsteepspindle([6 30]) % M6 spindle length is 30
SGsteepspindle([6 30 10]) % M6 spindle length is 30, Nut height is 10
SGsteepspindle([6 30 10],5) % Pitch is 5 wich will lead to (30-6)/5 ~ 4 windinds
SGsteepspindle([6 16 0 2],'',[0 8]); % hole for steel bar, 8 edge nut
SGsteepspindle([6 16 0 2],'',[0 8],'',[5 10]); % 5mm diameter, bearing
SGsteepspindle([6 16 0 1.5],'',[0 8],'t',[4 5]); A=ans;