SGconnect2FS

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

returns the connecting straight solid structure between two surfaces of two solids

Description

There are two possible vertex lists as output
VLA2 - is vertex list of A extended by the boundary vertices of FLBi
VLA3 - is vertex list of A extended by the full list of vertices of VLB
VLC - is just the vertices of FLAi and FLBi
FLC - is just the wall facets of the connecting structure wrt. VLC
FLA2 - is just the wall facets of the connecting structure wrt. VLA2



See Also: FLofPLcorrelation , SGof2SGT , SGconnect , SGconnect2T

Example Illustration

 missing image of SGconnect2FS(SGA,SGB,FLAi,FLBi)

Syntax

[SGC,FLAC,FLBC,FLNC,SGN]=SGconnect2FS(SGA,SGB,FLAi,FLBi)

Input Parameter

SGA: Solid A with VL and FL
SGB: Solid B with VL and FL
FLAi: Feature Surface index list at Solid A, or Frame Name or HT-Matrix
FLBi: Feature Surface index list at Solid B or Frame Name or HT-Matrix

Output Parameter

SGC: Combined Solid Geometry without Frames and
FLAC: Facet list of A without FLAi related to SGC.VL
FLBC: Facet list of B without FLBi related to SGC.VL
FLNC: Facet list of new wall related to SGC.VL
SGN: Solid Geometry only of the open wall

Examples


SGofCPLz(PLstar(10),5); A=ans;
SGofCPLz(PLcircle(10),5); B=ans; SGtransrelSG(B,A,'ontop',5,'transx',3); B=ans
SGTset(A,'M',[0 0 1]); A=ans;
SGTset(B,'M',[0 0 -1]); B=ans;
SGconnect2FS(A,B,'M','M')
SGconnect2FS(A,B,'M',TofFS(B,[0 0 -1]))
SGconnect2FS(A,B,[31,33],TofFS(B,[0 0 -1]))
SGconnect2FS(A,B,FSofSGfacet(A,31),TofFS(B,[0 0 -1]))




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