SGBAUHAUSbox
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Completed CAD designs
Introduced first in SolidGeometry 5.1, Creation date: 2021-11-17, Last change: 2025-09-15
designs a BAUHAUS style boxes to hide cables and stuff
Description
This is an homage to the BAUHAUS idea of 1920 to design simple geometries in colors that fulfil a task in daily life. Function writes ans STL to computer desktop dir
x y z are dimensions of box
r radius
w wall thickness
l = height of inner cover
See Also: SGcompass
, SGboxMacmini
, SGBAUHAUSdeskcylinder
Example Illustration
Syntax
[box,cov]=SGBAUHAUSbox([siz,b,cutw,both,f])
Input Parameter
siz: | | [x y z r w l]; default is [160 25 20 2] |
b: | | width of opening; default is z/2 |
cutw: | | angles for openings; default is [0, pi] |
both: | | if true cover and box are open, default is false |
f: | | [phase widht height]; defautl is [size(5) siz(5)] |
Output Parameter
box: | | SG of box |
cov: | | SG of cover |
Examples
SGBAUHAUSbox([30 20 10 2 1 5])
SGBAUHAUSbox([195,195,36,2,2,1]) % MAC mini shpaed Box
SGBAUHAUSbox([150 54 65 1 2 0],0) % Box for sun glasses
SGBAUHAUSbox([160 70 90 10 2 85],15,[0 pi],false,'stl') % Box for kabels behind screen
Copyright 2021-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