fourbarplotABGPL
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-19, Last change: 2025-09-15
simply plots a fourbar linkage based on points - recommended in SG-Lib 5.1
Description
Function to explain the programming: (9th parameter is CPLE)
Any 4bar linkage that is defined by four joint coordinates is able to execute a unique movement solution (in constrast to a 4bar linkage that is defined by link length) in a specific elbow configuration and in the right crank movement segment. By defining the attachment points A1 and B1 relative to a Pose O0, also the shape of the coupler link is defined. In case that link diameter and bire diameter are given, it is possible to draw an linkage that can even extruded to a solid geometry.
See Also: PLofFourbarcouplercurve
, R12ofCPL
, CPLfourbarcontour
Example Illustration
Syntax
h=fourbarplotABGPL(A0,B0,A1,B1,[GPLA,GPLB,R12o,wlim,CPLE])
Input Parameter
A0: | | Base point of crank |
B0: | | Base point of swing |
A1: | | Attachment point of crank at coupler |
B1: | | Attachment point of swing at coupler |
GPLA: | | Position of attachment point A1 relativ to a pose |
GPLB: | | Position of attachment point B1 relativ to a pose |
R12o: | | R12ofCPL [Out and inner radius of link and bore] |
wlim: | | if used, the movement path of crank, swing and pose are drawn |
Output Parameter
Examples
CPLfourbarcontour(100,20,100,50); CPL=ans;
R12ofCPL(CPL);
cla; fourbarplotABGPL(CPL(1,:), CPL(2,:), CPL(4,:), CPL(3,:));
Copyright 2021-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