Syntax
[SG,kd]=SGDIN13(D,L,[p,CPL,shr,left,"Type","STL"])
Input Parameter
D : | | Diameter (negative creates a screw cutter or nut) |
L : | | Length |
p : | | optional pitch |
CPL : | | Outer Diameter or CPL, creates nuts when D<0 and Holes if D>0 |
shr : | | shrinkage for nuts; default is 0; use slfit('c') or NaN for steep thread nuts |
left : | | if true, a left winding is designed |
"Type" : | | "A" (default) DIN13, "B" for steep thread with 1 winding, "C" for steep thread and max winding |
"STL" : | | if used an STL file will be writtemn |
Output Parameter
SG : | | Solid Geometry |
kd : | | core diameter |
Examples
SGDIN13( 32,50) % Screw
SGDIN13(+32,50,'',25) % Screw with tube to insert a carbon or metal bar
SGDIN13(-32,50) % Screw cutter
SGDIN13(-32,50,'',35) % circular nut
SGDIN13(-32,50,'',PLcircle(40,7)); nut hexagon shape
SGDIN13( 32,50,'','','',true) % Screw - Left orientation
SGDIN13(-16, 50,8,PLcircle(12),slpitch(-16,8),'Type','C')
Copyright 2022-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