I needed a customizable box with latches at each end. In my case I wanted to have an easily removable, flat lid section to which I could add various holes/brackets/etc for a different project.
Most of the customizable boxes I found had a hinge at one end. I've hacked espr14's design so it has a latch at each end and made a few other changes, such as making the latches print-in-place rather than requiring bolts.
The lid and the rest of the box should be generated/printed separately. The latches do need some supports, as per the attached image.
box_with_latch.scad | 11.4KB | |
SmallLatchTest-Box.stl | 1.6MB | |
SmallLatchTest-Lid.stl | 788.1KB |