Turns a photograph of a physical object into a dimensioned, standards-compliant 2D technical drawing. For DXF and DWG export, 3D reconstruction and product renders, use the techdrawai-cad skill on whatever this one writes.
Setup (once)
npx -y techdrawai-mcp auth login # browser sign-in, no key to copy
Requires an active Studio plan. If a tool reports a plan error, say so plainly and point at https://techdrawai.com/app?view=subscription rather than retrying. Keys can also be created in Settings and passed as TECHDRAWAI_API_KEY.
Tools
generate_technical_drawing
Photo to dimensioned technical drawing. 3 credits.
image(required): the photo, as a local file path, an http(s) URL or a data URL.product_name: what the object is. Improves the title block and, when dimensions are estimated, the estimates themselves. Runidentify_productfirst if you do not know.measurements: dimensions the user actually measured, each{ value, unit?, orientation?, position? }. The single biggest quality lever. See below.estimate_dimensions: let the model infer sizes. Defaults to true when no measurements are given.units:mm(default),cm,m,in.standard:ISO(default) orANSI.paper_size:A4toA0for ISO (defaultA3),ANSI AtoANSI Efor ANSI (defaultANSI B).projection:first-angle(default, ISO and Europe) orthird-angle(ANSI and North America).drawing_type:working(default, fully dimensioned production drawing),assembly(numbered balloons plus a parts list),as-fitted(a record of the item as built),patent(numbered figure, no dimensions).views: any offront,top,side,isometric. Defaults to front, top and side.notes: material, finish, tolerances, anything else to state on the sheet.output_path: defaults to./techdrawai-output/drawing-<timestamp>.png.
identify_product
Names the main object in a photo in two or three words. Free. Cheap groundwork: an agent that knows it is looking at a "cast-iron wall bracket" writes a much better title block and estimates far better dimensions than one working from "product".
check_credits
Balance, plan and per-operation costs. Worth calling before a batch.
One measurement changes everything
This is the difference between a picture of a drawing and a drawing someone can manufacture from.
- With no measurements, the model infers realistic sizes from the photo and its proportions, and the sheet marks the values as nominal. Fine for a concept, not for a workshop.
- With one real measurement, every other feature is scaled proportionally from it and the whole drawing becomes internally consistent.
So if the user has not given one, ask:
"Do you have one real measurement of it, say the overall width or the height? Everything else gets scaled from that."
Pass what they say as a measurement, with position describing where it was taken ("overall width", "seat height", "bore diameter"). That wording is not decoration; it tells the drafter which edge the number belongs to.
If they genuinely have none, go ahead with estimate_dimensions and tell them plainly that the dimensions are nominal and should be checked before anything is cut.
How to work with the user
- A photograph is always required. TechDraw AI drafts from a real photo. It does not invent parts from a description. If the user describes something without an image, ask for a file path or a URL.
- Pick the drawing type from what they said. "For the workshop" or "to get it made" is
working. "How it goes together" isassembly. "For a patent application" ispatent. "A record of what we built" isas-fitted. - Match the standard to the audience. Europe and most of the world use ISO with first-angle projection. North America uses ANSI with third-angle. When unsure, ask which they use. Get it wrong and the projection symbol on the sheet is actively misleading.
- Sheet size follows the part. A small machined part is fine on A4. A cabinet, or an assembly with a parts list, wants A3 or A2, or the dimensions crowd each other.
- Always offer the DXF. A PNG is a picture of a drawing. The DXF is the drawing. Hand the result to
image_to_dxfwithwidth_mmset from the measurement they gave. - Report the saved path and the credits used, then offer to iterate: a different sheet size, an extra view, notes on the material.
- Failures are refunded automatically. If a generation fails, say so and say the credits came back.
- Out of credits? The error says so. Report the balance and point at https://techdrawai.com/app?view=subscription.
Example
User: "Here is a bracket I need made,
/Users/me/bracket.jpg. It is 120 mm across. I need a DXF for the laser cutter."
identify_productwithimage: "/Users/me/bracket.jpg", giving "steel wall bracket".generate_technical_drawingwithimage:/Users/me/bracket.jpgproduct_name:steel wall bracketmeasurements:[{ value: "120", unit: "mm", orientation: "horizontal", position: "overall width" }]drawing_type:working,standard:ISO,paper_size:A3,views:["front", "top", "side"]
- Hand the file it wrote to
image_to_dxfwithwidth_mm: 120anddwg: true(see thetechdrawai-cadskill). - Report both paths, the 3 credits used, and that the DXF is at true size for the cutter.