Hacker News new | ask | show | jobs
by ilogik 135 days ago
For that there’s openscad
2 comments

Breaks down for complex parts with lots of repeated operations, suffers from floating point rounding errors. No constraint solver.
Usually when one needs constraints one can code it up as a recursive function.
That’s certainly not the case for most situations where a constraint solver is useful
Worked for the one time I needed it, and it seems to be a frequently used technique for folks using OpenSCAD.

Curious if something different could be achieved using Python....

I've even already asked an LLM to generate designs in openscad, and there's plenty of examples out there. Obviously there's a complexity limit, but there's also a cheat sheet that makes it pretty easy to discover how to do almost anything that's possible within.