Parametric and Customizable Project Enclosure

by ffleurey, published

Parametric and Customizable Project Enclosure by ffleurey Sep 23, 2013


Use This Project

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

30893Views 3955Downloads Found in Electronics


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.

More from Electronics

view more

All Apps

Customizer is the easiest way to take great 3D printable designs and make them your own. Make your OpenSCAD designs infinitely more valuable by empowering the community to customize them.

App Info Launch App
Customizer Thing App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Thanks for the openscad file! I'm going to experiment with this. I am looking at the picture with the example builds and notice that the nuts are on the outside of the cover and the bolt inserted from the bottom. Am I correct?
Is everyone using it like this?

I'm thinking of changing it to solid corners and a small screw hole and using self threading screws. Any thoughts on this, or alternatives?

Oct 25, 2016 - Modified Oct 25, 2016

Great project! I'm having some issues with the exported stls having some shared triangle edges even after I put the stl through the autorepair in netfabb. I'm using KISSlicer, is anyone else having these issues?

Could you make an option to use Hex nuts instead of the square ones? All my nuts are of the hex type and are easier to come by.

Beautiful design! The only thing I tweaked was to make it print the cover next to the enclosure. Thank you for including the .scad file.

Jul 18, 2016 - Modified Jul 18, 2016
bernbout - in reply to 24HourEngineer

24HourEngineer - Could you post somewhere the changes you made to do this? I am a newbie to OpenScad. Thanks.

I wanted to do this as well and came up with this solution.

In module both() you could wrap a translate around lid2 like this:

translate([0, enclosure_inner_width+5, -(enclosure_inner_depth+enclosure_thickness)]) {

Sure thing, bernbout. I wrote a blog post about it and there a lot of examples. Check out the "Wrist base" link near the bottom.
Good luck and welcome to OpenSCAD.

Please add video with practical usage for those toys, Thanks

Hi, love the design this will save me from buying boxes from Radio Shack. Quick question what size screws are you using to hold the cover on?

Hello, the screws and nuts are all M3. Cheers!

Awesome. Thanks for sharing this!

What are names of those black and red connectors that you're using in the boxes?

I think that they are called "banana jacks". Cheers!


Not sure if this is a problem but when I tried to make a cover it still made the box only, I wanted to print a cover,

Hi! Are you using the Customizer or the OpenSCAD file directly? If you are using the Customizer you should get 3 STL files: The complete box (useless for printing), the box without cover and the cover alone. You should be able to download and print the cover. If you are using the OpenSCAD script you can set the variable part to "cover" and the script will generate only the cover. Hope this helps :-) Cheers!

This is very slick!

So how do you add the various holes for connectors, bulbs, etc., that you show in the photo? Take the generated STL and modify it? Or do you drill through the plastic to make your holes?

As a 'feature request' how about adding the ability to customize with labels and holes? Admittedly it's tricky because you need to match component positions.

Or is the idea that you wouldn't use Customizer for that, but would use your Thing as a component in an OpenSCAD assembly that took your generated enclosure and subtracted holes, added labels, etc.? Come to think of it, that might be the best answer, at least for people comfortable with OpenSCAD, since it would provide access to the existing component and connector libraries. :-)

Hi! Thanks for the comment!

It is a bit tricky to make specific holes and labels through the Customizer but it works fine for the box size. What I am doing is either importing the OpenSCAD modules or the generated STL files in OpenSCAD and then I use OpenSCAD (and its libraries) to make the holes and add the stuff I need.