Posefourbarselectui
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 4.5, Creation date: 2019-03-01, Last change: 2025-09-14
interactive tool to plot poses and to select two attachment/base points for a fourbar linkage
Description
ATTENTION THIS FUNCTION IS ABLE TO MODIFY THE POSE STRUCT AS LONG AS THE WINDOW IS OPEN!
THERE WILL BE A VARIABLE PS_ui_tmp
The pose struct must contain the following information
PS.A - Starting Points
PS.B - End Points
PS.CPLE = Contour of the effector
THIS FUNCTION REMOVES / MODIFIES EXISTING FIELDS: 'A0','B0','A1','B1'
PS.GPL = Grid Point list inside the effector
PS.GAP = Grid Point Attachment List created by checkfourbar3Poseattachpermutation
See Also: checkfourbar3Poseattachpermutation
Example Illustration
Syntax
PS=Posefourbarselectui(PS,[ord])
Input Parameter
PS: | | Posestruct |
ord: | | Optional required order such as 123 |
Output Parameter
PS: | | New PS.GPL = Grid Point list, PS.GAP = Grid Point Attachment List |
Examples
PS=Posesample(7), Posefourbarselectui(PS);
PS=checkfourbar3Poseattachpermutation(PS,3), Posefourbarselectui(PS);
PS=checkfourbar3Poseattachpermutation(PS,PLsquare(6,2)), Posefourbarselectui(PS);
CPL=[PLsquare(6,4);nan nan;PLsquare(3,2)];
PS=checkfourbar3Poseattachpermutation(PS,CPL,.4,'',true), Posefourbarselectui(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