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, while STEP is a solid (Source: Lauren Fuentes via All3DP; Model: thatcactusgirl via Thingiverse)

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
STL to STEP: How to Convert STL Files to STEP

Solution #1: Autodesk Fusion

Image of: Solution #1: Autodesk Fusion
Start by inserting the STL into Fusion to convert it to STEP (Source: All3DP; Model: thatcactusgirl via Thingiverse)

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.

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 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.
    • Unit Type: 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 Inputs: This field lets you more precisely set up the position of the model.

Step 2: Convert the Mesh to a Solid

Image of:
Next, convert your mesh into a solid body (Source: All3DP; Model: thatcactusgirl via Thingiverse)
  1. To convert the mesh to a solid body, still in the Design Workspace, go to the Mesh tab (pink), then 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 has always had, which takes the mesh as is and makes it solid. Prismatic is a newer 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.
  3. If your program has trouble deciding which faces to merge, under the “Prepare” menu, the “Generate Face Groups” tool can be used before converting the mesh.

Step 3: Save as STEP

Image of:
Saving is as easy as 1-2-3 (Source: All3DP; Model: thatcactusgirl via Thingiverse)

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’s cloud storage.

Back to Contents

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

Solution #2: FreeCAD

Image of: Solution #2: FreeCAD
Converting STL files to STEP files in FreeCAD is quick and easy (Source: All3DP)

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:

  1. Select “File” from the top-most menu, then “Open” and select your STL file from your computer.
  2. Be sure to have the “Combo View” panel visible if it isn’t on by default. To show this view, select “View” from the top-most menu, then select “Panels” on the drop-down menu, then “Combo View”. The Combo View Panel shows your file name with a green icon next to it.
  3. You’ll need to ensure that you’re working on your file in the “Part” workbench, which displays unique menu bars compared to other workbenches. To select the “Part” workbench, go to the top-most menu and click on “View”, then select “Workbench,” then select “Part”.
  4. Click on your file name in the Combo View to select it. Then, in the top-most menu, select “Part”, then “Create shape from mesh.” Note that this option won’t appear under the “Part” menu unless you’ve selected your part name in the Combo View.
  5. When the “Shape from mesh” box pops up, simply click “OK”.
Image of:
STL files are converted to mesh and then to solid files, and are then exported as STEP files (Source: All3DP)
  1. Now, in your Combo View box you should have a new mesh file under your original STL file named “filename001” (or something similar). Delete your original STL file since you won’t need it anymore by selecting it, right-clicking, and then select “Delete”.
  2. Select your new mesh file (“filename001”) in the Combo View. Then click on “Part” in the top-most menu and pull down to “Convert to Solid”.
  3. You’ll now have a “solid” file in the Combo View below your “mesh” file. You can now delete the mesh file.
Image of:
Be sure to export your file as "STEP with colors" and don't "Save As" (Source: All3DP)
  1. You’re not done yet. Now you need to change the appearance. Select your solid file in the Combo View, then right-click on it. In the menu that appears, select “Appearance”. This brings up a new view in the Combo View under the Tasks tab.
  2. In the Appearance view, select a color in “Shape color”, preferably something bright, like orange. Don’t change anything else in this Appearance Task menu, then click on the “Close” button in this menu box. You should now be back to your usual view of the Combo View.

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.

  1. Again, with the solid file selected in Combo View, go to the top-most menu, and click “File > Export”. When the Export file box pops up, name your file, select the location where you want it saved to, and, in the file type drop-down menu, select “STEP with colors”. A STEP pop-up box will appear. Here units for export of STEP should be default to millimeter (only change if appropriate). If not already check-marked, select the first option: “Write out curves in parametric space of surface”. Scheme should default to “AP214 International Standard”. Only change this if appropriate.
  2. Click “OK”.

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.

Back to Contents

Advertisement
Advertisement
Advertisement