With 123D Circuits.io you can generate a custom enclosure for your PCB.
Step 1: Make a PCB
First you have to design a PCB and add drill holes. At these locations, the tool will generate support points in the enclosure. If you resize your PCB, the enclosure will resize as well.
Step 2: Generating the Enclosure
Go to your project page and click on "generate enclosure" button.
Step 3: Editing Your Enclosure
- spacing: the distance from the enclosure to the PCB
- d1: the height of the top lid of the enclosure
- d2: the height of the bottom lid of the enclosure
Step 4: Generate the STL
Click on "generate stl" to get a downloadable STL file that you can use for 3D printing or CNC milling.