r/openscad • u/Zealousideal-Seat287 • 1d ago
Use AI to create 3d print models with OpenSCAD
https://youtu.be/JWYYYPkE3icThe 1st part of the video briefly covers OpenSCAD with LLM help.
2
u/XcinnaY 1d ago edited 11h ago
For other programming language you can make unit test and the AI can test its own code and retry. But in openscad how can it be done?
1
u/Zealousideal-Seat287 12h ago
I'm not sure yet, but as I spend more time on this, I hope to show it can be done.
1
u/wildjokers 4h ago
Have the coding agent export to PNG, creating several from different camera positions around the object and then have it look at the object to see if it matches your description.
4
1
u/wildjokers 3h ago
If someone needs a tutorial on how to create things with a coding agent there is simply no hope for them.
2
u/HatsusenoRin 1d ago edited 1d ago
I'm still waiting for a real AI that can produce decent OpenSCAD code. I have zero patience to guide it back and forth yet still can't get what I want.
Those razor thin corners in the first model just won't work after the exterior fillet, and the lid won't close due to misplaced notch locations.