SGgearchainrotate
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.4, Creation date: 2024-05-17, Last change: 2025-09-15
rotates the axes of a gear chain
Description
The challange ist to turn the center of the wheels with the rotation of each predecessor axis rotation which will lead to a consequent rotatation of the following wheels to.
written during ICRA 2024 Yokohama
See Also: SGgearchain
, SGgearchainwindup
, SGgearchainstraight
Example Illustration
Syntax
[SG,SGA]=SGgearchainrotate(SG,f,W,[SGA])
Input Parameter
SG: | | Cell list of gear wheel with base frames 'B' |
f: | | array of gear ration with respect to the 1st one f(1)==1 |
W: | | array of desired rotatation of the following axis |
SGA: | | cell array of correspponding wahser or axes to be moved with the gears |
Output Parameter
SG: | | cell array of gears with modified position and rotation |
SGA: | | cell array of correspponding wahser or axes |
Examples
SGgearchain(1,[9 13 17 21],'',0); [SG,TL,f,SGR]=SGgearchain(1,[9 13 17 21],'','',0); % a gear chain
SGgearchainrotate(SG,f,[pi/2]); SHN=ans;
SGgearchainstraight(SGN,f)
[SG,m,f,SGW]=SGgearchainwindup(1,[39 11 39 11 39 11],'stack'); view(0,0)
SGgearchainrotate(SG,f,[pi/6],SGW)
Copyright 2024-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