logoalt Hacker News

tdatoday at 10:06 AM1 replyview on HN

I recently gave CadQuery (a Python wrapper around OpenCASCADE) and its Jupyter and VSCode integrations another try. Two years ago installation was a mess across conda, Docker, and pyenv, and the API itself felt like a dense, bespoke DSL you had to fight.

This time everything just installed, and Claude Code turned out to be pretty good. Designing with code is sometimes more work upfront, but iteration is so much better. You get proper abstractions: functions, encapsulation, loops. You can drop in a SAT solver to optimize part placement or grab data from an excel sheet. No more clicking through a GUI that crashes and loses your session. I've spent time with Fusion, SolidWorks, NX, OnShape, FreeCAD, and Rhino, and each has its merits, but none of them can benefit from the LLM revolution the way a code-first tool can.

I asked Claude Code to generate a set of Lego bricks in various sizes, apply a nice color palette, and pack them optimally into a grid. It needed some steering, but all in all I was impressed


Replies

jcgrillotoday at 12:26 PM

I believe there's a cadquery workbench for freecad, I messed around with it about a year ago but ran into similar struggles as you describe. I'll have to give it another try.

show 1 reply