A tessellated STL is only as round as the distance its exporter allowed the triangles to drift from the true surface. Programs call that distance chord tolerance, linear deflection, surface deviation or facet tolerance; OpenCascade’s mesher takes it alongside an angular limit. The chord number sets the count and size of the triangles on every curved face.
What the chord number measures
Take a circular arc of radius r sampled into straight segments. The deepest point of each segment sits s below the arc, where s is the sagitta. For a chosen s, the segment length is:
c = 2 × √(2rs − s²)
For a 40 mm diameter cylinder, r = 20 mm, at s = 0.01 mm: c = 2 × √(0.4 − 0.0001) ≈ 1.265 mm. The circumference is 2π × 20 = 125.66 mm, so the circle needs 125.66 ÷ 1.265 ≈ 99 segments. At s = 0.1 mm the same formula gives c ≈ 3.995 mm and about 31 segments. Ten times the tolerance buys a third of the geometry, and every triangle costs 50 bytes in a binary STL.
Angular deflection
On a large radius the two limits disagree. A 500 mm radius at s = 0.01 mm allows segments of 2 × √(10 − 0.0001) ≈ 6.32 mm, and each segment turns by about 0.72°. That passes the chord test while producing long, thin triangles whose normals jump at every edge. Angular deflection caps the jump instead: the mesher subdivides until the angle between neighbouring facet normals falls below the limit.
OpenCascade’s incremental mesher takes both values, a linear deflection and an angular deflection in radians. The OCCT meshing guide shows the pair passed together, 0.01 and 0.5 in its example. The converter on this site uses the same kernel, with values compiled into the build.
In practice the chord value governs small radii and the angular value governs large ones. Setting only the chord number is how large smooth-looking surfaces end up with visible banding along the silhouette.
Where a coarse setting shows first
Curved features fail in a predictable order as the tolerance loosens.
Fillets and blends go first. A fillet whose radius is smaller than the deflection can be meshed as a chamfer, or collapse into a sliver of triangles. Edge breaks and cosmetic rounds fail the same way.
Small holes and bosses follow. A bore becomes a prism, and its diameter measured across the flats is D − 2s rather than D. A 6 mm hole at s = 0.1 mm measures 5.8 mm, already outside a typical press fit before the printer adds its own error.
Threads are the boundary case, and they do not simply vanish. A modelled M6 thread came through the same converter as a faceted spiral: the thread run counted 46,296 triangles on a 20 mm rod, with the ridge still in the mesh at a 0.3 mm height. What changes is the fidelity. The spiral is coarser than the drawing, and a 0.4 mm nozzle cannot lay a 0.3 mm ridge either. If the thread has to hold a screw, model a pilot hole and tap after printing; the pilot hole sizes for common threads are on this site.
Shallow mating surfaces are the expensive case because the error is invisible. Two faces that should touch end up 0.1 mm apart, or interfering by the same amount, and nothing in the shaded view shows it. The part assembles badly while the mesh looks fine.
Triangle count and file size
Binary STL stores one fixed record per triangle, so the size is predictable:
file bytes = 84 + 50 × triangles
For a 20 mm radius cylinder 40 mm tall, the whole ladder looks like this:
| Chord tolerance | Segment c | Segments around | Rings | Triangles | File bytes |
|---|---|---|---|---|---|
| 0.01 mm | 1.265 mm | 99 | 32 | 6,336 | 316,884 |
| 0.05 mm | 2.827 mm | 44 | 15 | 1,320 | 66,084 |
| 0.1 mm | 3.995 mm | 31 | 11 | 682 | 34,184 |
| 0.2 mm | 5.643 mm | 22 | 8 | 352 | 17,684 |
Segments are 2πr ÷ c rounded to a whole segment, rings are 40 ÷ c rounded up, and every figure follows the two formulas above. Ten times the tolerance does not buy ten times the simplification: segment length scales with √s.
A 20 MB STL therefore holds (20,000,000 − 84) ÷ 50 ≈ 400,000 triangles. Halving the chord tolerance does not double every count evenly. For small s, segment length scales with √s, so a 4× tighter tolerance makes each segment about twice as short. Around a cylinder that doubles the segments, and the triangle count roughly doubles with them. On a doubly curved surface both directions refine, so the count roughly quadruples. This is why “just use a finer tolerance” turns a printable file into one a slicer takes minutes to open.
Reading the tolerance off the output
Measure what you got before changing anything. Open the STL in a slicer, section through the smallest cylindrical feature, and count the segments around it. From the count n and the radius r, the achieved chord error is r − r × cos(π ÷ n). For 100 segments on a 20 mm radius that is 20 − 20 × cos(0.0314) ≈ 0.0099 mm, close to the 0.01 that was asked for. That number is arithmetic, not a measurement: it tells you what 100 segments imply, whatever the exporter’s dialog said. Count the segments on your own file and compare the two.
Then compare the file size with the triangle count the slicer reports, using the formula above. A file much larger than the count implies is usually ASCII STL rather than a finer mesh.
How much tolerance should I give for 3D printing?
Work backwards from the tightest feature, not from the slider. A bore tessellated at chord tolerance s measures D − 2s across the flats, so a fit that has to hold ±0.05 mm needs s ≈ 0.02 mm: a 6 mm hole then reads 5.96 mm, still inside the band. At 0.05 mm the same hole reads 5.90 mm, which is 0.10 mm below nominal and outside a ±0.05 mm band.
Cosmetic parts and assemblies read clean at 0.05–0.1 mm. Tighter settings cost triangles faster than they add visible detail: a 4× tighter tolerance roughly doubles the count on a cylinder and quadruples it on a doubly curved surface. Above 0.1 mm the flats on a visible curve start to catch the light.
A display model that will never be measured can go to 0.2 mm, where a 6 mm hole measures 5.6 mm and every fillet under 0.2 mm is gone.
PLA is not the limiting term at these settings. With a 0.4 mm nozzle and a 0.45 mm extrusion width, a 0.05 mm chord error is about a ninth of the line the printer lays down, so the machine’s own dimensional error dominates the finish. The mesh tolerance earns its place at holes and fits, where the 2s loss is subtracted before the printer adds anything.
Is STEP or STL more accurate?
STEP is exact at rest. A bore is stored as a cylinder with an axis and a radius, and any reader can re-mesh it later at a tolerance you choose. STL keeps no such record: at 0.01 mm a 20 mm radius cylinder is 99 flat strips, and the deviation from the true circle is fixed the moment the file is written. The format reference sets out the entity-level difference.
So an STL is never more accurate than the STEP it came from, and a 0.1 mm export is less accurate than its STEP by exactly 0.1 mm. The comparison matters only when the STL is the last copy of the part.
How do I turn a tessellated STL back into STEP?
Most STL-to-STEP converters wrap each triangle in a planar B-rep face, so the result is a solid, but a faceted one. The 6,336-triangle cylinder in the table above returns as 6,336 planar faces where the original STEP held one cylindrical face and two circular edges. The chord error baked in at export is now the model’s accuracy — 0.0099 mm at 100 segments on a 20 mm radius — so a round trip through STL keeps the geometry a print tolerates and loses the geometry a drawing checks. Convert back only when the mesh is the only surviving copy of the part.
The fixed tolerance in this converter
The STEP to STL converter on this site runs a WebAssembly build of OpenCascade and applies a fixed linear and angular deflection. There is no tolerance control, because the values are compiled into the kernel rather than exposed. Files are capped at 12 MB, and assemblies are flattened into one mesh. Those limits are described on how the conversion works, and they make the output a print handoff rather than a CAD export.
What the fixed tolerance produced
We converted four files in Chrome on 13 November 2026 and parsed the exported STLs. Two are solids with only planar faces, where the fixed deflection never comes into play; the other two are the curved shapes the deflection is for.
| Fixture | ADVANCED_FACE in the STEP | Triangles in the STL | File bytes | Segments around | Chord error implied |
|---|---|---|---|---|---|
| cube-20mm | 12 | 12 | 684 | — | — |
| square-tube-20mm | 32 | 32 | 1,684 | — | — |
| cylinder-40x40 | 3 | 280 | 14,084 | 71 | 0.020 mm |
| sphere-20mm | 1 | 5,008 | 250,484 | 142 | 0.0024 mm |
The planar files come back one triangle per face. The 40 mm cylinder does not: 71 flat strips around the circle at 0.020 mm of chord error, and its bounding box reads 39.98 × 39.99 × 40 mm because the flats sit just inside the true diameter. That is the D − 2s loss the section above describes, appearing in the file’s own bounds. The 20 mm sphere refines in both directions: 37 rings from pole to pole and 142 strips around the equator, about 0.009 mm of chord error vertically and 0.0024 mm horizontally. A doubly curved face costs more triangles for the same deflection, as the arithmetic predicted.
The fixed deflection is coarser than the 0.01 mm row in the ladder above: 71 segments on a 20 mm radius correspond to about 0.020 mm. The finer rows are available to a desktop exporter, not to this page. Fixtures: cylinder-40x40.step and sphere-20mm.step; readings: tests page.
Use it when the part is going to a slicer and every feature is large enough to survive a default deflection. Stop when the part has a functional fit, a thread, a lens surface, or any feature below a few tenths of a millimetre. Export that one from desktop CAD, where deflection is set per part, and keep the STL as the print copy only.
A tight STL of a missing fillet still has no fillet, which is why unit checks and print versus CNC expectations belong in the same review as the tolerance number.
How this page was written: the chord, segment and byte figures in the first sections come from the formulas above and from the OCCT documentation; every one can be recomputed. The four files in “What the fixed tolerance produced” were converted in Chrome on 13 November 2026 and the exported STLs were parsed for triangle count, bounds, unique vertices and segments around; the chord error was computed from the segment count, not measured on a printed part. The cylinder and sphere were built in CadQuery 2.4.0. No print, CNC cut or slicer import was run for this page.
By the steptostl.org Editor Team, reviewed 14 November 2026.
Sources: OCCT User Guides: Mesh, OpenCascade, accessed 12 November 2026. OCCT User Guides: STEP, OpenCascade, accessed 12 November 2026. STL export options, SolidWorks, accessed 12 November 2026. STL export refinement, Autodesk Fusion, accessed 12 November 2026.
Open the STEP to STL CAD converter and drop a file. It runs in this tab; nothing is uploaded and no account is needed.