Print in 3 pieces (select in customizer/code which part to render). Put together with 4 bolts (2 for latch, 2 for hinge). Use bolts with cylindrical head for latch. Keep latch wide enough to fit bolts into latch from both sides. Base and lid require some small supports.
There are quite a lot of parameters. I will try to remove some redundant in future versions.
box_with_latch.scad | 10.7KB | |
box_with_latch.stl | 704.6KB |