After downloading and printing many different Raspberry Pi case models, and finding none which fit very well, or which did not have mounting options i liked or clearance for a cooling fan, I decided to design my own from scratch. Here are its primary design goals / features:
• Clean fit for a Raspberry Pi 3B, with clearance so it is not too tight.
• Discrete mounting points, spaced for attaching to a 2020 (or similar) rail, and arranged to permit mounting in several different orientations and offsets. More specifically, to mount on the side of my Creality Ender 3 Pro printer.
• Lots of interior air space and ventilation to accommodate heat-sinks.
• Option to add a 30mm cooling fan, if desired.
• Raspberry Pi 3B status lights should be visible when in the case.
• The Micro SD memory card should be accessible when in the case. (Also flush with the main body, so it can be covered by tape or a label, if desired).
Note: This should also fit a 3B+, as the mechanical drawings show the same dimensions as the 3B, but I do not have one with which to test and verify.
What this design does not currently include, is easy access to the I/O header on the Raspberry Pi. Vent holes could be cut-away if header access is desired. If I refine this design further, I may (or may not) add a header access door. The top of the case is also not quite as perfect a fit as i'd like; there's room for improvement here, but every 'clip' or 'tab' I tried to add broke too easily, so that's on the backlog if I ever re-visit this design.
• 25-March-2019 - Added Revision 2 of the lid, 5mm taller than the original, to allow more clearance for an internally-mounted fan.
Spool 3D PLA
To install a Raspberry Pi 3B into this case, you will need the following:
• Four M2.5 x 8mm screws (M2.5 x 6mm will also work)
To install this on a 2020 (or similar) rail, you will need the following:
• Two or more M4 x 8mm screws (M4 x 6mm should also work)
• Two or more M4 hammer nuts
• First, decide where and in what orientation you want to mount the case, and identify which mounting hole locations you will be using in the bottom of the case. Identify at least two mounting holes to use.
• Use an exacto knife to score the edges of the desired mounting holes in the bottom of the case, then use an M4 screw and a bit of force to pop-out the thin cover in the desired mounting holes.
• Mount the case bottom to the 2020 (or similar) rail, using M4 screws and hammer nuts.
• Insert the thin plastic short circuit protector sheet into the bottom of the case, then install the Raspberry Pi 3B into the mounted case, using M2.5 screws.
• If using a 30mm cooling fan, attach it to the case top, then slide the case top onto the case bottom; it will be held in-place by a friction-fit.
Designed in Fusion 360.
This thing was designed in Fusion 360, from mechanical dimensions available on the official Raspberry Pi website. It has fit tolerances designed-in, to make it be not too tight when printed on a 3D printer.
The CAD files are available here: https://a360.co/2VwMGrz
The .F3D, Fusion 360 file is also attached for anyone who wants to further modify this design. I have also included the .STEP and .IGES CAD files for anyone not using Fusion 360.