SGinsertPeghole

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-15, Last change: 2025-09-14

returns a solid with an inserted peg and hole connector

Description

After cutting an object using

See Also: , SGinsertCut , SGcutBB

Example Illustration

 missing image of SGinsertPeghole(SG,T,sl,sx,ad)

Syntax

[SG,T,d]=SGinsertPeghole(SG,[T,sl,sx,ad])

Input Parameter

SG: Solid Geometry
T: Separation plane
sl: slot size peg and hole
sx: diameter of slot size; or CPL of peg
ad: doubled length of peg

Output Parameter

SG: Solid Geometry with a peg and a hole
T:
d:

Examples


[X,T]=SGinsertCut(SGsample(5),eye(4),0.3,10)
SGinsertPeghole(X,T,0.3,10,)
SGinsertPeghole(X,T,0.3,10,5)
SGinsertPeghole(X,T,0.3,PLcircle(3,4),5)




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