Prompting and workflow

CAD prompt examples

Short answer

A good CAD prompt names the part, gives every driving dimension with units, and lists the features in the order they matter. Write shape first, then overall size, then features and their positions. The twelve prompts below follow that pattern and can be copied straight into the editor.

The difference between a prompt that produces the part you wanted and one that produces something vaguely similar is almost never the wording. It is the numbers. Every prompt below follows the same pattern, and once you have seen it a few times you can write your own for anything.

The pattern

Shape, then size, then features, then finish. Name what the part is. Give its overall dimensions with units. List the features and say where they are. Add fillets and chamfers last, because they depend on everything before them.

Two habits do most of the work. Always write units, because 60 is a guess and 60 mmis a specification. And always say where a feature sits, because "four holes" and "four holes 10 mm in from each corner" produce very different plates.

Plates and panels

Mounting plate

Create a 100 by 60 mm rectangular plate, 4 mm thick, with four 5 mm diameter through holes positioned 10 mm in from each corner, and 2 mm fillets on the outer corners.

Corner inset is given explicitly, so the hole pattern is unambiguous.

Vented panel

Create a 120 by 80 mm panel, 3 mm thick, with a 6 by 4 grid of 8 mm diameter ventilation holes centred on the panel with 4 mm between hole edges, and four 4 mm mounting holes 6 mm in from each corner.

Describing spacing between hole edges rather than centres avoids overlap on tight patterns.

Shim washer

Create a flat washer with 20 mm outer diameter, 10.2 mm inner diameter, and 1.5 mm thickness.

The bore is 0.2 mm over the nominal 10 mm shaft, which is the clearance, not the shaft size.

Brackets and mounts

L bracket

Create an L bracket with 60 mm and 40 mm legs, 30 mm wide, 4 mm thick, with two 6 mm diameter holes in each leg spaced 20 mm apart and centred on the leg width, and a 4 mm fillet at the inside corner.

The inside fillet matters structurally; state it rather than hoping for it.

Pillow block bearing housing

Create a pillow block bearing housing for a 22 mm outer diameter bearing, with a 60 mm by 30 mm base, 45 mm total height, 12 mm base thickness, and two 6 mm mounting slots 44 mm apart.

Slots rather than holes give you adjustment during assembly.

Cable clip

Create a cable clip for 8 mm diameter cable, 12 mm wide, 2.5 mm wall thickness, with a C shaped opening of 6 mm and a flat back with one 4 mm countersunk mounting hole.

The opening is narrower than the cable so the clip grips it.

Rotating parts

Involute spur gear

Create a standard metric involute spur gear with 23 teeth, module 2 mm, 20 degree pressure angle, a 10 mm centre bore, and 8 mm face width, with small root fillets and side chamfers.

Module and tooth count define the size; do not also specify a diameter or they will conflict.

Timing belt pulley

Create a GT2 timing belt pulley with 20 teeth, 6 mm belt width, a 5 mm centre bore, 16 mm total height including a 6 mm tall hub, and 1 mm flanges on both sides.

Flanges keep the belt tracking; the hub gives room for a grub screw.

Shaft coupler

Create a rigid shaft coupler, 25 mm long and 20 mm outer diameter, with a 5 mm bore at one end and an 8 mm bore at the other, and two M3 grub screw holes per side positioned 90 degrees apart.

Different bores per end is the common real case; say so explicitly.

Enclosures and housings

Project box base

Create a rectangular enclosure base, 100 by 70 mm external and 40 mm tall, with 2.5 mm walls, a 3 mm floor, four internal corner bosses 6 mm in diameter with 2.5 mm pilot holes for self tapping screws, and a 2 mm lip around the top edge.

Bosses and a lip are what make an enclosure assemble; a plain box will not.

Panel mount adapter

Create a panel mount adapter plate, 50 mm square and 3 mm thick, with a 22.5 mm central hole for a switch, four 4 mm mounting holes on a 40 mm square pattern, and a 1 mm chamfer on the central hole.

Bolt patterns read most clearly as a pitch circle or a square pattern with one dimension.

Threaded standoff

Create a hexagonal standoff, 25 mm long across 7 mm flats, with an M4 threaded hole through the full length and 0.5 mm chamfers on both ends.

Chamfers on threaded ends stop the first thread from burring over.

Refining after the first result

Do not try to write the perfect prompt. Generate, look at the numbers, then adjust. Dimensions you specified and dimensions the engine chose both become sliders, so correcting a thickness is faster than rewriting a description. When you need a structural change rather than a dimensional one, ask for it plainly: "add a 2 mm chamfer to the top edge" or "move the holes 5 mm further apart".

Common mistakes

Omitting units. The most frequent cause of a part that is right in shape and wrong in size.

Over specifying. Giving a gear both a module and a pitch diameter, or a plate both a corner inset and a hole spacing that disagree, forces the engine to pick one. Give the driving dimensions and let the rest follow.

Describing intent instead of geometry."A strong bracket" is not a dimension. "4 mm thick with a 4 mm inside fillet" is.

Forgetting clearance. A hole that is exactly the bolt diameter will not accept the bolt. Add a few tenths of a millimetre for anything that has to fit.

Where to go next

Every model in the gallery shows the exact prompt that produced it alongside its parameters, which makes it the best place to see this pattern applied to parts you have not thought of yet. For the full workflow see how to convert text to CAD, and for printing considerations see text to CAD for 3D printing.

Frequently asked questions

How long should a CAD prompt be?

Long enough to remove ambiguity and no longer. Two or three sentences covering the shape, the overall size, and the features is usually right. Padding a prompt with adjectives does not help; adding a missing dimension always does.

Should I include units in the prompt?

Always. Write 60 mm rather than 60. Without units a number is a guess, and unit mistakes are the single most common reason a generated part comes out the wrong size.

What if I do not know every dimension?

State the ones that matter and let the rest be generated, then adjust with the sliders. Dimensions you did not specify become parameters you can move, so an incomplete prompt is a starting point rather than a failure.

Can I refine a model after the first prompt?

Yes, and you usually should. Ask for specific changes in plain English, such as adding a fillet or moving a hole, and iterate. Text to CAD works best as a conversation rather than a single perfect instruction.

Copy a prompt and run it

Paste any prompt above into the editor and adjust the result with the dimension sliders.