L1L2RofBasenAttachmentpoints

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 4.5, Creation date: 2019-02-27, Last change: 2025-09-14

returns dimensions from base points and attachment points

Description

It is important to understand that the positions of the base and attachment points of the coupler already contain an implicit information about the elbow configuration. While the length values for l1,l2,r,d can be determined trivially, this does not apply to the elbow configuration.


See Also: CPLfourbarlinkage2 , fourBarLinkageplotanimui

Example Illustration

 missing image of L1L2RofBasenAttachmentpoints(A0,B0,A1,B1)

Syntax

[l1,l2,r,eb,d]=L1L2RofBasenAttachmentpoints(A0,B0,A1,B1)

Input Parameter

A0: Base Point A0
B0: Base Point B0
A1: Attachment Point A1
B1: Attachment Point B1

Output Parameter

l1: length of swing
l2: length of coupler
r: length of crank
eb: ellbow down (1) or ellbow up(2)
d: distance between the base points

Examples


L1L2RofBasenAttachmentpoints([0 0;10 0; 4 +5; 9 5]); [l1,l2,r,eb]=L1L2RofBasenAttachmentpoints([0 0;10 0; 4 +5; 9 5])
L1L2RofBasenAttachmentpoints([0 0;10 0; 4 -5; 9 5]); [l1,l2,r,eb]=L1L2RofBasenAttachmentpoints([0 0;10 0; 4 -5; 9 5])




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