SGsurfacemeltbool

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Boolean
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-08, Last change: 2025-09-14

returns a solid which surfaces were added using SGbool

Description

This function is useful to melt overlapping solids into one solid by using SGboolTL

See Also: SGsurfaces , SGplotsurfaces

Example Illustration

 missing image of SGsurfacemeltbool(SG,si,Amin,grw)

Syntax

A=SGsurfacemeltbool(SG,[si,Amin,grw])

Input Parameter

SG: Original solid. All surfaces must overlap
si: indices of surfaces to melt; default is all;
Amin: Minimal Area removal; parameter for SGboolTL; default 0.01
grw: Minimal grow factor; parameter for SGboolTL; default 1e-5

Output Parameter

A: Melted Object consisting of melted solids

Examples


A=SGsample(27); B=SGaddrelSG(SGsample(5),A,'incenter','ontop',-1); SGsurfacemeltbool(B)
SGsurfacemeltbool(SGsample(17),[3,2,5,6])




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