Method · run 13 November 2026

Test runs: eight STEP files, converted and read back.

Each fixture was uploaded through this site's file input in headless Chrome, converted with the page's own kernel, and the exported STL was parsed from bytes on disk. The numbers below are what the panel showed and what the file contains.

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

What the panel showed and what the exported STL contains
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

Source files, counted with grep and with a line count
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.

Converter result panel after loading cube-20mm.step: 12 triangles, 36 vertices, bounds 20 u × 20 u × 20 u.
cube-20mm.step → cube-20mm.stl. The panel reports 12 triangles and 36 vertices; the parsed file holds 12 triangles, 8 distinct vertex positions and 1 shell.
Converter result panel after loading square-tube-20mm.step: 32 triangles, 96 vertices, bounds 20 u × 20 u × 10 u.
square-tube-20mm.step → square-tube-20mm.stl. The panel reports 32 triangles and 96 vertices; the parsed file holds 32 triangles, 16 distinct vertex positions and 1 shell.
Converter result panel after loading m6-threaded-rod-20mm.step: 46,296 triangles, 26,404 vertices, bounds 6 u × 6 u × 20.6 u.
m6-threaded-rod-20mm.step → m6-threaded-rod-20mm.stl. The panel reports 46,296 triangles and 26,404 vertices; the parsed file holds 46296 triangles, 23150 distinct vertex positions and 1 shell.
Converter result panel after loading m6-threaded-hole-400mm.step: 4,468 triangles, 3,021 vertices, bounds 400 u × 400 u × 10 u.
m6-threaded-hole-400mm.step → m6-threaded-hole-400mm.stl. The panel reports 4,468 triangles and 3,021 vertices; the parsed file holds 4468 triangles, 2234 distinct vertex positions and 1 shell.
Converter result panel after loading m6-threaded-hole-600mm.step: 4,678 triangles, 3,182 vertices, bounds 600 u × 600 u × 10 u.
m6-threaded-hole-600mm.step → m6-threaded-hole-600mm.stl. The panel reports 4,678 triangles and 3,182 vertices; the parsed file holds 4678 triangles, 2339 distinct vertex positions and 1 shell.
Converter result panel after loading cylinder-40x40.step: 280 triangles, 286 vertices, bounds 39.98 u × 39.99 u × 40 u.
cylinder-40x40.step → cylinder-40x40.stl. The panel reports 280 triangles and 286 vertices; the parsed file holds 280 triangles, 142 distinct vertex positions and 1 shell.
Converter result panel after loading sphere-20mm.step: 5,008 triangles, 2,542 vertices, bounds 19.99 u × 20 u × 20 u.
sphere-20mm.step → sphere-20mm.stl. The panel reports 5,008 triangles and 2,542 vertices; the parsed file holds 5008 triangles, 2505 distinct vertex positions and 1 shell.
Converter result panel after loading cube-20mm-written-inch.step: 12 triangles, 24 vertices, bounds 508 u × 508 u × 508 u.
cube-20mm-written-inch.step → cube-20mm-written-inch.stl. The panel reports 12 triangles and 24 vertices; the parsed file holds 12 triangles, 8 distinct vertex positions and 1 shell.

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

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.