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!

Back to Contents

STL to STEP: How to Convert STL Files to STEP

A STEP Forward

Working in a mesh can be useful for many applications
Working in a mesh can be useful for many applications (Source: FEATools Multiphysics)

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.

STL is a mesh file, while STEP is a solid
STL is a mesh file, while STEP is a solid (Source: Lauren Fuentes via All3DP)

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.

Back to Contents

Advertisement
Advertisement
Advertisement
STL to STEP: How to Convert STL Files to STEP

Solution #1: Fusion 360

Start by inserting the STL into Fusion 360 to convert it to STEP
Start by inserting the STL into Fusion 360 to convert it to STEP (Source: Lauren Fuentes via All3DP)

A straightforward method of converting STL files to STEP files is to use Autodesk’s Fusion 360. As an STL file is fundamentally a mesh, it’s important to note that Fusion 360 supports three different methods of working with meshes, but simply inserting one is the most straightforward. In its latest versions, Fusion 360 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 360.

Step 1: Insert the mesh

  1. Go to “Insert > Insert Mesh”.
  2. Select the file you’d like to insert. Even though this tutorial is for STL, it’s worth noting that Fusion 360 can also import meshes in OBJ and 3MF file formats.
  3. Once the mesh loads, you have to set up some options in the “Insert Mesh” menu.
    • Units: You can set the units to millimeter, centimeter, meter, inch, or foot.
    • Flip Up Direction: This is useful if your model happens to be inserted in the wrong direction, although that’s usually not the case.
    • Position: You can choose to locate your model centered at the origin point or have the bottom touching the horizontal plane.
    • Numerical Input: This field lets you more precisely set up the position of the model.

Step 2: Convert the Mesh to a Solid

Convert your mesh into a solid body
Next, convert your mesh into a solid body (Source: Lauren Fuentes via All3DP)
  1. To convert the mesh to a solid body, go to the Mesh tab, still in the Design Workspace, and open the Modify menu for the complete set of options.
  2. Select “Convert Mesh”. This opens another menu where you have to select some options.
    • Body: You can select the body in the browser or directly in the viewport.
    • Operation: This has two options, Parametric and Base Feature. Parametric records the operation in the timeline and allows you to make changes directly to the existing relations that will result from the conversion. Base Feature doesn’t record parametric relationships, and it’s not recorded in the timeline, but you can still perform operations to the obtained object.
    • Method: There are two options, Faceted and Prismatic. Faceted is the original method Fusion 360 has always had, which takes the mesh as is and makes it solid. Prismatic is a new option that aims to merge adjacent faces of the mesh, to form a singular face of a solid body. We recommend the Prismatic method for better results because the object will have the geometry of a STEP file and be easier to work with. However, this option isn’t available with the free, personal-use version of Fusion 360.
  3. If your program has trouble deciding which faces to merge, can use the “Generate Face Groups” tool available in the extended menu in the “Prepare” section of the mesh tab before converting the mesh.

Step 3: Save as STEP

On the right you can see the resulting body using prismatic
On the right, you can see the resulting body using the Prismatic method (Source: Lauren Fuentes via All3DP)

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.

  1. Go to the File menu on the top left and select Export.
  2. Choose a file name and select STEP as the Type.
  3. Click on the Export button.

And that’s it! Just remember that exporting saves the file to your computer, while using “Save as” saves it in Fusion 360’s cloud storage.

Back to Contents

Advertisement
Advertisement
Advertisement
STL to STEP: How to Convert STL Files to STEP

Solution #2: FreeCAD

Converting in FreeCAD is a really simple process!
Converting in FreeCAD is a really simple process! (Source: Lauren Fuentes via All3DP)

A free alternative you can use for converting STL files to STEP files is FreeCAD, a downloadable CAD program.

FreeCAD is organized into Workbenches, similar to Fusion 360’s Workspaces. Workbenches are default layouts of tools depending on the operations you want to perform, and the selected Workbench also changes the options in the top menu bar. For this process, the Part Workbench will be used, because we need the “Part” menu to appear.

Also note that FreeCAD doesn’t have the option to unite adjacent mesh elements like Fusion 360 does, so this process is similar to using the Faceted option in Fusion 360. The mesh becomes a solid, but its surfaces are subdivided. That said, you can still perform parametric operations to your new solid body.

But first, you need to bring your STL file into FreeCAD.

  1. Hit “File > Open” and select your STL file.
  2. Go to the Part Workbench.
  3. Select the mesh object, whether on the viewport or the combo view list.
  4. With the mesh selected, go to Part in the top menu and select “Create shape from mesh”.
  5. Leave the sewing tolerance as the default (0.1), and select “Okay”.
  6. In your combo view, you now have two objects: a mesh and a solid object. Select the solid object.
  7. With the solid object selected go to File, Export, and select the STEP file format.

Easy! But once again, 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.

Back to Contents

Advertisement
Advertisement

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.

Stay informed with notifications from All3DP.

You get a notification when a new article is published.

You can’t subscribe to updates from All3DP. Learn more… Subscribe to updates

You can’t subscribe to updates from All3DP. Learn more…

Topics
Advertisement