Need a custom project box or enclosure? Then generate and print one using this generator. This design requires omdl.
NOTE: This is a snapshot release of a part in omdl. Feel free to use the version here, but the most current and maintained version can be found in the source repository. On-line documentation and snapshots for manual installation are available in the omdl-snapshot repository.
The full documentation for this thing is available on-line.
arg | description |
---|---|
wth | wall thickness. |
h | box extrusion height; structured data or a single decimal to set the box height. |
size | box base size; a list [x, y] or a single decimal for (x=y). |
vr | wall corner rounding radius; a list [v1r, v2r, v3r, v4r] or a single decimal for (v1r=v2r=v3r=v4r). |
vrm | wall corner rounding mode = {0:none, 1:bevel, 2:round}; a list [v1rm, v2rm, v3rm, v4rm] or a single decimal for (v1rm=v2rm=v3rm=v4rm). |
inset | wall-to-lid negative offset; a list [x, y] or a single decimal for (x=y). |
lid | lid extrusion height; structured data or a single decimal to set the lid height. |
lip | wall lip; structured data or a single integer to set the lip mode. |
rib | wall ribs; structured data or a single integer to set the rib mode. |
wall | interior walls; structured data. |
post | posts; structured data. |
align | box alignment; a list [x, y, z]. |
mode | module mode of operation. |
verb | console output verbosity {0=quiet, 1=info, 2=details}. |
The following are the steps required to remake the examples or build a custom enclosure. These steps will install several packages, so you may wish to tryout first on a virtual machine. An X server graphics environment is required and the build has been tested on debian and ubuntu.
(shell commands) |
---|
$ mkdir tmp |
$ cd tmp |
$ wget http://git.io/setup-amu.bash |
$ chmod +x setup-amu.bash |
$ sudo ./setup-amu.bash --branch v3.4 --yes --install |
$ sudo chown -R $USER.$USER ./cache |
(shell commands) |
---|
$ wget https://git.io/setup-omdl.bash |
$ chmod +x setup-omdl.bash |
$ ./setup-omdl.bash --branch-list v0.9.4 --yes --install |
This will take a few minutes to test and build the omdl library documentation.
Once complete, the documentation has been installed and can be viewed:
(shell commands) |
---|
$ google-chrome ${HOME}/.local/share/OpenSCAD/docs/html/index.html |
To locate the documentation for the project box maker, select the installed version and type "project_box" in the search window in the upper right corner of the browser page. The module will appear in the search results; select to view.
After installing the library and build tool, the temporary files can be removed.
(shell commands) |
---|
$ cd .. |
$ rm -r ./tmp |
Download the file "hello_world.scad".
(shell commands) |
---|
$ openscad hello_world.scad |
With the library and build tools installed, the examples can be regenerated as follows:
Download the file "ProjectBoxExamples_v1.0_241022.zip".
(shell commands) |
---|
$ unzip ProjectBoxExamples_v1.0_241022.zip -d pbox |
$ cd pbox |
$ ls |
$ make clean |
$ ls |
$ make all |
This will generate all of the example enclosures. This takes about 15 minutes on my eight-thread system. If you run htop, you will notice that the builds happen in parallel, so the more threads you have on your system the less time it will take.
The output will be located in build_v1.0/scopes/stl.
(shell commands) |
---|
$ make |
$ make info |
If you build a custom box, please help by posting your make!
ex_01.scad | 1.9KB | |
ex_01_05_1.stl | 109.9KB | |
ex_01_05_2.stl | 868.1KB | |
ex_01_25_1.stl | 108.9KB | |
ex_01_25_2.stl | 1.5MB | |
ex_02.scad | 2.6KB | |
ex_02_3_06_3_3_5_1_0_2.stl | 3.4MB | |
ex_02_3_06_3_3_5_2_0_2.stl | 3.7MB | |
ex_02_3_06_6_3_5_1_0_2.stl | 3.4MB | |
ex_02_3_06_6_3_5_2_0_2.stl | 3.7MB | |
ex_02_3_12_3_3_5_2_0_2.stl | 3.6MB | |
ex_02_3_12_6_3_5_1_0_2.stl | 3.4MB | |
ex_02_3_12_6_3_5_2_0_2.stl | 3.7MB | |
ex_03.scad | 2.9KB | |
ex_03_2_08_1_2.stl | 14.6MB | |
ex_03_2_08_2_2.stl | 16.3MB | |
ex_03_2_12_1_2.stl | 13.7MB | |
ex_03_2_12_2_2.stl | 15.7MB | |
ex_04.scad | 3.8KB | |
ex_04_2_10_2.stl | 9.3MB | |
ex_04_3_10_2.stl | 9.4MB | |
ex_05.scad | 2.4KB | |
ex_05_2_10_2_0.stl | 9.3MB | |
ex_05_2_10_2_4.stl | 10.4MB | |
ex_05_3_10_2_0.stl | 8.7MB | |
ex_05_3_10_2_4.stl | 9.9MB | |
ex_06.scad | 2.8KB | |
ex_06_2_3_05.stl | 8.3MB | |
ex_06_2_3_10.stl | 9.6MB | |
ex_06_2_3_15.stl | 11.2MB | |
ex_07.scad | 2.6KB | |
ex_07_03.stl | 1.3MB | |
ex_07_06.stl | 1.3MB | |
ex_07_09.stl | 1.3MB | |
hello_world.scad | 473.0B | |
ProjectBoxExamples_v1.0_241022.zip | 16.1MB |