RU version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
73% Positive
Analyzed from 1436 words in the discussion.
Trending Topics
#cad#model#text#llm#thing#more#llms#design#https#prompt

Discussion (19 Comments)Read Original on HackerNews
This wasn't obvious a year ago, but today CAD literally reduces to Simon Wilson's pelican test, since CAD is largely a matter of functional CSG, and CSG is really not that different from SVG. It's just one more dimension, which it turns out is not a problem.
LLMs consistently one-shot CSG based video game levels with interesting physics puzzles (citing myself). Given this I'm willing to conclude that the frontier models are good at automated CAD if given the correct harness. But I guess a lot of people don't know this yet.
[1] https://github.com/elalish/manifold
Show me the blog posts where people talk about the results they got "vibe coding" and those arXiv papers look great in comparison!
There is the insidious thing with LLMs is that they can get the general shape of something right but that thing will not be useful if the last 1% is wrong. It might be that the operator sees the problem and fixes it, but it may also be that the LLM hypnotizes the operator into not seeing the errors and gaps.
I know there are many sorts of problems where I've had good experiences with LLMs but I know other people have had bad experiences and some of it might be my skill but some of it is just plain luck.
https://figure.codes
Neck: https://pastebin.com/Sg3LmmUq Body: https://pastebin.com/FE9nikYB
edit: screenshot, too https://i.imgur.com/FZGyyVO.png
Injecting a natural language layer into the workflow is just not optimal. CAD itself is not a difficult tool to learn and use effectively. There are essentially no layers of abstraction that an LLM can assist in cutting through, and no obfuscated rules or languages to learn.
I think of it this way. If there was someone sitting at my computer, and I had to do all of my CAD design by explaining what I wanted them to do verbally, I'd rip out my hair.
LLMs are doing for programmers what virtual CAD did to the drafter 35+ years ago, optimizing the effort expanded to create the thing already in your brain
For example let's say I need a parametric model of an involute gear with a 14.5 degree pitch angle and a 0.5 inch hub with an 8-32 set screw where the OD, number of teeth, face length, and shaft diameter are all variable. It takes seconds to write the prompt and then adjust the variables to what I want whereas it would take tens of minutes to actually model even for a highly skilled drafstman.
The time savings get more extreme the more the modelling work is looking up information online. For example if I wanted a model of a lightbulb electrical connector, 95% of the work is just going to be googling. Technically you could have an LLM just tell you all the dimensions you need and then model it yourself, but that's definitely still going to be slower and you have to put in the effort to figure out what each dimension refers to. It makes sense just to cut out the middleman.
Add in the fact that CAD is in fact a difficult tool to use and learn effectively. There is a subset of the population that is very good at picturing and orientating objects in 3D space in their minds, and engineering is mostly limited to these folks. For those whose minds work differently, CAD is extremely tricky to learn. An alternate method of interacting with models that does most of the heavy lifting such that a person only needs to tweak a near complete model could be extremely helpful to many people who would like the benefits of CAD design but have struggled to learn the software. It's no different than AI generated art opening digital art to those who are not good with digital artistry software.
Isn't this how a lot of machine shops operate, or how things operate internally in larger manufacturing factories? Customer/person-from-different-team comes in and explains what they want to do. Maybe they have some sketches or pictures of similar parts. Then there is back and forth with the CAD guy to build the thing.
One critical difference is that the CAD guy is usually smart and you have to explain to them things at a more high level, along with some written down hard numbers that need to be obeyed.
I, on the other hand, have used LLM + OpenSCAD to design stuff - while I pulled my hair out everytime I had to sit and write OpenSCAD primitives or use a UI CAD like FreeCAD or Fusion360 and their horrible unintuitive interfaces.
you could sculpt a model à la ILM for star wars or the architecture models, but the only way to have a copy of the object was to make one.
the virtual cad also brought in the ability to do analysis with FEA and get approximately smooth undestandings of the stress and strain on the piece, rather than manually calculating the critical points and stress raisers for doing analysis
Not in an informal way. But from a technical perspective, of course it does: serialize the feature steps to text or to code, job done.
Modifying the prompt and then trying it again did not lead to that self-verification loop and the output was unusable garbage.