calc4BarAngle

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 2.8, Creation date: 2016-01-08, Last change: 2025-09-14

returns 4-Bar-Linkage points for link B

Description

calculation of the end point(s) of link B of a 4-Bar-linkage for a given position.

See Also: synth4Bar2Pose , cross2circ , plot4Bar

Example Illustration

 missing image of calc4BarAngle(A0,B0,A1,lb,lc)

Syntax

[B1,B1a,x,y,e,o]=calc4BarAngle(A0,B0,A1,lb,lc)

Input Parameter

A0: Base point of link A
B0: Base point of link B
A1: Position of point A1
lb: length of link B
lc: length of coupler (A1B1)

Output Parameter

B1: Right hand solution for positive x
B1a: Left hand solution for positive x
x: straight distance from A1B0
y: orthogonal distance from A1B0
e: unit vector A1B0
o: orthogonal vector A1B0

Examples

try
calc4BarAngle ([0 0],[4 0],[-1 5],2,6)




Copyright 2016-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