Here is a simple parametric project enclosure. I am using this design for generating boxes of the exact size I need. I add the holes, mounts and stuff needed for the specific projects by importing the box in openscad. You can see a few instances of this enclosure on the pictures.
To make is easy to put together and take apart the cover is attached with M3 screws and trapped nuts.