FormaKit3D ES Open the app

Electronics enclosure

Custom case for Raspberry Pi, Arduino, ESP32 or your own board: screw or insert towers, cut-outs for every port, snap or screwed lid, vents and wall-mount ears.

Electronics enclosure

What it’s for

A custom enclosure for an electronics board: Raspberry Pi 4, Raspberry Pi Zero, Arduino Uno, ESP32 or your own board with manual sizes. The screw posts match the board’s holes, the ports are cut out automatically in place, and the lid can snap on or be screwed down, with a ventilation grille. It can also have slots on the sides, a cable hole and ears to hang it on the wall.

Ideas

  • Case for a Raspberry Pi as a home server or media center.
  • Case for an Arduino or ESP32 project (home automation, sensors, weather station).
  • Wall box for a sensor or an irrigation controller.
  • Case for your own board with manual sizes.

Step by step

  1. Choose a preset or directly the board in «Board». With «Manual sizes» enter length, width and holes.
  2. Set the height of the components (the tallest thing on top of the board) and the clearance under the board.
  3. Check in the viewer that the port cut-outs match your board.
  4. In «Box» adjust wall, floor, space around and how the board is screwed down.
  5. In «Lid» choose snap-on or screwed and the ventilation grille.
  6. Add extras (side slots, cable hole, ears) and export: box and lid come out separately.

Tips

  • Measure your board first: some revisions have shifted ports. If a cut-out doesn’t match, raise the port clearance.
  • Heat-set threaded inserts handle opening and closing many times; a screw straight into the plastic wears out.
  • The Raspberry Pi 4 runs hot: give it a grille on the lid and slots on the sides.
  • If the snap-on lid is loose, lower the lip clearance to 0.15 mm; if it doesn’t go in, raise it to 0.3 mm.

Presets

Ventilated Raspberry Pi 4Raspberry Pi 4 with snap-on lid, honeycomb grille and side slots.
Compact Raspberry Pi ZeroSnug case for the Pi Zero with slots on the lid.
Screwed Arduino UnoArduino Uno with a screwed lid and heat-set inserts.
Wall ESP32ESP32 with wall ears and a cable hole.
Custom sensor40 × 30 mm board entered by hand, with a cable hole.

Parameters

Plate

Which board goes inside, how much space it takes and where the ports are cut out.

PlateOptions

The board that goes inside. With the boards in the list, sizes, holes and ports are already loaded. «Manual sizes» lets you enter any board (without automatic port cut-outs).

Raspberry Pi 4 BRaspberry Pi Zero / Zero 2 WArduino Uno R3ESP32 DevKit (30 pins)Custom size
Default: Raspberry Pi 4 B
Board lengthNumber

Length of your board (the longest side), with manual sizes.

15 mm to 200 mmDefault: 60 mm
Board widthNumber

Width of your board (the shortest side), with manual sizes. Measure it with calipers.

10 mm to 150 mmDefault: 40 mm
Holes in the cornersYes / No

Your board has mounting holes in the four corners: posts are generated to screw it down.

Default: Yes
Hole distance from the edgeNumber

Distance from the center of each hole to the board’s edges. Measure it with calipers.

2 mm to 15 mmDefault: 3.5 mm
Hole diameterNumber

Diameter of your board’s holes. 3.2 mm is usual for M3 screws; 2.7 mm for M2.5.

2 mm to 4 mmDefault: 3.2 mm
Component height above the boardNumber

The tallest thing sticking up from the board: connectors, heatsinks or pins. It sets the box’s inner height.

3 mm to 60 mmDefault: 17 mm
Clearance below the boardNumber

Height of the posts the board rests on. It leaves room for the solder joints and the pins underneath. 5 mm is almost always enough.

3 mm to 20 mmDefault: 5 mm
Cut out the portsYes / No

Automatically cuts the port openings (USB, HDMI, Ethernet, power) in the walls, in their real position.

Default: Yes
Port clearanceNumber

Extra space around each port cut-out. 0.8 mm lets the connectors in with their plastic housing; raise it if one is tight.

0 mm to 3 mmDefault: 0.8 mm

Box

Thicknesses, free space and how the board is screwed down.

WallNumber

Thickness of the box’s walls. 2 mm is sturdy; under 1.6 mm it flexes when snapping the lid on.

1.2 mm to 4 mmDefault: 2 mm
FloorNumber

Thickness of the box’s floor. 2 mm is enough.

1.2 mm to 4 mmDefault: 2 mm
Space around the boardNumber

Free space between the board and the inner walls. 1 mm lets the board in without forcing.

0.5 mm to 15 mmDefault: 1 mm
Corner radiusNumber

Rounding of the corners seen from above.

0 mm to 12 mmDefault: 4 mm
Board mountingOptions

«Screw straight into the plastic»: the screw cuts its own thread in the post (simple, but it wears out if you open it often). «Heat-set threaded insert»: the post has room for a brass insert set with the soldering iron (firm and durable).

Screw straight into the plasticHeat-set threaded insert
Default: Screw straight into the plastic

Lid

How the lid closes and whether it has a ventilation grille.

Lid typeOptions

«Snap-on»: the lid has a lip with latches that goes into the box. «Screwed»: the box has ears and the lid is screwed down with M3.

Snap-on (lip with latches)Screwed (M3 ears)
Default: Snap-on (lip with latches)
Lid thicknessNumber

Thickness of the lid. 2 mm is sturdy; thinner may warp with the grille.

1.2 mm to 4 mmDefault: 2 mm
Lip clearanceNumber

Play between the lid’s lip and the box. 0.2 mm snaps in; raise it if it doesn’t close.

0.05 mm to 0.6 mmDefault: 0.2 mm
Lid ventOptions

Ventilation grille on the lid: honeycomb, circles, slots or no grille.

No ventHoneycombCirclesSlots
Default: Honeycomb
Vent sizeNumber

Size of each grille opening. 3–4 mm ventilates well and keeps fingers out.

2 mm to 10 mmDefault: 4 mm

Extras

Side ventilation, cable pass-through and wall ears.

Slots on walls without portsYes / No

Adds ventilation slots on the walls without ports.

Default: No
Cable holeYes / No

Adds a round hole in the back wall, at board height, to pass a cable (power, sensor).

Default: No
Cable diameterNumber

Diameter of the cable hole. Add 1 mm to the real diameter so it goes through without forcing.

3 mm to 16 mmDefault: 6 mm
Wall-mount earsYes / No

Adds ears with holes on the sides of the box to screw it to the wall.

Default: No