SGanimateSLLL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 5.2, Creation date: 2022-03-10, Last change: 2025-09-15

Animates a set of solids using the SLLL format

Description

The SLLL format is a cell list in wich each row contains the following information
{Namestr, SG, TL-Framelist, color, [minlay maxlay]}
The 5th colum is not used bny this function

See Also: fourBarCLLL2SGdesign , drawnowvid , Videoquickrotate3D

Example Illustration

 missing image of SGanimateSLLL(SLLL,tmax)

Syntax

h=SGanimateSLLL(SLLL,[tmax])

Input Parameter

SLLL: {Namestr, SG, TL-Framelist, color, [minlay maxlay]}
tmax: time period to animate the movement; default is 10 sec

Output Parameter

h: handle to solids and annotation

Examples


PosesampleHook; PS=ans; fourBarposesyntheses(PS,[1 2 3],[16 3 3],[1 2 3],[1 3]);PS=ans;
fourBarposesortsolution(PS,'base-posy',[-inf -20],'ground-length','flip'); PSX=ans;
fourBarposelayering(PSX,1,[3 1.6 3],[0 1 -1 2],'wlim',[0 165]); CLLL=ans;
[a,b]=fourBarCLLL2SGdesign(CLLL,[3 1.6 3],'assembly','DIN7991');
SGfigure; SGanimateSLLL(b,10); delete(ans);
Videoquickstart; SGfigure; SGanimateSLLL(b,10); Videoquickrotate3D; Videoquickcloseandopen;




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