logoalt Hacker News

bambaxtoday at 7:29 AM3 repliesview on HN

Just yesterday I used Claude to great effect in FreeCAD to model a church tower. The tower has a square base and an octagonal top, but connecting the two by creating a loft using the GUI in FreeCAD results in a wrong and ugly abomination.

Claude understood the problem and produced elegant Python code that worked perfectly the first time.

So I continued and described the other features of the tower to Claude, who coded them.

It's sometimes difficult to properly describe what you want in English, and Claude does a lot of thinking, and sometimes goes deep into a wrong direction of which it won't come out easily; but in the end the result is almost perfect.


Replies

willis936today at 12:07 PM

I've been struggling to get Claude or Gemini to make a project enclosure. I've got it down to a decent set of requirements and have been trying FreeCAD Python output, OpenSCAD, and Build123d. Most attempts fail to generate output (after several minutes of thinking and getting a good way there). When attempts don't fail they get aspects wrong. At this point I think my workflow needs to be breaking up the request into a series of functions for each feature then iterating on the overall model.

mijoharastoday at 11:55 AM

Can you describe how you hooked Claude up to freecad?

I've messed around with freecad a bit (I'm still a beginner) and was just saying today I'd like to play around with trying to use llm's for 3d modelling.

EDIT: I found this mcp[0] after searching, was it that? The docs mention Claude desktop, but I assume it works fine with Claude code too, right?

[0] https://github.com/neka-nat/freecad-mcp

show 1 reply
harmftoday at 7:32 AM

[dead]