In short: a good electronics enclosure starts from your board, not from a box. Begin with the PCB's outline and tallest components, plan how the board mounts and where every connector, button and screen sits, choose how the case closes (screws or snap fits), then design for heat, sealing and the way you'll make it. Print a prototype, fit your real board, and change what doesn't work before you scale. Need help? FamilyMake designs enclosures for hardware startups.
Why the enclosure matters so much
For many hardware startups, the electronics work long before the product does. The enclosure is what customers hold, what protects the board from dust, water, heat and knocks, and what decides whether the device can be made affordably at scale. A rushed enclosure often means cracked bosses, ports that don't line up, devices that overheat, and costly redesigns right before launch.
Step 1: Start from the board
- Get the PCB outline and mounting holes from your PCB design files (most tools can export a STEP model of the board).
- Note the tallest components on both sides of the board, plus any batteries, displays, antennas and cables.
- Leave clearance: around 1–2 mm between the board edge and the walls, and room above the tallest part.
- Mark everything that must reach the outside: USB and power ports, buttons, LEDs, screens, sensors and antennas.
Step 2: Mount the board properly
Most boards sit on standoffs or bosses moulded into the case, fixed with screws. In 3D printed enclosures, brass heat-set inserts in the bosses give strong, reusable threads. Ribs or gussets at the base of each boss stop it cracking. See PCB standoffs and bosses and heat-set inserts vs tapping.
Step 3: Line up ports, buttons and screens
- Make port cut-outs about 0.5 mm bigger than the connector on each side, so plugs fit even with small tolerances.
- Use light pipes or thin windows for LEDs.
- Design buttons as separate caps or flexible tabs that press the switch on the board, with a little travel.
- For screens, add a recess and a clear window or bezel that holds the display without pressing on it.
Step 4: Decide how it closes
- Screws: strong and easy to open for repairs. Best for prototypes, outdoor units and devices that get serviced.
- Snap fits: fast assembly and a clean look, but they need careful design so they don't break. Good for consumer products.
- Sliding lids and battery doors for parts users open often.
Plan the split line, where the two halves meet, so it hides well and doesn't run through ports.
Step 5: Heat, airflow and power
Chargers, regulators, processors and radios all make heat. Add vents near hot parts, keep airflow paths clear, and avoid sealing hot electronics in a small space without a plan for heat. Outdoor and solar-powered devices also face sun on the case itself, so material and colour matter.
Step 6: Sealing for dust and water
If the device lives outside or in dusty or wet places, design for an IP rating from the start: a gasket or O-ring groove at the split line, cable glands for wires, and sealed buttons. See waterproof enclosures and IP ratings.
Step 7: Choose the material
- PLA: fine for first fit-check prototypes, but it softens in heat.
- PETG: tougher and more heat-tolerant; a good default for working prototypes and small batches.
- ASA: UV-stable for outdoor enclosures.
- ABS: heat-resistant and smoothable; close to many moulded plastics.
- Nylon: tough and slightly flexible, for rugged devices.
Step 8: Design for how you'll make it
3D printing is ideal for prototypes and small runs. If you expect thousands of units, design so the enclosure can move to injection moulding later: even wall thickness (often around 1.5–3 mm), draft angles on vertical walls, no undercuts unless needed, and ribs instead of thick solid sections. Sheet metal and CNC are options for industrial boxes. See sheet metal vs CNC vs 3D printing for enclosures.
Step 9: Prototype, test and iterate
- Print a first version and fit your real board.
- Check every port, button, screw and clip.
- Drop it, heat it, use it outdoors if that's where it lives.
- Fix what fails and print again. Two or three rounds is normal.
Upload each version at familymake.com/order to see a price in seconds and get it printed by a vetted maker near you.
Want us to design it? FamilyMake designs enclosures for hardware startups: send your PCB, requirements or a sketch, and we design the enclosure, print prototypes you can test, and get it ready for production. Each project is quoted before work starts. See enclosure design.
Frequently asked questions
What software should I use to design an enclosure?
Fusion and Onshape are popular for enclosure design and can import your PCB as a 3D model. FreeCAD is a free option.
How thick should enclosure walls be?
For 3D printed enclosures, 2–3 mm is a good starting point. For injection moulding, keep walls even, often 1.5–3 mm.
Should I use screws or snap fits?
Screws for prototypes and devices that get opened; snap fits for faster assembly in consumer products.
Can I 3D print a production enclosure?
For small runs, yes. For larger volumes, injection moulding usually becomes cheaper per unit.



