# Porównanie plików DXF

> Upuść dwie wersje pliku DXF. Oba rysunki są wyświetlane w tych samych współrzędnych, więc każda przesunięta linia, nowy otwór i zmieniony tekst pojawia się na czerwono lub niebiesko, a zmiany w tekście są wypisane słowo po słowie.

Human page: https://unmakelabs.com/pl-pl/porownanie-plikow-dxf/. This is the version for AI agents.

## What it does

Porównanie plików DXF bez otwierania programu CAD. Upuść dwie wersje pliku DXF. Oba rysunki są wyświetlane w tych samych współrzędnych, więc każda przesunięta linia, nowy otwór i zmieniony tekst pojawia się na czerwono lub niebiesko, a zmiany w tekście są wypisane słowo po słowie.

## Te same współrzędne, bez zgadywania

Dwa eksporty DXF tej samej części mają wspólne współrzędne rysunku. Narzędzie umieszcza oba w jednym kadrze obejmującym oba rysunki, więc niezmieniona geometria wypada dokładnie na tych samych pikselach, a nawet najmniejsza zmiana od razu się wyróżnia. Jeśli cały rysunek został przesunięty, zostaje automatycznie dopasowany.

## Tekst prosto z pliku DXF

TEXT i MTEXT, wymiary oraz atrybuty są odczytywane z plików, więc zmieniona wartość wymiaru lub notatka pojawia się na liście jako stare → nowe słowa, a nie tylko jako kolorowa plama. Warstwy, kolory i rodzaje linii są celowo pomijane: liczy się tylko to, co narysowane.

## Facts

- **Otwiera:** ASCII DXF R12-2018 (oraz PDF lub skany do porównania)
- **Wyświetla:** Obszar modelu, bloki, wymiary, kreskowania, tekst
- **Wypisuje:** Zmienione obszary i zmiany w tekście
- **Zapisuje:** Nakładkę PNG, CSV w mm, raport PDF

## How a person does it

1. **Otwórz oba pliki DXF.** Wybierz je razem lub po kolei. Plik DXF można też porównać z PDF-em lub skanem rysunku.
2. **Zobacz, co się zmieniło.** Czerwony występuje tylko w starym pliku, niebieski tylko w nowym. Lista podaje rozmiar każdego obszaru w jednostkach rysunku oraz zmieniony tekst.
3. **Udostępnij wynik.** Zapisz raport PDF lub plik CSV – z ramkami w mm, jeśli DXF określa swoje jednostki.

## 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/pl-pl/porownanie-plikow-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

Pliki DWG trzeba najpierw zapisać jako DXF (nasza przeglądarka DXF pokazuje, jak to zrobić: „Zapisz jako DXF” w dowolnym programie CAD albo darmowy ODA File Converter). Binarny DXF trzeba zapisać jako ASCII DXF. Arkusze inne niż obszar modelu są dostępne w wyborze stron.

## Not done by this tool

- Nie otwiera bezpośrednio plików DWG
- Nie wypisuje zmian właściwości poszczególnych obiektów (warstwa, kolor)
- Nie porównuje geometrii 3D w DXF
- Nie zapisuje scalonego pliku DXF

## 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

Działa w przeglądarce, a Twoje rysunki zostają na Twoim urządzeniu. Nic nie jest wysyłane i nic o nich nie trafia do linków.

## FAQ

- **Jak porównać dwa pliki DXF?** Upuść oba tutaj. Zostaną wyświetlone w tych samych współrzędnych, a każda różnica zostanie zaznaczona na czerwono i niebiesko oraz wypisana na liście – za darmo i bez instalowania programu CAD.
- **Czy można porównać DXF z PDF-em tego samego rysunku?** Tak. Pary mieszane są dopasowywane na podstawie zawartości rysunku.
- **Czy porównywane są warstwy lub kolory?** Nie: porównanie obejmuje to, co narysowane, czarno na białym. Linia przeniesiona na inną warstwę bez przesunięcia nie jest tu traktowana jako zmiana.
- **A co z plikami DWG?** Najpierw zapisz DWG jako DXF (lub PDF) w swoim programie CAD. Nie masz programu CAD? Upuść plik DWG w naszej darmowej przeglądarce DXF: pokaże kroki z darmowym ODA File Converter.
- **Czy to naprawdę za darmo?** Tak: bez reklam, bez rejestracji, bez limitów.
- **Czy wysyłacie moje rysunki?** Nie. Pliki są porównywane w tej stronie na Twoim urządzeniu. Nie ma wysyłania ani linku do udostępniania plików.
- **Czy agent AI może z tego korzystać?** Agent może otworzyć w tym narzędziu dwa publiczne rysunki za pomocą linku (dodaj do adresu tej strony ?old= i &new= z adresami plików). Wersja serwerowa zwracająca listę zmian jako JSON jest planowana, jeszcze nie działa.
- **Kto to tworzy?** Unmake Labs (Julien Salomon). Kontakt: hello@unmakelabs.com.

## Related pages

- [Porównanie rysunków PDF](https://unmakelabs.com/pl-pl/porownaj-dwa-pliki-pdf/)
