by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-05, Last change: 2025-09-15
See Also: CPLofA1B1P
, PosefourbarCPLE
h=fourBarplotPoints([A0,B0,A1,B1,P]);
A0: | A0 or CPL with ORDER [A0; B0; B1; A1] | |
B0: | Base of swing | |
A1: | End of Crank | |
B1: | End of Swing | |
P: | Position or Frame of Pose |
h: | handle to go |
SGfigure; fourBarplotPoints([0 0],[100 0],[0 60],[100 70]) % based on points
SGfigure; fourBarplotPoints([0 0],[100 0],[0 60],[100 70],[40 40]) % including pose
SGfigure; fourBarplotPoints([0 0],[100 0],[0 60],[100 70],TofR(rot(pi/4),[40 40]))
SGfigure; fourBarplotPoints(CPLfourbarcontour ([200,80,100,80]),'','','',[40 40]);
SGfigure; fourBarplotPoints(CPLfourbarcontour ([200,80,100,80]),'','','',TofR(rot(pi/4),[40 40]));