Skip to content
Rational AI

Comparing two revisions of a technical drawing with AI: why the model alone isn’t enough

About 8 minutes to read

Francesco CrecchiHead of AI Engineering

In brief. A single changed dimension between two revisions can mean remaking the parts. On a whole A0, though, an AI model gets it in 5-7 pixels, and sending it the PDFs takes drawings that are the customer’s intellectual property out of the company. Rational AI’s comparison finds the zones that change first, then has an on-premise model read them.

In mechanical design, the hard part is often not making a complex part but making it right. If a dimension changes between two revisions of a drawing and nobody notices, the parts have to be made again. An AI model on its own won’t find it: on a whole A0 sheet, 3 mm comes down to 5-7 pixels. It works if software first isolates the zones that change and a model then reads only those, at high resolution. And the model runs on-premise, because the drawings belong to the customer and the company that machines the parts can’t lose control of them.

The problem: one dimension on a square meter of paper

We started from the case of a machining company that makes parts to its customers’ drawings. The drawings arrive as PDFs, exported from CAD over several A0 sheets, and every revision changes something. Before a part goes on the machine, the engineering department has to know what. The revision table in the sheet’s margin lists the main changes, but not always all of them. The rest is left to the designer’s trained eye, sheet by sheet, until at the tenth drawing a dimension slips through, even past the most careful designer.

Comparison software helps little. In the PDF, dimensions and notes are drawn as lines, not text, so they can’t be compared word by word. A pixel-by-pixel comparison, on the other hand, flags every difference, and between two revisions many differences don’t matter: a title that goes from “SECT.” to “SECTION”, a label moved, a revision triangle removed, a whole view shifted a few millimeters. The dimension that matters gets lost.

Then there is a constraint that comes before the technology. The drawings don’t belong to the company that machines the parts: they are the customer’s intellectual property, often entrusted under a non-disclosure agreement. Uploading them to an app like ChatGPT, or sending them to a cloud service’s API, takes them out of the company. That’s why the model has to be open-weight and run on-premise. Whether it runs on-premise or in the cloud, though, a model sees the drawing at too low a resolution.

What an AI model sees of a drawing

Before looking at an image, almost every model scales it down to a fixed maximum size.

The whole A0 sheet, Claude Opus 5.5’s token grid, the zoom on the 32.57 dimension and the same dimension as it reaches the model, at 5.8 pixels | Rational AI

Our test drawing’s A0 sheet as Claude Opus 5.5 sees it at its highest resolution: 4,756 tokens, each 14.5 × 14.5 mm. The 32.57 dimension, 3 mm tall, reaches it 5.8 pixels tall.

We applied the limits published by Anthropic, OpenAI and Google, as of November 27, 2026, to a whole A0 sent as a single image at each model’s highest resolution: a 3 mm digit is represented by 4.7 to 6.8 pixels.

The 32.57 dimension on the drawing and as GPT-6 Astra, Gemini 4, Claude Opus 5.5 and Gemma 4 12B receive it | Rational AI

The same dimension as it reaches each model, enlarged: our reconstructions from the documented sizes, estimated for Gemini 4 and Gemma 4 12B because Google doesn’t state the pixels.

At that size “32.57” can still be made out, but by eye it could also be “37.57”: misreading one digit is enough for the part to be made wrong. Only GPT-6 Astra, with the original setting, doesn’t shrink the sheet: it costs about 35,700 tokens per sheet (roughly a dollar per comparison), it’s available only through the API, and it takes the drawing to OpenAI’s servers, outside the company, along with the customer’s intellectual property.

Even with a sharp image, the model on its own has other limits.

  • It doesn’t say where it looked. If the model compares two whole A0 sheets and a dimension isn’t in its answer, there’s no telling whether it stayed the same or the model missed it.
  • It can mistake noise for a change. Text shifted a few pixels can look to it like a changed value, while a small change in shape, seen in two separate images, can slip past it.

That’s why the work is split between software and model. The software does what it does precisely: it turns the sheets into images, aligns them and compares them. The model does only what the software can’t: look at the two zones, compare them and say what changed.

How we built it in Rational AI

The Technical drawing revisions package works in five steps, and the model takes no part in the first three.

  1. Convert and align. Each sheet becomes a 150 dpi image, about 7,000 × 5,000 pixels for an A0. The two exports often have slightly different page sizes: the software tries several scales and picks the one where the lines match best.
  2. Find the zones. Lines present in only one revision, within a 2-pixel tolerance, form the zones: added, removed, moved or changed. If a whole view was moved on the sheet, the software works out by how much, puts it back in place and keeps only what is still different.
  3. Discard the noise. Hatching redrawn in pieces and text shifted a few pixels are classed as cosmetic, without going through the model.
  4. Read the zones. For each zone the model gets three crops at up to 400 dpi (before, after and overlaid) and the type of difference the software found. The digit that was 5-7 pixels tall on the whole sheet is now 47. The model says whether the zone is a change to the part, a cosmetic change, a revision mark or the title block, and transcribes the value before and after.
  5. Review. The engineering department sees the revisions overlaid in red and green, with numbered zones, and can accept, discard or correct each zone, or flag it to check with the customer. Changes to the part go into a summary to print for production and quality.

Two revisions of the same part of a drawing overlaid: the software isolates zone 46, the model gets three crops and reads the dimension that went from 30.51 to 32.57 | Rational AI

Zone 46 of our test A0: the software isolates it, the model reads the three crops and writes that the dimension goes from 30.51 to 32.57.

On a test A0 with 107 zones, it takes about a minute from uploading the file to the last zone read, depending on the hardware and the model.

How reliable it is and where it goes wrong

The customer’s drawings are confidential, so we measured reliability with Gemma 4 12B on pairs of drawings generated for the purpose, where we know every change we inserted. When the comparison flags a change to the part, it is right 19 times out of 20, and it finds 17 of every 20 inserted changes. So three in twenty can slip through, which is why the review stays with the engineering department.

Comparison reliability in two grids of 20: with the views in the same place, 19 of 20 flags right and 17 of 20 changes found; with the views moved on the sheet, 17-18 flags right and 18 of 20 changes found | Rational AI

Drawings generated with known changes: four pairs with 439 zones and, separately, pairs with views moved on the sheet. Gemma 4 12B, two runs per pair.

These are the limits we know of.

  • Small digits. If a single digit changes in text 2.5-3 mm tall and nothing else changes around it, the difference can be too small to form a zone. That’s how, in the package’s example, the mass, the date in the title block and the roughness of a hole get missed. It’s the same kind of change this article started from, so whoever reviews the zones needs to keep it in mind.
  • Misreadings. The model can misread a zone, which is why every zone goes past a person who can correct it.
  • What it doesn’t do. The comparison doesn’t check the zones against the revision table, and it doesn’t compare 3D models.

The drawings stay in the company

The software does the heavy lifting. Reading a crop a few centimeters across takes no more than an open-weight model like Gemma 4 12B, which runs on-premise on a company server and gets the crops one zone at a time. The customer’s drawings stay within the company perimeter.

Instead of rechecking every A0 by eye, the engineering department starts from a list of numbered zones, ready in about a minute, and decides zone by zone what goes to production. Technical drawing revisions installs from the Rational AI marketplace with an example already compared: two revisions of a made-up flange, with 17 zones. If you’d like to try it on your engineering department’s drawings, let’s talk.

The Technical drawing revisions solution in the Rational AI marketplace, with the Install button | Rational AI

Technical drawing revisions in the Rational AI marketplace.

Keep reading

See all
Stylized hourglass made of light blue and orange squares on a dark background | Rational AI

News

Forecasting consumption with AI: we put Mistral's Timestral to the test

Timestral is a new open model from Mistral that uses a company's history to forecast sales, consumption or requests, without building a custom model. We tried it on a steel mill's real energy consumption: here are the results, the errors and how to apply it to your company.

Report

Sovereign AI Report 2026

Dark blue gradient background with the Rational AI logo and the words "Sovereign AI Report 2026" in white and aqua green. | Rational AI

In brief. What “sovereign AI” means for an Italian organization in 2026, what regulatory and operational risks unwitting adoption creates, and how to build governance and control over systems already in use.

Open the report