STL files describe a surface made of triangles. STEP files describe exact solid geometry and are the standard for exchanging models between CAD programs. FreeCAD can convert in both directions for free.
Convert STL to STEP
- Open FreeCAD and import the STL with File → Open (or Import).
- Switch to the Part workbench.
- Select the mesh and choose Part → Create shape from mesh. Keep the default sewing tolerance (0.1) unless the result has gaps.
- Select the new shape and choose Part → Convert to solid.
- Optional: use Part → Create a copy → Refine shape to merge flat triangles into larger faces. This works well for flat, boxy parts.
- Select the solid and export it with File → Export, choosing STEP (
.stepor.stp).
Important limitations
- The STEP file is still made of the original triangles. Curved surfaces stay faceted; they do not become real cylinders or spheres.
- Large meshes (hundreds of thousands of triangles, typical for 3D scans) can make the conversion very slow. Reduce them first with mesh decimation in the Mesh workbench.
- The mesh must be closed (watertight) to become a valid solid. Repair it first with Evaluate and repair mesh in the Mesh workbench.
If you need clean, editable geometry, remodel the part in Part Design and use the STL only as a visual reference.
Convert STEP to STL
- Open the STEP file in FreeCAD.
- For a quick export, select the object and use File → Export with the STL format.
- For control over the quality, switch to the Mesh workbench, select the object and use Create mesh from shape. A smaller surface deviation gives smoother curves but bigger files.
- Select the new mesh and export it as STL.
Printing the part? Continue with FreeCAD for 3D printing.