fourBarLinkageplotanim

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 4.4, Creation date: 2019-01-12, Last change: 2025-09-14

plots and animates the movement of a fourbar linkage

Description

THERE ARE MORE THAN 8 PARAMETER! 9th parameter is CPLE Effector Contour 10th is 'angle' is an optional Porpertyname for angle areas. Important function for simulating the movement of forbarlinkages.There is a ninth parameter, the CPL-shape of the tool attached to the coupler position at [ka w d]. By default this CPL is a L-shaped ccordinate system.


See Also: CPLfourbarlinkage , fourBarLinkageplot , CPLfourbarlinkage2 , CPLfourbarcontour

Example Illustration

 missing image of fourBarLinkageplotanim(l1,l2,r,A0,tmove,elup,transl,ka)

Syntax

h=fourBarLinkageplotanim([l1,l2,r,A0,tmove,elup,transl,ka])

Input Parameter

l1: length of link1 at Base B0
l2: length of link2 / coupler
r: radius of crank at Base A0
A0: distance, A0-B0, Position of A0 or List [A0;B0]
tmove: time to animate; default is 2 sec
elup: elbow up (true) elbow down (false); default is false;
transl: transparancey for swept volume (0..1); default is 0;
ka: either ka or[ka w] or [ka w disp]

Property names

'alpha' : optional angle limitation [wmin wmax]

Output Parameter

h: handle to last graphics objects

Examples


axis([-100 100 -100 100]); h=fourBarLinkageplotanim (50,70,50,[30 30; 35 35],10,true); shg
axis([-100 100 -100 100]); h=fourBarLinkageplotanim (50,70,50,[30 30; 35 35],10,false); shg
SGfigure; fourBarLinkageplotanim(70,40,40,[0 0; 0 110]);
SGfigure; fourBarLinkageplotanim([110,50,110,60]); % A0-B0, B0-B1, B1-A1; A1-A0




Copyright 2019-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