Open Loop

This is the README that comes in the download. The files it names are in the zip.

Open Loop — Raspberry Pi 4 case with no walls

129 W × 122 D × 149 H mm (plus feet). Eleven printed parts in three colours, none needs supports.

assembled

Two hoops of cream tube stand on a tray. A pegboard hangs between the back hoop's legs on four orange straps, and the Pi stands upright on the pegboard, in the open. A charcoal card holds the fan in front of the processor. The power button is in the top of a small box on the tray, which has a heart of orange dots on its front. This case has no camera.

Nothing covers the Pi, so every socket and the microSD card can be reached with the case assembled.

Files

File What it is
3mf/plate_1_cream.3mf the two hoops, in print orientation
3mf/plate_2_cream.3mf the tray and the pegboard
3mf/plate_3_orange.3mf the four straps and the backer
3mf/plate_4_charcoal.3mf the card and the pod
stl/ the same parts one by one (strap.stl is printed four times)
step/loop_assembly.step assembled CAD model incl. a reference Pi, fan and button, for Fusion / FreeCAD / Onshape
loop_case.py parametric source. uv run loop_case.py regenerates everything above
preview/ renders: assembled, front, side, rear, top, exploded, print plates

Printing

print plates

One plate per filament colour, and two for the cream.

Plate Colour Parts Time Filament
1 cream front hoop, back hoop 1 h 19 min 52 g
2 cream tray, pegboard 2 h 50 min 84 g
3 orange 4 straps, backer 13 min 5 g
4 charcoal card, pod 46 min 25 g

That is 5 h 9 min and 167 g. Times and weights are Bambu Studio's own estimates for the P2S, 0.4 mm nozzle, "0.20mm Standard" with 3 walls, Bambu PLA Basic.

In Bambu Studio, for each plate:

  1. File → Import → Import 3MF/STL/STEP… and pick the plate file. It will say the file was not made by Bambu Studio and only the geometry is loaded: that is expected. If it asks whether to load it as one object with multiple parts, answer no.
  2. Process "0.20mm Standard". Under Strength set Wall loops to 3. Leave supports off.
  3. Choose the filament, Slice plate, Print plate.

The parts are already turned the right way up. Don't auto-orient them, and don't auto-arrange the cream plates. On plate 1 the hoops lie with a leg of each inside the other, which is how both fit: 189 × 145 mm of the 256 mm bed. Plate 2 uses 229 × 122 mm.

Part How it lies on the bed
front hoop on the flat along its back
back hoop on the flat along its back, its two struts standing up
tray as it stands
pegboard face up, the Pi's posts standing up
straps pips up
card front down, its foot standing up
pod top down
backer flat

Each hoop is a round tube with a flat along its back, 9.6 mm wide. The flat is what it lies on. Lying down, a hoop's layers run along the tube all the way round, which is the strong way for a frame.

PLA is fine here: nothing encloses the Pi.

Hardware

Qty Screw Where
2 M3 × 8 pan head tray's back tabs → back hoop's legs, from behind
2 M3 × 8 pan head tray's front tabs → front hoop's legs, from behind, through a hole in each back leg
2 M3 × 8 pan head back hoop's struts → front hoop, from behind, down the struts
8 M3 × 8 pan head the four straps, from behind: one into the back hoop's leg and one into the pegboard each
2 M3 × 8 pan head pegboard → card, from behind
2 M3 × 8 pan head tray → pod, from underneath
4 M2.5 × 6 Pi → pegboard's posts
4 12 mm stick-on rubber feet recesses under the tray
1 12 mm momentary push button, panel mount (M12 thread) in the top of the pod
1 CanaKit Raspberry Pi Fan (RSP-FAN, 30 × 30 mm) in the card

That is 18 M3 × 8 and 4 M2.5 × 6. All screws thread straight into the plastic (pilot holes are sized for that). The button, fan and feet are the same ones the other cases use.

You need a screwdriver with at least 45 mm of shaft, under 6 mm thick. Four of the screws are 41 mm in: two at the end of a hole down each strut, and two reached through a hole in each back leg.

Assembly

exploded

"Front" is the side you look at the Pi from. The tray's front is the side with the two taller tabs.

  1. Pod. Push the button down through the hole in the pod's top and tighten its nut inside. Slide the orange backer up inside the pod's front wall, between the wall and the two ribs. Stand the pod on the tray's front right corner, over the two holes in the floor, heart to the front, the button's leads out through the notch at the back. Fit 2 M3 screws from underneath, and stick on the four feet.
  2. Pi. Lay the pegboard face up, the edge with two round holes in its row of square ones away from you: that is its top. Screw the Pi to the four posts with USB and Ethernet to the right, and USB-C and HDMI toward you. Only that way round does the board stay inside the pegboard's edges.
  3. Fan. Drop the fan into the card from its open side, label away from the card's holes, lead out of the open side. Press it past the two ridges until it sits on the pocket's floor.
  4. Card. Stand the card's foot on the pegboard above the Pi, over the two round holes, the fan in front of the processor. Fit 2 M3 screws from behind.
  5. Back hoop. Stand the back hoop on the tray's two back boots, struts pointing forward, its flat against the two short tabs. Fit 1 M3 screw through each tab.
  6. Pegboard. Each back leg still has two small holes open in its flat, one below the middle and one near the top. Screw a strap to each leg at the lower one, pips forward, not yet tight. Hang the pegboard on their four pips: they go into the two outermost holes of the third row from the bottom, each side. Add the two upper straps the same way, in the top row. Then fit the 4 screws into the pegboard's studs and tighten all 8.
  7. Front hoop. Stand the front hoop on the two front boots, its flat against the two tall tabs and against the ends of the struts. Fit 1 M3 screw down each strut from behind. Then fit 1 M3 screw through each tall tab: put the screw on the screwdriver and pass it through the large hole in the back leg.
  8. Wires. Plug the fan and the button onto the Pi's header (see "Wiring" below). The button's leads can run along the tray, up behind the pegboard and forward through any of its holes: a jumper plug passes through one.
  9. Cables. Power and HDMI hang down from the Pi's lower edge and leave under the pegboard, between the back legs. USB and Ethernet leave to the right, between the hoops.

The microSD card comes out to the left, over the back hoop's leg.

To take the fan out, pull the jumper plugs off the header first: they stand in its way.

Wiring

As you face the Pi, the 40-pin header runs along its top edge. Pin 1 is at its left-hand end (the microSD end). The upper row, at the board's edge, holds the even pins, the lower row the odd ones.

Count carefully: the first two pins of the upper row (pins 2 and 4) carry 5 V. Bridging 5 V to a GPIO pin can damage the Pi. The fan runs whenever the Pi has power. The Arcade Wedge's README has the dtoverlay=gpio-shutdown line the button needs and what to expect from it.

The frame

rear

Hoops and tray. Each leg stands on a boot: a length of tube that rises from the tray's rail and turns upright, the front two from the front and the back two from the back. Behind each leg a tab stands up from the boot, against the leg's flat, and one screw through the tab holds the leg. Two struts on the back hoop's top bar reach forward to the front hoop. Every one of these screws goes in from behind, so none shows from the front.

Pegboard. A sheet 92 × 100 mm and 3 mm thick, with 4 mm square holes every 8 mm. It hangs 4 mm inside the back hoop's legs, its back level with their flats. Each strap lies across the gap behind both, and its two pips fill two of the pegboard's holes. That is the orange you see from the front: eight holes and four pieces of strap.

Of its 132 holes 120 are open. Two are closed under each of the Pi's upper posts, one under each lower post and one under each strap's stud, and the two the card's screws come through are round. An M3 screw passes through any open hole from behind, so anything with pilot holes 8 mm apart can be screwed to the pegboard the way the card is.

Pi. The board stands 11 mm off the pegboard, which is what lets the microSD card slide out over the back hoop's leg.

Fan and button

front

Fan. The card stands on the pegboard above the Pi and reaches down in front of it. The fan sits in a pocket that is open at the top, between the card's front wall and three lips behind. Two ridges pinch its sides, and its own weight keeps it down. With its label toward the Pi it draws air in through 21 square holes in the card's front (3.4 cm²) and blows it onto the board from 12 mm in front of the processor.

Button. It points straight up, so pressing it presses the case down onto the table. The heart on the front of its pod is 27 holes 1.8 mm square, with the orange backer behind them.

Check before printing

What differs from the concept picture

What has been checked

Parameters worth knowing (top of loop_case.py)

Name Default Effect
TUBE_D, TUBE_FLAT 13 / 4.4 the hoops' tube, and how far from its axis the flat along the back is. A flat nearer the axis is wider and the tube's sides start steeper
HOOP_X, HOOP_Y, HOOP_TOP 56.5 / 22 / 142 the legs' axes each side of the middle, the hoops' axes in front of and behind it, the top bars' axis above the table
HOOP_R, SEAM 18 / 22 the hoops' corners, and the height the legs stand on the boots at
STRUT_X, STRUT_D, BORE_D 32 / 11.5 / 6.8 the two struts: where they are, their thickness, the hole down each
ACCESS_D 6.5 the hole through each back leg for the screwdriver
RAIL_R, RAIL_Z, TRAY_R 8 / 3.1 / 16 the tray's rail (a circle of that radius with its middle that high) and the tray's corners
BEND_R, WEB 15 / 5 the radius each boot turns on, and half the thickness of the web under it
TAB_TOP, TAB_SCREW 41, 32 / 36, 27 height of the front and back tabs, and of the screw through each
GRID_DEPTH 0.4 depth of the lines scored in the tray's floor (0 for none)
BOARD_HW, BOARD_Z, BOARD_T 46 / 28–128 / 3 the pegboard: half-width, lower and upper edge, thickness
PITCH, HOLE, COLS, ROWS 8 / 4 / 11 / 12 its holes
STRAP_ROWS, PIP_X, STUD_X 50, 122 / 32, 40 / 24 the rows the straps are on, the holes their pips fill, the stud each is screwed to
PIP, PIP_H 3.7 / 2.6 a pip's side, and how far it reaches into its hole
PI_X0, PI_Z0, PI_LIFT -44 / 56 / 11 the Pi: its microSD end, its lower edge, and how far it stands off the pegboard
FIT 0.25 clearance between printed parts; raise it if your printer runs tight
FAN_T_MAX, FAN_GRIP, FAN_DROP 7.6 / 0.25 / 2 thickest fan the card takes, how hard the ridges pinch, how far below the processor's middle the fan's is
CARD_D 23.5 back of the card above the pegboard's face
FOOT_X, FOOT_Z, CARD_SCREWS see file the card's foot, and the two pegboard holes its screws come through
VENT, VENT_PITCH 4 / 5.4 the holes in the card's front
SWITCH_HOLE_D 12.4 the button's hole in the pod (0 for none)
POD_X, POD_Y, POD_H see file where the pod stands and how tall it is
HEART, DOT, DOT_PITCH, HEART_Z see file the picture of dots on the pod's front: any rows of X and .
M3_PILOT, M25_PILOT 2.8 / 2.15 self-tapping hole sizes

CARD_D cannot go lower without the card touching the header's pins. PI_LIFT cannot go lower without the microSD card meeting the back hoop's leg. Run uv run ../print_check.py stl/*.stl after any change.

Redrawing the previews

uv run loop_case.py --assembled /tmp/loop_assembled
/Applications/Blender.app/Contents/MacOS/Blender -b -P render_previews.py -- \
    /tmp/loop_assembled stl preview

Where the dimensions come from