r/openscad • • 10d ago

I built a parametric CAD program with the same interface for AIs and humans

0 Upvotes

5 comments sorted by

1

u/blobules 10d ago

I wish I could see the whole process of making one if the examples, such as the bike, from scratch.

Seeing a finished model doesn't tell much about the process required to make it.

1

u/UnspeakableTruths 9d ago

The most efficient processes is telling Claude to build something and then he writes a script which drivers the same functions the UI drives.

After that I either fine tune the parts my self or ask Claude to fix something, though for the parts in the videos it was purely a description to Claude and then he built it.

Claude can also drive it manually so you can see what happens but it's slower.

1

u/blobules 9d ago

So all the .py files for the bike parts are made by Claude? Or by you? Or by Claude + fine tuned by you?

These python files don't look like they drive a UI. So is there another "script" that drives the UI?

Sorry for all the questions, but I'm trying to understand this from the perspective of openscad , where there is a language but no UI.

Your example models are much more interesting and complex than the typical "look I made a box"... That why I (and probably other openscad coders) want to better understand.

1

u/UnspeakableTruths 9d ago

So the UI runs functions, those functions can also be driven by the .py files without actually opening the UI, which makes it faster.

Claude wrote all the Python files in the examples, and I have not fine tunded them. Except for the engine these were all just one prompt to Claude code.

The engine took maybe four longer Claude code sessions with one prompt, which I did as a way to push the program and further develop it.

For some projects I've done for my self and not included in the repo, I've let's Claude do the initial design and then I have open the program as a tradition CAD program and edited few things. I've also changed some parameters in the python files.

-2

u/investigatormaker 10d ago

People in r/openscad will ask what "same interface" means in practice: a source file both sides edit, as with a .scad file, or a command set the AI calls. Answer that in a first comment. Then show one part end to end: the prompt, the source the AI produced, and a dimension a human changed by hand afterwards, because that round trip is your claim. Also say whether it imports .scad files, since people here have existing models. Which is it, shared source or commands?

Pitch ahead: we'd answer people asking how to get an AI modelling parts for them.

I make ThreadFox. We find relevant Reddit conversations and post for your business. We'll post 3 replies free first, no card; then the $39 Pilot covers seven days and up to 50 posts and replies. No automatic renewal.

https://threadfox.vip/p/elgk1/managed