I asked an AI to design a 3D part — and it worked
I’ve spent years wrestling with Autodesk Fusion 360, SketchUp, and a dozen other CAD tools. They’re powerful, sure. But they’re also tedious. Every fillet, every extrusion, every dimension requires clicking, dragging, and second-guessing. So when Anthropic’s Claude started generating code for 3D models, I had to try it.
Could a large language model really replace the precision of parametric modeling? I put it to the test: design a simple bracket, a gear housing, and a custom phone stand — all without opening a single CAD window.
The short answer: yes, but not in the way you’d expect.
How I got Claude to generate 3D models
Claude doesn’t output STL or STEP files directly. Instead, it writes OpenSCAD code — a script-based CAD language that compiles into a 3D model. You give Claude a description, it spits out the .scad script, and you render it in OpenSCAD (free, open-source).
My workflow was simple:
- Describe the part in plain English: “A wall-mounted bracket with two screw holes, 100mm wide, 50mm tall, with a 45-degree chamfer on the top edge.”
- Claude returns OpenSCAD code.
- Paste the code into OpenSCAD, hit render, and export as STL.
That’s it. No learning curve. No palette of tools. Just text.
The bracket test: first try, almost perfect
My first request was straightforward: a simple L-bracket with rounded corners and two countersunk holes. Claude generated the code in about 15 seconds. I pasted it into OpenSCAD, and the preview looked almost right — except the holes were through-holes, not countersunk.
I typed back: “Make the holes countersunk for M4 screws.” Claude revised the code. This time, the countersink was there but a little shallow. Third iteration? Nailed it.
The whole process took maybe 10 minutes. In Fusion 360, I’d have spent at least 20 just sketching the profile. Was it production-grade? Close. For a 3D-printed prototype, it was more than good enough.
Where Claude struggled: complex geometry and assemblies
Next, I asked for a gear housing with bearing pockets and mounting flanges. Claude got the basic shape right but made a few critical errors: the bearing pocket was too deep, and the flange holes didn’t align properly.
Fixing it required back-and-forth. “Move the flange holes 5mm outward.” “Reduce pocket depth to 8mm.” Each revision took a few seconds, but the cumulative time added up. After six iterations, I had a working model — but I’d spent nearly 30 minutes debugging dimensions.
For complex assemblies with tight tolerances, Claude still struggles. It doesn’t “see” the model the way a human does. It guesses dimensions based on context, and sometimes those guesses are off by a millimeter or two. That matters when parts need to fit together.
What Claude gets right: iteration speed and accessibility
Here’s where Claude shines: you can iterate faster than in any GUI-based CAD tool. Typing “make the wall thickness 3mm instead of 2mm” is instant. In CAD, you’d edit a sketch, update an extrusion, maybe fix a broken constraint.
For beginners, this is huge. AI 3D modeling tools lower the barrier to entry. You don’t need to understand lofts, sweeps, or boolean operations. You just describe what you want.
It’s also great for parametric families. Need a bracket in 10 different sizes? Ask Claude to generate them all at once, varying one parameter. That would take forever manually.
Should you replace your CAD software with Claude?
Not entirely — not yet. For precise engineering work, especially with moving parts or tight tolerances, traditional CAD is still the safer bet. But for prototyping, hobby projects, and one-off prints, Claude plus OpenSCAD is genuinely useful.
I’ve started using it as a first draft tool. I describe the part, get the code, tweak it in OpenSCAD, and only jump into Fusion 360 if I need advanced features like simulation or CAM toolpaths. It saves me about 40% of my design time on simple parts.
The tech isn’t perfect. But it’s improving fast. And for makers who hate CAD’s learning curve, Claude offers a different path: just say what you need.
How to try this yourself
You’ll need two things: a Claude account (free tier works) and OpenSCAD (free).
- Open Claude and describe your part in detail. Include dimensions, material thickness, hole sizes, and any specific features.
- Ask Claude to “write OpenSCAD code for this part.”
- Copy the code, paste it into OpenSCAD, and hit Preview.
- If it looks wrong, tell Claude what to fix. Be specific: “Move the holes 10mm from the edge” works better than “the holes are in the wrong place.”
- Once satisfied, render and export as STL for 3D printing.
It won’t replace a mechanical engineer’s workflow. But for quick prototypes, it’s surprisingly effective. And honestly? It’s more fun than clicking through menus.