by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-02, Last change: 2025-09-15
[CPLE,PL,T]=PosefourbarCPLE(PS,[csi,R12o,orig])
PS: | Pose struct or A1 of GPL | |
csi: | [crank-index swing-index] of GLP for A1 and B1 or B1 of GPL | |
R12o: | [Outradius Innerradius] | |
orig: | '0','A','B' to define the origin; default is '0' |
CPLE: | Minimal Effektor contour containing Coupler Pose center | |
PL: | [P0;A1;B1] | |
T: | T to transform the coupler into the origin; default is eye(3) |
PosereadAPD('/Volumes/LUETH-WIN/MATLAB_files_for_experiments/basecabinet_new.APD');PS=ans;
PS.CPLE=CPLfillinside(PS.CPLE);
PosefourbarCPLE(PS,[1 15],10) % CALLED WITH INDEX CI and SI in GPL
PosefourbarCPLE([10 10],[20 10]) % CALLED WITH A1 and B1 of Coupler