Templates · Maker projects
Raspberry Pi 5 case
A two-part case for the Raspberry Pi 5 with port openings, standoffs, a vented lid and a GPIO slot: wall, clearance, floor, standoff and height.
- raspberry pi
- pi 5
- case
- enclosure
- sbc
- 3d printing
- Dwg
- raspberry-pi-5-case
- Params
- 8
- Units
- mm
Parameters
Open in the editor opens the design with these defaults; change them afterwards in Modify › Parameters, and everything that depends on them follows. Opened from the editor’s template library instead (New ▾ › New from template…), the template asks for its values first and checks them against these ranges and against each other, and Copy link gives an address that opens it with your values.
| Name | What it sets | Default | Range |
|---|---|---|---|
wall | Wall thickness | 2 mm | 1.2 to 4 mm, steps of 0.1 |
clearance | Clearance round the board | 0.6 mm | 0.2 to 3 mm, steps of 0.1 |
floor | Floor thickness | 2 mm | 1.2 to 4 mm, steps of 0.1 |
standoff | Standoff height | 4 mm | 3 to 10 mm, steps of 0.5 |
standoffHole | Standoff screw hole | 2.2 mm | 1.6 to 3 mm, steps of 0.1 |
height | Base height | 26 mm | 20 to 50 mm, steps of 0.5 |
lidThickness | Lid thickness | 2 mm | 1.2 to 4 mm, steps of 0.1 |
lipHeight | Lid lip height | 3 mm | 1.5 to 6 mm, steps of 0.5 |
Notes
The openings follow the Raspberry Pi 5 mechanical drawing: one slot for the USB-C power and both micro-HDMI ports, separate openings for Ethernet and the two USB stacks, a notch for the microSD card, a slot in the lid over the 40-pin GPIO header and vents over the processor. Check a printed base against your board before printing the lid - connectors vary by a few tenths, and the clearance setting moves the walls, not the openings.
The board sits on four standoffs (default 4 mm, enough for the microSD card underneath); fix it with M2.5 self-tapping screws into the 2.2 mm holes, or open the holes to 3.5 mm for brass heat-set inserts. The lid is printed upside down beside the base; its lip drops 0.25 mm inside the walls. For the official active cooler raise the height to 32 mm; for a HAT, raise it by the HAT's stack height.
The PCIe and camera ribbon connectors have no opening: cut a slot where your cable leaves.
License: CC0 1.0: no rights reserved.