How to Write Text-to-CAD Prompts That Work
Write text-to-CAD prompts that work: name the part, give one size in one unit, count and place every feature, and let the style settings handle the drafting.
Our prompt builderA text-to-CAD generator draws only what you tell it, and invents everything you leave out. The difference between a vague result and a usable one is almost always the prompt. This guide shows how to write prompts that produce the part you meant, using the structure our own prompt builder follows.
Why the prompt matters so much
A text-to-CAD generator is only as good as the description it gets. An image model does not build a part and then draw it. It draws a picture that fits your words. So every missing fact gets filled with a typical guess: a typical hole size, a typical thickness, holes in typical places. A precise prompt removes guesses; a vague one invites them.
The second reason is checking. If your prompt says "four holes on a 60 mm square", you can look at the drawing and see at once whether it kept four holes on a 60 mm square. A prompt with no numbers gives you nothing to check against.
What the generator already adds for you
On our text to CAD page, your words are wrapped in a long set of drafting rules before they reach the model. Based on the settings you choose, those rules already ask for:
- black lines on white (or blueprint or wireframe colours for those styles);
- thick visible edges, thin dimension lines, dashed hidden edges and chain centre lines through every hole;
- the view layout of the chosen style, in first- or third-angle projection;
- a level of dimensioning (simple, standard or detailed);
- millimetre or inch values, and a title block with part name, material, scale and units.
So your prompt only has to describe the part. Writing "professional engineering drawing, clean lines, high detail" repeats what is already there and can push the model toward a rendering instead of a drawing.
A six-step prompt structure
The same six steps work for almost any part, and they match the fields of the prompt builder on our text-to-CAD generator.
Step 1: Name the part and how it is made
Start with what the object is and its manufacturing process, because the process implies a lot of geometry.
- "Laser-cut sheet steel bracket" suggests constant thickness, bend lines and no fillets inside cut-outs.
- "Machined aluminium block" suggests sharp prismatic shapes, drilled and tapped holes.
- "Injection-moulded enclosure" suggests thin walls, draft, ribs and bosses.
- "Turned steel shaft" suggests steps, chamfers, grooves and a keyway.
Step 2: Give the overall size, in one unit
State the envelope first: length × width × height or diameter × length. Use one unit throughout and pick the matching unit setting. Mixing "2 inch plate" with "6 mm holes" is the quickest way to get a confused sheet.
Step 3: List every feature with a count, a size and a position
This is where most of the value is. For each feature, write what it is, how many, how big and where.
| Vague | Specific |
|---|---|
| with some mounting holes | four Ø6.5 through holes on a 100 × 60 mm rectangle |
| a slot | one 8 × 30 mm slot, centred, running along the length |
| rounded corners | R5 on all four outer corners |
| a step on the shaft | Ø30 for 40 mm, then Ø20 for 60 mm, 1 × 45° chamfers both ends |
| a keyway | 6 mm wide keyway, 3.5 mm deep, 32 mm long on the Ø20 section |
| a few ribs | two 3 mm ribs under the top face, 40 mm apart |
Keep a fixed order, such as outside shape first, then holes, then slots, then edges. The model handles a tidy list better than a paragraph that jumps around.
Step 4: Add material and anything that changes the drawing
Material goes into the title block and also hints at shape: cast iron suggests fillets and draft, sheet metal suggests bends. Add only details that change what is drawn, such as "threaded M8 through", "countersunk for M5" or "bend 90° up along the long edge".
Step 5: Ask for extra views only when you need them
The style setting chooses the views. Ask for more only if a feature cannot be seen otherwise: "add a section through the bore", "add a detail of the snap-fit hook". Every extra request competes for space on one sheet, so be sparing.
Step 6: Leave style words to the settings
Choose Orthographic for a three-view sheet, Isometric for a single 3D-looking view, Section to show inside features, Exploded for assemblies, Technical for a complete sheet with notes. Choose Detailed dimensioning only when you want tolerances and a notes block. If you want a different look, change the setting, not the wording.
What specific prompts give you
AI-generated example
AI-generated exampleSheets like these are where specific prompts pay off. If you asked for twelve fins at 4 mm pitch, you can count the fins and read the pitch; if you asked for six vent slots, you can see whether there are six. What a specific prompt does not buy is correctness. The values on the sheet are still the model's rendering of your numbers, so read every one before using it.
A ten-second checklist before you press Generate
- Part name and process?
- Overall size, one unit, matching the unit setting?
- Every feature with count, size and position?
- Material?
- No style or quality adjectives?
- Right style, detail level and projection selected?
Use the prompt builder, or start from a library
If a blank box is hard, the prompt builder on our text-to-CAD generator asks for part, size, features, material and view one field at a time and assembles a clean prompt from your answers. The prompt library has ready-made prompts by part type that you can edit, and the examples gallery shows which prompts lead to which kind of sheet.
When a sketch beats a sentence
Some shapes are easier to draw than to describe: curved handles, castings, irregular cut-outs. If you find yourself writing a paragraph about one outline, stop and sketch it instead. Our comparison of text to CAD vs sketch to CAD covers when to switch.
After you have a drawing
The result is a PNG. You can download it, or press Convert to DXF to trace its lines into a DXF in your browser, then open the file in our DXF viewer to check sizes. Remember that the traced lines copy the picture: scale them to a known dimension before you use them, and redraw anything that has to be exact. A text-to-CAD generator is a fast first draft, and a good prompt makes that draft much closer to the part you will eventually build.
Frequently asked questions
How long should a text-to-CAD prompt be?
One to four sentences is usually right. Our generator accepts up to 1,000 characters, but every sentence should add a size, a count, a position or a material. Long lists of adjectives make results worse, not better.
Should I write the drawing style in the prompt?
No. Pick it in the style setting (technical, orthographic, isometric, section and so on). The generator already adds detailed drawing rules for that style, including line types, layout and the title block. Style words in the prompt only compete with them.
Why does the AI ignore some of my numbers?
Usually because there are too many of them, they conflict, or they are in mixed units. Give the overall size first, list features in a fixed order, and keep everything in millimetres or everything in inches. Then check the drawing and regenerate if a value drifted.
Can I write prompts in another language?
The model reads many languages, but English gives the most predictable results for engineering terms such as counterbore, chamfer and keyway. The labels on the drawing follow the drawing rules, which are in English.
Will the same prompt give the same drawing twice?
No. Each run is new. Keep a prompt that works, change one thing at a time, and compare results side by side.


