r/3DPrintingTools
•
u/Farting-Tuna
•
14h ago
Show & Tell STL to STEP converter that actually works! (This is an update to my original post)
A while ago I posted about *Manifold Mesh Mix*, a free app I made that turns STL files into STEP files you can actually edit in CAD. Since then a lot has happened, so here's an update.
I teamed up with u/deltadoc. He had built his own converter, stl2curves, and our two projects turned out to be good at different things. Mine had the desktop app, mesh checking and repair, smooth surfaces for organic shapes, and a check of every result against the mesh. His was very good at finding holes, fillets and screw threads at their real sizes. So we merged them into one program, Mesh Mix-S2C, and today version 3.0 was released.
What it does
You drop in an STL, 3MF, OBJ or PLY file and get a STEP solid made of real CAD faces. A hole comes back as one cylinder, a flat wall as one flat face, a fillet as a fillet, a thread as a thread. You can select, measure, push/pull and fillet them in Fusion, FreeCAD, SolidWorks or anything else. It runs on Windows, macOS and Linux, on your own computer, with no upload and no account.
What's new in 3.0
The big change: the engine now tries to rebuild the surfaces the designer actually drew, at the sizes and angles they drew them, instead of any surface that happens to fit the triangles.
How we measured it:
We took 20 parts at random from the ABC dataset, a public collection of real CAD models whose original STEP files are available. We turned them into meshes, converted them back with the old and the new version, and compared both with the designer's original file. We also ran an automated edit test in Fusion on each File to make sure they were actually fully editable.
Other Improvements:
- 🔩 Real screw threads.
A thread, worm, spring or helical gear is found by the screw motion its surface follows, and each flank becomes one face at the right lead. On one screw: 17 faces instead of 467 slivers.
- 📐 Exact sizes and angles.
A chamfer drawn at 45° comes back at 45°, not 44.996°. Radii take the designer's values when the mesh supports them, including parts drawn in inches or scaled in a slicer.
- 🧱 Whole extrusions are read as one profile pulled along a line.
- 🎨 Freeform only where it's needed.
One sculpted area no longer turns the whole part into smooth patches; the rest stays proper CAD.
- 🧾 It tells you what went wrong.
If a face can't be built, the part is still saved with all the good faces, and the app tells you which face failed and why. If a result strays more than 0.25 mm from the mesh anywhere, it says so instead of calling it good.
- 🖥️ Precise is retired, because Auto now does what it was for. A 3MF with many parts has scrollable part tabs, and each part can be exported as soon as it's done, on Windows, Mac and Linux.
What it still does badly.
- 🐢 It's slower.
About 1.6× slower than 2.0.1 on our real-world parts, and 2–5× on the biggest. We know why, and it's the top item for 3.0.1.
- 🫠 Organic and sculpted shapescome out as smooth surfaces, not neat features.That's expected, but forcing CAD mode on a sculpt can take a very long time, so use Auto or Smooth for those.
- Some clean CAD parts with no flat faces still get treated as organic (fix planned).
- A coil spring from a coarse mesh can come out slowly as a big file, and a tiny whole ring about 1 mm across can turn into small patches (both traced, fixes planned).
- 📦 STEP files are bigger than a CAD program would write for the same part.
- Overlapping pieces inside one STL or 3MF are each converted as their own solid, so they overlap.
- 3MF parts can't be skipped in a conversion yet.
This isn't just some weekend project!
- I started the app in early October. Duvdivan and I merged our projects in late October, put out 2.0 on November 1st, and have worked on it almost every day since then.
How we test:
- over 1,500 real CAD parts from the ABC dataset;
- nearly 200 shapes we built with known answers, where every miss is a bug we have to explain;
- a pool of 98 real-world printed parts;
- more than 500 automated tests;
- automated edit tests in Fusion;
- a build and self-test on Windows, Mac and Linux for every change.
- Nothing gets in on a guess. Every change is measured against the previous version on the whole test set before it's adopted. We've thrown out plenty of ideas that looked good but measured worse.
- We publish progress reports on GitHub on most days, failures included.
FREE FOREVER!!!
Mesh Mix-S2C is free for everyone, and always will be. No paid tier, no account, no ads, no uploading your files anywhere. It's open source (AGPL-3.0), so anyone can read the code.
If you want to support it ☕
If it saves you a remodel and you'd like to support the work, you can buy a coffee to help fund the project: https://buymeacoffee.com/tunathefirst
If you'd like your name in the app's credits:
Add the name you want shown in the message with your donation, and we'll put it there. Completely optional, of course: using it, sharing it and sending us files that don't convert well help just as much.
Download.
https://github.com/STL2CURVES-MMM/Mesh-Mix-S2C/releases** (pick the file for your system)
Thanks for reading, and thanks to everyone who tested the earlier versions!
