STL to STEP accuracy benchmark
Last updated by the stl2step team
On 200 CAD exports excluded from model training, mean per-part face recovery was 97.8%, covering 99.0% of area, with 98.7% surface-type accuracy. Each part has equal weight in these averages. On 166 of the 200 parts every reference face was recovered.
- 97.8%
- mean per-part recovery across 8,380 reference faces
- 99.0%
- of the surface area covered by recovered faces
- 98.7%
- of faces with the correct surface type
Method
- Parts: the first 200 usable parts, in file order, of chunk 0009 of the ABC dataset (one million CAD models from Onshape). These are exports from 103 source CAD models; exports of the same model are related observations. Usable means: the STEP file is under 3 MB, the mesh is closed and manifold once its vertices are welded, the part has at least 4 faces and at most 60,000 triangles. Nothing else was filtered and no part was removed after measuring. No part of that chunk was used to train the model. This cohort is also used to check converter changes and is not an independent test of those changes.
- Input: each part as a closed, welded triangle mesh, median 730 triangles, up to 38,784. Only the mesh is given to stl2step.
- Reference: the faces of the original B-Rep, labeled by what each face is geometrically (a cylinder split into two half-faces by the file counts as one cylinder).
- Scoring: predicted and original faces are matched one to one; a face is recovered when the overlap (IoU) of their triangles is at least 0.9. The headline averages each part equally. Counting every reference face equally gives 7,964 of 8,380 faces (95.04%). Complex parts therefore have more weight in the second figure.
- System: the same pipeline that runs on stl2step.ai, on CPU, with no manual input.
Results by part complexity
| Faces in the original part | Parts | Faces recovered |
|---|---|---|
| 1–9 | 48 | 99.0% |
| 10–29 | 89 | 98.8% |
| 30–99 | 40 | 96.5% |
| 100 or more | 23 | 93.3% |
Simple parts come back complete; the hardest parts, with 100 faces or more, still keep 93.3% of their faces. 183 of the 200 parts have at least 90% of their faces recovered.
What the network adds
The same pipeline without the neural network, fitting surfaces from geometry alone, recovers 94.8% of the faces and 96.8% of the area. The network lifts that to 97.8% and 99.0%: it decides which triangles belong together where pure geometry is ambiguous, such as fillets meeting cylinders and faces split by tessellation.
A real part
The grip on the home page is not from ABC: 8,672 triangles become 314 faces with a mean distance of 0.002 mm between the mesh and the result (largest 0.034 mm) on a 106 mm part.
Data
Per-part results (ABC part ID, faces, triangles, fraction of faces recovered): abc-200.csv, licensed CC BY 4.0. Cite as "stl2step face-recovery benchmark, https://stl2step.ai/benchmark".
Questions
How accurate is STL to STEP conversion with stl2step?
On 200 CAD meshes excluded from model training, stl2step recovered 97.8% of the original faces (mean per part, matched-face IoU at least 0.9) covering 99.0% of the surface area, with the right surface type on 98.7% of faces. The per-part numbers are in abc-200.csv on this page.
Does the benchmark cover 3D scans?
No. The parts are clean CAD mesh exports, with and without simulated noise; real scans add holes, outliers and uneven sampling that are not measured here, so expect more B-spline faces on a scan.
Can I test it on my own part for free?
The preview is free and needs no account: upload the STL, see every recovered face in the 3D viewer. Download one STEP for $5 without an account, or use a purchased credit. Pro is $19 a month for 75 conversions.
How long does it take?
Usually 1 to 3 minutes from upload to STEP. A 60,000-triangle mesh can take up to about 10 minutes, and complex meshes longer; a file converted before is returned at once.
What if my mesh is not manifold?
The faces are still found and shown in the viewer, so you can see what was recovered, but no closed solid can be built from an open or non-manifold mesh and nothing is charged: a failed conversion returns its credit automatically. Repair the mesh (fill holes, remove duplicate faces) and convert again.