PLthreadDIN

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 4.4, Creation date: 2018-11-23, Last change: 2025-09-14

Fnct to create the crosssection contour using DIN13 for a thread

Description

This function is an extract of first SGthread function!
Attention: Every Pitch (also the one from DIN 13) will create overlapping facets if rotated using SGofCPLrota. The reason is the limited number polygon points of a circle or in this case a helix. This problem is solved in SGofCPLrota by default.

See Also: PLgearrackDIN , PLgearDIN , SGofCPLrota , SGcut

Example Illustration

 missing image of PLthreadDIN(D,P)

Syntax

[PLB,P,KD]=PLthreadDIN(D,[P])

Input Parameter

D: DIN diameter; negative values for nuts
P: optional pitch, otherwise taken from DIN13

Output Parameter

PLB: CPL for the cross section if the thread
P: Pitch of the tread
KD: Core diameter of the core of bold or nut

Examples


PLthreadDIN (+5)
PLthreadDIN (-5)
[PL,P]=PLthreadDIN(5); SGfigure; CPLplot(PL,'r-',2);
SG=SGofCPLrota(PL,pi*6,false,'',3*P); SGfigure; view(-30,30); SGplot(SG);
SGcut(SG,[P,3*P]);




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