SGTremove

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 2.1, Creation date: 2015-02-01, Last change: 2025-09-14

removes a transformation frame from a solid geometry

Description

to reduce problems with wrong parameter calls, only the name 'all' should remove all frames of the solid.
Anyway, currently also the call without any name parameter (nargin==1) will remove all frames;

See Also: SGTget , SGTset , SGTplot , SGTui , SGTframeplot , SGTrename , SGTsetofFS , SGTretain

Example Illustration

 missing image of SGTremove(SG,N)

Syntax

SG=SGTremove(SG,N)

Input Parameter

SG: SG (VL/FL plus Tname, T, TFiL)
N: string with name of Frame; 'all' removes all frames

Output Parameter

SG: SG without named frame

Examples

Set and remove a frame
SGTui(SGbox([30 20 10]),'A'), SG=ans; pause(1); SGTremove(SG,'A')
SGTui(SGbox([30 20 10]),'A'), SG=ans; pause(1); SGTremove(SG,'all')




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