Custom Snap-Fit Electronics Box & Lid .STL Maker

Pick a popular circuit board (ESP32, Arduino Uno, Raspberry Pi) or slide in your own inside length, width, and height. Your download includes the box and a lid that clicks shut, so you need no tiny screws.

Customize & Preview Your Box + Snap Lid in 3D

Outside Size
66.8 × 40.8 mm
24.4mm height
Plastic Needed
32.4 g
PETG • $0.68 set
Est. Print Time
1h 08m
No supports needed
Printer Fit
Fits Your Printer
Bambu Lab P1S
Change printer
62 mm
36 mm
22 mm
2.4 mm
0.25 mm
Lower is tighter. Raise it if the lid is hard to open.
12 × 8 mm
Optional Case Features

Exact Box Measurements & Print Checklist

DonePartDetailsSize

How the Box & Lid Fit Side-by-Side on Your Printer Plate

Not listed? Pick the one closest to your printer's plate size.

Estimated Plastic Cost per Box Set

How solid the inside is. 15–20% is plenty for most prints.
ItemQuantityPriceEstimated Cost

Tips for a Smooth Click-Shut Lid

Printing your box in PETG plastic gives the clips on the lid a little spring, so you can open and close the box many times without cracking them. If your printer makes parts that fit too tightly, move the How Snug the Lid Clicks Shut slider from 0.25mm up to 0.30mm or 0.35mm so the lid opens more easily.

Custom snap-fit electronics case illustration with corner board posts and USB cable window
The box and the lid both sit flat on your printer plate, so no support material is needed.

Common Electronics Board Sizes Built Into This Tool

BoardInside Box Size (Length × Width × Height)Outside Size (2.4mm Walls)Cable Opening
ESP32 Board or Sensor62 × 36 × 22 mm66.8 × 40.8 × 24.4 mm12 × 8 mm USB-C
Arduino Uno R3 / R478 × 60 × 26 mm82.8 × 64.8 × 28.4 mm14 × 10 mm USB or power plug
Raspberry Pi 4 / 594 × 64 × 30 mm98.8 × 68.8 × 32.4 mm18 × 10 mm Ports
4-Channel Relay Board84 × 62 × 28 mm88.8 × 66.8 × 30.4 mm16 × 9 mm Wires
Helpful Fit Tip: Circuit boards from different sellers can differ by a millimeter around the USB plug. Measure your board with a ruler before you print, and use PETG plastic for lid clips that last the longest.

Frequently Asked Questions

Which plastic works best for snap-fit box lids?

PETG works best. It bends a little, so the lid clips can click shut hundreds of times without cracking. If you print with standard PLA, slide How Snug the Lid Clicks Shut up to 0.30mm.

Can I download the bottom box and top lid as separate .STL files?

Yes. Click Base Only (.STL) or Lid Only (.STL) to get one part. Click Download Box + Lid (.STL) to get both, laid side by side so they print together.

What does the 0.25mm lid fit setting mean?

It leaves a tiny 0.25mm gap between the lid and the box wall. That is just enough room for the lid to snap shut without getting stuck.

Do the air vents or USB cable opening need printer supports?

No. The air slots on top and the cable opening on the front are both shaped to print cleanly on any home 3D printer without support material.