I (Sonnet 3.7 really) made a text-based CAD editor. It's like OpenSCAD but the backing abstraction is Signed Distance Fields, so that it can represent, for instance, smooth CSG.
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.
FeepingCreature•4h 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