Live data from Hacker News

Show HN: Open-sourcing our text-to-CAD app

github.com

11–20 of 30 posts

Re: Show HN: Open-sourcing our text-to-CAD app

#13
post #7

Cool project. AI is surprisingly good with openscad. I wonder what a custom trained model could do?

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

Re: Show HN: Open-sourcing our text-to-CAD app

#14
post #7

Cool project. AI is surprisingly good with openscad. I wonder what a custom trained model could do?

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.

Re: Show HN: Open-sourcing our text-to-CAD app

#16
post #2

> CADAM uses ngrok to send image URLs to Anthropic FYI you can send base64 encoded PNGs, no need to mess about with ngrok.

That'll use way more tokens.

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.

Re: Show HN: Open-sourcing our text-to-CAD app

#18

do you have examples or any getting started guide to know what can I expect ?

what sorts of examples would be helpful? will add screenshots to the readme plus anything else you'd like. you can also check out the hosted version to see what to expect

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!

Re: Show HN: Open-sourcing our text-to-CAD app

#19
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!

[0] - https://www.nasa.gov/history/afj/ap13fj/15day4-mailbox.html

Post reply on HN