Mesh2Cad converts STL mesh files into editable CAD files automatically. Built by Emir Mrkaljevic in Python, it installs with a single command: pip install mesh2cad. The full source is on GitHub for anyone who wants to audit it.
Output formats include STEP, FreeCAD macro, CadQuery, and OpenSCAD. The tool validates its own output, only returning a result if the reconstruction approximates the original mesh within a set tolerance. That self-checking behavior is what makes this worth reading in detail, not just the readme summary.
The constraint is real: Mesh2Cad only handles geometry built from primitives, boxes, cylinders, holes, fillets, chamfers. Organic shapes and freeform curves are out of scope. For anyone who regularly inherits poorly documented mechanical parts as STLs and needs a clean CAD baseline, this closes a genuine workflow gap.
[READ ORIGINAL →]