mesh-to-cad

MIT

Free, open-source pipeline that converts 3D scan meshes and downloaded STLs into parametric CAD — and proves the rebuild with a measured deviation check instead of eyeballing it.

Muninn the raven measuring a glowing 3D mesh with calipers

What it is

A scan — or a downloaded STL — is "dumb" geometry: triangles with no design intent. Real CAD work means rebuilding the part over the mesh: extracting dimensions, identifying features like holes and cylinders, and producing a parametric model you can actually modify.

This pipeline doesn't ask "does the rebuilt curve look good?" It asks "how much does it deviate from the source mesh?" Aesthetic questions decompose into measurable quantities: fidelity, smoothness, symmetry, continuity, proportion.

How it works

Status

Released. The first GruntAndMuse project, published 2026-10-02. Phase 1 (intake through verification tooling) is built and syntax-tested; the deviation script needs one live CloudCompare run to confirm its output parsing. Vulnerability reporting policy published 2026-10-09.

Requires Python 3.10+. The deviation check needs CloudCompare on your PATH.

Built with

Standing on the shoulders of Python and CloudCompare — CloudCompare does the deviation measuring. Free tools doing the heavy lifting.

Get it

github.com/GruntAndMuse/mesh-to-cad