by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Automatic Design
Introduced first in SolidGeometry 5.5, Creation date: 2025-07-20, Last change: 2025-09-15
Use carefully: The 'SGpipeclamp' function has not yet been extensively tested
SGA=SGpipeclamp([D,Hw,Dh,MLD,"STL"])
D: | Diameter of th pipe or CPL contour; default is D=80 | |
Hw: | Height and width of the clamp; default is [40 5] | |
Dh: | Diameter of the Hinge; default is 4 ; warning if smaller than 2.4 | |
MLD: | [Diameter Length displacement] of a DIN912/DIN985 locking; default is 0 | |
"STL": | if used an strl file is written |
SGA: | Solid Geometry, complete as SG for grouping use SGanalyzePenetration |
SGpipeclamp(80,[40 5]) % circular cross section
SGpipeclamp(PLsquare(80),[40 5]) % square cross section
SGanalyzePenetration(ans) % Group the surfaces into related solids
SGpipeclamp(40,[20 5],'',2.5,'stl')