Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

81% Positive

Analyzed from 1093 words in the discussion.

Trending Topics

#cadquery#openscad#cad#models#try#more#pretty#claude#parts#useful

Discussion (36 Comments)Read Original on HackerNews

rao-v17 minutes ago
I tried modifying the provided CadQuery skill to work with build123d with an agent (surprisingly gemini pretty good at this) and it produced very good results (possibly better than the reported CadQuery/OpenSCAD results after taking a little care to avoid leaking the benchmark pass/fail criteria). Worth a try if you are interested in this space.

I like build123d simply because it can export proper STEP (like CadQuery) but has a nicely python friendly design.

YuechenLi27 minutes ago
Oh, on this topic, I've actually built a geometric CAD kernel with GPT that I think is pretty promising and in my biased opinion, a bit more advanced than OpenSCAD or CadQuery's OCCT backend, anybody here want to clone the repo to give it a try with their Claude/GPT to see they do better on my thing?

https://github.com/yuechen-li-dev/Aetheris/

It's still kinda buggy but they are actively getting fixed, but Claude and GPTs seemed to work better with my current design than other CAD stacks. Still haven't added threads yet, so can't speak for T3, but generally speaking the generated parts are pretty good quality, and I also got fillets/chamfers working so that's a plus.

darkteflonabout 1 hour ago
I’ve been playing in this space as a moderately experienced hobbyist - mainly for 3D printing functional parts.

I’m using a single repo for all my models and Claude with build123d (plus a VS Code viz extension). Over time, I’ve built up a little folder of useful skills and I’m generally getting satisfactory results.

That said, I have had my eye on CadQuery and am looking for an excuse to try it. For those in the know: how does it compare to build123d?

dofm40 minutes ago
The fundamental difference is that CadQuery uses that jQuery-inspired fluent syntax, with a sort of metalanguage for some aspects, and Build123D is more pythonic with two different more procedural syntaxes.

The other big difference (which I have only read about) is in the way their assembly constraints work; again Build123D takes the more procedural approach (declaring "joints" etc.)

CadQuery came first; Build123D is sort of a more pythonic, robust restatement of it.

dofmabout 2 hours ago
None of the "findings" here really needed an AI experiment to do it:

- "CadQuery fails loudly and early... OpenSCAD fails silently and late"

This should be obvious, from the documentation, from the way geometry construction works. OpenSCAD has no sense of failure where one shape means another won't work; you're just drawing the equivalent of 3D pixels in space. It will always potentially-meaninglessly succeed if the syntax is OK.

- Renders caught nothing that mattered

Objects with hollows are not going to show their major problems this way.

- CadQuery can be interrogated, OpenSCAD cannot

Isn't this explicit from the documentation of both? One works by iteratively building on top of a previous result that can be stored in a variable; the other doesn't.

- OpenSCAD renders have no concept of a part edge

Again — this should be explicit from the documentation, which describes no methods for operating on edges (and largely from the fact that it is declarative).

- Speed favours OpenSCAD, and it barely matters

Yes, being faster is no good if things are wrong.

- "What decides it is verifiability rather than expressiveness, and CadQuery leads there by a wider margin than the syntax difference suggests."

Yes, because the difference is semantic. Which you can get from the documentation. Building iteratively on the basis of existing geometry is inherently more verifiable, because stuff that can't work won't work.

Honestly do people not try learning CAD before they try to build an AI tool to generate CAD models? This feels like yet another situation where people who have not done the foundational conceptual work seem to think that they can avoid it and just work around it with AI.

ricardobeatabout 1 hour ago
Your mistake is assuming “people” wrote this.
dofmabout 1 hour ago
I mean, people didn't write the text, but people did decide it was what they wanted it to say?

I don't really get it. But then I think text-to-CAD is probably the strongest example of cart-before-horse thinking in the AI world as regards technical work compared to creative work.

fwip37 minutes ago
Who knows what the author wanted. "Write an well researched article comparing two approaches to 3d modeling with AI. Make no mistakes."
hingler36about 1 hour ago
Comparing OpenSCAD to CadQuery is super apples-to-oranges in the first place. CQ works directly with NURBS curves via the Cascade engine, and OS functions by performing CSG operations. Both certainly have their place, but for engineering applications NURBS are decidedly more powerful.
syntaxingabout 1 hour ago
Has anyone have good success using AI generated CAD parts? I’ve been trying but it’s always 95% there, but with all hardware, you need 100% right. It’s often quicker and cheaper for me to do it by hand (but I was a mechanical design engineer for about a decade prior)
sixtyj17 minutes ago
A screw can't be 99.9 percent correct—it has to be 100 percent correct. Microns matter.

Claude Code: Oops, I am sorry but I was wrong.

As you say it is quicker to do it by hand. Now.

I certainly wouldn’t entrust this job to a general-purpose (universal) tool that gets it 99.9 percent right.

But a domain-specific harness? Maybe it could work.

Hardware and engineering dont tolerate hallucinations, trust-me-bro numbers, deviations.

fwip29 minutes ago
Just this morning I used OpenSCAD for the first time. I got Gemini (just the chatbot, no harness or MCP) to help me design a water-bowl holder for our senior dog (she kept knocking it over).

It was probably an easy model to get right, since the only "critical" dimension was the radius of the interior. But I was able to tweak the numbers on the support length & some other details relatively easily, and I had a working solution 2 hours of print time later.

(I had a CAD class in highschool, but haven't used it since).

I suspect this may be another case of "LLMs are mainly good at things you're bad at."

fallatabout 1 hour ago
such a garbage post for various reasons, but the ending is the kicker

after making SEVERAL observations that cadquery is pretty much better overall, they say "ehhh we're going to stay with openscad".

dofmabout 1 hour ago
Exactly. But then text-to-CAD projects almost all have this over-reliance on the declarative nature of OpenSCAD.

Cynically it always feels to me like they are written by people who not only think end users shouldn't have to learn CAD principles, they themselves shouldn't have to either.

ricardobeatabout 1 hour ago
Thanks, Claude!
ariwilsonabout 2 hours ago
not interesting as the writeup as very AI sloppish :(. i'm sad about that as I would really like to have an intuitive sense for how good the current frontier models are at coming up with interesting 3d printable parts.
____tom____about 2 hours ago
I've been just getting started on this with Astra. Astra is one-shotting good 3D models from photographs for me. I was unable to get Sol to do this, even after multiple rounds.

It's not a small change, it's from "not useful" to "pretty good"

elwebmasterabout 2 hours ago
With any tool?
dofmabout 2 hours ago
> Astra is one-shotting good 3D models from photographs for me.

Right, but, so what? There is very little utility here. Parts that need to be useful need to be designed to spec.

____tom____about 2 hours ago
Maybe not for you, but I'm building miniatures for custom board games. Works great.
Mashimoabout 2 hours ago
Once you have the model, it's relativ easy to change the demensions / constrains later on, no?
rjswabout 2 hours ago
There was a blog post from a couple of days ago that had been initially flagged, it seemed to me to have a good overview of AI for CAD, will try to find the link.
Jemmabout 1 hour ago
I've been making Rapidcam.app. The file schema is open source and json format designed for AI to be able to write directly. The format is also designed for version control. The focus is 2.5D parametric mostly for 3 or 4 axis CNC.
dofm32 minutes ago
Interesting. I think if AI is useful at all it will be useful in a partly-GUI context, so I am encouraged.

At a glance, not sure how you're approaching constraints, and what luck you've had with getting language models to be able to juggle them?

brcmthrowawayabout 2 hours ago
The OP seems to be shilling this tool nonstop. Modelrift just seems to be an LLM wrapper.. the original models can handle OpenSCAD just fine.
Advertisement
tamimioabout 2 hours ago
Should try different models and harnesses, CC and opus5 aren’t the best combo. Also, I expect soon to have models that verify the mesh and even render it not just generating the code. So we got this for mechanical engineering, cupperhead and similar for electronics, usual agents for software, what is next?