Converting a few legacy drawings into 3D CAD with AI is proven. Converting a catalog of thousands needs a pipeline: a repeatable process where code does everything it can, engineers do the rest, and nothing depends on one person working through one part at a time. This article lays out the design we are working toward to process thousands of drawings, on a K3 engagement with a manufacturer whose catalog runs to several thousand parts documented only in 2D, including why we are leaning toward a Delta lake on Azure and a web app for engineers rather than running it all in Microsoft Fabric. Nothing here is final; these are the real design considerations.

For the earlier stages of the work, see Why AI Struggles to Read Engineering Drawings and How to Verify AI-Generated CAD Models.

Why it is worth building

Converting a catalog of thousands of drawings by hand would take a team of engineers years. With a pipeline, the engineering effort becomes much smaller: engineers finish classifications and review finished models instead of rebuilding every part from scratch.

It is not free. Claude does the judgment steps, and every call to it costs money, so AI usage becomes a real line in the budget at catalog scale. That shapes the design: anything that can be a deterministic rule runs as plain code, Claude is called only where judgment is actually needed, and the pilot measures the AI cost per part alongside the engineering time, so the full-catalog estimate covers both.

Where it starts: a process, not yet a pipeline

Today the conversion is a process in which an engineer and an AI agent work through each part together. Some steps are solid code: reading the vectors out of the PDF, grouping lines into dimensions, building the solid in CadQuery and checking it against a reference file. Other steps still happen by hand for each drawing, and those are what limit scale:

  • View regions, the boxes around each view on the sheet, are drawn by hand.
  • Pre-classification of lines is applied from written rules each time, not by one reusable function.
  • The build still needs the dimensions filled in and the build approach chosen for each part, often with custom code.

The workflow we want

A person in the loop is fine. The goal is to automate as much as possible and make every step repeatable:

  1. Convert the PDF drawing into a vector diagram, and be right every time.
  2. Classify as much as possible automatically, and have an engineer do the rest.
  3. Store the result in a queue, ready to process.
  4. A batch job picks up ready drawings and converts them to 3D.
  5. The models go into a second queue, where an engineer approves or rejects each one.

Each part moves through a set of statuses, and every failure has somewhere to go:

StatusWhat happens
UploadedA new drawing arrives
Extracted (or extraction failed)Vectors are pulled out and checked; a failed check goes to an engineer
Awaiting classificationPre-classified by rule; an engineer finishes it in the classification tool
Ready to buildWaiting in the build queue
Built (or build failed)The 3D model is generated and checked automatically
Awaiting reviewAn engineer compares the drawing and the 3D model side by side
Approved, or rejected with a reasonA rejection sends the part back to the right stage

Stage 1: vector extraction that is proven, not trusted

Pulling vectors out of a PDF already gives the same result every run. Repeatability is not the hard part; proving the extraction is right on every drawing is. The design adds checks that stop a drawing instead of passing a bad result along:

  • Is it vector at all? A scanned PDF has no lines to extract. It is routed to an engineer or to a separate scan front end instead of producing garbage.
  • Render and compare: draw the extracted vectors back onto a blank image and compare it with a render of the original page. Missing or extra lines fail the check.
  • Scale two ways: confirm the drawing scale by two independent methods and fail if they disagree.
  • Find the views automatically: detect the title block, border and view regions by clustering the lines, and let the engineer adjust the boxes only when detection is unsure.

Stage 2: classify by rule, then the engineer

Most of the classification rules already exist in writing: a small closed triangle near a line is an arrowhead, lines chained end to end with no arrowhead are part edges, two or more datum boxes nearby mean a tolerance callout, and so on. By our estimate about 80% of the pre-classification is deterministic and can become one reusable function. The rest is judgment that the engineer’s review catches anyway.

  • Each guess carries a confidence, so the classification tool shows the engineer the uncertain lines first.
  • Every correction is logged. That builds a labeled record to measure how accurate the rules are, and to train a model later if the rules plateau.
  • The tool moves from a downloaded file to a hosted page with company sign-in. Saving the classification moves the part to the build queue.

Stage 3: batch 3D builds, the part that is not solved yet

This is the honest gap. Today the classification does not drive the build on its own. To batch it:

  • Sort parts into families: flat stamped, revolved, formed sheet metal and so on. Builders for flat and revolved parts already exist; formed parts have needed custom work.
  • Generate the build spec from the classification: outline loops, holes, dimension values, thickness. For parts outside a known family, Claude writes the spec or the build code, and the result goes through the same checks.
  • Check before any engineer looks: a valid, watertight solid; the expected topology; dimensions that match the printed callouts; and a two-way comparison with the reference file where one exists. Failures go to the build-failed status, so engineers only review plausible models.

Stage 4: review with reason codes

The review screen shows the drawing beside an interactive 3D view of the model, with the check results. The engineer approves or rejects, and a rejection needs a reason code: wrong outline, wrong thickness, mirrored, missing feature, and so on. The reason codes show which stage to improve next. A rejection never overwrites anything; the part gets a new version.

Where it runs: why not all in Fabric

Microsoft Fabric was the first place we looked, because the client’s product data work already runs there. The crux of the decision: this pipeline is mostly documents that engineers work on, not tables to analyze. Every part carries a PDF drawing, an extracted vector file, a classification an engineer edits and saves (sometimes several times), build code, STEP and mesh files, and check results, each in versions. Fabric is built for analytics (Spark, SQL tables and Power BI), and it is clunky for storing and editing documents like these, and for giving engineers a place to do their part of the work.

So the design pairs a Delta lake on Azure, which stores every document and result in versions, with a web app for engineer input, where engineers classify drawings and review models. The process is built around those two. The rest of the comparison points the same way:

What the pipeline needsFabricAzure data lake and containers
Storing and editing documents: drawings, classification files engineers edit and resave, STEP and mesh files, in versionsClunky: built for tables and analytics, not for working files people editA Delta lake on Azure, with every file versioned and nothing overwritten
The CAD kernel and its libraries installed reliablyFabric controls what can be installed in its runtime; a large CAD kernel that needs system libraries may not installOur own container image, so it installs the same way everywhere
A place for engineers to classify drawings and review modelsFabric does not host custom web appsA web app with company sign-in that reads and writes the data lake
Pause until an engineer finishes, then resumeAwkward: two pipelines joined by a file triggerBuilt in, through a queue and a status table
One small job per part, in parallel, paid only while runningSpark clusters are built for big data jobs, which is overkill hereContainer jobs that start one per part and scale to zero
Tracking progress across thousands of partsA strong fit: tables and Power BIPossible, but more work

So the design we are leaning toward splits the work:

  • Storage: a Delta lake on Azure with a folder per part (incoming, extracted, reviewed, output), every file versioned, and results and statuses kept in Delta tables.
  • Engineer input: a web app where engineers finish each classification and approve or reject each model. Saving writes straight to the data lake and moves the part to the next queue.
  • Processing: one container image holding the PDF tools, the CAD kernel and the pipeline code, run as jobs whenever a part reaches a queue. Extraction and the build are the same image with different commands.
  • Workflow: a small status table showing where every part is, with a record of every status change, who made it and why.
  • AI: Claude, called from the jobs only for the judgment steps, such as finding view regions, matching dimensions and choosing a build approach, with the API key kept in a key vault and usage tracked per part.
  • Reporting: Fabric reads the same data lake through a shortcut, with no second copy, and a Power BI dashboard shows parts done, how closely models match their references, and how many review rounds each part took. That is where Fabric adds real value.

Build it in the right order

The cloud setup is not the first thing to build. The order we have in mind:

  1. Put the code under version control and build the container image first. It removes the install risk, and the same image runs on a laptop or in the cloud, so the hosting decision can wait.
  2. Stage 1 with render and compare, run against the drawings already in hand.
  3. The reusable classification function, scored against the classifications engineers have already saved.
  4. The queues, the status table and the hosted classification tool.
  5. Build-spec generation, starting with flat parts, the most common and simplest family.
  6. The review screen.

And one rule above the rest: don’t build cloud infrastructure for a pilot. While the bottleneck is still the manual steps, run the pilot locally, measure how much of each part still needs a person, including the AI cost per part, and size the cloud setup and the budget for the full catalog from those numbers.

What stays human

The point of the pipeline is not to remove engineers. Code and AI do the extraction, the first pass of classification, the build and the checks. Engineers finish the classification, review every model before it is approved, and handle the parts that do not fit a family. Their time goes where their judgment matters most.

Frequently asked questions

Can Microsoft Fabric run a CAD conversion pipeline?

It can report on progress very well, but it is a poor fit for the work itself. The pipeline is mostly documents that engineers edit and resave (drawings, classification files, STEP files, in versions), and Fabric is clunky for storing and editing documents. It also controls what can be installed in its runtime, and a CAD kernel such as the one behind CadQuery is large and can need system libraries; Fabric cannot host the web page engineers use to classify drawings; pausing a job until a person finishes is awkward; and Spark is built for big parallel data jobs, not one small job per part.

Why use an Azure data lake instead of doing everything in Fabric?

Because the work is documents and people, not analytics. Every file and result lives in a Delta lake on Azure in versions, engineers do their part in a web app that reads and writes the lake, the extraction and 3D builds run in containers that start per part and cost nothing when idle, and Fabric reads the same data through a shortcut for dashboards. There is one copy of the data, and each tool does what it is good at.

How do you convert thousands of legacy 2D drawings to 3D CAD?

Make each step a queue. Extract the drawing’s vectors and prove the extraction is faithful; pre-classify as many lines as possible by rule and let an engineer finish; queue the part for a batch 3D build with automatic checks; then queue it for engineer review with approve or reject. Prove it on a pilot before building cloud infrastructure for the whole catalog.

Is AI drawing conversion cheaper than converting drawings by hand?

For a large catalog, yes in engineering effort: converting thousands of drawings by hand would take a team of engineers years, and the pipeline reduces that to finishing classifications and reviewing models. But AI usage has a real cost per part, so the design runs everything it can as plain code, calls Claude only for judgment steps, and measures the cost per part in the pilot.

Does AI drawing conversion remove the need for engineers?

No. It changes where they spend their time. Code and AI do the extraction, the first pass of classification, the build and the checks; engineers finish the classification, review the finished models, and handle the parts that do not fit a known family.