SGdesignfaceconnectingrod

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Designs
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-20, Last change: 2025-09-14

creates a connecting rod between two faces of a solid

Description

supports also interactive mode

See Also: SGof2T

Example Illustration

 missing image of SGdesignfaceconnectingrod(SG,f,elo,Rv,CPL)

Syntax

[SGP,f,SGN]=SGdesignfaceconnectingrod([SG,f,elo,Rv,CPL])

Input Parameter

SG: Solid Geometry
f: [face #1 face #2]
elo: elongation into SG; default is 1
Rv: Radius for curves; default is 2.5mm
CPL: Cross sectton contour; default is PLcircle(Rv)

Output Parameter

SGP: Solid of the rod
f: facets in case of interactive mode
SGN: Solid with additional rod (SGunion)

Examples


[~,A,B]=SGmicroscopeclamp; SG=SGconcat(A,B)
SGdesignfaceconnectingrod(SG,[422,2377])
X=SGbox;
[~,~,X]=SGdesignfaceconnectingrod(X,[6 9],'',10,3); % defined faces
[~,~,X]=SGdesignfaceconnectingrod(X,[6 3],'',10,3); % defined faces
[~,~,X]=SGdesignfaceconnectingrod(X,[0 0],'',10,3); % interactive mode
[~,~,X]=SGdesignfaceconnectingrod(X,[0 0],'',10,3); % interactive mode
[~,~,X]=SGdesignfaceconnectingrod(X,[0 0],'',10,PLsquare(3));
SGbox; [~,~,X]=SGdesignfaceconnectingrod('','','',10,PLstar(3)); % SGofgca and interactive mode




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