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
See Also: SGTconnect
, SGTcopy
, SGcolorcopy
SGTconnectingplug(SGA,SGB,[FA,FB,h,ATyp,BTyp])
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' |
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)