Launch HN: Adam (YC W25) – Open-Source AI CAD
Posted by zachdive 4 hours ago
Hey HN! I'm Zach from Adam (https://adam.new/). We're building AI agents for mechanical CAD software. We’ve built the company on two fundamental beliefs:
- AI will be the primary medium for creating mechanical designs just like it is in software today.
- The best paradigm for CAD generation is to generate CAD as code (text -> code -> CAD).
We’re building CADAM, an open source Text to CAD platform. It's a React app (TanStack Start) with a Supabase backend for auth, database, and file storage. Think of it like AI TinkerCAD.
Demo: https://www.youtube.com/watch?v=iESOr7EGWqk Try it: https://adam.new/cadam/
What it does:
- Generates parametric 3D models from natural language, with support for both text prompts and image references.
- Outputs OpenSCAD code with automatically extracted parameters that surface as interactive sliders for instant dimension tweaking
- Exports as .STL or .SCAD (plus OBJ, GLB/GLTF, FBX, and DXF)
Under the hood:
- One agentic endpoint with two modes that swap system prompts and tools: a parametric mode that writes/edits OpenSCAD via a build_parametric_model tool, and a mesh mode that generates 3D textured meshes.
- Simple parameter tweaks bypass the model entirely; adjusting a slider does a deterministic regex update on the SCAD source, requiring no LLM call.
- Model-agnostic via the Vercel AI SDK: Anthropic (Claude), Google (Gemini), and OpenAI/others through OpenRouter, with adaptive thinking auto-enabled on newer models. Surprisingly, in our evals Gemini 3.1 Pro is the top model.
- Runs fully in-browser by compiling OpenSCAD to WebAssembly (in a Web Worker, so the UI never blocks) and rendering with Three.js via React Three Fiber
- Supports BOSL, BOSL2, and MCAD libraries, plus custom font support (Geist) for text in models
Future improvements:
- Support both build123d and CadQuery. This will allow us to move beyond CSG primitives to constraint-driven modeling and provide direct comparisons to other code-as-CAD primitives.
- Better spatial context: UI for face/edge selection and viewport image integration to give LLMs spatial understanding
You can clone the repo and run it locally! Contributions are very welcome.
Comments
Comment by Doerge 51 seconds ago
Some comments here mention tolerances/functional requirements. Do you think the LLM/screenshot loop will scale to that too? Maybe rendering subassemblies individually until they make sense? Still feels like a full functioning V8 engine block needs _a lot_ of ghost-view screenshots to verify it works. What's your thoughts on a "simulation" approach, since it's not aligned with your bitter-lesson-blog-post?
Are you able to reveal more about what kind of traction you have? 10s/100s/1000s of companies?
Very cool open source project, and thanks for sharing so much!
Comment by lukasm 57 minutes ago
"Done — I've created a heavy-duty, fully parametric engine mount bracket that fits a typical four-bolt block pattern and a single-stud chassis isolator with an alignment pin, much like what the 1KZ-TE requires."
I dont think it's even close :(
PS. Your entry message should be "Madam, I'm Adam" ;)
Comment by rockostrich 37 minutes ago
As far as I know, the way that these reproduction hardware companies operate is that they have physical cars that they can design around.
I have a 1993 Subaru WRX and I needed to replace the coolant header tank because mine had a bunch of leaks. I ended buying one from a specialty fab shop in the UK and I had to make a few measurements for them because there was varying bolt spacing for GC8 Impreza models.
Comment by fkilaiwi 26 minutes ago
Comment by zachdive 17 minutes ago
Comment by criddell 18 minutes ago
Comment by zachdive 9 minutes ago
Comment by mips_avatar 21 minutes ago
Comment by zachdive 8 minutes ago
Comment by dgellow 1 hour ago
Comment by murkt 2 hours ago
Comment by conradkay 32 minutes ago
no tricks, I'd definitely be curious to know how much screenshots help
Comment by zachdive 1 hour ago
This is improving greatly in recent model releases
Comment by murkt 1 hour ago
So basically you have a good enough code that’s “intuitive” for a model, screenshots, and that’s it?
Comment by 8note 1 hour ago
Comment by zachdive 1 hour ago
Fingers crossed it comes back!
Comment by dvh 3 hours ago
- wrong pitch
- wrong pins position
- missing pins
Comment by zachdive 36 minutes ago
let me know!
Comment by paulglx 3 hours ago
Comment by zachdive 3 hours ago
Comment by 8note 1 hour ago
ive found a process by which the llm gives me a picture, then i draw on it and hand it back works fairly well
Comment by zachdive 1 hour ago
Comment by jurgenaut23 1 hour ago
I suspect that your VLM might do a bad job at transcribing sketches into CADs, and you wrongly interpreted the adoption data as a preference for text-based interaction
Comment by zachdive 1 hour ago
hobbyists and makers use CADAM
Comment by jrflo 3 hours ago
Comment by zachdive 3 hours ago
Comment by tapia 2 hours ago
Comment by zachdive 2 hours ago
Comment by tapia 1 hour ago
Comment by zachdive 1 hour ago
Comment by _pdp_ 3 hours ago
An existing LLM could drive the generation while the MCP can render the final result?
Comment by zachdive 3 hours ago
Comment by zardo 3 hours ago
Comment by q3k 3 hours ago
Yeah, no, that's a lie. This isn't a CAD model. It's a fantasy 3d model that looks like it's straight out of Gearhead Garage (1999).
Any time I see these 'AI CAD' solutions it's always toys, toys, toys. Show me something functional that you've actually manufactured (shitty 3D prints don't count). Or at least show me something that can actually be assembled and isn't just a bunch of boxes with no fasteners to hold them together.
Comment by dgellow 1 hour ago
Why not? The 3D print market is pretty large and tools to generate some designs that can then be tweaked are pretty useful in that context. I don't think that type of AI CAD tool would replace professional CAD work, that's something that requires way too much context and human judgement. But being able to prototype something to be 3D printed via an AI thing is one of the few places where I see AI being genuinely useful.
I personally enjoy designing my own things with Plasticity, so wouldn't be the perfect target audience
Comment by zachdive 41 minutes ago
Comment by zachdive 3 hours ago
Fable 5 in our Fusion Extension.
Comment by sem4 2 hours ago
For anyone doing CAD at a professional level (ie not 3d printed trinkets), the important parts are the physical parameters and tolerances designed into the model. For example I suspect your crankshaft would rip itself apart at engine speeds, not to mention all the plumbing, oil and coolant delivery, and auxiliary pumps and belts are missing
Comment by q3k 2 hours ago
Do you have a single person on your team that's actually a mechanical engineer with practical industry experience?
Comment by zachdive 2 hours ago
For the Fusion demo we intentionally didn't include the block or any accessories in the visualization as we wanted demonstrate Adam's ability to reason through the mechanical workings of an engine, like how the cams push the valves or the way the the crankshaft drives the connecting rods.
Comment by ark296 2 hours ago
Comment by cui 2 hours ago