SGTconnectingplug

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Automatic Design
Introduced first in SolidGeometry 4.7, Creation date: 2019-07-26, Last change: 2025-09-14

returns a solid part that can be used to connect both solids by a positive connection



See Also: SGTconnect , SGTcopy , SGcolorcopy

Example Illustration

 missing image of SGTconnectingplug(SGA,SGB,FA,FB,h,ATyp,BTyp)

Syntax

SGTconnectingplug(SGA,SGB,[FA,FB,h,ATyp,BTyp])

Input Parameter

SGA: Solid A with a hole/cavity in direction of Frame FA
SGB: Solid B with a hole/cavity in direction of Frame FB
FA: Frame Name of a Frame at Solid SGA; default is 'F'
FB: Frame Name of a Frame at Solid SGB; default is 'B'
h: height
ATyp: SGA Positive Connection Type for SGTconnect; default is 'plug'
BTyp: SGB Positive Connection Type for SGTconnect; default is 'plug'

Examples


A=SGsample(16); SGTset(A,'F',TofFS(A,[0 0 1])); A=ans;
B=SGsample(7); SGTset(B,'B',TofFS(B,[0 0 1])); B=ans;
SGTconnectingplug(B,A,'B','F')

loadweb JACO_robot.mat; A=JC0, B=JC1
SGTconnectingplug(A,B)




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