SGcutBB

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

cuts out a bounding box from a solid

Description

THis function uses SGcut for creating the output result, not SGbool. It must be clear, that this function creates a lot of additional points at the surfaces

See Also: SGcut , SGcut2 , SGcutT , BBofSGcutT , SGpuzzlecut3D

Example Illustration

 missing image of SGcutBB(SG,ax,de,TB,

Syntax

SGN=SGcutBB(SG,ax,[de,TB,"bool"])

Input Parameter

SG: Solid geometry
ax: axis, such as Bounding box
de: delta to add on each side; default is 0;
TB: use if BB ax was designed relative to a frame for instance with BBofSGcutT
"bool": if all the parts should be intersected wwith

Output Parameter

SGN: resulting solid

Examples


SGcutBB (SGbox([30,20,10]),[0 5 -2 2 0 4])
SGcutBB (SGbox([30,20,10]),[-inf inf -3 3 -2 2])
A=SGbool('x',SGbox([30,20,10]),SGofBB([-1000 1000 -3 3 -2 2])); SGfigure(A)




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