All articles

STL to STEP accuracy explained: chord error, volume checks, and measured benchmark data

· 5 min read

Open STL to STEP converter

When engineers convert an STL to STEP for CNC machining, fit checks or CAD editing, the first question is always accuracy: how close is the converted STEP to the original part, and how do you know it didn't silently distort a hole or wall?

Because an STL is already a tessellated approximation, STL-to-STEP accuracy is governed by three things: the mesh's own chord error, how the converter fits surfaces to vertices, and how the resulting B-rep is verified.

1. The ceiling is set by the STL's chord tolerance

An STL approximates curved surfaces with flat triangles whose vertices lie on (or near) the original CAD surface. The flat faces of those triangles cut inside convex curves and inside the opening of a hole — a geometric error called chordal deviation (sagitta).

On a fine CAD export, chord error is often a few micrometres. On a coarse export it shows in the volume: a cylinder drawn with 16 flat strips has about 2.5% less volume than the round one, and with 24 strips about 1.1% less. So the mesh of a coarse STL can be a few percent off the true CAD solid: too little material on shafts, bosses and outside rounds, too much around holes (the hole itself comes out smaller).

A surface recognizer that fits a true cylinder through the triangle vertices recovers the real curve between the vertices — which brings the STEP closer to the original CAD model than the STL itself was.

2. Why comparing STEP volume to STL volume is the wrong check

A common mistake when validating an STL-to-STEP conversion is checking whether STEP volume ≈ STL volume. Because triangle chords cut across curved surfaces, a correct STEP with true cylinders and fillets will legitimately differ from a coarse STL's volume by a percent or more.

In our testing across 232 meshes with known CAD ground truth, a naive "within 1% of STL volume" rule falsely rejected 24 parts — 20 of which had 0.00% volume error against the original CAD model (including ISO 4762 screws, stepper motors and pin headers).

Instead, Forgent3D checks the read-back STEP against the expected volume of the fitted B-rep: the mesh volume plus the exact shell volume between each triangle and its fitted analytical surface. The STEP must match that expected volume within 0.5%. That accepts true curved reconstructions while still catching real geometric defects (such as a torus or fillet folding over an axis).

3. What Forgent3D checks in the browser

Recognition gives you the STEP right away. When you then click Edit the STEP in the STL to STEP converter, the file is read back through OpenCascade (WebAssembly) and checked on four criteria:

  1. Solid count: the read-back STEP must contain at least as many valid solids as the closed mesh components reported by the recognizer.
  2. Topological validity (BRepCheck): verifies edges, wires, faces and shells are valid B-rep topology. Results above 30,000 faces skip this one, and the report says so.
  3. Expected volume (≤ 0.5% error): catches missing shells, inverted orientations or bad surface intersections.
  4. Renderable faces: checks whether OpenCascade's mesher can triangulate every face (catching rare edge cases where BRepCheck and volume pass, but a face would appear as a hole in a CAD viewport).

If a check fails, the converter names it (which check, and by how much) instead of silently handing you a broken file. You can still download the STEP. The steps around this are in How to convert STL to STEP with real surfaces.

4. Measured benchmark: 741 files, 1,133 solids

Rather than guessing, we measured the converter (the build of 2026-11-08) against 741 parts (1,133 solids) that have a CAD model to compare with: 598 common parametric parts (gears, timing pulleys, couplings, flanges, enclosures, boxes, brackets) exported to STL from their CAD, plus 143 open-source hardware parts whose authors published both the STL and the CAD file.

MetricMeasured resultWhat it means
Parts passing both volume & surface area96.6% (716 / 741 files)Every solid within 1% of reference CAD volume and ≥ 95% of reference surface area recovered
Valid B-rep solids99.2% (of 1,133 solids)Passed OpenCascade validity check and matched 1:1 with reference solids
Volume within 1% of reference CAD99.8%Most parts within 0.01% of the original CAD volume
Reference surfaces recovered94.0% (58,328 / 62,022)Holes came back as cylinders, fillets as fillets

Full methodology, open-source project credits and downloadable CSV data are on the STL to STEP benchmark page. You can also inspect a single part end to end on the Voron PSU Bracket example, where the author's 9,744-triangle STL converts to a 307-face STEP with zero boolean difference against the author's original STEP.

5. How mesh simplification affects accuracy

Simplifying a mesh before conversion is a trade-off that depends on how dense the input STL is:

6. Determinism across machines

Forgent3D's surface recognizer uses a deterministic work-unit budget rather than wall-clock time. Converting the same STL on a fast workstation or a modest laptop produces the same STEP geometry — accuracy does not silently degrade when your CPU is busy.

FAQ

How accurate is STL to STEP conversion for CNC machining?

On clean CAD-exported mechanical STLs the converted volume is typically within 1% of the original CAD model (99.8% of our benchmark, most of it within 0.01%), and recognized holes recover measurable cylindrical diameters. Always inspect critical tolerances and mating diameters in your CAD software before sending a converted part to CNC.

Why is my converted STEP volume slightly different from my STL volume?

Because flat STL triangles cut across curved surfaces (chord error): the mesh has a little less material than the real part on shafts and outside rounds, and a little more around holes. A STEP with recognized cylinders and fillets puts the curve back, so it is usually closer to the original CAD part than the STL was.

Can converting an STL to STEP improve a low-resolution mesh?

Surface recognition can fit smooth cylinders and planes through the vertices of a moderately faceted CAD mesh, which is much cleaner than raw triangles. However, it cannot invent features or precision that were lost when the STL was exported.

More articles