# RetraceDB: from paper drawings to intelligent drawings

> RetraceDB digitizes paper drawings and scans: vectorization to DXF or DWG, redraw from the dimensions, searchable engineering database. On request.

- Source : https://industryhub.site/en/documents
- Type : Technical drawing digitization, service on request from IndustryHub
- Status : Today the three stages are done on equipment and mechanical drawings. What follows cannot be delivered yet.
- Language : English

RetraceDB is IndustryHub's drawing digitization service. Your legacy drawings, hand-drawn or scanned, become DXF or DWG files and an engineering database: the database is what makes the drawing intelligent. The link works both ways: the drawing feeds the database, and the database, interfaced with AutoCAD, automates the drawing.

## Three stages, each useful on its own

The trace is automatic, the redraw is done dimension by dimension, the database is filled from the redraw. You can stop at any stage.

### 1. The trace

A vector drawing faithful to the scan, which CAD software opens, measures and prints. The lettering is still strokes; nothing is dimensioned.

- **Prepare the scan** : Greyscale at native resolution, normalized background: yellowed paper, stains and folds do not become strokes.
- **Vectorize** : Each stroke is thinned to its centreline, crossings are rebuilt, then the paths are fitted as lines, arcs and circles.
- **Calibrate on a dimension** : The scale is computed from a dimension on the drawing, not from the file size, and checked in the other direction. Skew is corrected.
- **Sort by line weight** : Thick, medium and thin strokes on their own layers; lettering and symbols apart.

You get: a DXF at paper scale.

### 2. The redraw

View by view, clean geometry replaces the trace. It follows the written dimensions, not the stroke: a hand-made drawing is rarely to scale everywhere.

- **Read** : Dimensions, text and item numbers are read on enlargements of the scan before anything is drawn.
- **Rebuild from the dimensions** : The geometry is written in real dimensions. Anything not dimensioned is measured on the scan and flagged.
- **Dimension by measurement** : Dimensions are measured on the geometry: the displayed value proves the drawing.
- **Re-key** : Text, hatching, bill of materials and title block become real entities again, copied as written.
- **Check** : Dimension chains added up, views cross-checked with their details. A contradiction is reported, never silently corrected.

You get: DXF, DWG and PDF at 1:1 scale, with a report: values measured on the scan, uncertain readings, inconsistencies of the original drawing.

### 3. The database

The content of the redraw goes into the engineering database: the drawing can be queried.

- **Store** : One record per drawing: title block, views and scales, text, dimensions with their value, bill-of-materials parts, nozzles and their attributes.
- **Query** : A search for “DN 600” returns the matching parts, text and dimensions, drawing by drawing. SQL queries work too.
- **Keep the source** : Every object points to its drawing; an uncertain reading stays marked as such.
- **Rebuild** : Today the files are the reference and the database is their index: a corrected drawing is reloaded and its rows are replaced.
- **Interface with AutoCAD** : We can interface the database with AutoCAD to automate drawing: data changed in the database is carried over to the drawings.

You get: a searchable SQLite database, rebuilt from your drawings.

## What comes next (Planned)

Today the three stages are done on equipment and mechanical drawings. What follows cannot be delivered yet.

- **Link and check** (Planned) : Parts linked to their view, nozzles to their parts, drawings to the drawings they cite. Automatic checks: unused item numbers, mismatched quantities, open dimension chains.
- **Plant objects** (Planned) : The equipment becomes an object linked to all its drawings; its nozzles become connection points to the process diagrams.
- **Electrical schematics and P&IDs** (Planned) : No dimensions, but symbols and connections: the redraw places intelligent blocks with attributes, terminals and connections, and the database derives the terminal-strip and cable lists.
- **The portal and the agent** (Planned) : A web portal shows the drawings and the record of each device; an intelligent agent that has understood your installation answers your questions.

### An intelligent block, in practice (Planned)

In a redrawn schematic, each symbol will be a block reference (INSERT) whose attributes (ATTRIB) carry the tag and the characteristics.

The tag attribute is the key to the device's record in the database: the attributes feed the database, and a value changed in the database will be written back to the attributes.

## Four families of documents

- **Equipment and mechanical drawings** (Today) : Vessels, equipment, piping, buildings: section views, details, bills of materials.
- **Electrical schematics** (Trace today, redraw planned) : Cabinets, terminal strips, wiring diagrams, instrument loops.
- **Process diagrams** (Trace today, redraw planned) : P&IDs: equipment, piping, measuring points.
- **Documentation** (Planned) : Manuals, data sheets, certificates, binders: searchable text the agent will be able to read.

## On your premises or on ours

The database today, the portal later: on your server or on ours.

- **Installed on your premises** : On your server: your documents stay on your network.
- **Hosted by us** : Browser access, nothing to install.
- **Secure access** : Personal account; data encrypted on request.

**And the agent?** Planned with the portal. Ordinary documents: online model under contract; sensitive documents: local model. In a Microsoft environment, it can also be a Copilot Studio agent on your SharePoint.

## Frequently asked questions

### Can a scanned drawing be converted to DWG automatically?

In part. Vectorizing the scan is automatic and yields a faithful DXF at paper scale. A clean drawing with real dimensions and real text is redrawn from the written dimensions, then delivered as DXF and DWG.

### What is the difference between vectorization and a redraw?

Vectorization, or the trace, reproduces the scan as lines, arcs and circles; the lettering is still strokes and nothing is dimensioned. The redraw rebuilds the geometry from the written dimensions, with dimensions, text, hatching, bill of materials and title block.

### Which files do you receive?

Trace: a DXF at paper scale. Redraw: DXF, DWG and PDF at 1:1 scale, with a report. Database: a searchable SQLite database.

### Which drawings does RetraceDB handle today?

All three stages: equipment and mechanical drawings. Electrical schematics and P&IDs: the trace today; the redraw as intelligent blocks is planned.

### Does the redraw sit exactly on top of the scan?

No: it follows the written dimensions, not the stroke, and a hand-made drawing is rarely to scale everywhere. An illegible or contradictory dimension is reported, never guessed.

### Is RetraceDB software or a service?

Today, a service on request: you send your drawings, we deliver the files and the database, on your server or on ours. The web portal and the agent are planned.

## To get started

- A few representative drawings of each family.
- The paper originals, or the scans at their native resolution.
- Your tagging convention.
- Your CAD software and the expected format: DXF or DWG, and its version.
- Where it is hosted: on your premises, on ours or in your Microsoft environment.

## A first discussion about your drawings

Type of drawings, volume, paper or files: we assess feasibility.

Contact form : https://industryhub.site/en/documents#contact

## Go further

- [Article — Digitalizing the company in the age of AI](https://industryhub.site/en/articles/digitalisation-entreprise-ia-donnees-competitivite)
- [Digital manuals: what changes in 2027](https://industryhub.site/en#notices-2027)
- [Generative AI for engineering](https://industryhub.site/en/ai/generative-engineering)
