SGcopyTL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 5.1, Creation date: 2021-08-09, Last change: 2025-09-15

copies a solid using a cell list of frames



See Also: SGcopyVL , CPLcopypatternTL , SGcopyrotZ , SGcopypatternXYZ , Trelation

Example Illustration

 missing image of SGcopyTL(SG,TL,rel)

Syntax

SGC=SGcopyTL(SG,TL,[rel])

Input Parameter

SG: Solid Geometry to copy
TL: List of Frames
rel: spatial relations for Trelation

Output Parameter

SGC: Solid including all copies of TL

Examples


load Yannick_robot.mat
SG=YKLowerServo; SG= SGrotate(SG,'x')
FSselect(SG,[0 -1 0],'numholes',5); fil=ans;
FSfeature(SG,fil,'cvl'); cvl=ans;
TofCVLdimclassifier(cvl,[0 4]); TL=ans, cell2mat(ans)

SGcopyTL(SGcylinder(1.5,10),TL); SGplotalpha(SG,'y',0.2); CVLplot(cvl,'-'); tplot(TL,20);
SGcopyTL(SGcylinder(1.5,10),TL,'down',3); SGc=ans; CVLplot(cvl,'-',2); tplot(TL,20);
SGsubtract(SG,SGc)




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