The goal here was to avoid a lot of complexity from the bigger CAD tools like FreeCAD.
There seems to be a few libraries out there for converting a mesh to an approximate SDF though, so I assume the Rust lib for that could be compiled to WASM, but that might be an issue if simplicity is the priority.
But the problem is, you couldn't do anything with the model. You couldn't change the edge chamfering etc. It'd just be an insert.
FeepingCreature•8mo ago
The mesher is very simple; just "subdivide an octree using interval arithmetic, put a mesh around it, then fit it to the surface using the SDF gradient." The intended usecase is for 3D printing, where slight errors don't matter and you can just throw triangles at the problem.
Performance is okay, but not great. I blame JS. ;)
This project is AI coded, but it's not vibe-coded: I designed the core abstractions deliberately, so all design problems are my own. The website, however, is near entirely Sonnet's work.
Source is on Github: https://github.com/fnCAD/fnCAD