This is a heavily revised version of The Ultimate Box Maker, but still true to the original design. Development occurs at https://github.com/jbebel/Ultimate-Box-Maker. Aside from a thorough cleanup of the code for readability, the following features are now supported:
To create a box, start by modifying the numerical parameters in the sections at the top. This can be accomplished using a release of OpenSCAD newer than 2015.03. As of the time of writing, this means that a development snapshot is required. The Thingiverse Customizer may also potentially work, but at the time of writing, it was inoperable. The simplest choice is to hand-edit the .scad file. Feature toggles are annotated with a comment. The other numerical parameters are measurements in mm. Everything is parameterized, so if you double all the non-feature parameters you will double the box size in every dimension. Certain parameters are derived from other parameters. If you wish to override them, you may, but sensible defaults have been chosen. Notably the design in this revision is particularly PCB-centric, in that you should start with your PCB size and adjust the margins around it to determine the box size. If you care more about the box size, you can set the Length, Width, and Height explicitly, but read the comments around them.
Once your box is sized appropriately, you can use the Panel modules to design the holes and text for the front and back panels. Helper variables are provided to assist you in positioning these holes relative to the PCB, if your holes are for PCB-mounted components.
When you are ready to print, adjust the values in the "STL element to export" section, and export each part one at a time.
Experimental options are provided for a screwless design, but these are untested. In particular, the box fixation tabs may need thicknesses adjusted in order to have the appropriate flexibility.
Updated 2018-06-18
Updated 2018-06-19
Update 2018-06-20
Update 2018-07-21
Update 2018-07-27
Update 2019-04-11
Ultimate_Box.scad | 26.2KB | |
Ultimate_Box.stl | 9.9MB |