· STEP and STL

Check the STL after STEP conversion: walls and clearances

What a slicer can measure on a converted mesh before the print spends filament on it.

On this page
  1. Measure the bounding box first
  2. Measure walls on a section
  3. Clearance between mating parts
  4. Holes: position and diameter
  5. Is the mesh watertight?
  6. What can’t the slicer tell you?
A sawn cream printed block shows a visibly polygonal bore, brass caliper jaws on its flats and a thin wall beside it.

A slicer will generate a toolpath for a wall that tessellation already made too thin, and it will not tell you that a clearance closed up during conversion. Both are measurable on the STL before printing, using the slicer’s section view and measure tool.

Check in this order and stop at the first failure:

  1. Bounding box and units. Measure the largest dimension in the slicer and compare it with the drawing. At 0.05 mm deflection the mesh should land within 0.1 mm of the drawing; a larger difference is worth chasing first.
  2. Wall thickness and clearances. Section the model and compare each wall with the extrusion width. A wall below 1.35 mm at a 0.45 mm extrusion width cannot print as three perimeters.
  3. Hole diameter and spacing. Measure across the flats and compare with the drawing. A difference above 0.15 mm is more than the mesh should cost.
  4. Shell count and open edges. Read the mesh report: one closed shell per body and zero boundary edges. An open edge longer than 0.05 mm is a hole in the mesh, not a rounding artefact.

Measure the bounding box first

The largest dimension is the cheapest check, and the only one that separates a scale fault from a mesh fault. Two opposite faces can each sit up to the chord deflection from true, so the error on the box is up to 2s — 0.05% of a 200 mm part, and invisible at the drawing’s own tolerance. Read the ratio rather than the difference: 25.4 is a unit declaration fault, 10 is centimetres, 2.54 is inches scaled twice, and 1.0005 is the mesh doing exactly what it was told. Sections come after this passes, because no wall measurement is meaningful on a part that is the wrong size.

Measure walls on a section

Switch the slicer to a cross-section at mid-height and measure the wall directly, not from the shaded model. In PrusaSlicer 2.6 and later, the Measure tool (left toolbar, shortcut U) reads wall thickness and hole diameter, and the Cut tool (C) produces the section; Bambu Studio puts Measure and Cut on the top bar; Cura ships no measuring tool, so the third-party Measure Tool plugin reads point-to-point distances in Prepare view. A measured wall within 0.05 mm of nominal is the pass mark.

Then compare the result with the extrusion width the profile will use. Prusa’s knowledge base on layers and perimeters explains how perimeters are laid down; the practical rule is that a wall should be a whole number of extrusion widths.

With a 0.4 mm nozzle and a 0.45 mm extrusion width, two perimeters need 0.9 mm and three need 1.35 mm. A 1.0 mm wall gets one perimeter plus a gap fill that is thinner than the nozzle can control, and it will be the weakest part of the print.

Both surfaces of a wall can sit up to the chord deflection from their true positions, so the worst case is nominal − 2 × deflection. At 0.05 mm deflection a nominal 1.0 mm wall can arrive as 0.9 mm. Design thin walls at 1.35 mm or more and the worst case still prints as three perimeters.

Ribs thinner than twice the deflection can disappear from the mesh entirely, and the slicer will not report a missing rib; it renders what it received.

Clearance between mating parts

Printed fits start around 0.2 mm to 0.3 mm per side on FDM, and that number assumes the surfaces are where the design put them. If a lid relies on a 0.25 mm gap and the mesh moves each face by 0.1 mm, the gap the printer sees can be 0.05 mm on one side and 0.45 mm on the other. The tight side fuses, the loose side rattles.

Section through the assembled pair and measure the gap at three points along the joint, not one. The OCCT meshing guide describes the linear and angular deflection that produce the deviation, which is why the error is not uniform around a curved joint: flat faces stay exact, curved ones move by up to the deflection.

Parts designed to move after printing need more room, not less. A 0.15 mm gap with 0.1 mm deflection leaves almost nothing guaranteed, and the slicer’s own compensations can consume the rest.

Holes: position and diameter

A tessellated bore is an inscribed polygon, so a caliper closes on flats, not on the original circle. The reading is D − 2s. An 8 mm hole at 0.05 mm deflection measures 7.9 mm across the flats; at 0.1 mm it measures 7.8 mm. Rotate the caliper and the reading rises to the full diameter at the vertices, which is why the smallest reading is the one that matters for a pin or a tap.

Centre positions survive conversion better than diameters, because vertices land on the true edges. Measure centre distance indirectly when the holes are close together:

centre distance = edge-to-edge gap + (D1 + D2) ÷ 2

Two holes of 8 mm and 9 mm with 31.5 mm between their near edges are 31.5 + 4 + 4.5 = 40.0 mm apart. The drawing’s general tolerance settles it: ISO 2768-m allows ±0.3 mm over 30–120 mm, so 40.0 mm passes and 39.6 mm fails by 0.1 mm. With no drawing, use the printer’s repeatability, about ±0.2 mm on FDM, as the floor; 39.6 mm is 0.4 mm off and fails that too. Either way the number needs a stated tolerance before it means anything. What each process can absorb from a mesh is covered in printing versus CNC.

If the holes will be tapped, the bore size the printer produces matters more than the tessellated diameter, and the tap drill calculator gives the pilot size for each thread. A hole polygonised at 0.1 mm is already smaller than nominal before the printer adds its own shrinkage.

Converter result panel for cylinder-40x40.step: 280 triangles and 40 mm diameter.
The cylinder fixture: one analytic side face, two caps, 280 triangles in the STL.

Is the mesh watertight?

Open the converted STL in the slicer and read its mesh report. A part from a valid STEP should arrive as one closed shell per body, with no boundary edges. Tessellation can still leave slivers where a trimmed face meets a neighbour, and the slicer’s repair view will highlight them.

The triangle count is checkable from the file size alone, since binary STL uses a fixed record:

triangles = (file size in bytes − 84) ÷ 50

Take the file size and the count the slicer reports: (bytes − 84) ÷ 50 should land within a few faces of the count. A much larger file than the count implies is usually ASCII STL, which stores the same mesh as text at roughly five times the size; a much smaller one was truncated in transfer. The comparison tells you whether the file you are about to slice is the one you converted.

We ran two STEP files through this converter in Chrome on 13 November 2026 and parsed the exported STLs from bytes on disk. Both are solids with only planar faces, so they do not exercise the deflection arithmetic, but they do exercise the size check: (bytes − 84) ÷ 50 lands on the triangle count with nothing left over, and both meshes parse as a single connected shell. The cube is the downloadable cube-20mm.step; the run is written up on the test page.

Exported file Bytes (bytes − 84) ÷ 50 Triangles parsed Shells
cube-20mm.stl 684 12 12 1
square-tube-20mm.stl 1,684 32 32 1

For a nominal part at 0.05 mm deflection, the checks give these values:

Item Nominal Measured on the mesh Difference Verdict
Wall thickness 1.00 mm 0.90 mm −0.10 mm fails: below the 1.35 mm floor
Clearance, one side 0.25 mm 0.15 mm −0.10 mm fails: below 0.2 mm of design clearance
8 mm bore, across flats 8.00 mm 7.90 mm −0.10 mm undersize for an 8.00 mm pin
9 mm bore, across flats 9.00 mm 8.90 mm −0.10 mm undersize for a 9.00 mm pin
Hole centre distance 40.00 mm 40.00 mm 0.00 mm passes: ISO 2768-m allows ±0.3 mm

The mesh column is arithmetic from a 0.05 mm deflection — D − 2s for a bore, nominal − 2s for a wall — not a reading from a printed part. Pass marks assume a 0.4 mm nozzle, 0.45 mm extrusion width and 0.2 mm layer height, with PrusaSlicer’s Measure tool reporting the dimensions.

Flipped normals belong in the same pass. Look at the model from inside the slicer’s preview; a face that renders dark or hollow indicates a normal pointing the wrong way, and some slicers repair it silently while others print the gap.

Converter result panel for sphere-20mm.step: 5,008 triangles.
The smooth sphere fixture produced 5,008 triangles from one analytic face.

What can’t the slicer tell you?

If the wall reads 0.9 mm because the tessellation rounded it, the STEP still says 1.0 mm. Printing a 1.0 mm wall by scaling the STL changes the whole part to compensate for one feature, and the holes scale with it.

Slicer measurements inherit the slicer’s own settings. Hole compensation, XY shrinkage and any import scale factor shift the numbers, so measure with the profile that will actually print, or treat the slicer’s numbers as a second opinion.

The converter on this site uses a fixed deflection and offers no way to tighten it, so a check that fails is not fixable in the browser. Re-tessellate from the STEP in desktop CAD with a smaller deflection, then run the same four measurements again. When the file came from a supplier, the STEP to print handoff is the place to agree on that before the model is released. A part that fails the first check does not need the other three, and a scale error is far more common than a tessellation error of the same magnitude.

By the steptostl.org Editor Team, reviewed 14 November 2026. How this was checked: the deflection arithmetic was derived by hand and checked against the OCCT meshing guide; the extrusion-width figures follow Prusa’s layers-and-perimeters article; the pass marks assume PrusaSlicer defaults. The two files in “Is the mesh watertight?” were converted in Chrome on 13 November 2026 and the exported STLs were parsed for triangle count, bounds and shell count. No physical print was made for this article, the mesh column above is calculated, and no slicer was opened.

Sources: OCCT User Guides: Mesh, OpenCascade. Layers and perimeters and Measurement tool, Prusa Knowledge Base. Measure Tool plugin, fieldOfView. All accessed 12 November 2026.

Try it on your own file

Open the STEP to STL CAD converter and drop a file. It runs in this tab; nothing is uploaded and no account is needed.

All posts