SGspherelink

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 3.8, Creation date: 2017-05-18, Last change: 2025-09-14

returns a spherical link

Description

This function is helpful to design more natural shaped links

See Also: SGsphere , SGcylinder , SGrodlink

Example Illustration

 missing image of SGspherelink(Lz,R1,R2,olap)

Syntax

SGC=SGspherelink(Lz,[R1,R2,olap])

Input Parameter

Lz: Length in Z
R1: Upper radial values [Rx Ry Rz]; default is L/4
R2: lower radial values [Rx Ry Rz]; default is R1
olap: overlap of the three solids; default is 1e-3;

Output Parameter

SGC: Final solid

Examples


SGspherelink(20,[5 5 5]); % Pill shape
SGspherelink(20,[5 5 0]); % Cylinder shape
SGspherelink(20,[5 2 0]); % Rod
SGspherelink(20,[5 5 10],[5 5 0]); % Jules Verne Moon Rocket Shape
SGspherelink(450,[400 200 80],[300 150 0]); % Torso shape




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