SGboolDEBUG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Boolean
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-22, Last change: 2025-09-14

reads in in the STL Geometries that created problems during SGboolh

Description

SGboolDEBUG: Starting with SG-Lib. 4.9, the function "SGboolh" writes the STL-Files for corrupted Arguments or corrupted Results to the desktopdir:
SG-Lib_Debug_Boolh_FAIL_A.STL is Operand/Parameter A if SGBoolh failed!
SG-Lib_Debug_Boolh_FAIL_B.STL is Operand/Parameter B if SGBoolh failed!
Always both Parameters are written to file by SGboolh

See Also: SGboolh , SGboolanalyze , SGcheckmeshlab

Example Illustration

 missing image of SGboolDEBUG(cmd)

Syntax

[SGs,erra,errb]=SGboolDEBUG([cmd])

Input Parameter

cmd: optional command for checking in further versions

Output Parameter

SGs: Cell list of 2 Solids {A,B}
erra: errors of A of SGcheckmeshlab
errb: errors of B of SGcheckmeshlab

Examples


SGdumbbell('bool'); SG=ans; view(90,0); err=SGcheckmeshlab(SG);
SGboolDEBUG; SG=ans; A=SG{1}; B=SG{2}; % Ready to make further testing




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