Generate a 3D model for a custom Desk Organizer from simple building blocks. Visit the instructions on the Printables page!
Desk Organizer Generator powered by streamlit
The program is designed to run in Streamlit, but follow the below instructions to use the libraries directly in Openscad.
The program uses two Openscad libraries: honeycomb.scad
from Gael Lafond and desk_organizer.scad
Include them in the Openscad script and add a normal block with:
rbox(SIZE_INT, SIZE_EXT, HEIGHT, r=R, rp=true, base=BASE_THICK);
where:
- SIZE_INT is the internal dimension array ([x,y])
- SIZE_EXT is the internal dimension array ([x,y], usually is calculated as SIZE_INT + [X_WALL*2, Y_WALL*2])
- HEIGHT is the height of the block
- R is the radius of the curvature of the square perimeter corners (default: 7)
- rp is a boolean value: it false the program interprets R as a value in mm, if true consider R as the percentage over the length of the square side (default: true)
- BASE_THICK is the thickness of the base (default: 2)
Add a honeycomb block with:
hbox(SIZE_INT, SIZE_EXT, HEIGHT, r=R, rp=true, base=BASE_THICK, h_dia=H_DIA, h_thick=H_THICK) ;
where:
- SIZE_INT is the internal dimension array ([x,y])
- SIZE_EXT is the internal dimension array ([x,y], usually is calculated as SIZE_INT + [X_WALL*2, Y_WALL*2])
- HEIGHT is the height of the block
- R is the radius of the curvature of the square perimeter corners (default: 7)
- rp is a boolean value: it false the program interprets R as a value in mm, if true consider R as the percentage over the length of the square side (default: true)
- BASE_THICK is the thickness of the base (default: 2)
- H_DIA is the honeycomb diameter (default: 4)
- H_THICK is the honeycomb line thickness (default: 1)
I enjoy working on this project in my free time, if you want to support me with a coffee just click here!
Code is licensed under the GNU General Public License v3.0 (GPL-3.0)
Models are licensed under the Creative Commons Non Commercial Share Alike License 4.0 (CC BY-NC-SA 4.0)
Thanks to Gael Lafond for sharing the OpenSCAD Honeycomb library on Printables!