When AI turns a legacy 2D engineering drawing into a 3D CAD model, the hard part is not building the model. It is reading the drawing. On a K3 engagement converting a manufacturer’s legacy drawings, an AI agent recreated parts almost perfectly when it was given a 3D reference file, and struggled badly when it was given a drawing of comparable parts. This article explains why, and the checkpoint that fixed it.
It is a companion to Using AI to Convert Legacy 2D Drawings into 3D CAD Models, and the full account is in our free white paper, below.
The experiment that found the bottleneck
The work used CadQuery, a Python CAD scripting library, so every model the agent produced was code a person could read, edit and re-run. Two experiments ran side by side:
- Reference file to model: given an existing 3D (STEP) file, the agent recreated the part fast and accurately. Across three validated parts, volume differences were under 0.001% to 0.01%, and surface deviation was under 0.001 mm on two of them.
- Drawing to model: given a 2D drawing, the agent produced correct parts only when a person walked it through nearly every step: which view was a half-section, what each arrow meant, how to derive each missing value.
The conclusion reframed the project. The AI could reliably build correct geometry once it knew what the geometry was. What it could not do reliably was work out what the geometry was from a drawing.
Why drawings are hard to read
An engineering drawing is dense and full of implied knowledge. It mixes the part’s outline with dimension lines, extension lines, arrows, tolerances (GD&T), section marks, hidden lines and a title block. An experienced engineer separates these instantly. Several facts a model needs are never written down at all:
- Topology. Whether a part is hollow or solid is often implied by hidden lines and section views, not stated by any dimension.
- Shape of a section. A stepped profile can be a round turned shaft or a rectangular bar whose height steps down. The only clue may be whether a diameter symbol appears on the callout.
- Direction. The same printed number means different geometry depending on whether its arrow runs vertically or horizontally.
- Scale and standard. Units, print scale, projection angle and the tolerance standard live in the title block, and older drawings follow older conventions.
How the AI gets it wrong
The agent’s mistakes were not random. Most were one of two kinds:
- Pattern-matching from an earlier part. On one part, a rectangle in the back view was read as a pocket because earlier parts had pockets; it was the shank seen end-on. On the same part, a stepped profile was read as a round shaft because other shafts were round; it was a flat bar.
- Assuming a plausible default. A collar that looked like a simple revolve took five builds, because each attempt assumed a solid or a solid with a cavity. It was a hollow tube open at both ends. The clue was lines traced as long runs of tiny points, which is how that drawing exporter writes hidden lines.
Both kinds are also the mistakes a rushed engineer makes, which is why the fix is a process, not a smarter prompt.
The fix: classify every line before building anything
The breakthrough was an interactive checkpoint placed before any geometry is generated. The tool redraws the vector lines of the drawing PDF on screen, and every line is classified as one of four things:
| Class | Examples |
|---|---|
| Part geometry | The outline and edges of the part itself |
| Dimension | Dimension lines, extension lines, arrowheads, the numbers |
| GD&T | Tolerance frames, datum symbols |
| Other | Hidden lines, centerlines, notes, anything set aside |
The AI pre-classifies every line with its best guess, using documented rules (closed shapes above a size threshold are part geometry, small triangles near a line are arrowheads, and so on), and groups the dozens of small pieces that make up each dimension into one clickable unit. The engineer then corrects what is wrong rather than starting from a blank drawing.
The first part run through the tool took about 30 minutes end to end, including two rounds of corrections. Once the classification was right, the 3D model came out correct on the first generation attempt. The checkpoint is now mandatory for every part, even simple ones, because confirming what every line means builds real understanding before any geometry is written.
Where the views on a drawing are not enough to pin down a cross-section, a second canvas in the same tool lets the engineer sketch the correction over a dashed outline of the current understanding, instead of describing it in words.
Two tracks for two kinds of parts
Not every part needs the drawing-reading track. Formula-defined parts, such as compression springs and threaded fasteners, are fully described by a few parameters and an engineering formula, so a parametric generator produces the model directly from the specification. Only parts that exist solely as drawings go through the classification checkpoint, and those split again into clean primitives (built from a written spec of the callouts) and freeform outlines (built from the drawing’s own vector paths).
One more lesson: record, don’t guess
The same project produced a rule worth borrowing for any AI work with engineering software. When the agent had to write a SolidWorks macro from API documentation, it made four plausible wrong guesses in a row. The fix was to record a person doing the action in SolidWorks and have the agent read the recorded macro. All four questions resolved at once. Where an AI cannot run or verify an application directly, give it a recording of the real action.
Reading the drawing correctly is half the problem. The other half is proving the finished model is right, which we cover in How to Verify AI-Generated CAD Models.
Frequently asked questions
Why does AI struggle to convert 2D drawings into 3D models?
Because the hard part is reading the drawing, not building the model. A drawing mixes part geometry with dimension lines, arrows, tolerances, hidden lines and notes, and many facts (hollow or solid, round or rectangular, which face is which) are implied rather than stated. Given a reference 3D file, an AI agent recreated parts quickly and accurately; given a drawing of comparable parts, it needed a person to walk it through nearly every reasoning step.
What is a human-in-the-loop checkpoint for drawing conversion?
An interactive step before any geometry is generated, where the drawing is redrawn on screen and every traced line is classified as part geometry, dimension, GD&T or other. The AI pre-classifies each line with its best guess, and an engineer corrects what is wrong. Once the classification is right, the 3D model usually comes out correct on the first attempt.
What mistakes does AI make when reading engineering drawings?
The most common is pattern-matching from a similar earlier part instead of checking the current drawing: assuming a pocket because other parts had one, or a round shaft because other shafts were round. A related mistake is assuming a plausible default, such as solid rather than hollow, instead of deriving it from the drawing.
Can AI generate CAD for springs and fasteners without a drawing?
Yes. Formula-defined parts such as compression springs and threaded fasteners are fully described by a few parameters and an engineering formula, so a parametric generator can produce the 3D model directly from the specification. The drawing-reading problem only applies to parts that exist solely as drawings.