Designing threads that print and screw together
A modelled thread is a helical ridge only a few tenths of a millimetre deep, printed by a nozzle about as wide as that ridge, in layers about as tall as a third of its pitch. Threads that work are designed around those three numbers: they are coarse enough to have real flanks, loose enough to absorb the printer’s errors, and they start with a lead-in instead of a sharp edge.
When a printed thread is the right choice
Printed threads shine where the diameter is large and the pitch coarse: jar lids, caps, knobs, cable glands, camera mounts, adjustment screws and replacement fittings. They are weak where metal fasteners are small and tightened hard. A quick decision rule:
- M5 or larger, or any custom coarse thread — model the thread.
- M2–M5 for parts assembled repeatedly — use a brass insert; see heat-set inserts.
- M2–M5 assembled once or twice — print a plain hole at about 85–90 % of the screw diameter and let the screw form its thread, as described in the insert and screw hole calculator.
- Through-bolts — a clearance hole and a captured nut are stronger than any plastic thread; the nut can be embedded during printing as described in embedding magnets and nuts.
Minimum size: pitch, nozzle and layer height
For ISO metric threads, the external thread depth is about 0.61 × pitch. That gives the sizes below, together with how many 0.2 mm layers fit into one pitch when the thread stands upright.
| Thread | Pitch | Thread depth | Layers per pitch at 0.2 mm | On a 0.4 mm nozzle |
|---|---|---|---|---|
| M3 | 0.5 mm | 0.31 mm | 2.5 | Poor |
| M4 | 0.7 mm | 0.43 mm | 3.5 | Works at fine layers |
| M6 | 1.0 mm | 0.61 mm | 5 | Good |
| M8 | 1.25 mm | 0.77 mm | 6.25 | Good |
| M10 | 1.5 mm | 0.92 mm | 7.5 | Good |
Two limits show up. Across the thread, the nozzle cannot draw a ridge much narrower than its own width, so a 0.3 mm deep M3 profile turns into a rounded bump. Along the axis, each layer is a horizontal slice of the helix; with fewer than about five layers per pitch the flanks become coarse steps. That is why the screw generator recommends 0.1–0.15 mm layers for threads: at 0.12 mm an M4 pitch holds almost six layers. If only the threaded section needs fine layers, variable layer height saves time; see variable layer height.
For your own threads, the takeaway is simple: use a coarser pitch than metal would. A 1.5 mm pitch on a 20 mm diameter, or the 3 mm pitch the screw-top container generator uses for jars, prints far more reliably than a fine metric pitch on the same diameter.
Choosing a thread profile
When the thread stands upright, the underside of every ridge is an overhang. Its angle decides how cleanly it prints. On a 60° metric thread each flank sits 30° from horizontal, so each 0.2 mm layer steps outward by about 0.35 mm (0.2 ÷ tan 30°). That works only because the overhang is short; finer layers shrink the step proportionally.
| Profile | Flank angle from horizontal | Use it for |
|---|---|---|
| ISO metric / UTS (60°) | 30° | Anything that must fit metal hardware |
| Trapezoidal (30°) | 15° | Lead screws, clamps, vices; flat crests survive handling |
| Square | 0° | Rarely worth it when printed: the undersides are short bridges |
| Symmetric 90° ("45° thread") | 45° | Custom printed-to-printed threads; prints with no real overhang |
| Rounded / knuckle | Varies | Caps and lids; very forgiving of dirt and print errors |
If both parts are printed and nothing has to match a standard, a profile with 45° flanks, a flat crest and a slightly wider root is the most printable choice. If one part is metal, you are bound to the standard profile and should rely on finer layers and clearance.
Clearance: why threads need more than flat fits
Thread clearance is usually given on the diameter: the internal thread is made larger than the external one by some amount. Because the flanks are angled, only part of that reaches the surfaces that touch. On a 60° thread, enlarging the nut by ΔD in diameter moves each flank away by only ΔD ÷ 4. A diametral clearance of 0.4 mm therefore leaves just 0.1 mm of gap on each flank, about the same as a tight sliding fit.
That explains why the tolerance table gives 0.4–0.5 mm for printed threads, more than for lids or pins. Practical points:
- Read what your tool means by clearance. The screw-top container generator gives the total gap across the diameter and defaults to 1.6 mm for its coarse 3 mm-pitch jar thread. The screw generator uses a small print-clearance value, default 0.1 mm, applied to the nut. Numbers from one tool do not transfer to another.
- Make the test with the real pair. Print a short bolt and nut at two or three clearances, change one step at a time (the screw generator suggests 0.02–0.05 mm), and keep the smallest one that turns by hand without binding.
- Large threads need more. Shrinkage and slight ovality grow with diameter, so a 60 mm lid needs more gap than an M8 bolt.
Orientation: upright for shape, lying down for strength
Upright — axis vertical — gives round threads with even flanks all the way around, and it is the default for screws (head down), nuts, jars and lids. Its weakness is tension: pulling along the axis loads the layer bonds, and a bolt printed upright tends to snap at a layer line at the thread root or under the head.
Lying down — axis horizontal — puts the layers along the bolt, so it is far stronger in tension and bending. The thread profile is drawn in the XY plane and stays sharp on the sides, but the top and bottom of the circle are poor: the underside needs support and the top is stepped. The usual solution is to cut a flat along the bottom and the top of the bolt, removing only a modest slice of the circle on each side. The remaining thread still engages around most of the circumference. See orientation and strength.
Blunt starts, chamfers and run-outs
The first turn of a modelled thread usually ends in a knife edge where the helix meets the end face. Printed, that edge is a thin sliver that breaks off or catches the partner thread and starts it crooked. Three cures, best used together:
- Blunt start. Trim the first partial turn so the thread begins with a full-height, squared-off ridge. Many thread libraries offer this as an option.
- Chamfer the ends. A 45° chamfer about as deep as the thread on the bolt end, and a matching countersink on the nut, centres the parts before the threads meet.
- Relieve the bottom. The first layers of an upright part spread outward. A 0.3–0.5 mm chamfer at the bed, or elephant-foot compensation in the slicer, keeps the bottom turn from binding; see elephant foot.
Where a thread meets a shoulder, end it a little before the shoulder with a short plain section, so the nut can tighten against the face instead of jamming on the last partial turn.
Engagement length matters too. A standard metal nut is about 0.8 × the diameter tall. Plastic threads are weaker per turn, so 1–1.5 × the diameter is a sensible starting point for printed-to-printed joints, and at least two full turns for lids, as in the jar generator.
Slicer settings and finishing
- Walls: enough perimeters that the thread and the material under its root are solid — the thread depth plus at least 1 mm. The jar generator keeps 0.8 mm of wall under the thread root for this reason.
- Seam: a seam bump on a flank catches on every turn. Use a seam placement that hides it on a non-working face, or spread it out; see hiding the Z seam.
- Material: PETG and nylon make the toughest threads; PLA is fine for light duty but creeps under a permanently tightened joint, so it loosens over time and in warmth.
- Chasing: an internal thread for a standard metal screw can be printed slightly tight and then cleaned with a tap of the right size. The tap cuts away print roughness and leaves a true profile.
Problems and fixes
- Turns once, then locks: first-turn damage. Add a blunt start and chamfers, reduce elephant foot.
- Tight along the whole length: clearance too small or over-extrusion; raise clearance in small steps and check flow.
- Binds harder the further it goes: pitch mismatch, usually from scaling the model. A 2 % scale change adds 2 % to the pitch; see what not to scale.
- Wobbles and strips under load: too much clearance or too short an engagement.
- Crests crumble: pitch too fine for the nozzle; use a coarser pitch or a smaller nozzle.
Frequently asked questions
What is the smallest thread I can 3D print?
On a 0.4 mm nozzle, ISO metric M4 and larger print reliably; M3 and below work better with a 0.2 mm nozzle. The limit is the pitch: an M3 thread is only about 0.3 mm deep with a 0.5 mm pitch, smaller than one extrusion line. For small screws, use heat-set inserts or let a metal screw form its own thread.
How much clearance should a printed thread have?
As a starting point, make the internal thread about 0.4–0.5 mm larger in diameter than the external one for standard 60° threads; coarse jar threads usually need more. Because the flanks are angled, a diametral gap of 0.4 mm leaves only about 0.1 mm of gap on each flank. Print a test pair and adjust in small steps.
Should I print a bolt standing up or lying down?
Standing up gives the cleanest, roundest thread and is the usual choice. Lying down, with a flat cut along both sides, makes a much stronger bolt in tension and bending because the layers run along it. Choose by the load: upright for adjusters and lids, flat for bolts that are tightened hard.
Why does my printed nut only turn half a turn?
Usually the first turn of thread is deformed: elephant foot on the bottom layers or a sharp, partial thread start that catches. Add a chamfer and a blunt start, check elephant-foot compensation, and if the rest of the thread is also tight, raise the clearance.
Can I scale a model that has threads?
Not without changing the thread. Scaling a model by 102 % also makes the pitch 2 % longer, so the thread no longer matches standard hardware or its original partner. Regenerate the thread at the new diameter, or scale only the parts without threads.