Meruz CAD
3D printed mechanical assembly measured with a caliper

Handbook · Chapter 06

Mesh Optimization and 3D Printing Tolerances

Two error budgets decide whether a printed bracket fits: the mesh that describes the surface and the machine that builds it. Both are set in FreeCAD, before any filament is spent.

Why Tolerances Decide Fit

A model that looks correct on screen can still produce a part that will not assemble. The gap between the two is a chain of small, measurable offsets — tessellation error, slicer compensation, and material shrink. Each link is adjustable, and each one is worth recording in the part file.

Mesh Density Costs Time

0.05 mm deviation adds minutes to slicing, rarely changes fit.

Tolerance Is a Chain

Nozzle, slicer and shrink stack up — measure the total, not one link.

Verify With a Coupon

A 20-minute coupon saves a rejected batch of 200 parts.

Mesh Optimization Techniques

Tessellation is the conversion of a parametric B-rep into triangles. The Mesh Design workbench exposes three controls that matter: maximum deviation, angular deflection, and relative deviation. For mechanical parts, deviation is the only one worth tightening below default.

After tessellation, run a decimation pass before export. A 50–60% triangle reduction on a filleted enclosure typically removes 40 MB of useless data while keeping the silhouette inside 0.02 mm. Always harmonize normals and fill holes afterwards, otherwise the slicer will report non-manifold edges.

Refine and Decimate Steps

  • Surface deviation 0.05 mm for visible parts, 0.10 mm for hidden geometry.
  • Angular deflection 15° — below 10° the file size grows without a visible gain.
  • Decimate with a 0.02 mm maximum error, then re-check the bounding box.
  • Export binary STL, never ASCII, for anything above 100 000 triangles.

Tolerance Setup for FDM

A 0.4 mm nozzle cannot resolve a 0.05 mm clearance. Set slicer compensation from measured data, not from habit: a sliding fit needs roughly 0.20 mm total clearance, a press fit 0.05 mm interference, a free-running pin 0.35 mm. Holes print undersized, so add +0.10 mm to hole diameter in CAD and verify with a coupon.

Slicer Compensation

Elephant-foot compensation 0.15 mm, XY hole offset +0.10 mm, first layer 0.20 mm.

Fit Classes in CAD

Sliding 0.20 mm, press 0.05 mm interference, loose 0.35 mm. Record the class in the part name.

Material Shrinkage Values

Shrinkage is applied as a scale factor: scale = 1 / (1 − s). A 0.5% shrink means a 1.005 multiplier, not 1.0005. Values below are starting points for a calibrated machine and must be replaced by your own measurement after the first coupon.

  • PLA — 0.2 to 0.5%
  • PETG — 0.2 to 0.4%
  • ABS — 0.6 to 0.8%
  • ASA — 0.5 to 0.7%
  • Nylon — 1.0 to 2.0%
  • Polycarbonate — 0.5 to 0.7%

Shrinkage values are measured, never guessed from a datasheet.

Test Prints Before Batch

Three coupons cover most mechanical work: a 20 mm calibration cube for XY and Z scale, a stepped hole plate from 3 to 10 mm for drill compensation, and a snap-fit pair for clearance. Print all three at production settings — same layer height, same temperature, same spool.

Measure with a caliper at three points per feature and write the average into the part's parameter table. Once the numbers are stable, the model is ready for clean STEP and IGES export.

3D printed tolerance coupon with stepped holes measured by caliper
Stepped-hole coupon, 0.4 mm nozzle, 0.2 mm layers

Export Clean STEP Files

Tolerances are only reproducible when the exported geometry is clean. Continue with the export chapter for unit checks, seam removal and AP214 settings, or return to the handbook index to review the full workflow.