I continue to be skeptical of text to CAD, because to make it work, you're going to be doing a whole lot of this [0]. This is an extremely high bar to clear to be better than even the most basic of CAD skills.
I'd wager that for most of the CAD I work on, I would not be able to accurately describe what I want in natural language. If you've been able to, please share examples!
It would be killer to be able to integrate this with 3d scans. Eg "make me a mount that hugs this shape" where you can draw both render the scan and mark it with a 2d paint tool
That's pretty freaking cool!!! Got exactly what I wanted with the following prompt:
Create a 200x100mm rectangle with depth of 12.7mm, 6mm filleted corners, a 25mm center hole, 6.35mm holes in each corner offset 12.7mm each edge, with 1mm chamfer on top of center hole and 0.5mm chamfers on corner holes.
Now, just give me a picture to parametric model prompt generator...and then we can get into assemblies! ;)
Keep in mind that OpenSCAD doesn't support exporting .step files. Ticket to add support has been open for a long time but it's a hard to implement.
https://github.com/CadQuery/cadquery is much more capable in that regards. It's based on more capable Open CASCADE Technology and Freecad also uses it.
As for use cases, the only viable use case I see is to ask it to make a model based on a picture. Or ask it to fix the topological error. In other cases it's much faster to model than to describe it to agent
No, the tokens are evaluated on the image itself, once downloaded and resized. The same image sent as an encoded text payload and as url will cost the same. Now, if you are sending the content the model as a text payload, then that would cost text tokens, but that doesn't work very well for non-trivial images.
I've had mixed results with Chat n OpenSCAD. For my first effort it used BOSL (good skills) but hallucinated functions (bad skills)! It also failed to allow for closing the geometry properly ie adding a tiny epsilon to get unions and diffs etc to join up.
The model was really simple - a threaded "back nut" - basically a hollow thin walled cylinder with a base with a hole in it. The cylinder is threaded on the inside. Its a plumbing part for a long out of production system that still works fine but its leaking and I broke the current nut trying to tighten it. Once I dissembled the joint it turns out it does not need to be tight just stable. It only serves to hold a tube with two O rings in place inside the water inlet to the device and a standard plumbing nut and olive job on the other end of the short tube. A perfect job for 3D printing. It took me six iterations to get the thread right. At one point I miss-read my calipers sigh
I'd love to see what RAG will do for this with a well focused model. There is a lot of decent documentation for OpenSCAD and a lot of literature for this form of modelling.
yes we did a bunch of experiments on this! we could get OS models up to but not beyond any of the best closed foundation models. Gemini 2.5/Claude 4 most reliable as an api option
I like it!
I had the idea of printing a gripper to carry heavy plastic bags. When I described the idea without specifying the size, it automatically created a model with parameters for me to adjust. Most of the parameters matched my manual solution. The slot for the bag handles was a bit more difficult, but it worked out after a third attempt with more specific instructions. It’s also great that new parameters are automatically added to the system.
In total, it took around 15 minutes, compared to hours with an easy-to-use system such as 3D Builder (including the time it took to learn how to use it).
However, I don’t know if it can work for objects that require more complex and precise constructions. But hey, why not give it a try!
It would be helpful to have some examples that show the prompts needed to develop simple shapes, then how to iterate to add improvements. A video of you using it to create something specific would be great.
I first tried "a work table with a roof" which gave me a reasonable model but with a flat roof, then I tried "a work table with a pitched roof" which gave me a very unlikely and unworkable model with the halves of the roof disconnected and not contacting the vertical supports. Then I tried the "Adam Pro" option and it came out looking more like an Adirondack chair than a table, but not one you could sit in! =)
I would like to know what to write instead to get a more useful model. Very cool project though!
I'd wager that for most of the CAD I work on, I would not be able to accurately describe what I want in natural language. If you've been able to, please share examples!
[0] - https://www.nasa.gov/history/afj/ap13fj/15day4-mailbox.html
https://github.com/CadQuery/cadquery is much more capable in that regards. It's based on more capable Open CASCADE Technology and Freecad also uses it.
As for use cases, the only viable use case I see is to ask it to make a model based on a picture. Or ask it to fix the topological error. In other cases it's much faster to model than to describe it to agent
FYI you can send base64 encoded PNGs, no need to mess about with ngrok.
I feel like a standalone script would be much more helpful
The model was really simple - a threaded "back nut" - basically a hollow thin walled cylinder with a base with a hole in it. The cylinder is threaded on the inside. Its a plumbing part for a long out of production system that still works fine but its leaking and I broke the current nut trying to tighten it. Once I dissembled the joint it turns out it does not need to be tight just stable. It only serves to hold a tube with two O rings in place inside the water inlet to the device and a standard plumbing nut and olive job on the other end of the short tube. A perfect job for 3D printing. It took me six iterations to get the thread right. At one point I miss-read my calipers sigh
I'd love to see what RAG will do for this with a well focused model. There is a lot of decent documentation for OpenSCAD and a lot of literature for this form of modelling.
However, I don’t know if it can work for objects that require more complex and precise constructions. But hey, why not give it a try!
you can also check out the hosted version to see what to expect
I first tried "a work table with a roof" which gave me a reasonable model but with a flat roof, then I tried "a work table with a pitched roof" which gave me a very unlikely and unworkable model with the halves of the roof disconnected and not contacting the vertical supports. Then I tried the "Adam Pro" option and it came out looking more like an Adirondack chair than a table, but not one you could sit in! =)
I would like to know what to write instead to get a more useful model. Very cool project though!