3DPrintCAD Open the app

3DPrintCAD › Guides › Board case generator

Board case generator: cases for Raspberry Pi, ESP32, Arduino and LoRa boards

Pick your board and get a case that fits it: every port cut out where it is, the board held on standoffs, pins or clips, a lid with vents or a fan, and a way to mount it - on a wall, a DIN rail, a monitor or an aluminium frame. Raspberry Pi, ESP32, Arduino, Coralboard, RAK WisBlock, LilyGO T-Beam and Heltec boards are built in, and any other board can be typed in.

Make a board caseNo account · nothing to install · runs in your browser
A blue Raspberry Pi 4 case with a white honeycomb lid and a 30 mm fan opening, its ports cut out of the side

Watch the tutorial

Every option in about four minutes, with subtitles: picking the board, how it is held (snap pins and clips with their fit), ports, lids, vents and a fan, every mount, WisBlock modules and your own board. Watch on YouTube ↗

1Open the generator

Click Board case under Generators in the left panel (or open the app from the button above). It starts with a Raspberry Pi 4 in a box with a snap lid. Every change shows at once in the view, with a see-through green model of the board inside, so you can see where every part and port sits. Nothing is added to your project until you click Create the case.

The Board case generator open: a blue Raspberry Pi 4 case with a white slotted lid, the panel on the right
The generator with its default case: a Raspberry Pi 4 in a box with a snap lid.

2Pick your board

The The board card lists the boards in groups, each with its size. Click one and the case is rebuilt round it - its size, its mounting holes, every port and the room it needs above and below.

Boards whose connectors are placed from photos rather than the maker's drawings say so under the list - check them on the see-through board, and change any position with Adjust as custom.

Twelve cases side by side: Raspberry Pi 5, Pi Zero, Pi Pico, ESP32 DevKitC, ESP32-CAM, Arduino Uno, RAK19007, T-Beam SUPREME, Heltec LoRa32 V4, Wireless Tracker, Arduino Nano and ESP32-C3 SuperMini
The same settings, twelve boards: each case is made round its own board.
The board card: every board in groups with its size, and Custom at the bottom
The The board card.

3Box, tray or holder plate

A closed box, an open tray and a flat holder plate for the same Raspberry Pi
Box, tray and holder plate for the same board.

4How the board is held

A board with mounting holes sits on standoffs, one under each hole. Choose what goes through them:

Pins can have a Cone tip or a Ball tip, and a Snap catch: the pin is split down the middle and gets a head that reaches past the hole, so the board clicks over it and cannot lift off. Its Catch sets how far the head reaches out, Underside ° the slope under the head (45° prints without supports, Flat holds hardest), Split the slot's width, and on a ball tip Ball radius makes the ball bigger.

Close-ups of a standoff for each fixing: a pilot hole, an insert hole, a bolt hole, a pin, a split snap pin with a cone, one with a ball, a bigger ball, and rails with snap clips
Every way of holding the board, close up.

A board without holes (an ESP32-C3 SuperMini, a Wemos D1 Mini) rests on rails under its ends and clicks in under snap clips beside its long edges. You can use rails and clips on any board. The clips keep clear of the ports and of parts near the edge, and have their own fit: Clip gap (Tight 0.1 / Normal 0.25 / Loose 0.4) and Hook (how far it reaches over the board).

Below them: Header pins soldered underneath (room for them, about 9 mm), GPIO header soldered on top (a Pi Zero), Under it (how high the board sits - empty = what it needs), Gap round it and Port margin (extra room round every opening for a plug).

The Holding the board card with pins, a ball tip snap catch and snap clips switched on
The Holding the board card.

5The ports

Every port on the board's edges - USB, HDMI, Ethernet, audio, power, the microSD card, buttons, antenna sockets - is cut out of its wall, a Port margin bigger all round. Untick the ones you do not need: that wall stays closed.

The Ports card: a checkbox for every port with the side it is on
One checkbox per port.
The Raspberry Pi case seen from its USB and Ethernet end, each port's opening in the wall
The USB and Ethernet openings.

6The lid, vents, fan and slots

The box's lid closes in one of four ways:

Its sizes: Thickness, Fit (the gap per side), Lip depth and Headroom (room above the tallest part). Then:

The snap, screw and push-on lids laid out for printing, honeycomb and round vents, a 30 mm fan opening, GPIO and cable slots, and a text on the lid
Three lids, two kinds of vents, a fan, the GPIO and cable slots and a text.
The Lid card: the four lids, sizes, slots, vents, the fan, side vents and the text
The Lid card.

7Walls and floor

Walls, Floor and Corners (their radius) in mm. A thicker floor is made by itself when magnets or nut pockets need it.

The Walls and floor card: walls, floor and corners

8Mounting

How the case is fixed to something - all of them are part of the case, nothing to glue on:

The case seen from below with each mount: wall ears, keyholes, a DIN rail clip, a VESA plate, a 2020 extrusion tab, magnet pockets, zip-tie channels and rubber feet pockets
Every mount, seen from below.
The Mounting card: picture tiles for every mount

9WisBlock modules

A RAK WisBlock base board carries a core and sensor modules plugged onto it. Pick a base board and the WisBlock modules card appears: choose the core (RAK4631, RAK11310 or RAK3312) and tick the modules you use - GPS, GNSS, buzzer, IO adapter, RGB LED, clock, temperature / humidity, air pressure, environment, radar, Ethernet. The case is made tall enough for the tallest one, and a warning shows when you pick more modules than the base board has slots for.

The WisBlock modules card: core buttons and a checkbox for every module
Core and modules.
A case for a RAK19007 base board with a reset button hole in the lid
A RAK19007 case, tall enough for its modules.

10Your own board

Click Custom under Your own, and type in your board in the Your board card:

Faster: pick a board close to yours and click ✎ Adjust as custom under the board list. Its size, holes and ports are copied into Custom, ready to change.

The Your board card with a Heltec LoRa32 V4 copied in: size, holes and every port
A Heltec LoRa32 V4 copied into Custom.
The custom board's case: a display window and a button slot in the lid
Its case, built from the typed numbers.

11Printing and the see-through board

Ready to print lays the lid upside down in front of the box; Closed puts it on, to see how it looks. Show the board switches the see-through board on and off - it is never printed or exported. Choose the case's and the lid's colours (and the text's), then Create the case: the parts become one group in your project, ready to export as STL or a multi-colour 3MF.

The case and its lid laid out for printing
Ready to print: the lid upside down beside the box.
The open box with the see-through green Raspberry Pi inside, its ports lined up with the openings
The see-through board: every part and port where it is.
The finished case in the project, ready to export
Created - one object in your project.

12Tips

Questions

Which boards can I make a case for?

Raspberry Pi 5, 4 B, 3 B / B+, 3 A+, Zero and Pico; ESP32 DevKitC, DOIT DevKit, ESP32-S3, ESP32-C3 SuperMini, XIAO, NodeMCU, Wemos D1 Mini and ESP32-CAM; Arduino Uno and Nano; the Coralboard SL (Google / Synaptics); RAK WisBlock base boards; LilyGO T-Beam S3-Core, SUPREME and 1W; Heltec LoRa32 V3 / V4, Wireless Stick Lite, Wireless Tracker and Wireless Paper - and any other board with Custom, where you type in its size, holes and ports.

How is the board held in the case?

On standoffs in its mounting holes - for self-tapping screws, heat-set inserts, bolts with nuts, or pins. Pins can have a snap catch (a cone or a ball) that the board clicks over. A board without holes rests on rails and clicks in under snap clips. The pins and clips have Tight, Normal and Loose fits.

Are the ports cut out?

Yes - every port in its wall, a little bigger than the plug (Port margin). Untick the ones you do not need. The GPIO header, camera cables, buttons, LEDs and displays can get openings in the lid.

My board is not in the list - what can I do?

Pick Custom and type in its width, depth, thickness, mounting holes and every port or opening - or pick a board close to yours and click Adjust as custom to start from its numbers.

How do I mount the case?

Under Mounting: wall ears, two keyholes, a 35 mm DIN rail clip, a VESA 75 or 100 plate, a tab for 2020 aluminium extrusion, magnet pockets, zip-tie channels or pockets for rubber feet.

Make a case for your board

Pick the board, the lid and how to mount it - every port cut out.

Open the Board case generator

Also see: Lid / cap tool, Box generator, Bolt generator, Snap legs tool and Hole pattern tool.