SGsimpleHinge

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 4.2, Creation date: 2018-07-30, Last change: 2025-09-14

returns a simple swivel hinge

Description

First version as tutorial for Alexandra Mercader

See Also: SGmodelLink2 , SGcylhinge , SGbladeofpincone , SGpincountersink

Example Illustration

 missing image of SGsimpleHinge(H,D,X,sl,ch,oa,ba,Ri);

Syntax

[SG,SG1,SG2,SG3]=SGsimpleHinge([H,D,X,sl,ch,oa,ba,Ri]);

Input Parameter

H: height in z
D: depth in y; default is H/2
X: Depth in x; default is D/2
sl: slot size; default is 0.3mm for SLS
ch: chain; default is false
oa: opening angle starting at 5*pi/4; default is []==closed
ba: angle intervall [intervall, start]; not supported yet
Ri: inner Radius; default is R/1.5

Output Parameter

SG: Complete Solid Geometry
SG1: Upper Part, 'yellow
SG2: Lower Part
SG3: Middle Part

Examples


SGsimpleHinge(20,20,5); SGanalyzeGroupParts(ans)
SGsimpleHinge(20,20,5,'',true); SGanalyzeGroupParts(ans)
SGsimpleHinge(20,20,5,'',true,0); SGanalyzeGroupParts(ans)
testfunctTL('SGsimpleHinge(20,[],[],[],#1,#2)',[true,false],[nan 0])




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