← All posts

Design for electronics · 3D printing

5 tips for 3D printing PCB mounts that actually fit

7 Oct 20265 min read

You measure the board, draw the enclosure, hit print, and three hours later the board won't drop in, the screws strip the plastic, and the lid won't close over the USB cable. Every maker has been there. I certainly have.

None of these are hard problems. They're just things nobody tells you until you've printed the enclosure twice. Here are the five that save me the most reprints.

1. Design in clearance, then prove it on a test print

A printer doesn't make what you drew. Holes come out a little small, outside edges a little big, and the first layers squash outward (elephant's foot). If you draw the pocket for a 50 mm board at exactly 50 mm, it won't go in.

Every printer is different, so print a small test piece before the full enclosure. It's the same idea as the hex bit test block: ten minutes of plastic to save three hours.

2. Use heat-set inserts, not screws into plastic

Screwing straight into a printed hole works once or twice, then the thread strips. Brass heat-set inserts give you real machine threads that survive the lid coming off again and again.

Cross-section of a printed standoff with a brass heat-set insert: the PCB sits on top of the boss, the insert is pressed into a hole slightly deeper than the insert, the boss wall is at least 1.6 mm thick, and there is a gap of at least 3 mm under the board for component leads PCB Gap ≥ 3 mm forsolder leads Insert brass, M3 Hole 1 mm deeper than the insert Boss 6–8 mm across for M3 (wall ≥ 1.6 mm)
A good standoff: an insert in a hole a little deeper than the insert, a thick enough wall, and room under the board for solder joints.

3. Get the standoffs right

Standoffs are where most PCB mounts fail: too thin, too tall, or too close to something.

4. Design snap-fit lids that survive

A good snap-fit lid means no screws, no inserts, and a box you can open in seconds. A bad one snaps the first time you open it.

5. Leave room for the real world

The board fits perfectly, then you plug in a cable and the lid won't close. Design around how the thing will actually be used.

The short version

Add clearance and test it, use heat-set inserts, make standoffs fat and short, print clips in PETG lying down, and leave room for cables, antennas and heat. Do those five things and your next enclosure should fit first time. Well, second time. It's still 3D printing.

Related: Designing printed holes for 1/4" hex bits · Slic3D PETG on the Bambu P1S and A1 · ESP32 pin planner

#3DPrinting#CAD#Enclosures#HeatSetInserts#DesignForManufacture