Boards & Bits All articles
DIY & Making

Melt, Snap, Zap: We Torture-Tested Four Filaments So Your Next Enclosure Doesn't Fail

Boards & Bits
Melt, Snap, Zap: We Torture-Tested Four Filaments So Your Next Enclosure Doesn't Fail

We've all done it. The PCB is done, the firmware is stable, and the only thing between your project and the desk is a quick enclosure. So you fire up the printer, slice the first filament in the drawer — usually PLA — and call it finished.

Two months later, the lid is warped, a corner has cracked off, and you're wondering why your project reboots every time the inside warms up.

We decided to stop guessing. We printed identical enclosures in PLA, PETG, ABS, and standard resin, stuffed each with the same warm-running microcontroller board and a small relay, then beat them up the way real projects get beat up: heat cycles, drops onto concrete, and a static discharge test. The results were humbling.

The Contenders

All parts were printed at 0.2mm layers, 3 walls, 25% infill — settings a typical maker would actually use, not showroom conditions.

Heat: Where PLA Falls Apart (Literally)

We ran each enclosure through 20 cycles of warming the internal electronics to about 65°C, then cooling to room temp.

PLA started sagging around the relay socket by cycle six. Its glass transition sits near 60°C, which means your enclosure begins to soften at roughly the temperature your project runs at. That's not a margin — that's a collision.

PETG held shape but showed visible creep around screw bosses. ABS barely noticed the whole affair. Resin didn't warp, but it developed hairline cracks near sharp internal corners by cycle twelve — classic brittle failure under thermal expansion stress.

Takeaway: anything with a relay, power regulator, or motor driver needs a material whose heat deflection is well above your worst-case internal temperature. That rules out PLA for most powered projects.

Drops: PETG's Moment to Shine

Next, the concrete floor test. One meter, flat and corner impacts, three drops each.

If your enclosure will ever leave the bench — robot, portable tester, garage tool — PETG or ABS is the conversation. Resin is for display pieces, not duty cycles.

The Surprise Nobody Talks About: Static

This one caught us off guard. We charged a small static source to about 8kV and zapped the exterior of each enclosure near a vent slot, with a grounded microcontroller inside.

PLA and PETG are insulators, so the charge sat on the surface and a discharge found its way to the board through the slot gap. ABS behaved similarly. But here's the interesting part: all four materials failed the zap test in some form, because the real problem isn't the material — it's the design. Unfiltered vent slots, exposed USB ports, and no ground path mean the enclosure material matters less than the geometry.

The fix is boring but effective: keep conductive parts away from openings, add a grounded internal shield foil if you're running anything sensitive, and consider carbon-filled filaments (which dissipate static) for projects near ESD-prone gear.

The Decision Chart

Copy this into your project notes:

Your Project Use This
Cool-running, stays on the desk PLA is fine, honestly
Anything warm (regulators, relays, motors) PETG or ABS
Portable / gets dropped PETG
Outdoor or hot car ABS (or ASA if you can get it)
Precision, display-only, cool Resin
Static-sensitive electronics Carbon-filled PETG/ABS + grounded shield

The Real Trap Isn't the Filament

Here's the thing we keep coming back to: the material that prints easiest is the material people default to, and defaults don't read datasheets. PLA is a fantastic prototyping plastic and a lousy enclosure plastic for anything warm. Resin makes beautiful cases that belong on a shelf.

Before your next build, ask three questions: How hot does the inside get? Does this ever hit the floor? Does it handle anything a human can zap? Your answers pick the material — not whatever's loaded in the printer right now.

Print a test bracket, run the heat cycle once before committing to a full case, and your enclosure will outlive the project inside it. That's the goal, after all.

All Articles

Related Articles

Five Days for a PCB, Five Weeks for a Box: The Enclosure Problem Nobody's Fixing

Five Days for a PCB, Five Weeks for a Box: The Enclosure Problem Nobody's Fixing

Three Benches, Three Budgets: We Spent $250, $500, and $1,000 Building Electronics Workspaces From Zero

Three Benches, Three Budgets: We Spent $250, $500, and $1,000 Building Electronics Workspaces From Zero

The Reset That Ruins Your Week: Hunting Down Random Microcontroller Brownouts

The Reset That Ruins Your Week: Hunting Down Random Microcontroller Brownouts