BlogRaspberry Pi

How a Custom Raspberry Pi Case Is Made Without a Mold, Step by Step

What you send, what you approve and how flat ABS becomes a Pi case: port cutouts, V-groove bends, brass inserts for the M2.5 holes and UV printing.

A custom Raspberry Pi case from Toolless starts as a flat sheet of ABS and a model of your board, and it reaches you without anyone cutting a mold. This post follows one case through the shop: what you send, the 3D model you approve, how the port cutouts are machined, how the sheet is bent and assembled, and how long each stage takes.

The example is a case for a Raspberry Pi 4 or Pi 5 in 3 mm ABS, built like our C Box: two C-shaped halves that close on a tongue-and-groove joint. A larger housing with a display, a HAT and a battery goes through the same steps with more pieces.

What you send us

The minimum is the board model and a list of what is attached to it. If you have a STEP, IGES, SAT, SolidWorks, STL or DXF file of the board or the whole assembly, upload it. If not, the model name and a connector list are enough, because the board geometry comes from the mechanical drawings Raspberry Pi publishes for each model.

What we cannot read from a drawing is how the product is used. Tell us:

  • which connectors the user plugs into, and which stay buried (an internal cable to a display, a USB dongle that never comes out)
  • whether anyone needs the microSD card after the unit ships
  • what else goes inside: HAT, display, relay board, power supply, battery, fan
  • how the case is mounted and where it lives: desk, wall, cabinet, outdoors
  • color, logo and label artwork, and rough quantities

The 3D model you approve

One engineer manages your job as the single point of contact, and the case is modeled in SolidWorks around your board. The board sits on four bosses at its M2.5 mounting holes, which lie on a 58 × 49 mm rectangle on every full-size Pi since the Model B+. Every cutout is dimensioned from those holes, so the openings follow the connectors, not the outside of the box.

You receive the model in STEP, IGES, STL or SolidWorks format and check it against your own assembly before any sheet is cut. Look hard at plug clearances, lid height and anything that moves; a change at this stage costs minutes. Once approved, the model becomes the CNC program and the shop traveler, which sets the material, the critical dimensions and the order of operations. The design belongs to you.

Port cutouts, face by face

On a Pi 4 or Pi 5 the connectors sit on three edges of the board and one on the underside, so a case usually has openings in three or four walls. Each opening is sized for the cable plug the user inserts, not only for the socket on the board. The molded grip on a micro HDMI or USB-C cable is far larger than the socket, and the plug still has to seat fully through the wall.

ConnectorLocation on the boardWhat the case needs
USB and Ethernet stackOne short edgeOne window per connector, or a single window if a later board may rearrange them
USB-C power and two micro HDMIOne long edgeA recess milled into the outside face so the plug bodies reach the sockets through a 3 mm wall
3.5 mm audio jackSame long edge, Pi 4 onlyA round hole; the Pi 5 has no audio jack
microSD cardUnderside, opposite short edgeA slot, or no opening if the card is written at the factory
40-pin GPIO headerThe other long edgeA slot for a ribbon cable, or headroom for a HAT
Power buttonPi 5 onlyAn opening or a plunger if the user should reach it; nothing if not
Status LEDsTop of the boardA small hole or a light pipe
CAD detail of a case wall with three machined openings for the USB and Ethernet connectors, each with a stepped edge, and the GPIO header visible behind
Port openings are machined while the part is still flat.

Plug recesses are cut on the reverse side of the sheet. Reverse-side features are located from a template and hold ±0.4 mm, against ±0.2 mm for the main flat pattern, and the engineer allows for that in the window clearances.

From flat sheet to bent shell

Each C is one flat piece. The CNC router mills every opening, vent slot and boss recess while the part is still held in the sheet. Our standard ABS has a smooth side and a textured side; we machine from the smooth side, which becomes the inside, so the textured face your customer sees stays clean. Because every feature comes from the program rather than an operator’s setup, the hundredth case matches the first.

The pieces are then cut free and the tongue-and-groove details routed on their edges. A custom table saw scores a V-groove halfway through the sheet on each bend line, and a computerized thermal bender heats along the groove and folds the panel to 90 degrees. The result is a square inside corner with an outside radius of one material thickness. Each half takes two bends, and since the outside grows by one thickness per bend, we dimension the case to its inside walls, which is also what the board cares about.

A groove has to run the full width of a panel, so a case is built from bent sections, never folded up on four sides like a sheet-metal box. The ten-step manufacturing process covers each operation in more detail.

Bosses, brass inserts and assembly

Brass threaded inserts are heat-staked into the bosses, and the bosses are solvent bonded into circular recesses milled in the base. Their position comes from the CNC program, not from a fixture, so they land on the 58 × 49 mm pattern every time. Bosses stay under 9 mm tall; a few millimeters is enough to lift the board clear of the through-hole pins under its USB, Ethernet and GPIO connectors.

For a Pi we fit M2.5 inserts whenever the board will come out for service. A self-tapping screw holds well for two or three insertions; an insert takes as many as the product needs. If you would rather have no screws, the board can slide into grooves machined in the inside walls instead.

Light pipes, acrylic windows and tabs are bonded in at the same stage. Before the run, the assembly lead builds one complete setup case with every operation and accessory, and the engineer checks it against the model. Only then is the rest of the order assembled. The two halves close on their tongue-and-groove joint, so the case does not have to be glued shut over the board.

Printing and finish

Logos and port labels are printed with UV-cured ink on the flat part before bending, so each label lands next to the opening it names. The ink goes onto pre-colored sheet, so there is no paint step, and white ink prints opaque on black or dark grey ABS. Stock ABS comes in white, black, light grey and dark grey; a two-color case uses a different stock color for each half. Engraving is the choice for markings that must survive abrasion. See digital printing on plastic enclosures for the print options.

Red custom single-board computer case with a white printed logo on the lid and machined port openings and vent slots along the front edge
A one-color case with the logo printed directly on the ABS.

Lead time and quantities

  • Response: an engineer replies within one business day, and quotes go out within 48 hours.
  • Prototype: 3 to 21 working days after model approval, depending on complexity. Pi cases have gone from first contact to delivered parts in as little as 3 to 4 weeks.
  • First article: the prototype is cut from the production program on production equipment, so it is the part you will get in volume.
  • Production: three weeks after the purchase order.
  • Quantity: no minimum. One or two units carry a setup charge; the process is most economical from 100 to 10,000 units, and blanket orders cover 10 to 10,000 with scheduled releases.
  • Stock: none. Each release is cut when ordered, so a change between releases is a program edit, not scrapped inventory.

Upload your board model and connector list on our CAD upload page, and an engineer will come back within one business day with questions or a quote.

Keep reading

Related articles

Start your enclosure

Send the board. We’ll send the box.

Quotes come from an engineer, not a form robot. Attach CAD, photos or a sketch and we reply within one business day.

Request a Quote Call 425-493-1223

Or email sales@toolless.com · Mon–Fri, 7am–5pm PST

Call Request a Quote