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.

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

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:
- 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.
- Process "0.20mm Standard". Under Strength set Wall loops to 3. Leave supports off.
- 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

"Front" is the side you look at the Pi from. The tray's front is the side with the two taller tabs.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Button → pins 5 and 6: the third pair from the left, one above the other. Either wire on either pin.
- Fan red → pin 4 (5 V): upper row, second from the left.
- Fan black → pin 9 (ground): lower row, fifth from the left.
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

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

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
- Fan: the card takes a fan 30 × 30 mm square and up to 7.6 mm thick. CanaKit
publishes 30 × 30 mm but not the thickness; 7 mm is the figure usually quoted. If
yours is thicker, set
FAN_T_MAXto its thickness and re-run the script. - Button width. A rim up to 28 mm across and a nut up to 18 mm across its corners.
- Button length. From the underside of its rim to the tray's floor there is 36 mm. The button drawn is 27 mm long with its terminals, which leaves 9 mm for its leads.
- No button. Set
SWITCH_HOLE_Dto 0. The pod is then made without the hole. - Screwdriver. See "Hardware": 45 mm of shaft under 6 mm thick.
- Plugs. There is 53 mm between the Pi's lower edge and the tray's floor for the power and HDMI plugs and the first bend of their cables.
What differs from the concept picture
- The picture is a full-size PC case. This is its frame at the size of a Pi: hoops 126 mm wide and 149 mm tall, a tube 13 mm thick.
- The tubes have a flat along the back, which they print on. From the front they are round.
- The legs flare in one direction each, forward or backward, with a web under the turn. The picture's sweep outward to the tray's corners as well, and stand clear of it.
- The straps are behind the pegboard and the legs. The picture's meet the tubes from the side.
- The pegboard is one sheet. The picture's is tiles joined by orange clips. Here the orange in the holes is the straps' pips.
- Two struts join the hoops at the top, and a tab stands behind each leg.
- No name plate and no clock. The pod with the heart stands where the picture has its name plate, and it is the picture's cube with a face of dots, without a screen.
- The card stands for the picture's graphics card. It carries the fan.
- The cables hang from the Pi's lower edge. The picture's loop to one side.
- The feet are stick-on rubber ones in recesses, not printed.
What has been checked
- Nothing here has been printed.
- Both checks of
../print_check.py(uv run ../print_check.py stl/*.stl), which the Fossil Rib Cage's two failed prints were missing: - Every part starts on the bed as one piece, and no piece starts apart from the rest higher up.
- No piece leans far while it stands alone. The pieces that do stand alone are the tray's four boots with their tabs (from 11 mm up, the front two for 30 mm), the back hoop's two struts (33 mm) and the Pi's four posts (11 mm). Worked out as beams, the most a top moves is 0.011 mm for each newton pushed sideways, and none sinks. The grille bars of the Arcade Wedge's shell, which printed, move 0.47 and sink 0.03; the rib cage's legs that failed sank 0.09.
- Undersides, by scanning the print-orientation STL files for faces that lean more than 45°. What it finds are bridges and the tops of holes:
- hoops: the blind ends of the pilot holes (2.8 mm), and the seat at the end of the hole down each strut. That seat is left open in a slot on its first layer and in a square on its second, so both layers print as bridges 5.9 and 3.4 mm long.
- tray: the roofs of the feet's recesses (12 mm), and the tops of the four screw holes through the tabs (3.4 mm, lying sideways).
- pegboard: the blind ends of the studs' pilot holes (2.8 mm).
- pod: the tops of the heart's 27 holes (1.8 mm).
- card, straps, backer: nothing. The three lips behind the fan lean at 45°.
- In CAD: no part overlaps another, or the reference Pi, the button, any screw head, or jumper plugs standing on header pins 4, 5, 6 and 9. The one exception is meant: the card's two ridges press 0.05 mm into the fan's sides.
- Plugs 45 mm long were drawn in the USB-C socket, one HDMI socket, both USB stacks and the Ethernet socket. None touches the case. The nearest are the lower USB plug, 5.2 mm from the back hoop's leg, and the Ethernet plug, 4.6 mm from it.
- These moves were stepped through with nothing touching:
- the microSD card out to the left. It passes 1.1 mm over the back hoop's leg;
- the card with its fan straight off the pegboard;
- the pegboard with the Pi and the card on it forward out of the back hoop;
- the back hoop with pegboard, straps, Pi and card up off the tray;
- the front hoop up off the tray, sliding on the ends of the struts;
- a strap back off the pegboard and the leg;
- the pod up off the tray, and the backer down out of the pod;
- a screwdriver shaft 5 mm thick down each strut and through each back leg to the tab behind the front leg, and a 6 mm screw head carried the same way.
- The fan lifted out of the card meets nothing but the two ridges and the jumper plugs, which is why the plugs come off first.
- Gaps as drawn: 4 mm between the pegboard and the back hoop's legs, 0.15 mm round each pip, 0.2 mm each side of the fan, 5.4 mm between the card's front and the plane of the front hoop's flat, 2.5 mm between the card and the pins of the Pi's header, 4.5 mm between the fan and the jumper plugs above it.
- In the slicer: the four plates slice in Bambu Studio with the P2S profile, no supports, no warnings. Both of the Rib Cage's failed plates passed this too, so it says little.
- What to look at on the first print:
- A hoop is a thin loop 126 mm across lying on a strip 9.6 mm wide. Watch its corners for lifting in the first layers.
- The top of a tube printed lying down shows its layers as steps along the crest. That crest is the hoops' front.
- The heart's holes are 1.8 mm, and the lines scored in the tray's floor are 0.8 mm wide and 0.4 mm deep. Either may come out fainter than drawn.
- The flat of each hoop is where the tabs, the struts and the straps bear. A wide first layer (elephant's foot) at its edges does no harm there.
- What depends on the printer and has no check here: the pips in the pegboard's holes, the backer between the pod's wall and its ribs (0.2 mm), the legs standing square on the boots, and the screws biting. Each pilot hole runs straight up while its part prints, the strong way for a thread.
- What depends on parts I have not measured: the fan's thickness and whether the ridges hold it still, the button, and how far under the board the microSD card sits. It is drawn 2 mm under.
- What I have not worked out:
- How well it stands when a stiff HDMI cable pulls on it. Printed parts, Pi and fan come to about 230 g, on a tray 129 × 122 mm.
- How much the fan does. In the open a Pi 4 already cools better than in a box.
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
- Raspberry Pi 4 Model B: official mechanical drawing (https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-mechanical-drawing.pdf). The display and camera connectors are drawn 5.5 mm tall, the usual figure for that kind of connector, not one taken from the drawing. The processor's middle is taken as 29.5 mm from the microSD end and 32.5 mm from the lower edge.
- Fan: CanaKit Raspberry Pi Fan product page (https://www.canakit.com/raspberry-pi-fan.html): 30 × 30 mm. The thickness is the usual value for 30 mm fans, not a CanaKit figure.
- Push button: a 15 mm rim 2 mm thick, a 14 mm nut and 27 mm behind the rim are the usual values for 12 mm panel buttons, not a measurement of yours.
- Jumper plugs are drawn 14 mm tall on a header 2.5 mm above the board.