Maker tech hub — AI · 3D print · Pi · ESP32 · plus the classic tech archive.

Free ESP32 kit · Books · Network Ninja · Archive

Guide · Beginner · AI Tools

Using AI to Generate 3D Models and Code for Makers

Where ChatGPT/Claude/local models shine for CAD scripts and firmware — and where they invent fasteners that don’t exist.

Written by

Avery J. Parker

IT veteran, maker educator, and author of Network Ninja, 3D Printing Mastery, and AI Workflow Mastery. Business IT: Diversified Tech Solutions.

Project template

  • Goal & materials
  • Steps / firmware
  • Troubleshooting
  • AI assist notes
  • Related gear & books

AI will not replace calipers. It will replace a lot of blank-page time.

Constraint-first prompting for CAD and firmware helpers.
Constraint-first prompting for CAD and firmware helpers.

Good uses

  • OpenSCAD / CadQuery scripts from clear dimensional constraints
  • Boilerplate PlatformIO projects and pin maps
  • Refactoring messy Arduino sketches into modules
  • Explaining a datasheet table in plain language

Bad uses (today)

  • “Design a perfect gearbox” with no tooth counts or module
  • Trusting invented part numbers or torque specs
  • Skipping printability (overhangs, wall thickness, tolerances)

Prompt pattern that works

You are helping with a functional 3D-printed part.
Constraints:
- Material: PETG
- Nozzle: 0.4mm, layer 0.2mm
- Must bolt to a 2020 extrusion with M5 T-nuts
- Load: light cable guide, not structural
Deliver:
1) OpenSCAD code with named parameters
2) List of assumptions
3) Print orientation notes

Local AI note

A Pi or small NUCs running a code-tuned model is enough for sketch help offline. Keep large CAD mesh generation in the cloud for now unless you enjoy watching fans audition for a jet engine role.