STL files are the standard format for 3D objects, especially for 3D printing. Their name stands for “stereolithography”, and is also sometimes referred to as “standard tesselation language” and “standard triangulation language”. This file type represents an object by tessellating it, which means creating a mesh of small triangular shapes.
In contrast, STEP, which stands for “standard for the exchange of product model data”, is a CAD file format commonly used for 3D models. As the name suggests, STEP files are transferrable from one CAD program to another without any intervening conversion steps.
The primary difference between the two file types is that STEP files are typically much easier to edit due to the format being designed specifically for CAD editing purposes. For this reason, there may be times when it’s helpful to convert a 3D model saved as an STL to a STEP file. In this article, we’ll take a look at two programs that can be used to convert STLs to STEPs. Let’s get started!
If you download files from online repositories, unless they’re from a design-specific site like GrabCAD, the most common format you’ll find them in is STL. This is all well and good if you’re planning to print a model right away or modify it in a program like Blender. However, if you need to modify it using parametric modeling, like tweaking the mechanics of an automaton toy downloaded from Thingiverse, an STL file is not the most optimal way to modify it, and it might be straight-up impossible.
But why? The answer comes down to the nature of the files. To make it more understandable, let’s compare it to 2D images. STL files can be compared to raster files (like JPGs), which are composed of pixels with certain colors and positions to make up an image. Raster images are fine for display purposes, but increasing the size of the image just results in bigger pixels, making it look grainy. On the other hand, STEP files are more similar to vector files like SVGs. A vector file is a set of mathematical properties that make up an image, and it’s much easier to modify such files without losing quality and keeping everything properly proportioned.
STEP files provide a similar advantage. They not only store an outer geometry like a mesh file, but can also distinguish between a solid object, a hollow object, and a surface object like a sheet. Moreover, STEP files can store information about an object’s material (for example, steel), constraints (for example, faces remaining parallel), thickness, dimensions, and so on. If you create a solid aluminum ball of 5 mm diameter in SolidWorks as a STEP file and open it in AutoCAD, the new program still knows all that data about the ball.
This is also why converting to STEP files is not as simple a process as converting, for example, from STL to OBJ, and why there aren’t some easy online converter tools we can recommend. STEP files are different in nature to STL files: The former are solid objects with parameters while the latter are essentially meshes, so you first need to make modifications to the existing mesh to make it solid. This process will be explained in the following sections, and thankfully, with the right software, it’s very simple.
A straightforward method of converting STL files to STEP files is to use Autodesk’s Fusion. As an STL file is fundamentally a mesh, it’s important to note that Fusion supports three different methods of working with meshes, but simply inserting one is the most straightforward. In its latest versions, Fusion also includes some mesh operations that are recorded in the operations timeline.
To follow this first method, you need to be in the Design Workspace, which is the default workspace when you open Fusion.
With your file converted to a solid, all that’s left to do is export it as a STEP file. The resulting file is a solid object that you can modify using operations and features in any parametric modeling software.
And that’s it! Just remember that exporting saves the file to your computer, while using “Save as” saves it in Fusion’s cloud storage.
A free alternative for converting STL files to STEP files is FreeCAD, a downloadable CAD program. Even if you’ve never used FreeCAD before, you can download it and start converting files in just minutes.
FreeCAD is available for Windows, Mac, and Linux, so you’re covered. As of this writing, we’re using 0.21.2 version of FreeCAD. Once you’ve downloaded the program, open it and follow this workflow:
Note: It isn’t strictly necessary to color the solid model. This step is often included to improve visual differentiation of the converted geometry, as mesh models in STL files usually do not retain any color or material properties. Coloring the solid model helps in distinguishing the solid from the original mesh, which is especially useful when comparing and validating the converted solid model against the mesh. It’s also useful when working with assemblies.
Note that FreeCAD doesn’t have the option to unite adjacent mesh elements like Fusion does, so this process is similar to using the Faceted option in that program. The mesh becomes a solid, but its surfaces are subdivided. That said, you can still perform parametric operations to your new solid body.
It’s worth keeping in mind that choosing “Save As” instead of “Export” comes with complications. In this case, the file can only be saved as a FreeCAD document, which somewhat defeats the purpose of the STEP conversion, unless you plan to continue modeling exclusively in FreeCAD.
License: The text of "STL to STEP: How to Convert STL Files to STEP" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.