FLofSGz

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 4.8, Creation date: 2019-09-04, Last change: 2025-09-14

returns the planar faces for a z value and the faces that have edges for this z value

Description

Similar to SGslicercheck

See Also: SGslicercheck

Example Illustration

 missing image of FLofSGz(SG,z,tol)

Syntax

[FLi,z,ELi]=FLofSGz(SG,[z,tol])

Input Parameter

SG: Solid Geometry
z: z scalar value for slicing; or 'max' or 'min'
tol: tolerance for z difference; default is 1e-3

Output Parameter

FLi: index list of planar faces
z: index list of faces with edges in the z plane
ELi: Edge list index with 2 in the plane

Examples


FLofSGz(SGbox([30,20,10]),0)
FLofSGz(SGbox([30,20,10]),-5)
FLofSGz(SGbox([30,20,10]),+5)




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