This is an enclosure/box i designed for a garage door opener project. It houses an esp32 and a 2 relay board in as small a box as i could manage and still have it fit nicely. The lid clicks on with a zip tie/cable tie type of mechanism that seems to work well. It is a completed project and source code will be made available on my GitHub page when i get the time to upload it. I left the hole around the esp USB port a little large to make fitting the board in a little easier.
The lid warped some during printing, likely due to heated bed temp being too low.