Choose clearances for printed parts that mate (press, friction, slip, free, print-in-place), allow for holes printing small, test every critical fit on small coupons printed with the same settings before the big print, and tune the fit through named parameters. Use when parts must fit together or around hardware, when someone says 'too tight', 'too loose', 'won't go in', 'wobbles', 'what clearance', or before printing anything that takes hours.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Fits And Tolerances?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alexnodeland-fits-and-tolerances)
---
name: fits-and-tolerances
description: "Choose clearances for printed parts that mate (press, friction, slip, free, print-in-place), allow for holes printing small, test every critical fit on small coupons printed with the same settings before the big print, and tune the fit through named parameters. Use when parts must fit together or around hardware, when someone says 'too tight', 'too loose', 'won't go in', 'wobbles', 'what clearance', or before printing anything that takes hours."
---
# Fits and tolerances
A printed fit is a number you can't know in advance: it depends on the printer, the material, the layer height and
where on the part the fit sits. So pick a starting value, print a coupon that tests exactly that fit, and tune the
named parameter from what the coupon says.
## Starting values (per side, PLA, 0.4 nozzle, X2D)
None of these has survived a print yet; they are where the projects started. Full table with sources:
`references/fit-table.md`.
| Fit | Starting gap per side | From |
|-----|-----------------------|------|
| Press, hardware in a horizontal hole | 5 mm dowel in a 5.1 hole | pcie-box `PIN_PRESS` |
| Snug slot for a board | 1.621 slot for a 1.57 PCB | the source model's slot |
| Friction / locating lid | 0.20 | pcie-box `FIT` |
| Pocket for a stored piece | 0.3 | xiangqi wells |
| Free swing on a pin | 5 mm dowel in a 5.4 hole (0.2 play) | pcie-box `PIN_FREE` |
| Print-in-place hinge | 0.45 cone clearance, 0.5 between knuckles, ≥ 0.40 anywhere in the swing | xiangqi |
| Storage pocket for an uncertain size | 1.2 (soft silicone: 1.0) | gridfinity-x2d |
Rules of thumb for the rest: press 0–0.1, friction 0.1–0.2, slip 0.2–0.3, free 0.3–0.5, print-in-place 0.4 and up.
PETG usually wants a little more than PLA. A press fit in PLA creeps and loosens over months.
## Why holes print small, and other drift
- **Horizontal holes:** the crown is a flat overhang and sags. Hence 5.1 for a 5 mm press fit, not 5.0. If a pin won't
go in: `PIN_PRESS = 5.2`, or ream the hole with a 5 mm drill.
- **Vertical holes:** the slicer lays the outer line inside the drawn circle, and the STL's chords sit inside it too
(0.002 mm at the `mesh_of` setting). The X2D preset does no hole compensation.
- **Where the fit prints matters.** The pcie-box cover's rim prints 130 mm up on long 1.2 mm walls; its coupon is a
short ring. Expect a 0.05 mm nudge after the first full part.
- **Free edges flex.** A 50 mm coupon slice is floppier than the same feature mid-panel. Retune once on the real part.
## Coupon first
Before any print that takes hours, test each critical fit on a small piece.
1. **List the fits where a wrong number wastes the big print:** a lid, a slot, a pin, a pocket, a clasp.
2. **Cut each out of the real part,** with its real walls and clearances, through the same parameters:
- pcie-box: U-shaped halves of the lip and the cover's rim, one full end and both sides to the middle (`RIM_HALF`),
so the fit is tested across the box's full width and both halves fit one plate;
- a 50 mm slice of each end with its ears and knuckles: one clasp's whole mechanism;
- 60 mm of the real webbed rails, with the floor, so a card's rock can be felt;
- gridfinity-x2d: one hotend pocket cut down to its axis height.
3. **Make a ladder where a number is in doubt,** and mark each step physically: pcie-box slots at 1.621, 1.721 and
1.821, marked by one, two and three pips. Nobody can read a number off a print.
4. **Same settings as the part:** layer height (0.24 for the pcie-box, coupons included), material, nozzle, bed.
5. **One plate:** every test piece laid out by the build on one bed (`freecad-build`). The pcie-box test plate, about
1.5 h and under 60 g, protects 6 hours and 345 g.
6. **Write the test down for the person:** what to try, what each result means, which parameter changes and to what.
## The tuning loop
1. The person prints the coupons and reports in plain words.
2. Map each report to one parameter and a direction:
| Report | Change |
|--------|--------|
| Rim coupon tight | `FIT = 0.25` |
| Rim coupon sloppy | `FIT = 0.15` |
| Card snug and upright in the 1-pip slot | keep `SLOT_W` |
| Card tight in the 1-pip slot | `SLOT_W` = the width that fits |
| Card rocks on the webbed rails | `RAIL_WEB` 3.2 → 4.0 |
| Pin won't press in | `PIN_PRESS = 5.2`, or ream |
| Clasp too stiff or too soft | `CLASP_T` (see `mechanisms`) |
3. Change one number, rebuild (the checks run), reslice, and reprint only the coupon that changed.
4. Write the result into the parameter's comment: `FIT = 0.20 # rim coupon slid on with a light push (2026-12-03)`.
5. Then the big print. After it, one more nudge if the real part disagrees with its coupon.
## Check it in the build
- The gap you meant is the gap you built: measure it on a section (`../freecad-build/references/checks.md`).
- The coupon is cut from the same functions as the part, never redrawn, so a parameter change moves both.
- Mating parts: zero interference assembled, and the clearance at least the fit everywhere.
Sizes you aren't sure of come first: `measure-from-photos`. Snap fits, clasps and hinges: `mechanisms`.