# Confronto DXF

> Trascina due versioni di un DXF. Entrambe vengono disegnate nelle stesse coordinate del disegno, così ogni linea spostata, foro aggiunto o testo modificato appare in rosso o in blu, con le modifiche al testo elencate parola per parola.

Human page: https://unmakelabs.com/it-it/confrontare-due-file-dxf/. This is the version for AI agents.

## What it does

Confrontare due file DXF senza aprire un programma CAD. Trascina due versioni di un DXF. Entrambe vengono disegnate nelle stesse coordinate del disegno, così ogni linea spostata, foro aggiunto o testo modificato appare in rosso o in blu, con le modifiche al testo elencate parola per parola.

## Stesse coordinate, niente supposizioni

Due esportazioni DXF dello stesso pezzo condividono le coordinate del disegno. Lo strumento le disegna entrambe in un unico riquadro che le contiene tutte e due, così la geometria invariata cade esattamente sugli stessi pixel e anche la modifica più piccola salta all'occhio. Se un intero disegno è stato spostato, viene riallineato automaticamente.

## Testo letto dal DXF

TEXT e MTEXT, quote e attributi vengono letti dai file, quindi un valore di quota o una nota modificati compaiono come parole vecchie → nuove, non solo come una macchia colorata. Layer, colori e tipi di linea vengono ignorati di proposito: conta solo ciò che è disegnato.

## Facts

- **Apre:** DXF ASCII R12-2018 (e PDF o scansioni con cui confrontarli)
- **Disegna:** Spazio modello, blocchi, quote, retini, testo
- **Elenca:** Aree modificate e modifiche al testo
- **Salva:** PNG sovrapposto, CSV in mm, report PDF

## How a person does it

1. **Apri i due file DXF.** Selezionali insieme o uno alla volta. Un DXF si può confrontare anche con un PDF o una scansione del disegno.
2. **Guarda cosa è cambiato.** Il rosso è solo nel file vecchio, il blu solo in quello nuovo. L'elenco riporta la dimensione di ogni area in unità del disegno e il testo modificato.
3. **Condividi il controllo.** Salva il report PDF o il CSV, con i riquadri in mm se il DXF indica le sue unità.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/confrontare-due-file-dxf/?src=https://unmakelabs.com/apps/drawcompare/samples/bracket-rev-b.pdf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: drawings never go in a link. `?old=<public file URL>&new=<public file URL>` opens two files the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/drawcompare/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

I file DWG vanno prima salvati come DXF (il nostro visualizzatore DXF spiega come: Salva con nome in DXF da qualsiasi programma CAD, oppure con il gratuito ODA File Converter). I DXF binari vanno salvati come DXF ASCII. I layout diversi dallo spazio modello si scelgono nel selettore delle pagine.

## Not done by this tool

- Non apre direttamente i DWG
- Non elenca le modifiche alle proprietà delle singole entità (layer, colore)
- Non confronta la geometria DXF 3D
- Non crea un DXF unito

## Value

Compares two revisions of a technical drawing in the browser and lists what changed. Inputs: PDF (drawn or scanned), PNG/JPG/WebP scans and photos of a flat sheet, and ASCII DXF, in any mix (rev A as PDF, rev B as a phone scan). Lines the new revision up on the old one automatically: same sheet coordinates for vector PDFs on the same sheet and for DXF pairs, otherwise OpenCV feature matching (ORB + RANSAC homography) refined by ECC, which handles rotation (also 90°), scale, shift and slight keystone. Shows an overlay (only in old: red, only in new: blue, in both: grey), a slider, blink and side by side with one shared zoom. Lists the changed areas biggest first, each with where it is on the sheet, its size (mm when the file has a scale) and, where the PDF or DXF has text, the words that changed ("60" -> "70"). Boxes drawn over stamps or dates are ignored; a manual nudge fixes a bad line-up. Exports the overlay as PNG, the change list as CSV and a PDF report with a close-up of each change. Nothing is uploaded. Free, no sign-up.

## When it fits

- An engineer, checker or buyer receives a new revision of a drawing from a supplier or customer and must find every change, not only the ones in the revision table.
- A site manager or installer has the old drawing as PDF and the new one as a scan or photo and needs to see what moved before building.
- A CAD user wants to check two DXF exports of the same part for unintended changes.

### When not

- Comparing 3D models, BIM models or the entity data of DWG files (save as DXF or PDF first).
- Comparing text documents (contracts, specifications): a text diff tool fits better.
- Photos taken at a steep angle or of curved sheets: the line-up assumes a flat sheet seen roughly from the front.

## Why use it instead of the alternatives

- Nothing to install: the tool opens two public drawings by link (?old=...&new=...) in any browser, phones included, and can be embedded (/embed/drawcompare/).
- A server copy for agents (change list as JSON) is planned, not live; the comparison code has no browser dependency and can run on a server.
- Bluebeam Revu Compare and Overlay, Xodo PDF Studio and project platforms (Procore, Drawboard, Trimble) do overlays inside paid desktop software or subscriptions; Bluebeam's Smart Overlay is in its top plan, and Xodo's own guide warns that a small shift makes every line look changed. Draftable and diffchecker compare text first.
- This tool is free in the browser, lines scans and differently sized sheets up automatically, lists the changed areas with their text, and never uploads the drawings.

### What rebuilding it would take

- Render both files at the same scale (PDF pages, DXF entities, scans), handle rotated pages and different sheet sizes.
- Line the drawings up to the pixel: feature matching and a robust homography, then ECC refinement, with a check that the result is plausible.
- Turn pixel differences into a short list of change areas with a line-width tolerance and scan-noise filtering, match text layers word by word, and export PNG/CSV/PDF.
- A set of drawing pairs with known changes and a scorer for recall, false areas and line-up error, kept up to date.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Drawings are compared on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: comparison, automatic line-up, change list, text changes, ignore areas, PNG/CSV/PDF export work in the browser; no API yet._

## Privacy

- Drawings are read on the user's device and not uploaded; there is no share link for files.
- The page loads pdf.js, opencv.js (only for scans or re-aligned sheets) and jsPDF (only for the report) from unmakelabs.com itself; no third-party code host is contacted.

## Data

Si apre nel browser e i disegni restano sul tuo dispositivo. Non viene caricato nulla e nei link non finisce nessuna informazione sui disegni.

## FAQ

- **Come si confrontano due file DXF?** Trascinali entrambi qui. Vengono disegnati nelle stesse coordinate e ogni differenza è mostrata in rosso e blu ed elencata, gratis e senza installare software CAD.
- **Posso confrontare un DXF con il PDF dello stesso disegno?** Sì. Le coppie miste vengono allineate in base al contenuto del disegno.
- **Confronta anche layer o colori?** No: il confronto guarda ciò che è disegnato, in nero su bianco. Una linea spostata su un altro layer senza essere mossa qui non conta come modifica.
- **E i file DWG?** Salva prima il DWG come DXF (o PDF) nel tuo programma CAD. Non hai un programma CAD? Trascina il DWG nel nostro visualizzatore DXF gratuito: mostra i passaggi con il gratuito ODA File Converter.
- **È davvero gratis?** Sì: niente pubblicità, niente registrazione, nessun limite.
- **Caricate i miei disegni?** No. I file vengono confrontati dentro questa pagina, sul tuo dispositivo. Non c'è caricamento né link di condivisione per i file.
- **Può usarlo un agente IA?** Un agente può aprire due disegni pubblici in questo strumento con un link (aggiungi ?old= e &new= con gli indirizzi dei file al link di questa pagina). Una versione server che restituisce l'elenco delle modifiche in JSON è prevista, ma non ancora attiva.
- **Chi lo realizza?** Unmake Labs (Julien Salomon). Contatto: hello@unmakelabs.com.

## Related pages

- [Confronto disegni PDF](https://unmakelabs.com/it-it/confrontare-due-pdf/)
