by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Designs
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-12, Last change: 2025-09-15
SGB=SGdesignSupplementPlugin(SGA,[wt,sl,ez,CPL,fill])
SGA: | Solid Geometry | |
wt: | [wall thickness height modification]; default is [1.5 0] | |
sl: | slot size; default is 'c' fit or a number | |
ez: | default is [0 0 1]; not used | |
CPL: | CPL out contour; default is same as contour of SGA | |
fill: | if true; SGB is a block; default is false; |
SGB: | Supplement solid to plug in SGA |
SGDIN985(4); B=ans; % Create a solid
SGdesignSupplementPlugin(B,2,'t'); % Plugin with fitting 't'
SGdesignSupplementPlugin(B,0,'t'); % Full solid with fitting 't'
SGdesignSupplementPlugin(B,[0 1],'t'); % Full solid with fitting 't' just 1 mm height
SGdesignSupplementPlugin(B,[0 -1],'t'); % Full solid with fitting 't' shorten height by 1 mm