SGofCPLzscrew

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Automatic Design
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-24, Last change: 2025-09-15

Extrudes a CPL in z with an internal scew to print the part separately as FDM

Description

Took 45 minutes from idea to documented function including testing on a Bambuu X1C

See Also: SGofCPLz

Example Illustration

 missing image of SGofCPLzscrew(CPL,z,M,ht,z0,

Syntax

[SGScr,SGNut]=SGofCPLzscrew(CPL,[z,M,ht,z0,"STL"])

Input Parameter

CPL: Conotur to extrude
z: z or [zmin zmax]
M: metric diameter of a screw; default is automatic
ht: height and minimal wall thickness of the thread; default is [5 1.2]
z0: cutting position; default is the middle
"STL": if used an STL folder is written

Output Parameter

SGScr: Lower part with the screw
SGNut: Upper part containing nut and cap

Examples


SGofCPLzscrew(PLsquare(8),[-10 10])
SGofCPLzscrew(PLstar(8),[-10 10])




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