SGunioncomplete

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Boolean
Introduced first in SolidGeometry 5.4, Creation date: 2024-08-21, Last change: 2025-09-15

Adds to a solid the part of a nother solid which is outside the convex hull

Description

may be later called SGunionoutside
slow function because of boolean and

See Also: SGunion , SGunionreplace , SGconvexHullsliced

Example Illustration

 missing image of SGunioncomplete(SGA,SGB,spatialrel,

Syntax

SGN=SGunioncomplete(SGA,SGB,[spatialrel,"debug"])

Input Parameter

SGA: Solid to be completed
SGB: Solid whos parts outside of SGA should be added to SGA
spatialrel: spatial relation such for SGransrelSG
"debug": if ised the creation is shown.

Output Parameter

SGN: New combined Solid

Examples


SGA=SGreadSTL('/Volumes/LUETH-WIN/RAAMBO/Raambo stls/Platte 1/2024-02-22 Kappe Motor 5.stl','','axisalign','rotx',pi,'transP',[-25 14.5 0]);
SGunioncomplete(SGA,SGofCPLz(PLcircle(31/2),[-35 -10]),'alignbottom')




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