Library › 3D printing › Calibration & test prints ·

Nut-trap gauge: M3 5.5 / 5.7 / 5.9 AF and M4 7.0 / 7.2 / 7.4 AF

What nut-trap size does my 3D printer need for M3 and M4 nuts? · Hardware · basis: Hex traps stepped from the ISO 4032 across-flats (M3 5.5, M4 7.0) in 0.2 mm steps

Also called: nut trap tolerance, m3 nut trap size, hex nut pocket test print, captive nut calibration, m4 nut trap

Long Earth Society build part. Print these first to measure your allowances; every LES part is drawn at exact size. Long Earth Society

Exact dimensions. Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part. Mating features

sizes
2 in table

Notes

  • Every file on this site is drawn at exact size with no printing allowance; this gauge steps through sizes around the nominal so you can measure the allowance your process needs for one fit class, then apply it only to the features each object lists under Mating features.
  • The gauge is an 80 × 24 × 5 mm plate with six hex traps on 13 mm pitch: M3 at 5.5, 5.7, 5.9 AF, 2.7 deep, and M4 at 7.0, 7.2, 7.4 AF, 3.5 deep.
  • Press an M3 or M4 hex nut into each trap: the trap that holds it snug, minus 5.5 or 7.0, is your nut-trap allowance.

Nut-trap gauge: M3 5.5 / 5.7 / 5.9 AF and M4 7.0 / 7.2 / 7.4 AF size chart

trapaf (mm)depth (mm)
M35.5 / 5.7 / 5.92.7
M47.0 / 7.2 / 7.43.5

Mating features

Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits as drawn.

featureexactmates withfitfiles
gauge sizesstepped around nominalthe true pin, nut, bearing or extrusion slot being testeddesignedall

Where the files are

Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.

WikipediaEngineering tolerancewebCC BY-SA 4.0 (text)
PrusaKnowledge base: XY size compensationwebPrusa KB verify
Long Earth SocietyEngine and rig buildsweb, videoLES site

Free files

★ Free files 1 parts. Xem Studio design: free to use, print and sell things from; not to be republished as files. Xem Studio Design License. index.json

Use this part in your AI. Your AI gets the exact sizes and files straight from Xem and can design a mount, case or adapter around it. Direct downloads here are limited to one file every 10 minutes; through your AI they are unlimited.

Connect Xem to your AI (free, no account, about a minute)
https://xemstudio.com/mcp
  1. Claude: Add to Claude
  2. ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
  3. Cursor: install with one click. VS Code: install with one click.
Other apps and full steps
nut-trap-gauge-m3-m4nut-trap gauge: M3 at 5.5/5.7/5.9 AF, M4 at 7.0/7.2/7.4STEP · STL
Let your AI pull this. Add https://xemstudio.com/mcp to Claude, ChatGPT, Cursor or any MCP client (free, no account, one minute) and it can look up exact sizes, mating fits and free STEP/STL from every chat.
Set it up →

Plain text: sheet.txt · JSON: /api/geometry?object=nut-trap-gauge

Nut-trap gauge: M3 5.5 / 5.7 / 5.9 AF and M4 7.0 / 7.2 / 7.4 AF, isometric render of a generated part
Render of nut-trap-gauge-m3-m4 from the free STEP; not to scale.

You might also need

Questions

What size nut trap for an M3 nut?

The nut is 5.5 mm across flats; print this gauge and the trap that holds it snug, minus 5.5, is your allowance.

How deep are the traps?

2.7 mm for M3 and 3.5 mm for M4.