Posefourbarselectcouplercurve

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

selects coupler courves based on the coupler curve

Description

This function was implemented during discussions with Alexandra Mercader
and improved during the Mathworks Research Summit in Newton/Boston
Tim should contact Marco Riani from Univ. of Parma to lean about the documentation creation tool
Peter Corke recommended to switch to Github

See Also: Posefourbarselectui , PosefourbarselectAP

Example Illustration

 missing image of Posefourbarselectcouplercurve(PS,dim,rots,CPLR,CPL1);

Syntax

[PS,gapi]=Posefourbarselectcouplercurve(PS,[dim,rots,CPLR,CPL1]);

Input Parameter

PS: Pose struct including CPLE, GPL, GAL
dim: number of curves, or limits of the curve, or enclosing contour
rots: true = full rotation, false = no rotation, default is both
CPLR: Area for Crank Base Point; default is not limits
CPL1: Area for Swing Base Point; default is CPLR

Output Parameter

PS: Pose with only the slelected solutions left
gapi: index list of the solutions in GAL that were selected

Examples


clear PS
PS.CPLE=[ 0,0; 0,38; 0,60; 10,60; 10,34; 8,8; 20,8; 20,0];
PS.A=[ -13.888,12.554; 9.336,-0.147; 36.205,7.592; ]; % PS=Posetransui(PS)
PS.B=[ -12.968,12.160; 10.336,-0.167; 37.082,8.072; ];
SGfigure; Poseplot(PS);
PS=checkfourbar3Poseattachpermutation(PS,'',15)
Posefourbarselectcouplercurve(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