Mesh2Cad: a free Python tool that turns a bracket-style STL back into editable STEP, OpenSCAD or FreeCAD
If you have ever downloaded a part off Printables, needed one hole moved, and ended up re-modeling the whole thing from scratch, this is for you. Mesh2Cad is an open-source Python tool, installed with pip, that reads a mesh and rebuilds it as proper parametric CAD: STEP, OpenSCAD, CadQuery, or a FreeCAD macro that regenerates the solid.
What makes it usable rather than a party trick is that it checks its own work. It segments the triangles into planes, cylinders and cones, rebuilds a solid from those, and only hands you a result if it matches the original mesh within tolerance, so a bracket comes out as a few dozen clean faces instead of thousands of triangles. The limit is just as clear: boxes, brackets with holes, fillets and chamfers work, organic shapes and sculpted curves do not. Try it on a mount or a spacer first, not a figurine.
0 comments
Log in or sign up to join the discussion.