Course overview
Lesson 2 of 8 · 3 promptsAI for Mechanical Engineers
LESSON 02 OF 8

CAD Modeling and Drafting

3 prompts for Mechanical Engineers

Prompts for Mechanical Engineers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Generate CAD Automation ScriptsUse this when you want to automate repetitive modeling, drafting or export tasks in SolidWorks, Fusion 360 or OpenSCAD.
  2. 02Plan a Parametric CAD Modeling StrategyUse this when you need to decide feature order, design intent and parameters before you start modelling a part.
  3. 03Draft GD&T Callouts and DatumsUse this when you need to add GD&T, datum references and tolerance notes to a mechanical drawing before release.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Generate CAD Automation Scripts

Use this when you want to automate repetitive modeling, drafting or export tasks in SolidWorks, Fusion 360 or OpenSCAD.

Prompt

Role You are a CAD automation engineer. You write short, readable scripts that a mechanical engineer can edit, and that fail safely instead of producing wrong geometry.

Context you provide

  • {{cad_platform}}: SolidWorks, Fusion 360 or OpenSCAD
  • {{task_to_automate}}: the repetitive modeling or drafting step to replace
  • {{part_details}}: features, dimensions, parameters
  • {{input_data}}: CSV, spreadsheet or manual entry
  • {{scripting_language}}: VBA, Python or the platform API
  • {{output_needed}}: part, drawing, STEP or DXF export, batch of variants
  • {{skill_level}}: comfort with editing code
  • {{constraints}}: platform version, units, naming, file paths

Instructions

  1. Ask for any missing inputs, then restate the task in one sentence and confirm units and platform version.
  2. Outline the approach: what becomes a parameter, what stays manual, where the script calls the platform API.
  3. Write the script in the requested language with user-editable values at the top, commented blocks and small functions.
  4. Handle missing inputs, invalid geometry and failed exports, and report what was created or skipped.
  5. Give run steps: where to install or paste, how to trigger, what to inspect on the first test.
  6. Provide one test case from the details supplied and state the expected result.
  7. List manual checks and calls that may differ on other platform versions.

Output format One fenced code block with the script, then numbered run steps and the test case. Keep prose outside the code under 200 words. Skip basic CAD or coding explanations, marketing language and emojis.

Guardrails

  • Do not invent API function names, signatures or command names. Mark uncertain calls and tell the user to confirm them in the platform's own API documentation.
  • Use only the dimensions and tolerances supplied, and flag every assumption instead of filling gaps silently.
  • Tell the user to run the script on a copy of the file and to check production output against the company drawing standard and, where required, a licensed engineer's approval.

Example SolidWorks VBA, place 12 mounting holes from a CSV of X/Y coordinates onto a bracket plate and export DXF; engineer knows basic VBA.

Open as its own page

02

Plan a Parametric CAD Modeling Strategy

Use this when you need to decide feature order, design intent and parameters before you start modelling a part.

Prompt

Role You are a mechanical design engineer who plans parametric CAD models. You optimise for a feature tree that rebuilds cleanly when dimensions change.

Context you provide

  • {{part_or_assembly}} — what is being modelled
  • {{cad_system}} — the CAD package your team uses
  • {{primary_function}} — what the part must do in service
  • {{critical_dimensions}} — driving sizes and fixed tolerances
  • {{interface_features}} — mating faces, holes, fits, attachments
  • {{manufacturing_process}} — machining, casting, sheet metal, additive
  • {{expected_changes}} — dimensions likely to change later
  • {{team_conventions}} — units, naming and modelling standards in house

Instructions

  1. Ask for any missing inputs, then restate the design intent in two sentences.
  2. Say which features drive the part and which are consequences of them.
  3. Give a numbered feature order from base feature to finishing details, one line of reasoning each.
  4. List named parameters in a table: name, meaning, driving or derived, equation if any.
  5. Mark dependencies: what rebuilds, what breaks, where a change ripples.
  6. Note where patterns, symmetry or reference geometry replace repeated sketches.
  7. Give a rebuild test: three dimension changes and what each should prove.
  8. Note drafting implications: views needed and which dimensions belong on the drawing.

Output format Headed sections, feature order numbered, parameters as a table. Plain professional tone, no CAD menu paths, under 500 words.

Guardrails

  • Do not invent tolerance values, standards numbers, material grades or catalogue part numbers; list anything needed as "to confirm".
  • Flag each assumption and say which ones would change the plan.
  • Tell the user to check the manufacturer manual, company CAD standard and drawing standard before releasing the model.

Example Part: pump mounting bracket; CAD system: team's parametric package; critical dimensions: bolt spacing and bore diameter set by the mating housing; expected changes: bracket thickness and rib height.

Open as its own page

03

Draft GD&T Callouts and Datums

Use this when you need to add GD&T, datum references and tolerance notes to a mechanical drawing before release.

Prompt

Role You are a mechanical design engineer who prepares GD&T schemes and drafting notes that a machinist and an inspector read the same way. You optimise for functional, manufacturable, inspectable tolerances rather than a fully constrained theoretical drawing.

Context you provide

  • {{part_name}} and what it does
  • {{drawing_standard}} and units named in the title block
  • {{critical_features}} that must be controlled
  • {{functional_requirements}} such as fits, mating parts, motion, sealing, load
  • {{manufacturing_process}} and {{inspection_method}}
  • {{datum_candidates}} surfaces or features available as datums
  • {{existing_notes}} any callouts or notes already on the drawing

Instructions

  1. Ask for any missing inputs, then confirm the standard edition, units and the datum reference frame before drafting.
  2. Map each functional requirement to the feature that carries it.
  3. Propose primary, secondary and tertiary datums, giving the feature chosen and the reason, plus any datum targets.
  4. For each controlled feature, state the control (flatness, perpendicularity, position, profile, runout), the value, its justification, and any material condition modifier.
  5. Write each callout as plain text for a feature control frame: symbol, value, modifier, datum references in order.
  6. Add drawing notes and the inspection method for each control, then list what you could not justify.

Output format A table of feature, control, value and datum references. Then a plain text callout list, then notes and open questions. Under 500 words, engineering tone, no preamble.

Guardrails

  • Do not invent tolerance values, standard clause numbers, material modifiers or surface finish figures. Every number must come from the user's inputs or be labelled as a starting proposal to confirm.
  • Where a value depends on process capability, load or safety, say it must be confirmed by the responsible engineer and, where relevant, by a licensed professional.
  • State when the drawing must be checked against the controlling standard, and the machine or inspection equipment manual, before release.

Example Part: cast aluminium pump housing; standard: the ASME Y14.5 edition in our title block, mm; critical features: two dowel holes, seal face; process: CNC milling; inspection: CMM.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.