· STEP and STL

STEP to STL tolerance for CNC vs 3D printing

The same triangles feed both processes, but only one of them averages the error away.

On this page
  1. What each process does with the triangles
  2. What a prismatic part carries
  3. Print tolerances that absorb faceting
  4. Where a machining tolerance goes
  5. What does the shop receive when you send an STL?
  6. What deflection should I set for CNC?
  7. Should I send the STL or the STEP?
Technical diagram: A slicer absorbs faceting that a cutter copies; print hides it, CNC shows it. Diagram, not a photograph.

A slicer turns triangles into extrusion paths measured in tenths of a millimetre, while CAM turns the same triangles into cutter positions where a hundredth shows on the finished surface. That difference in scale, not the file, decides whether a mesh is good enough.

What each process does with the triangles

A slicer intersects the mesh with a plane at every layer, builds closed contours from the resulting segments, and fills them with extrusion lines. Errors smaller than the extrusion width are averaged into the line width, and the layer stack produces its own texture on any sloping surface.

CAM does something less forgiving. It offsets the mesh outward or inward by the tool radius and drives the cutter along the offset. Every facet edge becomes a change of direction, and every chord error becomes a place where the cutter sits closer to or further from the intended surface. There is no averaging step: the surface is what the triangles say, minus the tool.

What a prismatic part carries

Both fixtures in the 13 November 2026 run are made only of planes, and that removes the question. The 20 mm cube’s 12 faces come back as 12 triangles with bounds of exactly 20 × 20 × 20; the tube’s 32 faces come back as 32 triangles at 20 × 20 × 10. A plane has no chord error to inherit, so neither a printer nor a cutter picks one up from these files. Everything below about deflection applies to curved faces, which this run did not convert. The cube is cube-20mm.step, and the run is on the test page.

Converter result panel after loading cube-20mm.step: 12 faces become 12 triangles with bounds 20 × 20 × 20.
cube-20mm.step: 12 planar faces, 12 triangles, bounds 20 × 20 × 20, 684 bytes.
Fixture Faces in the STEP Triangles out Bounds parsed from the STL
cube-20mm 12 12 20 × 20 × 20
square-tube-20mm 32 32 20 × 20 × 10

The relevant comparison on a printer is facet error against extrusion width and layer height. Prusa’s knowledge base on layers and perimeters covers how those two settings define what the machine can resolve. With a 0.4 mm nozzle, a 0.45 mm extrusion width and a 0.2 mm layer, a facet 0.05 mm from the true surface disappears into the wall: the nozzle is wider than the error.

At 0.05 mm deflection a 20 mm radius needs segments of 2 × √(2 × 20 × 0.05) ≈ 2.83 mm, which gives 125.66 ÷ 2.83 ≈ 44 around the circumference. The facets are there, but the layer lines on the same surface are larger and dominate the finish.

The printer does care about one kind of faceting: holes. A bore becomes an inscribed polygon, so its diameter across the flats is D − 2s. An 8 mm hole at 0.1 mm deflection measures 7.8 mm, and on a printer that already prints holes undersized, the two errors compound. If the hole will be tapped, the tap drill calculator covers the compensation on top of that.

Bar chart of STEP face counts against STL triangle counts for seven fixtures.
The cube and square tube stay near one triangle per face; the threaded plate, cylinder, sphere and rod do not. Counts read from the same fixtures.

Where a machining tolerance goes

A machined drawing commonly carries ±0.05 mm, a tolerance band of 0.1 mm. A mesh at 0.1 mm deviation from the true surface has used the whole band before the cutter touches metal. Nothing downstream can recover that, because the CAM system has no access to the original surface, only to the triangles.

The finishing pass makes it worse in a subtle way. A typical strategy leaves 0.2 mm to 0.3 mm of stock for the finish cut (Fusion’s stock to leave). If the mesh wanders 0.1 mm, that allowance varies across the surface, so the cutter removes a real chip in one area and rubs in another. The result is an uneven finish and, on a tight part, dimensions that drift along the facet boundaries. That paragraph is an inference from the geometry, not a record of a test cut: no machining was run for this page. To check it on your own machine:

  1. Cut a 25 mm radius at 0.1 mm and 0.01 mm deflection with the same 6 mm flat end mill, stepover and stock.
  2. Measure the spacing of the visible marks.
  3. Compare that spacing with the facet pitch 2 × √(2rt − t²), which is 4.47 mm at 0.1 mm and 1.41 mm at 0.01 mm.

If the marks move with the mesh, the mechanism is real; if they do not, the cutter geometry dominates and the paragraph does not apply to your setup.

Arcs are the other loss. STEP holds a cylinder as a cylinder, and a controller can cut a true arc: LinuxCNC documents the G2 and G3 arc moves as standard G-code. An STL contains no arcs, only chords. CAM can fit arcs back to the polyline (Fusion’s smoothing), but that fitting is a reconstruction with its own tolerance set on the toolpath’s Passes tab, and on small radii the output often falls back to many short linear moves. Hole axes and diameters get the same treatment: a tessellated bore is a prism, and feature recognition has to guess where the centre is.

What does the shop receive when you send an STL?

A mesh with no datum, no thread callout, no tolerance and no feature identity. The inspector has to build a 3-2-1 alignment from triangle vertices, and a curved surface offers no flat to sit on: at 0.01 mm deflection the facets on a 20 mm radius are 1.265 mm wide and sit up to 0.01 mm inside the true surface, so a 5 mm datum pad spans four facets that are not coplanar — a fifth of a ±0.05 mm band before anything is cut. Feature recognition then infers hole centres from inscribed polygons, and a thread arrives as a plain cylinder because the groove was narrower than the deflection. A shop can machine from that, but it quotes the risk rather than the part.

What deflection should I set for CNC?

A workable rule is to keep the tessellation deviation at or below a tenth of the tolerance band the part will be judged against. For a ±0.05 mm drawing that means 0.01 mm. For a ±0.1 mm drawing, 0.02 mm is enough. For a printed part where the band is nearer ±0.2 mm, the geometry still sets the floor through the hole rule above, so 0.05 mm remains a sensible number.

Process Tolerance band Max deflection Failure mode
FDM print ±0.2 mm 0.05 mm faceting hidden under the extrusion width
Printed bore ±0.1 mm 0.02 mm inscribed polygon; hole undersized by 2s
CNC finishing, ±0.05 drawing 0.1 mm 0.01 mm chord error uses the whole band; periodic marks
CNC roughing with stock 0.2–0.3 mm 0.02 mm uneven allowance; cutter rubs in places
Laser or waterjet cutting ±0.1 mm 0.02 mm arc fitting falls back to short segments

For profile cutting at ±0.1 mm, the same 0.02 mm mesh applies; coarser chords show as flat spots on every arc.

The cost of tightening is predictable. Take the 20 mm diameter bore again. At 0.01 mm deflection, segments are 2 × √(0.2 − 0.0001) ≈ 0.894 mm and the bore needs 62.8 ÷ 0.894 ≈ 70 segments. At 0.001 mm, segments are about 0.283 mm and the bore needs 222, which is 3.2× the triangles for a 10× tighter tolerance, because count scales with √10. On a part with 200,000 triangles that is roughly 650,000, and at 50 bytes per triangle the file grows from about 10 MB to about 32 MB.

That is manageable on a desktop CAM workstation and uncomfortable in a browser tab. The count scales with √s rather than s, and the full ladder of counts at each setting is on the tolerance page.

Should I send the STL or the STEP?

Tessellation here happens through the in-page converter, which has no deflection input and refuses STEP files above 12 MB; both limits are documented on how the conversion works. It also flattens assemblies and writes no feature data, because STL has nowhere to put any.

Send the STL when the receiver is a printer, a slicer, or a shop that explicitly asked for a mesh. Keep the STEP when the part will be machined, and send it to CAM directly. That file still contains exact cylinders, hole axes, thread definitions, tolerances and the datum structure, all of which the STL discarded. Converting for a machine shop removes information the shop would have used, and no later export can put it back.

If a shop accepts only STL, your choice is a coarse conversion or a different shop. If a shop accepts STEP and asks for STL anyway, ask which tolerance it wants and how the mesh will be used, then check the result with the wall and clearance measurements before the job is released.

Method: every segment count on this page was recomputed with chord = 2√(2rt − t²) and rounded to whole segments. The CNC paragraphs are inferences from that geometry and from Fusion’s stock-to-leave and smoothing documentation, not records of a test cut; no machining was run for this article. We converted the two files in “What a prismatic part carries” in Chrome on 13 November 2026 and parsed the exported STLs for triangle count, bounds and shells; no physical print was made and no slicer import was involved in that run either. Maintained by the steptostl.org Editor Team and re-checked when the converter defaults change. Last reviewed 14 November 2026.

Sources: LinuxCNC G-code, LinuxCNC. Stock to leave and Smoothing, Autodesk Fusion. Layers and perimeters, Prusa Knowledge Base. All accessed 12 November 2026.

Try it on your own file

Open the STEP to STL CAD converter and drop a file. It runs in this tab; nothing is uploaded and no account is needed.

All posts