A STEP file exports as a hollow shell when the faces it contains do not form a closed solid. The surface may be an open shell, a set of unstitched faces, or a solid with a missing face, and the tessellator meshes each face as it finds it.
What a closed solid looks like inside a STEP file
A STEP solid is a topology tree. Vertices bound edges, edges bound loops, loops bound faces, faces are collected into a shell, and a solid references that shell. In a Part 21 file the solid is usually a MANIFOLD_SOLID_BREP, and the shell it points at is a CLOSED_SHELL. Every edge in that shell is shared by exactly two faces. The OCCT modeling data guide sets out the vertex, edge, face and shell hierarchy that the kernel evaluates.
The surfaces themselves are exact: a plane, a cylinder with an axis and a radius, a NURBS patch. Closure comes from shared edges: every CLOSED_SHELL edge has two faces, and the file extension does not change that. STEP can also carry a SHELL_BASED_SURFACE_MODEL or an OPEN_SHELL. Those entities are legal STEP; a surface model simply has no volume.
Why does my STEP export as an open shell?
Several routes produce one, and they look alike in a shaded viewer.
- The designer saved sheet bodies, quilts or reference surfaces together with the solid.
- A translation stitched faces with a tolerance smaller than the gap between their edges.
- A boolean, fillet or shell operation failed and the kernel kept the partial result.
- A face was suppressed or deleted to hide a feature before the file was sent.
- An assembly mixes solid bodies with surface bodies, and only some of them are closed.
A gap between two edges can be too small to see in the shaded view and still larger than the sewing tolerance the reader applies. The reader then keeps the faces separate, and the shell has a boundary loop where the two edges should have been one. A missing face leaves a larger boundary loop. A surface that was never thickened has no inner side at all, so there is nothing to close.
STEP does not require a solid. The schema has entities for surface geometry, and a translator writes what the kernel gives it. The STEP viewer only shades the surface; the STL’s connectivity check exposes the boundary.
How does tessellation handle a shell that is not closed?
The mesher works face by face. For each face it samples the exact surface into triangles within the linear and angular deflection, then respects the trim boundaries. It does not need a volume, and it does not test whether neighboring faces meet. A gap between two faces becomes a gap between two triangle patches. An overlap becomes overlapping triangles. The reader the converter uses, occt-import-js, defaults to a linear deflection of 0.001 of the average bounding-box dimension and an angular deflection of 0.5 rad, as its source defaults show; the converter passes no override. On a 100 mm cube that is 0.1 mm of linear deflection.
The OCCT mesh guide describes the deflection pair used by that mesher. Healing is a separate stage in the toolkit: the shape healing guide covers sewing, fixing and upgrading shells to solids. A converter that runs only the mesher gets the topology it was given.
The converter on this site loads a WebAssembly build of OpenCascade, tessellates the B-rep at a fixed deflection, merges the face meshes into one triangle list, and writes binary STL in millimetres. Its published steps do not include a stitching or solid-repair pass, and the page offers no control for one.
What the STL and the slicer show you
STL has no field that says “solid” or “shell”. It is a triangle list. The slicer builds connectivity from shared vertices and reports what it finds: shell count, boundary edges, non-manifold edges, volume. A part that should be one solid arriving as two shells, or as a shell with open edges, is the usual signature.
| What you see | What the STEP likely contains | What the STL carries | First fix |
|---|---|---|---|
| Open boundary, slicer offers repair | OPEN_SHELL or unstitched faces |
Surface mesh with boundary edges | Stitch or knit in CAD, re-export |
| Two shells for one body | Two solids, or one shell split in two | Two closed meshes that may overlap | Union or combine, check solid count |
| No volume, zero thickness | SHELL_BASED_SURFACE_MODEL |
Single-layer surface | Thicken or make solid |
| Two walls with a cavity | A solid with a void (BREP_WITH_VOIDS) |
Closed mesh with inner and outer walls | None, this is a solid |
BREP_WITH_VOIDS is a solid with an internal cavity, not an open surface. It exports as an outer closed shell plus an inner shell, and the slicer sees a volume with a void. Read it as a solid and do not run the open-shell repair.
PrusaSlicer and Cura both offer gap repair that guesses from nearby vertices. The guess can fill a hole that was meant to be a hole or leave a pinhole in a wall. If the part is cosmetic, the guess may be harmless. If the part has a fit or a pressure boundary, it is not. The wall and clearance check is the next measurement pass once the shell is closed.
Can this converter close the shell?
No. The converter reads the STEP, meshes the faces, and writes the triangles. It has no stitch, heal, boolean or make-solid control. The fixed deflection is compiled into the kernel, the input cap is 12 MB, and assemblies are flattened into one mesh; those limits are on how the conversion works. None of them repairs topology. A file over the cap is refused before it is read: “This file is 18.4 MB; the cap for this page is 12 MB. Split the model or decimate it first.” Split by solid in CAD and export each body as its own STEP, or simplify the model there by removing construction surfaces and cosmetic detail. A zip archive is not a STEP file; extract it before loading.
An open shell stays open: the converter does not weld edges, and the slicer sees two surfaces. A tighter tolerance would not help either, because the gap is in the topology, not in the sampling. If the gap is smaller than the deflection, a finer mesh might make the two sides meet visually, but the triangles would still not be welded, and the slicer would still see two surfaces.
Checking the STEP before conversion
Part 21 is plain text, so the entity mix can be counted without CAD:
grep -oE 'MANIFOLD_SOLID_BREP|BREP_WITH_VOIDS|SHELL_BASED_SURFACE_MODEL|OPEN_SHELL|CLOSED_SHELL' bracket.step | sort | uniq -c
A run on a mixed file:
$ grep -oE 'MANIFOLD_SOLID_BREP|BREP_WITH_VOIDS|SHELL_BASED_SURFACE_MODEL|OPEN_SHELL|CLOSED_SHELL' assembly.step | sort | uniq -c
1 BREP_WITH_VOIDS
4 CLOSED_SHELL
2 MANIFOLD_SOLID_BREP
1 OPEN_SHELL
2 SHELL_BASED_SURFACE_MODEL
Two MANIFOLD_SOLID_BREP and one BREP_WITH_VOIDS account for three solids, and the four CLOSED_SHELL entries include the void’s inner shell. The OPEN_SHELL and SHELL_BASED_SURFACE_MODEL lines mark a surface body in the same file. The next action differs by object: convert the solid bodies, and repair or exclude the surface body before exporting. Counts include every representation in the file, so read the entities attached to the shape representation you intend to convert rather than the total.
In CAD, count solid bodies and read their volume. A 20×20×20 mm cube has a volume of 8,000 mm³; a closed solid reports that value, and a surface body reports zero. Check whether the dialog is showing mm³ or cm³ before comparing the number with the drawing. Run the importer’s check or diagnostics tool on the exported file, not just the original. The round trip is where a translator’s tolerance shows up.
What the check returns on a closed part
Run on the two fixtures from the 13 November 2026 test, the same grep returns one line of each type. That is the shape of a file this converter can handle: one solid, one closed shell, no surface bodies. The exported STLs parse as a single connected shell each. Neither fixture is hollow, so the run does not reproduce the open-shell failure — it only shows what a clean file counts as. The cube is cube-20mm.step, and the run is on the test page.
| Fixture | MANIFOLD_SOLID_BREP | CLOSED_SHELL | Shells in the exported STL |
|---|---|---|---|
| cube-20mm.step | 1 | 1 | 1 |
| square-tube-20mm.step | 1 | 1 | 1 |
Fixing the shell at the CAD end
Stitch or knit the surfaces with a tolerance larger than the largest gap and smaller than the smallest feature. Then make the result solid, or thicken the surface if it was never a solid. If a face is missing, rebuild it from the surrounding edges rather than patching the mesh later.
When exporting, select solid bodies only. Reference surfaces, construction surfaces and duplicate bodies are common in supplier files, and they all become triangles in the STL. Re-import the exported STEP into an empty document and check the body type before sending it on. If the repair is beyond the tools you have, send the original STEP to the printer and say which body is intended; a shop with a full kernel can sew it.
When a hollow part is not a broken solid
A shelled plastic part is closed. Its outer and inner surfaces join at the rim, the topology is a closed shell, and the slicer sees a volume with a cavity. The shaded view looks hollow and the mesh is correct. The same is true of a pipe or a bottle.
One closed shell with positive volume matches the drawing. Open edges, zero volume, or a shell count that does not match the number of bodies is a topology problem. If the slicer reports one closed shell and the dimensions match, convert. If it reports open edges, stop and repair the STEP; no setting in the browser will close a gap in the topology.
By the steptostl.org Editor Team, reviewed 14 November 2026 by the converter maintainers. Editorial standards.
How this page was written: the topology terms and the sewing stage come from the OCCT guides; the entity check is a grep command that reads the Part 21 text directly; the deflection defaults come from the occt-import-js source. We ran that grep over the two files in “What the check returns on a closed part”, converted them in Chrome on 13 November 2026 and parsed the exported STLs for triangles, bounds and shell count. AI-assisted drafting was used, and every claim was checked against those sources. No STEP file was repaired for this page, no physical print was made and no slicer was opened.
Sources:
- OpenCascade, Modeling Data, OCCT User Guides — accessed 12 November 2026.
- OpenCascade, Shape Healing, OCCT User Guides — accessed 12 November 2026.
- OpenCascade, Mesh, OCCT User Guides — accessed 12 November 2026.
- Library of Congress, STEP-file, ISO 10303-21, format description — accessed 12 November 2026.
- occt-import-js, README and STEP reader source, tessellation defaults and parameters — accessed 12 November 2026.
Related on this site: STEP vs STL: B-rep and mesh are different objects and how the conversion works.
Open the STEP to STL CAD converter and drop a file. It runs in this tab; nothing is uploaded and no account is needed.