SGTchainanimation

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 4.7, Creation date: 2019-07-03, Last change: 2025-09-14

creates an animation of kinematic chains



See Also: SGTframeChain , SGTchain , vecinterpolate

Example Illustration

 missing image of SGTchainanimation(SGs,IVL,z,Fchain,stp,axo);

Syntax

[h,axG]=SGTchainanimation(SGs,[IVL,z,Fchain,stp,axo]);

Input Parameter

SGs: Cell list of Solids to move
IVL: Rows of angle values for the joints
z: z value for explosion drawings
Fchain: number of steps between two rows of IVL; default is 1
stp: number of interpolation betweem two rows
axo: optional axis definition

Output Parameter

h: handle to the drawing
axG: automated created axis/Bounding box for the movement

Examples


w1=pi/2
SGTchainanimation(JACO,[NaN -w1/3 w1 pi/3 w1 w1 pi/6; [NaN -w1/3 w1 pi/3 w1 w1 pi/6] + pi],0,Fchain,50); % Move the solids w,r,t to the Frame Structure
[~,BBJACO]=BBofSG(JACO,true)
SGTchainanimation(BBJACO,[NaN -w1/3 w1 pi/3 w1 w1 pi/6; [NaN -w1/3 w1 pi/3 w1 w1 pi/6] + pi],0,Fchain,50); % Move the solids w,r,t to the Frame Structure




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