Joints & fasteners
Snap-fits that survive more than one use, nut traps that actually hold a nut, heat-set inserts, magnets, hinges, gears and every other way to hold printed parts together, with the dimensions that work on a 0.4 mm nozzle.
How to choose between a snap-fit, a screw, an insert, a magnet and glue; how to size a cantilever snap-fit with simple beam math and a strain limit for your material; the pocket dimensions for M2–M8 nuts, heads and heat-set inserts; and the details that make hinges, bearings, gears and split parts go together. Clearances come from Tolerances & fits; strength reasoning from Strength & orientation. Complete mechanisms built from these joints (hinges, latches, mounts, slides, clamps) are compared in the Mechanism catalog.
🔰 Choosing a joint
Every joint is a trade between strength, reusability, assembly effort and extra hardware. Printing gives you geometry for free, so the cheapest joint is often one that needs no hardware at all (a snap-fit, a dovetail). The strongest and most reusable is usually a screw into a metal insert. Pick by asking three questions: how many times will it be opened, how big is the load, and in which direction does the load act relative to the layers.
If it will be opened more than about five times, do not let plastic carry the thread or the latch alone. Use metal: an insert, a nut or a steel pin. If it will be opened once, print the latch and glue the rest.
🔧 Snap-fits
A snap-fit stores elastic energy in a flexing arm, lets a hook ride over an undercut and then relaxes behind it. Done well, it replaces screws. Done badly, it breaks the first time you use it, because plastic that is bent beyond its elastic strain limit cracks, and printed parts have lower limits than the datasheet suggests (layer lines act as built-in notches). Three families matter: cantilever, annular and torsional.
Cantilever snap-fit: the beam math
A cantilever snap is a beam fixed at one end with a hook on the other. For a beam of constant rectangular section, length L, thickness h (in the bending direction) and width b, pushed aside by a deflection y (the undercut depth):
εmax = 1.5 · h · y / L² (strain at the root, as a fraction; ×100 for %)
P = E · b · h² · ε / (6 · L) (force needed to deflect the tip by y)
Two things stand out. Strain grows with h and y but falls with the square of L: lengthening the arm by 50 % cuts strain by more than half. And force grows with h², so a thin, long arm is both gentle and safe.
Strain limits by material
The permissible strain is the number that decides whether the design works. The values below are conservative design numbers for printed parts with layers running along the beam, not datasheet elongation. They are indicative: test one prototype before you commit to a design.
| Material | One-off assembly (ε max) | Repeated use (ε max) | Comment |
|---|---|---|---|
| PLA | 0.8–1.0 % | 0.4 % | Stiff and brittle; long, thin arms only. Fatigues quickly. |
| PETG | 2.0 % | 1.0 % | The best everyday snap-fit material. |
| ABS / ASA | 1.8 % | 0.9 % | Good if layer adhesion is good (warm chamber). |
| PC | 2.5 % | 1.2 % | Tough but notch-sensitive; use big fillets. |
| Nylon (PA, dry) | 3.0–4.0 % | 1.5–2.0 % | Excellent fatigue; absorbs moisture and softens. |
| PP | 4.0 % | 2.0 % | Great for hinges and latches; difficult to print. |
| CF/GF-filled | 0.5–1.0 % | 0.3–0.5 % | Stiffer, strain-limited: needs longer arms than unfilled. |
| TPU 95A | 5–8 % | 3–5 % | Behaves like a spring; a snap arm may be unnecessary. |
A snap arm must be printed so that the tensile stress runs along the extrusion lines, not across layers. A tall hook standing on its tip, bending sideways, will peel apart at a layer line at a fraction of the strain in the table.
Make the arm better: taper and fillet
Strain peaks at the root of the arm. Two cheap changes lower it dramatically. Taper the thickness from h at the root to h/2 at the tip: strain follows ε ≈ 0.92 · h · y / L², which allows about 64 % more deflection for the same peak strain. And add a root fillet of at least 0.5 × h (1 mm minimum) so the stress is not concentrated in a sharp corner. Many failed snaps broke at a 90° corner at the root, not in the middle of the arm.
Hook geometry: how the angles set force
The hook has two faces. The lead-in (insertion) ramp sets how hard it is to push in; the return face sets how hard it is to pull out. A ramp at 30°–45° from the motion direction lets the part snap in with moderate force. A return face at 90° is a permanent lock; at 45°–60° it releases when you pull. Keep the undercut y at 0.5–1.2 mm and the hook head at least 1.6 mm (four lines) wide, or the tip will print as a fuzzy sliver.
| Return face angle | Behavior | Use |
|---|---|---|
| 90° (flat) | Permanent, breaks before it releases | Single-use closures, boxes you never reopen |
| 60–75° | Releases with a firm pull | Battery doors, rarely opened lids |
| 45° | Releases easily; may pop loose under vibration | Frequently opened lids, clips |
| 30° | Friction catch only | Light detent, positioning |
Annular snap-fit
An annular snap-fit is a ring that stretches over a bead: bottle caps, pen caps, round lids. The strain is the hoop (circumferential) strain: ε ≈ y / r, where y is the radial undercut and r the radius of the bead. A 20 mm diameter bead (r = 10 mm) with y = 0.2 mm gives 2 %: borderline for PETG, impossible for PLA. A ring is much stiffer than a beam, so cut 4–6 slits through the wall to turn it into separate cantilevers and then use the cantilever formula.
Torsional snap-fit
In a torsional snap the hook sits on a lever, and a thin bar acts as a torsion spring when you press the lever. It fits compact spaces where a long beam will not. For a thin rectangular bar of length L and thickness t twisted by an angle θ (radians), the maximum shear strain is roughly γ ≈ θ · t / L. Use shear-strain limits about 1.2–1.5 × the tension values above as a first guess.
🚀 Living hinges
A living hinge is a thin web of material that bends repeatedly. In injection-molded polypropylene it can flex a million times; in printed plastic the story is more modest. PP and TPU are excellent, PETG survives tens to hundreds of cycles if designed carefully, and PLA breaks in a handful. Treat a printed living hinge as a limited-life part and consider a pin hinge for anything opened daily.
| Material | Web thickness | Web length | Expected life |
|---|---|---|---|
| PP | 0.4–0.5 mm | 1.5–3 mm | Thousands of cycles |
| PETG | 0.4–0.6 mm | 2–3 mm | 10–200 cycles |
| TPU 95A | 0.8–1.2 mm | 3–5 mm | Effectively unlimited |
| Nylon (dry) | 0.4–0.6 mm | 2–3 mm | 100–1,000 cycles |
| PLA | – | – | Few; do not use |
🔧 Press fits, dovetails, finger joints and puzzles
Joints that rely on geometry alone are the most elegant and the most sensitive to tolerance. All gaps below are per face, for a 0.4 mm nozzle, and assume you read the clearance table first.
| Joint | Key numbers (0.4 mm nozzle) | Watch out |
|---|---|---|
| Press-fit pin | Pin Ø 0–0.1 larger than hole (diametral); 0.5 mm lead-in chamfer; depth ≥ 2 × Ø | Creep: the grip loosens over weeks in PLA/PETG |
| Dovetail | Flank angle 60–75°; clearance 0.2–0.3; add a 1–2° taper along the slide for a wedge-lock | Print with the slide axis along the layers |
| Finger joint | Finger width 4–8 mm; clearance 0.1–0.2; ≥ 3 fingers | Corner stress; fillet the finger roots 0.5 mm |
| Tongue & groove | Tongue ⅓ wall thickness, ≥ 1.2; depth 3–5; clearance 0.15–0.25 | Thin tongues break; keep them ≥ 3 lines |
| Puzzle knob | Neck ≥ 3; knob 1.5 × neck; clearance 0.15–0.25 per side | Corners need 1 mm fillets or they crack |
🔧 Bolted joints: clearance holes, counterbores and nut traps
A bolt and nut clamp two parts with a force that plastic cannot match, but plastic must carry the clamping load without crushing. Use a washer or a counterbore with a flat floor under the head, keep the clamp length at least 3 mm of solid plastic, and never overtighten: stop when the surfaces touch. Tightening torque on printed parts is often finger-tight plus a quarter turn.
| Screw | Clearance hole Ø | Socket head Ø × k | Counterbore Ø × depth | Nut AF × m | Nut pocket AF × depth |
|---|---|---|---|---|---|
| M2 | 2.4 | 3.8 × 2.0 | 4.4 × 2.3 | 4.0 × 1.6 | 4.2 × 1.9 |
| M2.5 | 2.9 | 4.5 × 2.5 | 5.0 × 2.8 | 5.0 × 2.0 | 5.2 × 2.3 |
| M3 | 3.4 | 5.5 × 3.0 | 6.0 × 3.3 | 5.5 × 2.4 | 5.8 × 2.7 |
| M4 | 4.5 | 7.0 × 4.0 | 7.6 × 4.3 | 7.0 × 3.2 | 7.3 × 3.5 |
| M5 | 5.5 | 8.5 × 5.0 | 9.2 × 5.3 | 8.0 × 4.0 | 8.3 × 4.3 |
| M6 | 6.6 | 10.0 × 6.0 | 10.8 × 6.3 | 10.0 × 5.0 | 10.3 × 5.3 |
| M8 | 8.6 | 13.0 × 8.0 | 14.0 × 8.3 | 13.0 × 6.5 | 13.3 × 6.8 |
All in mm; dimensions for metric socket-head cap screws and standard (ISO 4032) nuts. Hole sizes add the slip-fit allowance of the printed hole; for a horizontal hole, make it a teardrop (hole shapes).
🚀 Heat-set inserts
A brass heat-set insert is melted into a printed pocket with a soldering iron. The plastic flows into the knurls, solidifies, and you have a metal thread that survives hundreds of screw cycles and pulls out at hundreds of newtons. It is the best way to put a thread in a printed part. The recipe is a hole slightly smaller than the insert, a relief pocket underneath for displaced plastic, and a boss wide enough to take the pressure.
| Thread | Typical insert OD × length | Pocket hole Ø | Pocket depth | Boss Ø (min) |
|---|---|---|---|---|
| M2 | 3.5 × 3–4 | 3.2 | 5.0 | 7 |
| M2.5 | 4.0 × 4 | 3.6–3.8 | 5.5 | 8 |
| M3 | 4.6 × 5–6 | 4.0–4.2 | 7.0 | 9 |
| M4 | 6.0 × 6–8 | 5.4–5.6 | 9.0 | 12 |
| M5 | 7.0 × 8–10 | 6.4–6.6 | 11.0 | 14 |
| M6 | 8.5 × 10–12 | 7.8–8.0 | 13.0 | 17 |
| M8 | 11 × 12–14 | 10.2–10.4 | 15.0 | 22 |
Mm. Insert dimensions vary between manufacturers: always check the datasheet and print a test pocket with two different diameters. Use the smaller hole for PLA and the larger for PETG/ABS if the insert barely fits.
🔧 Self-tapping screws and screw bosses
A screw can cut its own thread in a plain pilot hole in printed plastic. It is quick but wears out in 3–5 cycles. Choose it for single-use or low-load closures. The boss that carries the screw must be strong enough not to split: a pilot hole of about 0.8 × the screw diameter, a boss outer diameter of 2.5–3 × the screw, a thread engagement of at least 2 × the screw diameter, and gussets (ribs) to the main wall.
🔧 Threads: printed, modeled or tapped
There are three honest ways to get a thread in a printed part, and they differ by two orders of magnitude in durability. Detailed clearances for printed threads are on the tolerance page; here is how to choose.
A printed thread needs about 3–4 layers per thread flank to be strong. A pitch of 2 mm with a 0.2 mm layer gives about 10 layers per pitch: good. Fine M3 (0.5 mm pitch) cannot be modeled with a 0.4 mm nozzle: the crests merge into a ridge. Use real hardware for small sizes.
🔧 Magnets
Disc magnets (neodymium) give a hinge-free closure, a modular mounting system or a tool holder. The design problem is the pocket: it must hold the magnet against the pull, keep the magnet close to the contact face and not let it flip. Make the pocket 0.1–0.2 mm larger in diameter than the magnet for a glue fit (or 0.05–0.1 for a press fit in PETG), 0.1–0.2 mm deeper than the magnet thickness, and leave a front skin of 0.4–0.6 mm (two to three layers). Every extra 0.5 mm of plastic between magnet faces cuts holding force by roughly a quarter.
| Magnet (Ø × t) | Pocket Ø (glue fit) | Pocket Ø (press fit) | Pocket depth | Boss/wall around pocket |
|---|---|---|---|---|
| 5 × 2 | 5.2 | 5.1 | 2.2 | ≥ 1.2 |
| 6 × 3 | 6.2 | 6.1 | 3.2 | ≥ 1.2 |
| 8 × 3 | 8.2 | 8.1 | 3.2 | ≥ 1.6 |
| 10 × 3 | 10.2 | 10.1 | 3.2 | ≥ 1.6 |
| 12 × 3 | 12.2 | 12.1 | 3.2 | ≥ 2.0 |
🔧 Pins and hinges
A pin hinge is the workhorse of printed mechanisms. The pin can be a piece of 1.75 mm filament (cheap, in a 1.9–2.0 mm hole), a nail or steel rod, or a printed pin. The rules: a slip fit in the knuckles that rotate and a snug fit in the knuckles that must hold the pin, 0.3–0.5 mm gap between the knuckles so they never fuse, knuckles at least 3 × the pin diameter long, and a retaining feature at each end (a mushroomed filament end, a cap or a cotter pin).
🚀 Print-in-place joints
A print-in-place joint is printed fully assembled: the hinge, ball joint or chain link moves right off the bed. The key is a gap that survives printing without fusing: 0.3–0.5 mm in the horizontal plane, and in the vertical direction at least two layers (0.4 mm for 0.2 mm layers). Surfaces facing downward over the gap must be 45° chamfers so that no support is needed inside the mechanism.
🔧 Adhesive joints and glue channels
Glue is the best way to assemble models that were split to fit the bed. Think of the glue line as a part of the joint: give it surface area, a controlled gap and a place for excess to go. Cyanoacrylate (CA, superglue) gives fast bonds on PLA and PETG, two-part epoxy fills gaps and bonds nearly everything, and solvent welding works on ABS and ASA (acetone), where it melts the surfaces together and gives close to parent-material strength. Sand surfaces to 120–220 grit first and wipe with isopropyl alcohol.
🔧 Ribs, gussets and fillets
Ribs stiffen thin walls cheaply; gussets support a corner; fillets spread stress. For FDM the rules are simple: rib thickness 0.9–1.8 mm (2–4 lines, at most the wall it sits on), rib height at most 4–5 × its thickness before it buckles or wobbles, and an inside corner fillet of at least 1 mm (3 mm in loaded corners). Orient ribs along the load, and remember that a rib in the XY plane is strong in the layer plane but weak if it is pulled in Z.
🔧 Splitting large parts with alignment features
When a part is larger than the bed (256 × 256 mm on the X2D; much smaller on many printers), cut it into pieces that print flat, then assemble. Cut at places where the seam is hidden (an edge, a groove), keep each piece's cut face flat on the bed, and give every joint an alignment feature: pegs (Ø 4–6 mm, length 6–8 mm, 0.2 mm clearance), a tongue and groove along the seam, or a dovetail key across it. Glue over the full face; the alignment features carry shear, the glue carries tension.
🔧 Hardware pockets and bearings
A pocket for a nut, magnet, bearing or electronic part follows the same rules: opening size = part + clearance, depth = part + 0.1–0.2 mm, a retainer (lip, cover or glue), and walls of at least 1.2 mm around. A standard ball bearing needs a round pocket slightly smaller than the outer race for a press fit, and a step at the bottom to carry axial load. For vertical bores a bridge-free design (hexagonal or chamfered ceiling) avoids supports inside.
🔧 Gears: involute, backlash and herringbone
Printed gears work well for light loads, if you choose a large enough module (m = pitch diameter ÷ tooth count). With a 0.4 mm nozzle use m ≥ 1.5 (preferably 2): at m = 2 a tooth is about 3.1 mm thick at the pitch line, or seven lines. Use a 20° pressure angle with the involute profile (this is what every gear library gives you) and at least 17 teeth on the smaller gear to avoid undercut. Mesh them at a center distance of a = m·(z₁ + z₂)/2 + 0.1–0.2 mm, where the added term is the backlash that stops the gears binding when printed teeth are slightly fat.
🔧 Cable management
A cable clip needs an opening narrower than the cable so it stays, but wide enough that the clip can stretch open without breaking. Size the hole 0.4–0.6 mm over the cable diameter, the opening at 70–80 % of the diameter and the wall at 1.6–2.0 mm. Print the clip lying flat so the layers wrap around the cable: each flex then stretches the layers instead of peeling them. For bundles, a slot for a hook-and-loop strap or a zip tie (slot 4 × 1.6 mm for a 2.5 mm tie) is more flexible than a fixed clamp.
🔧 Standoffs and electronics mounting
A standoff lifts a circuit board off the floor of an enclosure. Use a post with a locating pin (pin Ø = board hole − 0.2 mm, height equal to the board thickness 1.6 mm plus 0.5 mm) or a screw boss with an insert (see above). Height is set by the tallest solder joint under the board plus 1–2 mm; a typical value is 4–6 mm. Make the standoff base fillet 1 mm and its diameter at least 2 × the pin or screw (M2.5 → 6 mm).
Key takeaways
- Choose by use: snap for one-off or occasional, insert-plus-screw for repeated, glue for permanent, magnet for convenience.
- Snap-fit strain ε = 1.5·h·y/L²: keep it under 0.8 % for PLA, about 2 % for PETG/ABS, and orient the arm so layers run along it.
- Pockets: nut AF + 0.2–0.3, insert hole = OD − 0.5, magnet + 0.1–0.2, bearing + 0.1–0.3.
- Use pitch ≥ 2 mm for printed threads; for small screws, use metal threads (inserts or self-tapping bosses).
- Add fillets ≥ 1 mm, ribs 0.9–1.8 mm thick and gussets under every load path.
- Split big parts along hidden edges, with pegs and glue, and print each face flat.
Next: Strength & orientation explains the layer-direction logic behind these rules, and Design patterns puts the joints to work in complete designs.