Raspberry Pi 5 enclosure with 2020 rail mount

by Extendo

zip4.60 downloads
Closed enclosure with the rail mounting tab
1 / 3

Raspberry Pi 5 enclosure with 2020 rail mount

What it is

A two-part (base + lid) 3D-printable enclosure for a Raspberry Pi 5 that mounts on 2020 B-type slot 6 aluminium extrusion. It was designed as part of a larger 2020-rail chassis: only the enclosure is meant to be printed, the rails and fasteners are standard metal hardware (not included).

  • Port cutouts: USB-C, 2× micro-HDMI, Ethernet, both USB-A stacks, microSD
  • 6 vent slots in the lid
  • Columns under the lid press the board onto the base standoffs
  • Rail mount: a T-shaped key under the base slides into the rail slot, and a tab at one end bolts to a cross rail with 2× M5 screws into roll-in T-nuts

Files:

  • rpi5-enclosure-base-lid.step: base and lid (assembled position), CAD
  • rpi5-enclosure-base.stl, rpi5-enclosure-lid.stl: for printing

Dimensions

FeatureSize
Enclosure body (L × W)92 × 63 mm, R4 corners
Height: base / closed with lid25.6 mm / 27.6 mm
Overall incl. mounting tab and key106 × 80 × 31.9 mm
Wall / floor thickness2 mm / 2 mm
Board clearance1.5 mm per side around the 85 × 56 mm board
Standoffs4× Ø6 mm × 5 mm on the Pi's 58 × 49 mm hole pattern, Ø2.2 mm pilot holes 5.5 mm deep
Space above the board17 mm
Lid2 mm plate, 4× Ø6 mm columns 17 mm long, Ø2.9 mm screw holes
Rail key82 mm long, 4.3 mm below the base, for a 6 mm slot opening, 0.25 mm clearance per side
Mounting tab4 mm thick, 2× Ø5.5 mm holes 68 mm apart

How to use

Hardware (not included):

  • 4× M2.5 × 25 socket head cap screws (ISO 4762)
  • 2× M5 × 8 socket head cap screws
  • 2× M5 roll-in T-nuts for 2020 B-type slot 6
  • 2020 B-type slot 6 extrusion: one rail for the key, plus a cross rail at the tab end

Assembly:

  1. Place the Pi 5 on the four standoffs.
  2. Fit the lid; its columns press the board down. Drive the four M2.5 × 25 screws through the lid and the board into the standoff pilot holes (they cut their own thread in the plastic).
  3. Slide the key into the rail slot from the end of the rail, drop the roll-in T-nuts into the cross rail under the tab holes and fasten with the M5 × 8 screws.

Materials

ABS.

Suggested strength-focused settings (0.4 mm nozzle; a starting point, not print-tested):

  • Layer height 0.2 mm
  • 5 walls / perimeters, so the 2 mm walls, standoffs and key print solid
  • 6 top and 6 bottom layers
  • 50 % gyroid infill (mainly affects the 4 mm mounting tab and the key)
  • Enclosed printer and a brim to limit ABS warping; temperatures per your filament

Orientation:

  • Base: upright. The key is under the floor, so the floor and tab sit 4.3 mm above the bed: enable supports from the build plate.
  • Lid: flipped, flat top on the bed and columns pointing up; no supports needed.

Comments

Sign in to leave a comment.

Loading comments...