Practical 3D printing · By Extrudely

How to Use ChatGPT to Make an Editable 3D Print

A practical route from ChatGPT to an STL is to request an editable OpenSCAD program, then compile and inspect that program in a modeling tool.

Reviewed November 12, 2026

Ask for a model definition you can inspect

Start with a simple part and the measurements that define it. Ask for OpenSCAD source rather than a description of what the finished model should look like. Specify the unit, outside dimensions, and features that must remain adjustable.

OpenAI’s prompting guidance recommends giving the task useful context, defining the output you need, and refining the result with follow-up instructions. For a 3D model, those details can be the measured dimensions, the requested source format, and the changes you want to make later.

Source: Official OpenAI documentation: prompting.

Try a small tray prompt

Use this as an example and replace the dimensions with your project requirements.

Write a self-contained OpenSCAD program for an open tray.
Outside size: 120 x 80 x 25 mm.
Wall thickness: 2 mm. Base thickness: 2 mm.
Use named parameters for these dimensions.
Keep the top open and explain which values control the inside cavity.
Return the OpenSCAD source and a short list of dimensions to verify.
  • Check that the response contains actual OpenSCAD code.
  • Look for the named dimensions at the start of the program.
  • Ask about ambiguous inside and outside measurements before proceeding.
  • Keep the first model simple enough to inspect.

Compile the source in a modeling tool

Open the source in OpenSCAD, or paste it into the OpenSCAD code editor for a design in Extrudely. Inspect the rendered geometry. If compilation fails, keep the error message with the source when requesting a correction.

Check the tray’s open top, floor, and wall thickness, then inspect the outside dimensions. A helpful follow-up changes one feature while preserving the others: “Increase the outside depth to 100 mm while keeping the outside width, height, and wall thickness unchanged.”

Source: OpenSCAD documentation and tutorials.

Keep the editable source and test the export

Save a version of the model before exporting STL or 3MF. In the slicer, verify the imported dimensions and inspect the layer preview using your printer and material settings. Retain the OpenSCAD file so later changes do not require rebuilding the part from a mesh.

This workflow depends on inspecting generated code and geometry; a plausible explanation in chat does not establish a correct fit. Extrudely’s integrated AI workflow is another option when you want the conversation, preview, parameters, and saved versions in the same studio.

Try a part you can measure

Start with a simple shape, inspect the dimensions, and save a version before your next revision.

Keep learning

All design guidesCompare design workflows