Star Dart

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

Star Dart — Raspberry Pi 4 case as a purple dart

195 L × 100 W × 50 H mm (plus feet). Twelve printed parts in five colours, none needs supports.

assembled

A purple dart with two cream stripes down its back, a gold flash on one side, a black louvre each side of its nose, and a blue button in an eye-shaped hollow. The Pi lies across the tail, under the tall block. The fan stands just in front of it and blows air from the nose over the board. The blue button is the power button. This case has no camera.

Files

File What it is
3mf/plate_1_purple.3mf base, nose, block and the button's plate, in print orientation
3mf/plate_2_cream.3mf the four stripes
3mf/plate_3_gold.3mf the flash
3mf/plate_4_black.3mf the two louvres
3mf/plate_5_blue.3mf the button's cap
stl/ the same twelve parts one by one
step/dart_assembly.step assembled CAD model incl. a reference Pi, fan and button, for Fusion / FreeCAD / Onshape
dart_case.py parametric source. uv run dart_case.py regenerates everything above
preview/ renders: assembled, side, rear, top, exploded, inside, print plates

Printing

print plates

One plate per filament colour.

Plate Colour Parts Time Filament
1 purple base, nose, block, button plate 3 h 25 min 123 g
2 cream 4 stripes 12 min 5 g
3 gold flash 3 min 1 g
4 black 2 louvres 9 min 3 g
5 blue cap 4 min 1 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 purple plate: it uses 239 × 234 mm of the 256 mm bed.

Part How it lies on the bed
base, button plate as they stand
block upside-down, standing on its flat top
nose upside-down and tipped 13.6°, so that its sloped top lies flat on the bed
stripes, flash face down, pegs up
louvres lying flat, outer face down
cap top down

The block and the nose have to be upside-down. The block's socket openings (and the microSD card's) and the nose's two louvre openings run down to the lower edge, so as they stand their walls would start as separate pieces with bridges laid across them, which is how the Fossil Rib Cage's first shell failed. Upside-down each starts as one flat sheet, the top, and the facets round it lean out at 45°.

The nose's top slopes, so the nose is tipped until that top is flat. Its walls then stand about 4° off upright, its rear wall leans 13.6°, and its lower edge ends the print as a slope, in steps 0.8 mm long. That edge sits on the base.

The beds for the stripes are cut into the faces that lie on the bed. Each bed's floor is printed as a bridge 9 mm across, 1.2 mm up.

PETG is the safer choice next to a Pi 4, at least for the block.

Hardware

Qty Screw Where
3 M3 × 8 pan head base → block, from underneath
3 M3 × 8 pan head base → nose, from underneath
2 M3 × 8 pan head button plate → nose, inside the nose
4 M2.5 × 6 Pi → base posts
9 M2.5 × 6 block and nose → the four stripes, from inside: 2, 2, 3 and 2
2 M2.5 × 6 nose → flash, from inside
4 12 mm stick-on rubber feet recesses under the base
1 12 mm momentary push button, panel mount (M12 thread) under the blue cap
1 CanaKit Raspberry Pi Fan (RSP-FAN, 30 × 30 mm) in the cradle on the base

That is 8 M3 × 8 and 15 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.

Assembly

exploded

The "tail" is the end the cables leave from, the "nose" the pointed end.

  1. Screw the Pi to the four posts in the base: USB and Ethernet over the sill at the side, USB-C and HDMI over the lowered part of the rim at the tail. The microSD card can go in now or once the case is closed (see below).
  2. Stand each louvre in its groove beside the nose end of the base, its tall end toward the Pi. The two are mirror images. On its own side a louvre's blades slope down toward the outside; if they slope up, it is the other side's.
  3. Drop the fan into its cradle in front of the Pi, label toward the Pi.
  4. Press the two long stripes into their beds on the nose and the flash into its bed on the nose's side, pegs into the holes. Turn the nose over and fit 1 M2.5 screw into each peg from inside: 5 for the stripes, 2 for the flash.
  5. With the nose still upside-down, drop the cap into its hole from inside, top first. Push the button through the plate and tighten its nut on the other side. Lay the plate on the tube round the cap, the button's rim inside the tube, and fit 2 M3 screws. Bring the plate in from the pointed end: lying on its top, the nose's rear wall leans over the place.
  6. Press the two short stripes into the block's top and fit 4 M2.5 screws from inside.
  7. Hold the nose over the base. Plug the button onto pins 5 and 6 and the fan's two wires onto pins 4 and 9 (see "Wiring" below).
  8. Lower the nose straight down over the fan and the louvres, laying the leads in the notch in its rear wall as it comes down.
  9. Lower the block straight down over the Pi. Its socket openings are slots open at the bottom, so they pass the sockets, and its front edge goes over the rear end of the nose.
  10. Hold the three together, turn the case over, fit the 6 base screws, and stick on the feet.

The microSD card goes in and out with the case closed, through the opening low in the side opposite the USB sockets (on your left with the tail toward you). The card's end sits 9 mm in from that side, standing 2.4 mm out from under the board, 3 mm above the floor.

The opening is 20 mm wide and runs from the floor to 20 mm above the underside of the base. It is drawn to let in a fingertip 15 mm wide and 12 mm thick, lying on the floor or with its pad on the card. Nobody has tried a finger or a card in it yet.

The rest of the inside is reached by taking out the block's 3 screws (two beside the joint, one at a tail corner) and lifting the block off. The nose stays on.

Wiring

With the tail toward you, USB and Ethernet are on your right and the 40-pin header runs along the far edge of the Pi. Pin 1 is at its left-hand end (the microSD end). The far row holds the even pins, the near row the odd ones.

Count carefully: the first two pins of the far 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.

Fan and button

inside

Fan. It stands on the floor in a cradle 12 mm tall, against the nose's rear wall, which has an opening 28 mm wide behind it. Two ridges in the cradle pinch its sides, and a fin under the nose's top stops 0.5 mm above it. Nothing clips.

With its label toward the Pi the fan draws air in through the two louvres and through eight slots in the floor under the nose (4.9 cm²), and blows it over the board. The air leaves through seven slots in the tail (2.7 cm²) and round the sockets. A low wall on the base and the nose's rear wall close the way round the fan, apart from the notch for the leads.

Button. The real button is fixed in a plate that screws to a tube under the nose's top. The blue cap moves in that tube and rests on the button's plunger. A 45° shoulder on the cap, under the same on the nose, keeps the cap in. Pressing the cap presses the plunger; the button's own spring lifts both.

Check before printing

What differs from the concept picture

What has been checked

The opening takes away only the block's side wall, the base's side wall and the lip on it (the new parts subtracted from the old). It is 11 mm from the block's tail screw, 19 mm from its side screw and 11 mm from the nearest Pi post. The card's place is from the Pi's drawing, good to about a millimetre, and the fingertip is a block, not a finger. - These moves were stepped through with nothing touching: - the block with its stripes up off the base, the Pi, the plugs and the nose's end; - the nose with button, plate, stripes and flash up off the base, over the fan and both louvres; - the thickest fan up out of its cradle, apart from the ridges; - a louvre up out of its groove; - the plate with the button on it straight down out of the nose, as the nose stands. Along the tube's own line, which leans, it is free for 7 mm and then its end meets the nose's rear wall; - each stripe and the flash straight out of its bed. - The cap: pressed 1.5 mm it touches nothing but the plunger. Lifted 0.9 mm it is free, and lifted 1.2 mm it is stopped by the nose, which is what keeps it in. - Gaps as drawn: 0.3 mm between the block's front edge and the nose, 0.2 mm between a louvre and the nose's wall, 0.3 mm round the cap, 6 mm between the drawn button's tail and the floor. - In the slicer: the five 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. The purple plate was sliced again with the microSD card's opening: no warnings, 1 g lighter. - What to look at on the first print: - The stripe beds' floors are bridges and will sag a little, so the stripes may stand a tenth or two proud. As drawn they are flush. - The ring round the cap is 1.2 mm wide where it lies on the bed. - The nose's lower edge, printed as a slope. - The louvres' blades are 0.9 mm thick and 52 mm long, held at both ends and by one bar in the middle. - Whether a fingertip reaches the microSD card's end through its opening and draws the card out. If not, SD_TOP makes the opening taller; tweezers on the card's end need no change. - What depends on the printer and has no check here: the stripes and the flash in their beds (0.15 mm a side), the cap in its hole, the louvres in their grooves, the block's edge over the nose (SEAM), and the screws biting. The weakest is the M2.5 into each peg, with 2.7 mm of thread. - What depends on parts I have not measured: the button's plunger height and length (see "Check before printing"), where the fan's lead leaves it, and whether the ridges hold the fan still. - What I have not worked out: how much air gets through. Each louvre's opening is 50 mm long and 14.5 mm tall at one end, 3.9 mm at the other, and the slanted blades leave about a third of that free.

Parameters worth knowing (top of dart_case.py)

Name Default Effect
HL, WS, H_B 50.2 / 34.5 / 50 the block: half-width, how far its tail face is behind the drawing's origin, its height
FAC_B, FAC_TAIL, CORNER 10 / 6 / 3 the facets along the block's sides and tail, and its cut-off tail corners
Y_K, OVER, SEAM 36 / 3 / 0.3 where the nose begins, how far the block's edge reaches over it, and the gap between them
Y_T, W_T, H_T 160 / 9 / 17 the tip: where it is, its half-width, its height
P_T, F_T 4.5 / 4.5 half-width of the flat top at the tip, and the facet across the tip
Z_RIM, Z_DIP 6 / 4.2 height of the base, and of its rim under the back sockets. The Pi's board is PI_LIFT (1 mm) above Z_RIM
FIT 0.25 clearance between printed parts; raise it if your printer runs tight
SLOTS_Y, VENT_X, VENT_Z see file the slots in the floor under the nose, and in the tail
SD_W, SD_TOP, SD_R 20 / 20 / 4 the microSD card's opening in the side: its width (0 for none), its top above the underside of the base, and the radius of its two upper corners. It runs down to the floor, centred on the card
FAN_T_MAX, FAN_X, FAN_GRIP 7.6 / -8 / 0.25 thickest fan the cradle takes, where its middle is, how hard the ridges pinch
SWITCH_HOLE_D, BTN_X, BTN_Y 12.4 / 20.5 / 59 the button's hole in its plate (0 for none) and where the button is
BTN_HEAD, BTN_SEAT 2.6 / 7.4 top of the plunger above the underside of the button's rim, and how far under the nose's top that rim sits
CAP_D, CAP_UP, CAP_RISE 17.2 / 1.6 / 1.0 the cap: diameter, how far it stands out, how far it can lift
EYE_L, EYE_W, EYE_DEPTH, BEZEL 17 / 9.6 / 1.4 / 1.2 the eye: half-length, half-width, depth, and the ring round the cap
STRIPE_W, STRIPE_GAP, STRIPE_TAIL_X, STRIPE_TIP_X 9 / 6 / -22 / 0 the stripes: width, the purple between them, where the outer one's middle is at the tail and at the tip
POCKET, INLAY_FIT 1.2 / 0.15 depth of the stripes' and the flash's beds (and their thickness), and the gap round each
BLOCK_STEMS_Y, NOSE_STEMS_Y, GOLD_STEMS see file where the pegs and their screws are
GOLD_SWOOSH, GOLD_BARS, GOLD_SHEAR see file the flash's outline on the nose's wall, its three bars, and how steeply the lower edges of its bed slope
LV_S0, LV_S1, WIN_DROP 68 / 118 / 3.4 where each louvre's opening starts and ends along the wall, and the wall left above it
BLADE, BLADE_PITCH 1.3 / 2.8 height of a blade's edge, and of a blade and gap together
M3_PILOT, M25_PILOT 2.8 / 2.15 self-tapping hole sizes

BTN_Y cannot go much nearer the tail: the plate's end is 1.7 mm from the nose's rear wall. H_B sets how much room the button has under it. Run uv run ../print_check.py stl/*.stl after any change.

Redrawing the previews

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

Where the dimensions come from