SGdesignSupplement2connect2SG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Designs
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-11, Last change: 2025-09-15

first appraoch to create bridges between two solids

Description

Important function to assemble independenty design component groups
SGdesignSupplement4screws (SGdesignSupplement)

See Also: SGdesignSupplement

Example Illustration

 missing image of SGdesignSupplement2connect2SG(SGA,SGB,de)

Syntax

[SGA,SGB,SGC]=SGdesignSupplement2connect2SG(SGA,SGB,[de])

Input Parameter

SGA: Solid A
SGB: Solid B
de: connector width; default is automatic mode ''

Output Parameter

SGA: Solid A with optional Bridging solid
SGB: Solid B with optional Bridging solid
SGC: Connecting solid

Examples


A=SGbox; B=SGtransP(A,[40 0 5]); SGfigure(-30,30); SGplotalpha(A,'r'); SGplotalpha(B,'g')
SGdesignSupplement2connect2SG(A,B,5)

SGofCPLz(CPLsubtract(PLsquare([60,40]),PLsquare([50 ,40]),'aligntop',-5),10); A=ans; % Solid A
SGtransP(SGDIN985(4),[15 10 0]); B=ans; % Solid B
SGfigure(-30,30); SGTplotalpha(A,'r'); SGTplotalpha(B,'g'); % Show relation
SGdesignSupplement2connect2SG(A,B,5)




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