# STL to STEP

**URL:** https://discourse.shapr3d.com/t/stl-to-step/2979
**Category:** Modeling Questions
**Created:** [October 5, 2018, 9:13pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979 "2018-10-05T21:13:35Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Rob](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@Rob](https://discourse.shapr3d.com/u/Rob)
#### Post date: [October 5, 2018, 9:13pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/1 "2018-10-05T21:13:35Z")

</div>

Would anyone here be kind enough to change an stl file to a step file for me? I’ve read somewhere that it’s possible, but not on iOS 🙁

Thanks in advance

Rob

---

<div class="post-metadata">

### Author: ![Tamas\_Shapr3D](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tamas_shapr3d/32/41_2.png) [@Tamas\_Shapr3D](https://discourse.shapr3d.com/u/Tamas_Shapr3D)
#### Post date: [October 6, 2018, 12:56pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/2 "2018-10-06T12:56:01Z")

</div>

Hi, send it to [support@shapr3d.com](mailto:support@shapr3d.com) and we’ll convert it for you 🙂

---

<div class="post-metadata">

### Author: ![Tomasina](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Tomasina](https://discourse.shapr3d.com/u/Tomasina)
#### Post date: [October 11, 2018, 8:00pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/3 "2018-10-11T20:00:28Z")

</div>

Thats awesome that you guys can do that. I have a bunch of stl files that need converting too. When do you think we will be able to import stl files into shapr?

---

<div class="post-metadata">

### Author: ![Tamas\_Shapr3D](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tamas_shapr3d/32/41_2.png) [@Tamas\_Shapr3D](https://discourse.shapr3d.com/u/Tamas_Shapr3D)
#### Post date: [October 11, 2018, 8:09pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/4 "2018-10-11T20:09:12Z")

</div>

Hi, we don’t have an ETA for it, it’s a really complicated procedure and often gives unusable results. I used FreeCAD to convert for Rob, because he didn’t have his laptop with him that time and it was urgent. Freecad is - as its name implies - free for anyone to download. I’m sorry if I gave the wrong impression, we generally don’t have the capacity to take on requests such as this, it’s better for everyone if we use that time to implement new features / fix bugs 🙂 hope you understand

---

<div class="post-metadata">

### Author: ![CAD\_rookie](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@CAD\_rookie](https://discourse.shapr3d.com/u/CAD_rookie)
#### Post date: [October 12, 2018, 7:12am UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/5 "2018-10-12T07:12:54Z")

</div>

Hey Tamas, ive tried using Freecad myself to convert stl - step, however without any luck, following this guide to the teeth.  
“ [https://grabcad.com/tutorials/how-to-convert-stl-to-step-using-freecad](https://grabcad.com/tutorials/how-to-convert-stl-to-step-using-freecad) “

I’m assuming this is also the way you’re doing it, or do you have some other way to go about it?

Cheers.

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [October 12, 2018, 11:13am UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/6 "2018-10-12T11:13:07Z")

</div>

So, actually we don’t support STL import. At some point we will, however, currently we don’t. Every attempt to convert STL to shapr, is a hack and won’t give quality results. Here is why: [Explanation of export/import formats supported by Shapr3D](https://discourse.shapr3d.com/t/explanation-of-export-import-formats-supported-by-shapr3d/279)

---

<div class="post-metadata">

### Author: ![Yepher](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/yepher/32/8902_2.png) [@Yepher](https://discourse.shapr3d.com/u/Yepher)
#### Post date: [January 25, 2021, 1:42am UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/7 "2021-01-25T01:42:54Z")

</div>

I am starting to get a little obsessed with the idea of high quality STL to NURBs.

Are you aware of any GAN (Generative Adversarial Nets) project that are attempting to have a machine redraw an STL from scratch and can produce fairly high quality results. I am having a very hard time resisting the urge to work on that. I HOPE it is a thing already. I’ve not found anything yet but with all the work in that space someone must be working on it already.

Found this which may be a nice idea for detecting error in the training: [GitHub - TimothyStiles/meshdiff: A command line tool to visually diff 3D meshes](https://github.com/TimothyStiles/meshdiff). Here are some almost related projects [GitHub - nashory/gans-awesome-applications: Curated list of awesome GAN applications and demo](https://github.com/nashory/gans-awesome-applications#3d-object-generation)

And this is [The History of 3D Scan Based Reverse Engineering – Why All the Focus on NURBS? – Deelip.com](https://deelip.com/the-history-of-3d-scan-based-reverse-engineering-why-all-the-focus-on-nurbs)

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [January 25, 2021, 7:14am UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/8 "2021-01-25T07:14:08Z")

</div>

It’s a very well researched topic, with lots of public and proprietary algorithms. There are two big classes of algorithms:

1. Creating b-rep from a mesh that was created from a b-rep by a cad system (this works reasonably well)
2. Creating b-re from scanned data (this doesn’t work very well)

If you are interested in the topic I can share a few references.

---

<div class="post-metadata">

### Author: ![Yepher](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/yepher/32/8902_2.png) [@Yepher](https://discourse.shapr3d.com/u/Yepher)
#### Post date: [January 25, 2021, 1:30pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/9 "2021-01-25T13:30:57Z")

</div>

I don’t want to clog the channel but I would be very open to some highlighted references to learn more about the topic.

---

<div class="post-metadata">

### Author: ![Koko\_Shapr3D](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/koko_shapr3d/32/1703_2.png) [@Koko\_Shapr3D](https://discourse.shapr3d.com/u/Koko_Shapr3D)
#### Post date: [January 25, 2021, 2:40pm UTC](https://discourse.shapr3d.com/t/stl-to-step/2979/10 "2021-01-25T14:40:20Z")

</div>

Hi!

For tessellated mesh conversion this is a great article: [Polygonal Mesh to B-Rep Solid Conversion: Algorithm Details and C++ Code Samples / Habr](https://habr.com/en/post/465237/) The same author has a more detailed white paper, too.

For scanned objects I’m not a big fan of NURBS based reconstruction since the result is not more editable or precise, just smooth. There are commercial tools that capable of precise b-rep reconstruction, like Geomagic Studio, but still not automatic. This paper from Tamas Varady and his colleagues explains the basics of it, and essentially every reverse engineering system uses this method. [Algorithms for reverse engineering boundary representation models - ScienceDirect](https://www.sciencedirect.com/science/article/abs/pii/S0010448501001002)
