SGsblink

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 5.1, Creation date: 2021-03-07, Last change: 2025-09-15

returns a link for insertion of a bearing, optional a sleeve, and an inner hexagon at the shaft end

Description

If slfit('b') is used for the pin, i.e. the pin has the exact shape, the pin has an interfence fit inside the bearing. It can be inserted by a hammer but the pin and the part will be destoyed (even with wallthickness of 1.2mm) at removal from the bearing.
The function can also create rods als link

See Also: , SGManipulatorLink , SGiqlink , SGsbbase , SGrodlink

Example Illustration

 missing image of SGsblink(L,sdl,hex,fit,rod)

Syntax

[A,SL_F]=SGsblink([L,sdl,hex,fit,rod])

Input Parameter

L: [L level-F Level-B]; Distance and level [-n .. 0 .. n]; default is [50 1 0]
sdl: [Di Do b] Inner D, Outer D and width of Bearing; default [6 13 5]
hex: optional diameter of an inner hexagon in the shaft
fit: if true, the pin use slfit('b') and will interfere; default is false
rod: a rod is created instead of a link; use true or ez vectors

Output Parameter

A: Geometry of the Link
SL_F: SLEEVE if abs(level)>1 for Pin 1

Examples

SGfigure; fourBarLinkageplotanim([110,70,90,50]);
SGsblink([50 -2],[6 13 5],3)
SGsblink([50 -2],[6 13 5],3,true)
SGsblink([50 1 -1]);
SGsblink([50 0 0]);
SGsblink([50 1],[6 13 5],3,'',true) % creates a rod
SGsblink([20 0 0],[6 13 5 2.5],'','',[1 0 1]); B=ans
SGsblink([10 1 0],[6 13 5 2.7],'','',true); B=ans
SGsblink([20 0 0],[6 13 5 2.7],'','',[1 0 1; -1 0 1]); B=ans
SGsblink([20 1 1],[6 13 5 2.7],[5 -1],'',[1 0 1; -1 0 1]); B=ans
SGsblink([20 1 0],[6 13 5 2.7],[5 -1],'',[1 0 1; -1 0 1]); B=ans




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