Use case P55 · Human
Gift maker uses Claude and OpenSCAD to design a bell-shaped Christmas ornament for hiding a charm
- Electronics and 3D printing
- Advanced
- Claude 3.6 Sonnet, OpenSCAD
- Claimed · blog post
The short version
What they did
Sean McLoughlin wanted a bell-shaped ornament that could hide a charm as a gift for his wife. He asked Claude for OpenSCAD code, copied it into the modeling program and repeatedly rendered the result to check it. Claude handled the basic shape but failed at a twist-lock mechanism, so he manually added an opening and other corrections. The account establishes a finished model, not a confirmed physical print or a successful locking mechanism; the model name above is preserved as the author wrote it.
Result (as claimed)
“In the end, I decided to manually update the SCAD file to add a hole in the top and make a few other minor modifications. This is the end result:”
“Clearly Claude can do basic shapes quite well. But it starts to fall apart when you want to do something more elaborate, like the locking mechanism I attempted.”
Prompt
Their prompt:
Create a Christmas jingle bell model in OpenSCAD.
A fuller version to copy:
I’m making a 3D-printed gift: a bell-shaped Christmas ornament that’s hollow so it can hide a small charm. I’m new to CAD and will paste your code into OpenSCAD, which is free.
Write OpenSCAD code for the bell:
1. Put every size at the top as a named variable in millimeters, with a short comment: height, widest diameter, wall thickness and hanging loop.
2. Make it hollow, with a hole in the top big enough to drop in a charm that measures [the charm’s width and height in mm].
3. Keep the walls at least [your printer’s minimum wall thickness] mm and avoid overhangs a home printer can’t handle.
4. Skip any lock, thread or snap for now. One simple printable piece.After the code, describe what I should see when I render it, so I can spot problems, and list any sizes you guessed. When I tell you what looks wrong, change one thing at a time.
Do it yourself
These steps are my suggested way in, not Sean’s setup.
Level: Advanced for anything with moving parts. A simple shape is closer to Intermediate.
What you need
- A chat assistant such as Claude or ChatGPT.
- OpenSCAD, which is free.
- A 3D printer, or a print service, if you want the object in hand.
Start simple
- Ask for OpenSCAD code for one simple shape, with every size as a named variable at the top.
- Paste the code into OpenSCAD and render it. Describe or screenshot what looks wrong.
- Change one thing per round: height, wall thickness, the hanging loop.
- Measure the charm or object it must hold and give the AI the real numbers.
- Export an STL and check it in your slicer before you print.
Take it further
- Ask for a hollow version with a hole or lid, and set a minimum wall thickness your printer can handle.
- Try a closing mechanism, but expect to fix it by hand. Locks, threads and snaps are where the AI struggled here.
- Edit the variables yourself once you see how the code is laid out.
Check your work
- Render after every change. Code that runs can still make the wrong shape.
- Check every size with calipers or a ruler against the real object.
- Print a small, cheap test piece before the full gift.
Claimed. Quoted from the source but not yet checked against it. Their prompt is quoted from the source; any fuller version is written for this library. Business size: Individual. Results are quoted as the source claimed them and never improved. Spot an error or a broken link? Email charlie@cbarmorecpa.com.