How the run was made
The cube and tube are faceted B-reps produced by the stltostep.org writer from a binary STL this run built:
12 triangles for the cube, 32 for the tube. The threaded fixtures were built in CadQuery 2.4.0 on the OCCT
7.7.2 kernel and exported as STEP; no third-party STEP file was downloaded. Each file was loaded through
#file-input in Chrome 157 headless over CDP, the result panel was read, and the download button
was clicked with URL.createObjectURL intercepted so the blob could be saved and parsed.
The converter's tessellation tolerance is fixed and has no control in the page, so there is no setting to report beyond the file input and the download button. The parse reads the binary STL directly: the 80-byte header, the 4-byte triangle count, 50 bytes per triangle, then the bounds and the connected shells from the vertex coordinates.
Fixtures and readings
| Fixture | In | Panel: triangles / vertices / bounds | Out | Parsed: triangles / bounds / shells |
|---|---|---|---|---|
| cube-20mm.step | 9,008 B | 12 / 36 / 20 u × 20 u × 20 u | cube-20mm.stl · 684 B | 12 / 20 × 20 × 20 / 1 |
| square-tube-20mm.step | 21,746 B | 32 / 96 / 20 u × 20 u × 10 u | square-tube-20mm.stl · 1,684 B | 32 / 20 × 20 × 10 / 1 |
| m6-threaded-rod-20mm.step | 875,025 B | 46,296 / 26,404 / 6 u × 6 u × 20.6 u | m6-threaded-rod-20mm.stl · 2,314,884 B | 46296 / 6 × 6 × 20.6 / 1 |
| m6-threaded-hole-400mm.step | 602,994 B | 4,468 / 3,021 / 400 u × 400 u × 10 u | m6-threaded-hole-400mm.stl · 223,484 B | 4468 / 400 × 400 × 10 / 1 |
| m6-threaded-hole-600mm.step | 601,342 B | 4,678 / 3,182 / 600 u × 600 u × 10 u | m6-threaded-hole-600mm.stl · 233,984 B | 4678 / 600 × 600 × 10 / 1 |
| cylinder-40x40.step | 5,754 B | 280 / 286 / 39.98 u × 39.99 u × 40 u | cylinder-40x40.stl · 14,084 B | 280 / 39.98 × 39.99 × 40 / 1 |
| sphere-20mm.step | 2,122 B | 5,008 / 2,542 / 19.99 u × 20 u × 20 u | sphere-20mm.stl · 250,484 B | 5008 / 19.99 × 20 × 20 / 1 |
| cube-20mm-written-inch.step | 15,681 B | 12 / 24 / 508 u × 508 u × 508 u | cube-20mm-written-inch.stl · 684 B | 12 / 508 × 508 × 508 / 1 |
What the STEP files contain
| Fixture | STEP entities | ADVANCED_FACE | CLOSED_SHELL | Declared unit |
|---|---|---|---|---|
| cube-20mm.step | 230 | 12 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| square-tube-20mm.step | 566 | 32 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| m6-threaded-rod-20mm.step | 10535 | 27 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| m6-threaded-hole-400mm.step | 7943 | 18 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| m6-threaded-hole-600mm.step | 7922 | 18 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| cylinder-40x40.step | 118 | 3 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| sphere-20mm.step | 32 | 1 | 1 | SI_UNIT(.MILLI.,.METRE.) |
| cube-20mm-written-inch.step | 353 | 6 | 1 | CONVERSION_BASED_UNIT('INCH', 25.4 mm) |
The result panels
Every panel reports the same triangle count as the exported file. The vertex field is larger than the number of distinct positions because the kernel returns separate vertices per face: the cube's 36 records land on 8 positions, the tube's 96 on 16, and the STL writer stores three vertices per triangle regardless. The three threaded fixtures were built in CadQuery 2.4.0 on OCCT 7.7.2; their panels and parsed files agree on triangles and bounds, and the parsed STL keeps vertices at both the 2.7 mm crest and the 3.0 mm groove bottom.
The cylinder and the sphere are the curved-face cases. The cylinder came back as 280 triangles with 71 flat strips around the circle, and its bounds of 39.98 × 39.99 mm are the flats sitting just inside the 40 mm diameter. Read as a chord error, 71 segments on a 20 mm radius is about 0.020 mm. The sphere refined in both directions to 5,008 triangles, but its two poles produced two degenerate facets: PrusaSlicer 2.9.7 dropped them and reported 5,006 facets, while trimesh 4.12.2 reported 5,008 faces and not watertight. The volume in both readers is about 4,176.75 mm³ against 4,188.79 mm³ for an exact 20 mm sphere.
Round trip
For the two faceted fixtures, each STEP face is planar and triangulates into one triangle, so the triangle set that comes back should be the one that went in. Compared as rounded coordinate triples, the cube's 12 triangles and the tube's 32 are the same before and after. The tube's inner walls come back unchanged, and the mesh still parses as one connected shell with a bounding box of 20 × 20 × 10. The threaded fixtures are not a round trip: their curved surfaces are sampled by the kernel, and the 20 mm rod is the only one whose STEP also came from CadQuery rather than from this converter.
Limits
- Nothing was printed. There is no physical part behind these numbers.
- The two faceted STLs were parsed only. The threaded, cylinder and sphere STLs were opened in PrusaSlicer 2.9.7, admesh 0.98.5 and trimesh 4.12.2 for the part, volume and manifold readings.
- Nothing was measured with calipers. The bounds come from the coordinates in the file.
- The threaded STEP files use rounded ridges 0.3 mm high on a 5.4 mm core at 1 mm pitch, not ISO 68-1 flanks. They test whether a small radial feature survives; they do not reproduce a standard M6 thread.
- The converter's tolerance is fixed; this run cannot report what a different tolerance would produce.
The fixtures are downloadable: cube-20mm.step and square-tube-20mm.step. Run them through the converter and compare the panel with the numbers above.
Run date: . Browser: Chrome 157 headless, driven over CDP.