Free guide
From One Sentence to 3D Print: The Complete Guide
Turn plain English into ready-to-print 3D models using free AI and developer tools.
What You Need
- Claude Code: Anthropic's new command-line tool. Requires an Anthropic API key (pay-per-use, usually fractions of a cent per prompt).
- OpenSCAD: Free, open-source software that turns code into 3D geometry. (Download here)
- A 3D Printer Slicer: Software like OrcaSlicer or PrusaSlicer to prepare your file. (Free)
- Total Cost: Free software, plus pennies in API usage.
Step-by-Step Instructions
1. Install OpenSCAD
Download and install OpenSCAD for your operating system. Open it once to make sure it runs.
2. Install Claude Code
Open your terminal (Mac/Linux) or Command Prompt/PowerShell (Windows). Run the installation command provided in the official Anthropic documentation. Follow the prompts to log in with your Anthropic account and set up your API key.
3. Create a Project Folder
Create a new folder on your computer named 3d-models. Open your terminal, navigate into that folder using cd path/to/3d-models, and start Claude Code by typing claude.
4. Write Your Prompt
In Claude Code, type a clear, descriptive sentence about what you want to build.
- Example prompt:
Design a parametric cable clip for a 25mm desk edge, outputting valid OpenSCAD code to a file named part.scad.
5. Generate and Save the Code
Claude Code will write the OpenSCAD script directly into your project folder as part.scad.
6. Render in OpenSCAD
Open the generated part.scad file inside OpenSCAD. Press F6 on your keyboard to fully render the geometry.
7. Export Your STL
Once rendered, go to File > Export > Export as STL... and save your file.
8. Slice and Print
Import your new STL file into your 3D printer slicer, slice it, and send it to your printer.
Common Mistakes & Fixes
- "Command not found" when opening Claude Code:
- Fix: Ensure Node.js is installed on your system, as Claude Code requires it to run. Restart your terminal after installing.
- OpenSCAD shows a syntax error:
- Fix: Copy the error message from OpenSCAD, paste it back into Claude Code, and ask: "Fix this OpenSCAD syntax error."
- The part dimensions are way too big or small:
- Fix: OpenSCAD works in millimeters by default. Tell Claude Code specific dimensions in your prompt, such as "Make it exactly 50mm long."
Next Step
Want more practical AI workflows that actually save you time? Follow @letagentswork.
Made by Let Agents Work — follow @letagentswork
From the reel: Turn One Sentence Into A 3D Print With Claude Code