by kakaroto, published
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.