A project box sized to your board: positionable ports, PCB standoffs at your hole spacing, and a lid that clicks shut. No supports, no hardware except four screws.
Snap engagement verified by interference scan · validated watertight STLs · no login, no cost
Width, length, and mounting-hole spacing. No calipers? The free measuring kit's gauges read hole spacing and board thickness directly off the part.
Interior dimensions are what your board needs, not outer dimensions — walls are added automatically. The front rectangular port (USB-C default) and right-side round port (cable gland default) each take an offset and height; set a port's size to 0 to remove it.
Standoff X/Y spacing matches your PCB's mounting holes; the default 2.4mm pilot takes M2.5 self-tapping screws. Set diameter to 0 for a plain box.
Base prints open-side up, lid outside-face down — no supports. The lid's skirt rides over the base's lip and clicks onto the snap bead. Too tight? Raise snap_clearance by 0.05mm.
The snap geometry was validated by interference scan: seated, the lid and base have zero overlap; mid-insertion, the bead engages with ~74mm³ of designed interference — that's the click. The 0.15mm default sliding clearance suits most FDM printers; calibrate once with snap_clearance and your number carries to every box you generate.
Board thickness + tallest component + standoff height + a couple of millimeters of headroom. A Raspberry Pi Pico with headers needs about 14mm; a Pi 4 with a fan HAT wants 35mm+. When in doubt, add 3mm — air is cheaper than a reprint.
This generator is dimension-driven — you enter the numbers. For named-board enclosures with exact port cutouts placed from measured CAD data (Pi 5, Arduino Uno, ESP32 dev kits and more), use the PrintMakerAI electronics enclosure flow — it knows the boards.
Out of scope for the free generator — it does one well-validated snap box. Vent arrays, gasket grooves, threaded lids, and custom cutout shapes are what the PrintMakerAI editor generates from a plain-English description.
Yes — no login, no watermark. Pre-validated parametric script on real CAD (CadQuery on OpenCASCADE), zero AI tokens.
The PrintMakerAI electronics enclosure flow places exact port cutouts from measured board CAD — Pi, Arduino, ESP32 and more — instead of you entering offsets by hand. And the free measuring kit reads any dimension you're missing.
Try PrintMakerAI freeMore free tools: all tools