fourBarCLLL2SGdesign

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2022-02-15, Last change: 2025-09-15

Converts a contour layered link list into a real solid geometry construction to 3D print

Description

The Contour Layer Link List has the following order [CPLE;CPLC;CPLS;CPLG;CPLW;CPLA0;CPLB0;CPLA1;CPLB1]
Each cell list row of this 9x5 cell list has the format
{Name, CPL, TL, col, [Lmin lmax]}
This function does not check collisions, but simply extrudes the bodies and constructs the assembly method
The process:
Posesample => Posedefiniton
fourBarposesyntheses => compute fourbars
fourBarposeplotsolution => plot or animate solutions
fourBarposelayering => layer and compute shape
fourBarCLLL2SGdesign => Design for assembly and 3D print

See Also: Posesample , fourBarposesyntheses , fourBarposeplotsolution , fourBarposelayering

Example Illustration

 missing image of fourBarCLLL2SGdesign(CLLL,R12,RACK,

Syntax

[SG,SLLL]=fourBarCLLL2SGdesign(CLLL,[R12,RACK,"layer","debug","assembly","mirrR","massE","esign"])

Input Parameter

CLLL: contour layered link list
R12: [Ro Ri H]; default is 5 2.5 6]
RACK: Additional Rack Points for Fixation
"layer": not recommended but possible to change the layers [CPLR CPLE CPLC CPLS CPLW]
"debug": if used, the design is shown step by step
"assembly": 'DIN912985' or 'DIN912BUSH' or 'DIN7991' as assembly method
"mirrR": 'mirrR', creates a second mirrored linkage in distance of the rack
"massE": 'massE' boolean, creates a massive solid effector, similar is massS

Output Parameter

SG: Cell list of Solid Gemetries
SLLL: Same as CLLL but with SGs instead of CPLs % SLLL={SGE;SGC;SGS;SGG;SGW;SGA0;SGB0;SGA1;SGB1}

Examples



fourBarCLLL2SGdesign(LLLM), shg
[a,b]=fourBarCLLL2SGdesign(LLLM,'layer',[0 1 1 2]), shg % EXTREME RISKY TO MODIFY THE LAYERING
for i=1:size(SLLL,1); SGplotalpha(SGtransT(SLLL{i,2},T3ofT2(SLLL{i,3}(:,:,1)))); end; rotate3d on;




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