Parametric PCB Enclosure Generator
Enter your board size and holes, get a printable electronics case with lid
Opens makerworld.com

About Parametric PCB Enclosure Generator
iLab's PCB Enclosure Generator builds a project box around your circuit board. You enter the board length, width and thickness, the mounting hole positions and the height of the tallest part, and it creates a base with standoffs plus a matching lid, keeping the clearances you choose.
The options go deep for a no-CAD tool. Lids can use an inset lip or an overlapping rim and close with snap fits, screws or both, with presets for M2 to M4 screws and support for self-tapping screws, through holes or heat-set inserts. You can place connector cutouts on all four sides as rectangles, rounded rectangles, circles or slots, add ventilation patterns, round the corners and add chamfers that help printing.
It is free with a MakerWorld account and suits Arduino, ESP32, Raspberry Pi Pico and similar projects. Measure carefully with calipers first and the generator does the rest. The same author's Electronics Panel Generator pairs well for front panels.
What you can make
- PCB enclosures
- Project boxes
- Snap-fit and screw lids
How to use it
- Measure the PCB, hole positions and tallest component
- Open Customize and enter the board data
- Choose lid style, fasteners and cutouts
- Generate base and lid, then download
Good
- Standoffs placed at your real mounting holes
- Snap, screw or combined lid closures
- Cutouts on every side plus vents
Not so good
- You need accurate board measurements
- Many settings for a first-timer
- Needs a MakerWorld account
What you'll need to print it
Materials and parts that give the best results with Parametric PCB Enclosure Generator.
M3 heat-set inserts and installation tips
Brass heat-set inserts give printed parts real metal threads that survive repeated screwing, and a dedicated insertion tip keeps each insert straight and flush.
- ruthex M3 threaded inserts RX-M3x5.7 (100 pcs)Brass inserts made for 3D-printed plastic, with matching ruthex soldering-tip sets.
- CNC Kitchen Heat Set Insert M3 x 5.7 (100 pcs)Double-knurled, lead-free brass; CNC Kitchen also sells an installation tip set for T18/900M irons.
- Bambu Lab Heat-Stake Nut Tool Tip SetInsertion tips with an optional USB-C soldering-iron bundle; pairs with Bambu's M3 brass inserts.
M3 screw assortment
M3 is the default fastener size for printed enclosures, hinges and mounts; a sorted kit of lengths saves a hardware-store trip whenever a model calls for bolts.
- Bambu Lab Fastener KitMixed self-tapping and machine screws with nuts, matched to Maker's Supply projects.
- Hilitchi M3 socket head cap screw assortment kitClassic boxed M3 assortment with nuts and washers in many lengths.
Some of these are affiliate links: we may earn a small commission, at no extra cost to you. More about that
Alternatives to Parametric PCB Enclosure Generator
All boxes generators
Boxes
Customizable Box with Slide Lid
Custom-size storage box with a sliding, stackable lid and optional compartments

Boxes
Collapsible Box - Custom Size Generator
Folding storage box with patterned walls in any size you set

Boxes
Customizable Snap-Lock Box
Parametric box with a snap-on lid and a locking latch, sized to your needs