SGpunchTCPLfirstwall
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-09, Last change: 2025-09-14
punchs from a frame or from an outside poit a hole with a CPL into the first wall
Description
In case of wrong orientations (inside volumes, the SG bool function fails)
See Also: SGcutT
, CPLofSGcutT
, SGcutTinsertpins
, SGpunchTCPLthrough
Example Illustration
Syntax
[SG,p,ez]=SGpunchTCPLfirstwall([SG,To,CPL,olap,plan])
Input Parameter
SG: | | Solid Geometry |
To: | | Frame to punch; default is interactive Mode |
CPL: | | CPL or radius |
olap: | | overlap; default is radius or 1e-2 |
plan: | | if true, the surface is used to punchl default is false |
Output Parameter
SG: | | Solid Geometry |
p: | | punch point |
ez: | | punch direction |
Examples
SGpunchTCPLfirstwall(SGsample(13),'',.7,0,false)
SGpunchTCPLfirstwall(SGsample(13),'',.7,0,true)
SGpunchTCPLfirstwall(SGboxsphere,'',[PLcircle(2,4)])
SGpunchTCPLfirstwall(SGboxsphere,'',[PLcircle(2,4)],'',true)
Copyright 2020-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