Live data from Hacker News

GenCAD

gencad.github.io

41–50 of 135 posts

Re: GenCAD

#41

Earlier quoted context omitted.

OpenSCAD has almost zero crossover with B-rep modelling ('true' CAD, what this apparently is), though.

OpenSCAD uses CSG which is generally better. Easy to convert CSG to BREP. Cant generally do the opposite

How can I convert openSCAD models to true STEP files? As in no meshes. I Literally have wanted that for years.

Re: GenCAD

#42

Maybe I missed something, if you have the image rendering in the first place, you already (likely) have the CAD. It is a nice demo, but what is the utility?

generate from sketch or replicate a part you don't have

Re: GenCAD

#43

Earlier quoted context omitted.

Same. Working with an LLM and OpenSCAD has been totally painless.

I’ve been using cadquery and build123 with Claude code and I find it incredibly painful. What is your workflow for llm integration to openscad?

Not OP but I just ask Claude Code to make me an openscad file. If I need changes I ask for them in plain english. If you are specific, it's not the quickest loop but it works. I usually ask it to parameterize the model enough so that I can quickly print small prototypes in my 3d printer. Once I am happy with the mini version I print the full-size model.

Re: GenCAD

#44
post #29
post #26

I wanted to see how well it performed on real pictures of parts or hand-drawn drawings, but when I tried setting up the docker image, immediately ran into all kinds of dependencies not being installed. The examples make me suspect it doesn't work well beyond images that were generated from CAD in the first place.

If only there was some kind of container that allowed you to bundle all your dependencies together with your software.

That thing is called Nix

Re: GenCAD

#45
post #37

Neat, but I don't really see the utility. The time consuming part of CAD drawing comes from figuring out the correct dimensions of each feature, spacing, sizing, tolerances, etc., and constraining the drawing in a way so that it's easy to tweak later on- which this doesn't do at all. Maybe you could draw a 2d sketch of what you want then generate it, but you'd still have to do the hard part.

If down the line this model could create 3D model from 2D images that would be very neat way to pay less for war gaming models

Re: GenCAD

#46

Earlier quoted context omitted.

Same. Working with an LLM and OpenSCAD has been totally painless.

I’ve been using cadquery and build123 with Claude code and I find it incredibly painful. What is your workflow for llm integration to openscad?

I just ask it for what I’m looking for (doing very simple “spare part” level at home 3d printing, nothing fancy or elaborate) and it gives me a starting point. Then I sometimes just edit the scad code by hand, and some times I ask the AI to revise, sometimes a mix (many iterations).

For very simple geometries it works great, but it very quickly becomes apparent that there’s a bit of a disconnect between “LLM views image” and “LLM emits scad that looks like that image” when it comes to anything non-trivial.

Still gives me a starting point I can mess with, which is great since I have zero CAD training or experience.

(I’m not the commenter you replied to)

Re: GenCAD

#48
post #26

I wanted to see how well it performed on real pictures of parts or hand-drawn drawings, but when I tried setting up the docker image, immediately ran into all kinds of dependencies not being installed. The examples make me suspect it doesn't work well beyond images that were generated from CAD in the first place.

> docker image, immediately ran into all kinds of dependencies not being installed Ironically the former is engineered to avoid the latter.

[dead]

Re: GenCAD

#49
post #37

Neat, but I don't really see the utility. The time consuming part of CAD drawing comes from figuring out the correct dimensions of each feature, spacing, sizing, tolerances, etc., and constraining the drawing in a way so that it's easy to tweak later on- which this doesn't do at all. Maybe you could draw a 2d sketch of what you want then generate it, but you'd still have to do the hard part.

[dead]

Re: GenCAD

#50
post #37

Neat, but I don't really see the utility. The time consuming part of CAD drawing comes from figuring out the correct dimensions of each feature, spacing, sizing, tolerances, etc., and constraining the drawing in a way so that it's easy to tweak later on- which this doesn't do at all. Maybe you could draw a 2d sketch of what you want then generate it, but you'd still have to do the hard part.

If down the line this model could create 3D model from 2D images that would be very neat way to pay less for war gaming models

You can already do this with apps like Kira. I believe it is especially good on the iPhone variants with LiDAR.
Post reply on HN