by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.1, Creation date: 2022-02-03, Last change: 2025-09-15
[ll,d,s]=layerspacerlength([se,lay,R12,H])
se: | [startindex-in-layers endindex-in-layers] | |
lay: | [layer indices] default is [0 2 1 1] for ground, effector, crank swing] | |
R12: | just for visualization | |
H: | just for visualization |
ll: | levels of spacer | |
d: | length of spacer | |
s: | direction of spacer |
layerspacerlength([1 3],[0 4 6 8]) % layers and length of a spacer between layer 0 and layer 6
layerspacerlength([1 3],[0 4 1 8]) % layers and length of a spacer between layer 0 and layer 1
layerspacerlength([1 3],[0 4 0 8]) % layers and length of a spacer between layer 0 and layer 0
layerspacerlength([1 3],[0 4 -6 8]) % layers and length of a spacer between layer 0 and layer -6