PosefourbarselectAP

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

simply select a solution from the Pose attachment point list

Description

The pose struct must contain the following information
PS.A - Starting Points
PS.B - End Points
PS.CPLE = Contour of the effector
PS.GPL = Grid Point list inside the effector
PS.GAP = Grid Point Attachment List created by checkfourbar3Poseattachpermutation
THIS FUNCTION REMOVES / MODIFIES EXISTING FIELDS: 'A0','B0','A1','B1'

See Also: checkfourbar3Poseattachpermutation , Posefourbarselectui

Example Illustration

 missing image of PosefourbarselectAP(PS,aps)

Syntax

[PS,i,A0,B0,A1,B1]=PosefourbarselectAP(PS,[aps])

Input Parameter

PS: Posestruct
aps: solution number or combination of attachment points

Output Parameter

PS: New PS.GPL = Grid Point list, PS.GAP = Grid Point Attachment List
i: Solution selected if aps was used with 2 input parameters
A0: Base Point Crank
B0: Base Point Swing
A1: Attachment Point Crank
B1: Attachment Point Swing

Examples


PS=Posesample(7);
PS=checkfourbar3Poseattachpermutation(PS,3),
PosefourbarselectAP(PS,1);




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