Posefourbarplotcouplercurve

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

simply plots a coupler curve for fourbar linkage

Description

plots the coupler curve based on base points A0, B0, and attachment points A1, B1
or based on an index "aps" relative to the lists GPL and GAL.

See Also: PLofPosecouplercurve , Posefourbarselectcouplercurve , checkfourbar3Poseattachpermutation , checkfourbar2Poseattachpermutation , checkfourbar1Poseattachpermutation

Example Illustration

 missing image of Posefourbarplotcouplercurve(PS,aps,col,lw,cot)

Syntax

h=Posefourbarplotcouplercurve(PS,[aps,col,lw,cot])

Input Parameter

PS: Pose including A0, B0, A1, B1, or GPL and GAL
aps: select solution or combination of attachment points in GAL, requires GPL and GAL
col: col of coupler courve; default is 'r-'
lw: line width of coupler courve; default is 2
cot: col of coupler orientation; default is 'r-'

Output Parameter

h: handle to line

Examples


PS=Posesample(7)
PS=checkfourbar3Poseattachpermutation(PS,3)
PS=PosefourbarselectAP(PS,1), PS=stripfields(PS,'GPL','GAL')
SGfigure; Posefourbarplotcouplercurve(PS,'','r',2,'b');
Poseplot(PS); Posefourbarplot(PS);
Posefourbaranimate(PS);




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