Re:How to CAD Almost Anything
by eadz on Friday November 20, 2026 @01:11AM
(#50570788)
This is quite cool, I think you had some similar ideas to mine. With LLMs your parts can at least be named nicely! What is nontraditional about your constraint system?
[ Parent
| on HN ]
There is no traditional 2D constraint solver for parallel/perpendicular/equal, etc. Instead, constraints are requirements generalized in code as Concepts and construction geometries (planes, axis, profiles, etc.) are unified as Concept Structs and erased at compile time like TypeScript, so over/under-constraint for sketches doesn't exist because the constraints are explicit and pre-resolved.
It's easier if I show you some sample code.
https://github.com/yuechen-li-dev/Aetheris/blob/master/fixtu...