Heat-set inserts vs nut traps vs self-tapping screws in 2026: how to fasten 3D printed parts
Four ways to screw 3D printed parts together: a screw into plastic, a nut trap, a heat-set insert, a printed thread. The hole each needs, M3 to M8.For a joint you close once and rarely open, drive the screw into a slightly small hole and let it cut its own thread. For a joint you open often, give the screw metal to turn in: a nut in a hexagonal pocket when you can reach the back, a heat-set insert when you cannot. Print the thread itself only from M8 up. Each needs a different hole, and three of the four are hand tools in SpeakCAD.
The short answer
- Closed once, opened rarely: a self-tapping screw. No extra hardware. For M3, a 2.5 mm hole.
- Opened often, back within reach: a nut trap. A 3.4 mm hole and a hexagonal pocket 5.8 mm across for an M3 nut. A screwdriver is all you need.
- Opened often, back closed: a heat-set insert. A plain hole of the diameter on the insert maker's data sheet, and a soldering iron.
- Large, tightened by hand, no hardware: a printed thread. M8 and larger: caps, knobs, jar lids.
Side by side
| Fastening | The hole, for M3 | You add | You need | Opens | In SpeakCAD |
|---|---|---|---|---|---|
| Self-tapping screw | 2.5 mm, blind | Nothing | A screwdriver | A few times | By hand: Hole, tap toggle |
| Nut trap | 3.4 mm through, and a hexagon 5.8 mm across flats, 2.6 mm deep | A nut | A screwdriver | As often as you like | By hand: Hole, then Cut, Hexagon |
| Heat-set insert | The insert maker's diameter, blind | An insert | A soldering iron | As often as you like | By hand: Hole, diameter typed |
| Printed thread | A modelled thread, 0.3 to 0.4 mm of clearance on its profile | Nothing | Nothing | Often, by hand | A sentence to the AI |
The sizes, M3 to M8
| Screw | Clearance hole | Hole a screw cuts its thread in | Hexagon for the nut, across flats × depth | Counterbore, diameter × depth | Countersink |
|---|---|---|---|---|---|
| M3 | 3.4 | 2.5 | 5.8 × 2.6 | 6.5 × 3.4 | 6.6 |
| M4 | 4.5 | 3.3 | 7.3 × 3.4 | 8.0 × 4.4 | 8.6 |
| M5 | 5.5 | 4.2 | 8.3 × 4.9 | 9.5 × 5.4 | 10.6 |
| M6 | 6.6 | 5.0 | 10.3 × 5.4 | 11.0 × 6.4 | 12.6 |
| M8 | 9.0 | 6.8 | 13.3 × 7.0 | 14.0 × 8.4 | 16.6 |
All in millimetres, and all are the editor's own presets. A clearance hole is a little larger than its screw because a printed hole comes out 0.2 to 0.4 mm small. A nut pocket is the nut's width across flats plus 0.3 mm and its height plus 0.2 mm. Heat-set inserts are missing from the table on purpose, for the reason below.
Self-tapping screws: the least work
"Self-tapping" covers two things here: a screw made for plastic, and an ordinary machine screw driven into a hole small enough that it cuts its own thread.
In the model. A blind hole smaller than the screw: 2.5 mm for M3, 3.3 for M4, 4.2 for M5. Make it a few millimetres deeper than the screw reaches. For a screw made for plastic, the hole is about the size of the screw's core, the shaft between the threads: measure it. Where you can, let the screw go in from the top of the print, across the layers. A screw driven in along the layers wedges them apart.
In the print. Three or more walls, so the thread is cut into solid plastic. PETG and ABS hold these better than PLA.
What goes wrong. The thread strips when the screw is overtightened, and wears a little each time the screw comes out. When you refit a screw, turn it backwards until it drops into the old thread, then tighten.
In SpeakCAD. Tap Hole, flip the tap toggle and pick the screw: the presets drop to these sizes. By hand, free.
Look elsewhere if the joint opens more than a few times.
Nut traps: a metal thread with no special tools
A nut trap is a hexagonal pocket that holds a nut and stops it turning while you drive the screw from the other side.
In the model. A clearance hole right through (3.4 mm for M3) and, on the far face, a hexagon on the same centre: 5.8 mm across flats and 2.6 mm deep for an M3 nut. Keep 2 mm or more of plastic between the bottom of the pocket and the face the screw pulls towards.
In the print. A pocket that opens upwards prints clean. One that faces the bed leaves a ring hanging over the hole; at M3 and M4 most printers bridge it with a little sag.
What goes wrong. The nut falls out when the screw is removed (a drop of glue fixes that), or the back cannot be reached at all. Then the nut has to slide into a slot from the side.
In SpeakCAD. Tap Cut, choose Hexagon and the nut's preset, M2 to M8, and type the same distances from the edges as the hole's. By hand, free. A side slot for a captive nut is a sentence to the AI.
Look elsewhere if the back of the part is closed, or has to stay clean.
Heat-set inserts: a metal thread in a blind hole
A heat-set insert is a knurled brass sleeve with a thread inside. A soldering iron pushes it into a hole slightly smaller than itself; the plastic melts around the knurls and sets.
In the model. A plain round hole, blind, about 1 mm deeper than the insert is long. Its diameter comes from the insert maker's data sheet, and it differs between makers and between lengths of the same thread. Around 4.0 mm suits a common M3 insert, but check yours before you print twenty holes. Leave plenty of plastic around the hole; the data sheet gives the smallest boss.
In the print. Three or more walls, so the melted plastic has somewhere to go.
What goes wrong. An insert pushed in crooked; a hole too small, so plastic wells up into the thread; a hole too large, so the insert pulls out. Where you can, set the insert from the back of the wall, so that the screw pulls it into the plastic and not out of its hole.
In SpeakCAD. Tap Hole, type the diameter and a depth, with Through off. By hand, free. The AI places them too: "four corner pillars with M3 heat-set inserts".
Look elsewhere if you have no soldering iron: a nut trap gives the same metal thread.
Printed threads: from M8 up
In the model. The thread is part of the shape, with 0.3 to 0.4 mm of clearance on its profile. Below M8 the teeth are only a line or two of plastic, so smaller screws get a metal thread.
In the print. Stand the thread upright, so each turn is a clean circle, and print at 0.12 to 0.16 mm layers. A small chamfer on the first turn stops the bulge of the first layer blocking it.
In SpeakCAD. A thread is not a hand tool. Describe it: "a screw-on lid with a printed thread and 0.4 mm of clearance".
Look elsewhere if the joint is tightened with a tool: plastic threads are for fingers.
The head end
Whichever thread you choose, the other part needs a clearance hole, and usually a recess for the head: a counterbore for a socket head, a countersink for a flat head. Both are a choice on the Hole card, M2 to M8, and Duplicate copies the hole with its head to the other corners. Keep 2 mm of plastic under a counterbore; on a thin plate use the countersink. Countersink or counterbore has the detail and the hand tools the full list.
A fit that matters is worth a test before twenty holes: the tolerances guide explains why printers differ. For closing a box, snap-fit vs screws vs magnets covers the alternatives to a screw.
Shaping a part by hand (a hole, a cut, an added shape, text, rounded corners, a shell, every size typed in millimetres) is free, and so is downloading what you shaped. With the AI, a request spends credits for the work it takes: a quick edit usually 1–2, a small change 1–2, a new part or a design change 3–8, never more than 15 credits; on a plan the first 3 small changes of each part are free; without a plan a new part spends 3. Start with Maker: 50 credits a month for $7.99, cancel anytime.
Prompts to start from
Open one in the builder, change the numbers to yours, and the model renders in your browser, usually within a minute or two. Keep adjusting in the chat before you print.A plate 80 x 50 x 6 mm with four M3 clearance holes 6 mm from each corner, each with a hexagonal nut pocket 5.8 mm across flats and 2.6 mm deep on the underside
A box 90 x 60 x 30 mm with 2.4 mm walls, four corner pillars 8 mm across with blind holes 4.0 mm across and 5 mm deep for M3 heat-set inserts 4 mm long, and a 3 mm lid with four M3 countersunk holes
A jar 60 mm across and 50 mm tall with 2 mm walls and a screw-on lid, printed thread with a 3 mm pitch and 0.4 mm clearance on the profile
Questions
Use the diameter on the insert maker's data sheet: it differs between makers and between insert lengths. Around 4.0 mm suits a common M3 insert. Make the hole blind, about 1 mm deeper than the insert is long, and print 3 or more walls around it.
2.5 mm, blind, a few millimetres deeper than the screw reaches. M4 takes 3.3 mm, M5 4.2 mm, M6 5.0 mm and M8 6.8 mm. Print 3 or more walls; PETG and ABS hold the thread better than PLA. Expect it to survive a few openings, not daily use.
A hexagonal pocket 5.8 mm across flats and 2.6 mm deep, on the same centre as a 3.4 mm clearance hole: the nut's 5.5 mm across flats plus 0.3 mm, and its height plus 0.2 mm. For M4 the pocket is 7.3 × 3.4 mm, for M5 8.3 × 4.9 mm.
Both give the screw a metal thread that survives being opened again and again, so choose by access. A nut trap needs only a screwdriver, but you must reach the back of the part. A heat-set insert goes into a blind hole from the front and needs a soldering iron. For a joint closed once, a screw cutting its own thread is enough.
Yes, from M8 up, with 0.3 to 0.4 mm of clearance on the thread profile, printed upright at 0.12 to 0.16 mm layers. Printed threads suit caps, knobs and jar lids tightened by hand. Smaller screws need a metal thread: an insert, a nut, or the screw cutting into the plastic.