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
[SGP,f,SGN]=SGdesignfaceconnectingrod([SG,f,elo,Rv,CPL])
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) |
SGP: | Solid of the rod | |
f: | facets in case of interactive mode | |
SGN: | Solid with additional rod (SGunion) |
[~,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