SGBAUHAUSdeskcylinder
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Completed CAD designs
Introduced first in SolidGeometry 5.1, Creation date: 2021-11-13, 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
writes an STL to the computer desktop folder (Status of: 2024-10-25)
See Also: SGcompass
, SGboxMacmini
, SGBAUHAUSbox
Example Illustration
Syntax
[box,cov]=SGBAUHAUSdeskcylinder([siz,num,cutw,"STL"])
Input Parameter
siz: | | [diameter height height-cover wall-tickness opening-width opening-height]; default is [85 85 2 2 0 0] |
num: | | number of edges; default is []; |
cutw: | | angles for openings; default is [0, -pi/5, +pi/5]
|
"STL": | | if true cover and box are open, default is false |
Output Parameter
box: | | SG of box |
cov: | | SG of cover |
Examples
SGBAUHAUSdeskcylinder([160 25 20 2 40])
SGBAUHAUSdeskcylinder([160 25 20 2 40],6,[0 , -pi/2]) % 6 Edges, 90 degree holes
SGBAUHAUSdeskcylinder([90 100 20 2 40]); % Desk utility box
SGBAUHAUSdeskcylinder([100 130 30 2 50 30],'',[0])
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