SGplotparts

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

plots the overlapping parts of a solid separately

Description

The result of SGanalyzeGroupParts is a struct with a field SG. It contains overlapping objects that form a melted/joined solid and could be group melted

See Also: SGanalyzeGroupParts , SGplot , SGplotsurfaces

Example Illustration

 missing image of SGplotparts(A,c,Fs,si)

Syntax

h=SGplotparts(A,[c,Fs,si])

Input Parameter

A: Solid or Group Part Solid (A.SG)
c: color or colorstring such as 'rbwcr'
Fs: Font size for Descriptor; default is 16
si: selector for group parts

Output Parameter

h: handle to graphic objects

Examples

close all; SGfigure; view(30,30); SGplotparts(SGsample(17));
GP=SGanalyzeGroupParts(SGsample(17));
close all; SGfigure; view(30,30); SGplotparts(GP);
close all; SGfigure; view(30,30); SGplotparts(GP,'wr');
close all; SGfigure; view(30,30); SGplotparts(GP,'wr',20);
close all; SGfigure; view(30,30); SGplotparts(GP,'wr',20,1);
close all; SGfigure; view(30,30); SGplotparts(GP,'wr',20,2);




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