AccountTry Pro free

Converting STL meshes to STEP for CAD work

Turning a mesh into STEP gets it into your CAD program as a solid, but it stays made of flat triangles, so the useful question is what you can do with it once it is there.

Updated 20 October 2026 · 7 min read

What actually happens when an STL becomes a STEP

CAD programs such as SolidWorks, Fusion, Onshape and FreeCAD model with B-rep (boundary representation) solids: faces defined by exact surfaces such as planes, cylinders and NURBS patches, bounded by edges and vertices. A hole is a cylindrical face with one radius. An STL has none of that. It is a list of flat triangles that approximate the surface, and a 10 mm hole might be 64 thin rectangles split into 128 triangles.

A direct STL to STEP conversion does not recover the original surfaces. It writes each triangle as a planar B-rep face, stitches the shared edges together and, if the mesh is closed, declares the result a solid. This is called a faceted solid. It is a valid STEP body: CAD tools can open it, measure it, section it, use it in boolean operations and mate against it. It is not a parametric model, and its "cylinders" are still polygons.

Knowing this up front avoids the most common disappointment: you cannot click a converted hole and change its diameter, because there is no hole feature and no cylindrical face, only facets.

What a faceted solid is good for

  • Fit checks and interference detection: placing a downloaded or scanned part in an assembly to design around it.
  • Designing mating parts: brackets, enclosures, adapters and mounts that reference the mesh's planar faces and positions.
  • Boolean edits: cutting a slot, adding a boss or subtracting a mounting hole on a printable model. Planar facets of a prismatic part can be selected and sketched on.
  • Sharing with people who only accept STEP: suppliers, machine shops for reference geometry, or PLM systems.

It is poor for anything that needs true curved geometry: fillets along faceted edges, accurate cylindrical mates, drawings with diameter dimensions, or CAM toolpaths that expect smooth surfaces.

Preparing the mesh

Make it watertight

A STEP solid needs a closed, consistently oriented shell. If the mesh has holes, non-manifold edges or flipped triangles, the converter or the CAD importer will produce an open surface body instead of a solid, and booleans will fail. Open the file in the STL viewer first: it reports whether the mesh is watertight along with dimensions and triangle count. Small holes from bad exports can be closed with a mesh repair step; large missing areas from 3D scans need proper reconstruction in a mesh editor.

Reduce the triangle count

Every triangle becomes a face with its own plane, edge loop, edges and vertices in the STEP file. That is far more text per triangle than the 50 bytes binary STL uses, so the STEP is typically an order of magnitude or more larger than the STL, and CAD programs slow down sharply as face counts climb. Rough budgets that work in practice:

TrianglesExperience in CADTypical source
Under 10,000Responsive; booleans and rebuilds are fineSimple prismatic parts, low-poly models
10,000 – 50,000Usable, slower rebuilds and selectionTypical printable functional parts
50,000 – 150,000Slow import, heavy assemblies, booleans may time outDetailed figures, smoothed exports
Above 150,000Often impractical3D scans, sculpts, high-resolution exports

Decimation (triangle reduction) removes triangles where the surface is flat and keeps them where curvature is high, so a 300,000-triangle export of a mostly flat part can often drop to 20,000 with no visible change. Flat regions are pure overhead: a single rectangular face in the original CAD model may have been exported as hundreds of triangles. The mesh repair and triangle reduction tools in 3dfiles Pro run in the browser for this step; Blender's Decimate modifier and MeshLab's quadric edge collapse do the same.

Check scale and orientation

STEP stores units, STL does not. The converter has to assume the STL numbers are millimetres. If the part was exported in inches or metres, scale it before converting, otherwise the STEP will carry a wrong size that looks authoritative. Our units and scale guide covers how to tell.

Convert

The STL to STEP converter writes a faceted solid in millimetres and warns when the triangle count is high enough to make the file slow in CAD. For the reverse direction, when you need a printable mesh from a CAD STEP file, use STEP to STL.

Working with the result in each CAD tool

SolidWorks

SolidWorks can open STL directly, and the import options decide what you get. Graphics body imports the mesh for display: fast, fine for visual reference, but not usable in features or booleans. Solid body and Surface body build B-rep faces from the triangles, which is effectively the same faceted conversion done inside SolidWorks; recent versions also offer mesh BREP bodies, which behave as solids with facet-based faces. Opening a faceted STEP gives you a standard imported solid with one face per triangle. Import Diagnostics may report faults if the source mesh had gaps. Once in, you can sketch on planar facets, extrude cut, combine and use the body in assemblies. Expect rebuild times to grow with face count, and avoid fillets on faceted edges.

Fusion

Fusion separates meshes from B-rep bodies. Inserting an STL creates a mesh body; to use it in solid modelling you convert it with Mesh > Modify > Convert Mesh. The Faceted method turns each triangle into a planar face, producing the same kind of result as a faceted STEP. The Prismatic method is smarter: after you run Generate Face Groups, it fits planes, cylinders and cones to groups of triangles, giving real cylindrical faces for holes and bosses on mechanical parts. Prismatic works well on clean, machined-style geometry and poorly on organic shapes; its availability depends on your Fusion licence. Importing a faceted STEP skips the mesh workspace entirely and lands as a solid body you can edit with direct modelling tools such as Press Pull and Delete Face.

Use Remesh or Reduce in the mesh workspace before converting if the mesh is dense.

Onshape

Onshape imports STL and OBJ as mesh data that can be displayed and referenced but not used in solid booleans. A faceted STEP, by contrast, imports as a regular part in a Part Studio. You can then use it in boolean operations, sketch on its planar facets and mate to it in assemblies. Because Onshape regenerates in the cloud, large faceted parts mainly hurt interactive responsiveness; keeping the triangle count low still pays off.

FreeCAD

FreeCAD can import a faceted STEP directly, or do the conversion itself. With an STL loaded, use Part > Create shape from mesh (the sewing tolerance controls how close vertices must be to join), then Part > Convert to solid. The useful extra step is Part > Create a copy > Refine shape, which merges coplanar faces. On a prismatic part this collapses hundreds of triangles on each flat side into a single planar face, giving a much lighter and cleaner solid. Curved regions stay faceted. Export the result with File > Export as STEP. FreeCAD is also a good place to repair minor mesh problems first, using the Mesh workbench's analysis and repair tools.

When to reverse-engineer instead

A faceted solid is a shortcut. If the part will be modified repeatedly, dimensioned on drawings, machined, or shared as a design master, model it properly using the mesh as reference:

  1. Import the mesh (graphics or mesh body is enough).
  2. Take cross-sections through key features. Fusion can create a mesh section sketch; FreeCAD's Mesh workbench has cross-sections; SolidWorks offers mesh-based tools such as ScanTo3D in some editions.
  3. Fit lines, arcs and circles to those sections, then extrude, revolve and fillet as normal.
  4. Overlay the new solid on the mesh to check deviation.

For a typical bracket or enclosure this takes less time than fighting a 100,000-face import, and the result has real holes with editable diameters. Rules of thumb:

  • Convert when you need the shape once, for fit or a quick boolean, or when the part is organic and cannot be modelled sensibly anyway.
  • Reverse-engineer when the part is mostly planes and cylinders and someone will maintain it.
  • Ask for the source if possible: a STEP export from the original CAD always beats rebuilding from a mesh.

Quick checklist

  1. Confirm the mesh is watertight and the scale is right in millimetres.
  2. Reduce the triangle count to a budget that suits what you will do in CAD.
  3. Convert to STEP and open it; check it imports as a solid, not a surface.
  4. Do your booleans and fit checks on planar faces; avoid fillets on facets.
  5. For parts that need real features, use the mesh as a template and remodel.