SGslicer

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVLz/Slices
Introduced first in SolidGeometry 2.1, Creation date: 2015-01-07, Last change: 2025-09-14

returns the delaunayTriangulation of the sliced plane

Description

Efficient, modern and powerful version of VLELslicer/VLELslicer2 that uses delaunayTriangulation for reconstruction and calulation of upper and lower cutted facets in addition.
Without output parameters, the result is shown in VLFLfigure
Modified in June 2015 to support already cutted objects (lines in the cutting plane). There is still no possibility to cut parts at the outer boundaries (surfaces) of the object.

See Also: VLFLofrangez , FILofrangez

Example Illustration

 missing image of SGslicer(SG,z)

Syntax

[TR2,EL,SIL,FIL,FLO,FLU,warn]=SGslicer(SG,z)

Input Parameter

SG: Solid Geometry (VL,FL)
z: z value for slicing

Output Parameter

TR2: Delaunay Triangulation of the cutting plane
EL: Border Edge List of TR2 (TR2.Constraints)
SIL: Surface Index List (Index of separated surface areas)
FIL: Facet index list of the cutted facets -1=below, +1= up, 0=cutted
FLO: Facet list upper related to [SG.VL; TR2.Points]
FLU: Facet list lower related to [SG.VL; TR2.Points]
warn:

Examples

SGslicer (SGsample(7),+10);



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