How to Convert STL to STEP

This guide shows you the basics of converting an STL file to a STEP file. STL files are a 3D mesh format mostly used by 3D printers, but in the world of engineering CAD and CAM, most software requires solid models. The most universal solid model format is STEP (.stp, .step). Ideally you'd begin with a solid model and avoid STLs entirely, but maybe you found the perfect object on Thingiverse or you used a 3D scanner, and there’s no reasonable way to begin with a solid model. Or maybe you're already doing solid modeling, but you need to incorporate an STL model into it. This guide shows you a file conversion process that has worked well for me.

Disclaimer: STL files span a wide range. Some of them are low-complexity, watertight, and can be easily converted. Others are extremely complex, full of holes and self-intersections, and will cause the conversion application to crash. If your STL file is of the second type, you won't be able to convert it. That being said, if you have no other option, it’s definitely worth a shot!

STEP 1: DOWNLOAD A CONVERSION TOOL

Our conversion tool of choice is FreeCAD because it’s free, relatively simple to use, and does a good job of converting STL files to usable solid models. Download it here.

STEP 2: IMPORT YOUR STL FILE

  • Open FreeCAD.

  • Create a new file (File menu > New).

  • Import your STL file (File menu > Import > select your STL file).

  • From the dropdown menu in the top toolbar, choose Mesh design (see screenshot).

Downloading CAD Mesh in FreeCAD

STEP 3: REPAIR THE MESH

  • Open the Evaluate & Repair mesh tool (Meshes menu > Analyze > Evaluate & Repair mesh).

  • Select the mesh from the dropdown at the top of the Evaluate & Repair pane.

  • One by one, go down the list, clicking Analyze and then Repair if the analysis finds any problems.

  • If clicking the Repair button for "Folds on Surface" makes your mesh look terrible, you can skip that one.

  • If clicking the Repair button for any other option makes your mesh look terrible, you’re likely out of luck. However, you should still try the next steps in case you get lucky.

Repairing the mesh in FreeCAD.

STEP 4: CONVERT YOUR MESH TO A SHAPE

  • From the toolbar dropdown menu, choose Part.

  • Select your mesh in the left pane.

  • From the Part menu, choose "Convert to shape."

  • Leave the Sewing Tolerance at 0.10 and click OK.

Converting your mesh into a shape in FreeCAD.

STEP 5: CONVERT THE SHAPE TO A SOLID

This is the moment of truth! If FreeCAD is able to convert the shape to a solid, you’ll be able to save it as a STEP file. If you get a red error message in the bottom left corner of the screen, you’re out of luck.

  • Select the newly created shape.

  • From the Part menu, choose "Convert to solid."

  • If it works, you’ll see a new item in the list in the left pane that ends in "(Solid)."

Select shape to prepare to make it solid.
Making the shape solid.

STEP 6: EXPORT YOUR SOLID TO A STEP FILE

  • Select your newly created solid file in the left pane.

  • From the File menu, choose Export.

  • From the Export dialog, choose "STEP with colors (*.step *.stp)".

  • Save your file.

Exporting your Solid to a STEP file.

YOU'RE DONE!

You can now import your STEP file into other software and do things like generate toolpaths for milling on a CNC mill. If that's your plan and you haven't done it before, we like Fusion 360a lot. Its CAM features are the most user-friendly we've found. But CAM is a deep subject; if you’re not familiar with it, we recommend going through Fusion 360’s CAM tutorials and reading our Fusion 360 guide. If you're interested other common file conversions for CAM, check out How to Convert Gerber Files into G-code using FlatCAM.


Powered By Z-BlogPHP 1.5.2 Zero

175.es

. theme by Plat together