Live data from Hacker News

Claude Tips for 3D Work

davesnider.com

31–40 of 53 posts

Re: Claude Tips for 3D Work

#32

Got some excellent results vibe coding 3.js games with Claude. Maybe for printable things it is harder as precision is important though.

Try asking it for some curves that go in this or that direction. CW, CCW, curves to the left, to the right, etc.

Produces a bunch of crap and it’s really hard to convince it that something needs to be changed. “Yep, I looked at the screenshot, it curves, so it’s okay.”

Re: Claude Tips for 3D Work

#34
post #10

Great article. I've been trying to achieve something similar with a Revit. It's an old CAD application for Windows which means there's a few additional hurdles in exposing a cli interface that allows the LLM to drive it. However, once that is done, the loop of "write code, take a screenshot, repeat" works pretty well.

I’d be interested if you can describe a bit more of this process, and what kind of modelling in revit that works well with this.

Re: Claude Tips for 3D Work

#35
post #30

Earlier quoted context omitted.

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

Hey, I'm the OP. I originally started with FreeCAD. There's not much to "hook up" to Claude. It can natively write for FreeCAD. You don't need to use the FreeCAD editor and can point to an external, local file with an import. At that point there's not much more than pointing your LLM to that file. You'll need to tell the FreeCAD desktop app to update on changes. Eventually I moved to JSCAD for the application mention…

Sorry what format of local file can it work with?

I can see it working with scad, and then having that generate some things. I'd imagine it'd struggle with an STL file. I don't know much about the format of FCStd files but I'd find that surprising if it worked fine. Obviously three.js code and everything it could be alright with.

It might be my lack of knowledge, because I've mostly just used Freecad to create and edit things and then just exported to STL (which doesn't feel like the thing Claude would be good at modifying)

Re: Claude Tips for 3D Work

#37
I've been using Codex (GPT-5.4 extra high) to code custom FeatureScript in Onshape (3D mechanical CAD software). It's challenging to get it to do TDD that involves any visual reasoning. At the moment I've got tooling through Google Chrome Devtools MCP and Playwright to extract things and control the browser and I use some custom features which help with formatting and controlling debugging outputs (text and visual overlays). Mostly the text debugging outputs are very helpful to Codex. It will often add debugging payloads when we're focused on a particular issue. I do occasionally take screenshots and paste them into Codex and explain the issue that I'm seeing. It seems to understand a certain amount, especially if the issue can be seen in orthogonal views.

Re: Claude Tips for 3D Work

#38
post #19

>I still occasionally hand write code in NeoVim on the bits I care the most about (CSS, design and early architecture like API patterns) I find it amazing how people's opinions differ here. This is the first stuff I'd trust to Claude and co. because it is very much in-distribution for training data. Now if I had sensitive backend code or a framework/language/library that is pretty new or updated frequently, I'd be mu…

I think OP nailed it with 'the bits I care the most about'—if you like those things a certain way, then you'll want to make sure they are that way, not accept whatever Claude does. If you don't care, you just want something done, then you'll have Claude do it while you work on what you do care more about.

That's true. Not everyone cares about shipping working software.
Post reply on HN