16-Bit Mini — Raspberry Pi 4 case, with or without the camera
115 W × 100 D × 66 H mm (plus feet). Every part prints without supports.
| With camera | Without camera |
|---|---|
![]() |
![]() |
The two versions are the same case with a different front panel. Print the cream and lavender plates once, then the purple panel you want. The panel slides out, so a case printed without the camera can get one later by printing the other panel.
Files
| File | What it is |
|---|---|
3mf/plate_1_cream.3mf |
base, body and top, in print orientation (both versions) |
3mf/plate_2_lavender.3mf |
deck outline and the two shoulder blocks (both versions) |
3mf/plate_3_purple_with_camera.3mf |
front panel with the lens hole and snap-in camera mount |
3mf/plate_3_purple_no_camera.3mf |
plain front panel |
stl/ |
the same parts one by one. accent.stl is printed twice |
step/mini16_with_camera.step, mini16_no_camera.step |
assembled CAD models incl. a reference Pi, camera, fan and button, for Fusion / FreeCAD / Onshape |
mini16_case.py |
parametric source. uv run mini16_case.py regenerates everything above |
preview/ |
renders: both versions, rear, exploded, inside, the microSD opening, print plates |
Printing
One plate per filament colour, so nothing changes colour mid-print.
| Plate | Colour | Parts | Time | Filament |
|---|---|---|---|---|
| 1 | cream | base, body, top | 3 h 26 min | 125 g |
| 2 | lavender | deck outline, 2 shoulder blocks | 7 min | 2 g |
| 3, with camera | dark purple | front panel + camera mount | 27 min | 12 g |
| 3, without camera | dark purple | plain front panel | 10 min | 8 g |
Times and weights are Bambu Studio 2.9's own estimates for the P2S, 0.4 mm nozzle, "0.20mm Standard" with 3 walls, Bambu PLA Basic. PETG HF came out within ten minutes of these.
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:
| Part | How it lies on the bed |
|---|---|
| base | floor down |
| body | upside-down, deck on the bed |
| top | upside-down, vent face on the bed |
| front panel | face down (camera mount pointing up) |
| deck outline | visible face down |
| shoulder block | standing on one end |
The deck, the top, the panel face and the outline all print against the plate, so the surfaces you look at get the plate's finish. On the textured plate that is an even matte grain.
PETG is the safer choice next to a Pi 4, and tougher for the snap arms. PLA works if the case is not in the sun.
Hardware
| Qty | Screw | Where |
|---|---|---|
| 4 | M3 × 8 pan head | base → body (2 front, 1 back, 1 left side) |
| 4 | M3 × 8 pan head | body → top, from inside the body (never seen) |
| 4 | M2.5 × 6 | Pi → base posts |
| 4 | M2 × 6 (optional) | camera → panel posts; the camera snaps in, so these are only a backup |
| 4 | 12 mm stick-on rubber feet | recesses under the base |
| 1 | 12 mm momentary push button, panel mount (M12 thread) | power button, back of the body |
| 1 | CanaKit Raspberry Pi Fan (RSP-FAN, 30 × 30 mm) | under the top vents |
All screws thread straight into the plastic (pilot holes are sized for that). The button, fan, feet and camera are the same ones the Arcade Wedge case uses; its README has the button and fan wiring.
Assembly

- Press the lavender outline into the groove on the deck, and a shoulder block into the pocket on each side (the same block fits both: turn it so its slope follows the body's). They are a press fit. If one is loose, a drop of superglue holds it.
- Turn the top over. Push the fan onto the square collar, label side facing you, until both arms click over it (see "Fan" below).
- Set the top on the body, its rim in the groove around the opening, and fix it with 4 screws from inside the body, up through the deck.
- Push the power button through the hole in the back of the body from outside and tighten its nut inside.
- With camera: snap the camera onto the back of the panel, ribbon connector toward the panel's square edge, lens through the hole. Plug the ribbon into the camera. The panel's bevelled edge is its top.
- Turn the body over. Slide the panel into the two rails behind the front window, bevelled edge first, smooth face toward the window, until it stops.
- Lay the Pi flat on the four posts in the base, a few mm forward of the holes, with USB and Ethernet over the low part of the left wall and the microSD card's end toward the chute on the right. Slide it back until USB-C, HDMI and the audio jack sit in their openings, then fit the 4 Pi screws. The card can go in now or later.
- Plug the ribbon into the Pi's CAMERA connector, the button's plug onto header pins 5 and 6, and the fan's two wires onto pins 4 and 9. Keep the ribbon's slack away from the fan, and every wire out of the chute.
- Lower the body onto the base. The panel's bottom edge drops behind the base's front wall, and the body's left wall comes down around the USB and Ethernet sockets. Fit the 4 base screws.
- Stick on the feet. With the camera, focus by turning the lens from outside.
The microSD card

The card goes in and comes out through the opening low in the right side, with the case closed. Its end is 23.6 mm in from that side: the board is 85 mm long in a case 115 mm wide, and its USB and Ethernet sockets have to be at the left wall. Behind the opening a chute in the base runs in to the card: a floor level with the bottom of the card's socket, and a wall each side, 20 mm apart. It stops 1 mm short of the card.
- In: label down, contacts up, contacts first. Lay the card on the chute's floor and push it in with a fingertip until it stops. In CAD a finger up to 19 mm wide and 16 mm thick reaches the card's end; if yours does not, use the little finger.
- Out: the Pi 4 holds the card by friction only. Its end sticks out 2.4 mm past the board, with room above and below it, but too far in to pinch with fingers. Grip those 2.4 mm with tweezers and draw the card out. A fingernail on its top face, with the hand palm up, may do instead (not tried). Once it is out of the socket it lies on the chute's floor, and a fingertip slides it the rest of the way.
Fan

The fan snaps onto a collar under the top vents, above the Pi's processor: two spring arms (front and back) hold it and two lips (left and right) keep it centred. It pulls air in through the top and the air leaves through the side vents.
The arms are not the ones that broke on the Arcade Wedge. They are 1.6 mm thick instead of 1.2 and have a rounded root. They bend about 0.6 mm to click instead of 0.85, because they hold a narrower range of fan thickness, and a rigid rib behind each one stops it at about 0.9 mm. They are still printed upright, the weak direction, so bend them only as far as needed. If one ever breaks, the collar has four screw holes 24 mm apart: four M3 × 12 screws hold a fan with corner holes.
Both of the Arcade Wedge's clips have since snapped, and its arms were redrawn by working out the strain in them (Why the arms look the way they do). By the same sum these arms are strained 0.63 to 0.86 % as the fan goes in: the clips that snapped were at 0.85 to 1.05 %, and the Arcade Wedge's arms now are at 0.26 to 0.35 %. These have not been redrawn, so have the screws ready.
Check before printing the top
The arms hold a fan 30 × 30 mm square and 7.0 to 7.6 mm thick. CanaKit publishes
30 × 30 mm but not the thickness; 7 mm is the figure usually quoted. Measure yours. If
it is outside that range, set FAN_T_MIN and FAN_T_MAX to your measurement and 0.6
above it, and re-run the script. Only top changes.
Check before printing the camera panel
The snap-in mount is the Arcade Wedge's, made for a board 39 × 39 mm square and
about 1.6 mm thick (InnoMaker CAM-OV5647). Anything from 1.0 to 1.9 mm thick is
held. The backup screw holes assume 34.0 × 34.0 mm spacing (CAM_HOLE_PITCH).
What differs from the concept picture
- 66 mm tall, not 60. The camera board is 39 mm square and its ribbon leaves from the bottom edge, so the front has to be 52 mm high. The raised top adds 14 mm.
- The window dips 4.5 mm into the base. Split at its bottom corners, neither half has to print a 65 mm bridge across it.
- The raised top is its own part, screwed on from inside. As one piece with the body, one of the two decks would need supports whichever way up it printed.
- 11 top vents, not 13. Their 8 mm spacing leaves room for the fan's screw holes between the slots.
- Along the USB and Ethernet sockets the left wall belongs to the body. That lets the Pi lie flat and slide in, instead of being tilted in past its own sockets.
- An opening low in the right side, for the microSD card. The picture has none. It is about 20 mm square and crosses the seam, like the front window, so neither the base nor the body has to bridge it.
What has been checked
- In CAD: no printed part overlaps another, or the reference Pi, camera, fan or button. The three assembly moves (Pi laid down and slid back, panel slid into the body, body lowered onto the base) were stepped through with nothing touching.
- In the slicer: all four plates slice in Bambu Studio 2.9 with the P2S profile, no supports, no warnings. Nothing prints in mid-air: the longest bridge is 14 mm (the floor of each shoulder-block pocket).
- Not printed yet. The fits that depend on the printer are the press fit of the
outline and shoulder blocks (
TRIM_FIT), the panel in its rails (FIT), and the fan and camera snap arms. - The microSD opening, in CAD: it takes away only the right side's wall (3.2 mm of it
is left under the nearest side vent), and the chute touches nothing else. A card
slid along the chute's floor touches nothing on its way to the socket, and
finger-shaped rods with rounded ends, 16 × 14, 18 × 15 and 19 × 16 mm, reach the
card's end touching neither the case nor the Pi. The Pi still lies down and slides
back, and the body still lowers onto the base, with nothing touching.
case/print_check.pyreports the same for the base and the body as it did before the opening, and the opening adds no overhang. Plate 1 still slices with no warnings, 2 minutes and under a gram more than without it. - Nothing with the microSD opening has been printed, nor a card tried through it.
The reference Pi has nothing on top of the board at the card's end, so whether a
fingernail gets onto the card past the real board's parts is not known: tweezers
are the sure way to take it out. The card and its socket are drawn hanging 1.5 mm
under the board, and the chute's floor is level with that (
SD_LEDGE_DROP). That height is not measured. If a card stubs on the socket's lower edge instead of sliding in, the floor is too low: makeSD_LEDGE_DROPsmaller. If it rides into the socket's upper edge, make it larger. Then print the base again.
Parameters worth knowing (top of mini16_case.py)
| Name | Default | Effect |
|---|---|---|
H_BASE, H_DECK, H_TOP |
20 / 52 / 66 | height of the seam, the front deck, the raised top |
LENS_Z |
27.5 | height of the lens and the middle of the window |
WIN_W, WIN_H |
65 / 24 | size of the front window |
FIT |
0.25 | clearance between printed parts; raise it if your printer runs tight |
TRIM_FIT |
0.1 | press fit of the outline and shoulder blocks; raise it if they won't go in |
FAN_T_MIN, FAN_T_MAX |
7.0 / 7.6 | range of fan thickness the arms hold |
FAN_HOLE_PITCH |
24.0 | spacing of the fan screw holes (0 removes the whole fan mount) |
CAM_PCB_T, CAM_HOLE_PITCH |
1.6 / 34.0 | camera board thickness / hole spacing |
CAM_STANDOFF_H |
13.0 | how far the camera sits behind the panel (lens sticks out ~4.5 mm past the case) |
SWITCH_HOLE_D |
12.4 | power button hole (16.4 for a 16 mm button, 0 for no hole) |
SWITCH_X, SWITCH_Z |
30 / 37 | position of the button on the back wall |
SD_SLOT_W, SD_SLOT_TOP |
20 / 25 | width of the microSD opening and its chute (0 for neither), height of the opening's top |
SD_LEDGE_DROP |
1.5 | how far under the Pi's board the chute's floor is (see "What has been checked") |
SD_REACH_GAP |
1.0 | how far short of the card's end the chute stops |
M3_PILOT, PI_SCREW_PILOT, CAM_SCREW_PILOT |
2.8 / 2.15 / 1.7 | self-tapping hole sizes |
Redrawing the previews
uv run mini16_case.py --assembled /tmp/mini16_assembled
/Applications/Blender.app/Contents/MacOS/Blender -b -P render_previews.py -- \
/tmp/mini16_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).
- Camera: InnoMaker CAM-OV5647 manual and repo (https://github.com/INNO-MAKER/CAM-OV5647): 39 × 39 mm board, 4 × Ø2.2 mm holes, M12 lens.
- Fan: CanaKit Raspberry Pi Fan product page (https://www.canakit.com/raspberry-pi-fan.html): 30 × 30 mm. The thickness and the 24 mm screw spacing are the usual values for 30 mm fans, not CanaKit figures.

