Syntax
[SGB,SGC]=SGcase([S,wall,slot,lr,"STL","InDim"])
Input Parameter
S : | | Outer size as vector [x y z] |
wall : | | Wall Thickness; default is 0.7 |
slot : | | Slot distance; default is 0.5 for separation of box and cover |
lr : | | desired raster size; default is no raster |
"STL" : | | if used an STL directory is written |
"InDim" : | | if used S contains the inner dimensions |
Output Parameter
SGB : | | SG of the Box |
SGC : | | SG of the Cover |
Examples
SGcase([86,54,10]); % Dimensions are Outer Dimensions
SGcase([86,54,10],'InDim'); % Dimensions are Inner Dimensions
SGcase([86,54,10],'InDim','STL'); % Dimensions are Inner Dimensions, write an STL directory
Copyright 2013-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