Customizable enclosure

by kakaroto, published

Customizable enclosure by kakaroto Feb 12, 2013
1 Share
Download All Files

Thing Apps Enabled

Open in Customizer Order This Printed View All Apps


Liked By

View All

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

10512Views 2066Downloads Found in Electronics


This enclosure is customizable to fit for any device you may have. With up to 5 different ports on each side, and the possibility to create custom holes for non standard ports, you can customize it to perfectly fit your device.


This is my very first scad, so bear with me please! I also do not have a printer (but wish to win one with the customizer challenge!) so I could not test the results of the script to make sure it fits and closes, etc..
First, make sure you know the exact dimensions of your device, width, and length, as well as the height including components. Also take note of the PCB's thickness and the height of the components beneath the PCB.
Once you set those properties as well as the thickness of the enclosure, you can start defining the various ports that are available on each of the four faces of the device. There are some standard ports defined, but you can also chose a custom sized rectangle or circle (for example, for the GPIO cable of the raspberry pi).
You can set whether the port is below or above the pcb, as well as it's position in mm from the side of the device.
You can see how the beaglebone and the raspberry pi configurations are done in the source code.

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

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch 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

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App

It doesn't look like the holes and pins line up. Pins are centered, but the holes are offset. Also… does this print w/o supports and/or dissolvable filament?

Just printed… but the PCB cuts are on the outside of the enclosure not the inside? Now that I look at your render… I see it there too.

Yeah, the cuts were just a marker to dhow where the pcb is located, i didn't think to put them on the inside for the pcb to slide into.
I never printed this so i don't know how functional it is or if the prints are wrong, let me know if it assembles correctly and securely.

Move those to the inside and make them a little deeper. And it'll hold the PCB. You'll want to compensate for it in the "board size" setting too. That'll be cool. Unfortunately it's not assemblable. I had a couple issues, first one is the pins, although they looked ok in MakerWare, somehow they were left off the print. Same with the feet for the base. You can see this in the I Made One picture. Second issue was that the lego like slot for the pins on the other parts can't be printed without support, and support fills them up.

wait a minute… this makes a single STL that doesn't look printable. For example. the top is floating over the bottom and the walls aren't lying down. is there a way to get the parts exported into separate STL? or at least… the top next to the bottom on the build plate?

Hi, there's an option for that, in Customizer, the very first option there is "Show Face" where you can select which part to print and it will flatten it on the surface for you.

Nice! I'll try.

Nice work, man. I will put it for printing to see how it looks and I will post some photos.
I can tell in advance that those male and females connectors will be difficult to print precisely.

Hey dude, you seem to have had the exact same idea than me: a "case generator" which only encodes the (abstract) design of a case which can then be customized by describing the board for which you want a case (its dimensions and ports). I came up with an SCAD code generator (not a SCAD script but one level of abstraction higher) written as a standalone program in C++. Check it out: http://www.thingiverse.com/thing:70838http://www.thingiverse.com/thi...

Universal Case Generator with Example Case for Cubieboard
by leemes

That's cool! Well done! Your generated case looks much nicer than mine though :) I wrote this for the customizer challenge, so I made it all in SCAD, this was also the first time I tried using openscad, so I wasn't sure how much further I could go. I wanted to add holes for screws, but didn't have any way of measuring the right dimensions for the screws, so I just used a lego-type kind of hooking the panels together and copied the lego code from somewhere else.
Thanks for sharing that link with me! :)