Browse topics

Write good AI CAD prompts

On this page

Effective AI CAD prompts work like a short engineering brief. They state the part's purpose, its shape and key dimensions, and which sizes must be exact. A clear, specific prompt brings the first model from zCAD. AI much closer to your design. This guide covers what to include, a tested example prompt, how to check the result, and how to refine it with a follow-up prompt.

What to describe

  • The part and its job. Say what it is and what it does, for example a bracket that holds a stepper motor on a wall.

  • The overall shape and size. Give the main dimensions and wall or plate thickness, always with units: 40 mm, not 40.

  • Interfaces. Describe holes, mounting faces and anything the part must fit, for example four Ø3.4 mm holes on a 31 mm square.

  • Positions and relationships. Say where features sit relative to each other: two holes 30 mm apart, a plate at 90° to another plate.

  • What must be exact, and what the AI can choose. State every size that matters. Anything you leave out, such as a bend radius, zCAD. AI fills in and tells you in its reply.

Avoid vague words such as "small" or "a few holes", and don't give two sizes that contradict each other.

Full example prompt

This prompt was tested in zCAD. AI in Standard mode, with units set to mm:

I need a mounting bracket that holds a 31 mm square stepper motor on a flat wall. Make an L-shaped bracket from 4 mm thick plate: a 50 × 50 mm wall plate with two Ø5.5 mm holes, 30 mm apart, and a 50 × 45 mm motor plate at 90° to it. On the motor plate, add a Ø22.5 mm center hole and four Ø3.4 mm holes on a 31 mm square.
The full example prompt in the prompt box, with Standard mode and mm units selected.

It covers each point above: the job (holds a stepper motor on a wall), the shape (L-shaped, 4 mm plate), the sizes, the interfaces (the motor and wall holes) and the relationships (30 mm apart, at 90°, on a 31 mm square).

Result and what to check

zCAD. AI built a one-piece L-bracket and listed what it made in the chat.

The generated L-bracket, with the summary of plates, holes and the dimension check in the chat.

Read the reply before you use the model:

  • Dimension check. Sizes marked measured and met were confirmed in the geometry. Sizes listed after could not be measured automatically, please check need you to check them.

  • Assumptions. Look for details the prompt didn't give. Here, zCAD. AI assumed a 4 mm inside bend radius.

  • Warnings. The reply noted only 1.3 mm of material between the motor holes and the free edge of the motor plate, which is too little for most parts.

Revised example

Fix one thing at a time with a precise follow-up prompt in the same chat. Say what to change, why, and what to keep:

Lengthen the motor plate to 55 mm so there's more material between the motor holes and the free edge. Keep the 4 mm plate thickness and all hole sizes and positions.
The follow-up prompt sent in the same chat, while zCAD. AI updates the model.

zCAD. AI changed the motor plate to 50 × 55 mm and kept the plate thickness, the wall plate, the bend and all seven holes. The free edge moved 10 mm farther from the motor holes, which leaves more material around them.

The revised bracket, with the longer motor plate and the updated summary in the chat.

To see the longer motor plate clearly, click Right on the view cube at the top right of the 3D workspace.

The revised bracket from the right side, with the 55 mm motor plate along the bottom.

Common issues

  • A size is wrong or missing. Check that the prompt gave the size with units. Add or correct it in a follow-up prompt.

  • zCAD. AI chose a detail you didn't want. Read the assumptions in its reply, then state that detail exactly in a follow-up prompt.

  • A follow-up changed more than you asked. Say what to keep, for example "Keep all hole sizes and positions."