# DXF 比較

> DXFの2つの版をドロップしてください。両方を同じ図面座標で描画するので、移動した線、追加された穴、変更された文字がすべて赤か青で表示されます。文字の変更は単語ごとに一覧にします。

Human page: https://unmakelabs.com/ja-jp/dxf-compare/. This is the version for AI agents.

## What it does

CADソフトを開かずに、2つのDXFファイルを比較。 DXFの2つの版をドロップしてください。両方を同じ図面座標で描画するので、移動した線、追加された穴、変更された文字がすべて赤か青で表示されます。文字の変更は単語ごとに一覧にします。

## 同じ座標で、推測なし

同じ部品から書き出した2つのDXFは、図面座標が共通です。両方の図面を囲む1つの枠に描画するので、変わっていない形状はまったく同じピクセルに重なり、ごく小さな修正も目立ちます。図面全体が移動している場合は、自動で位置を合わせます。

## 文字はDXFから直接読み取り

TEXTとMTEXT、寸法、属性をファイルから読み取るため、寸法値や注記の変更は色の付いた部分としてだけでなく、「旧 → 新」の文字として一覧に表示されます。画層、色、線種はあえて無視し、描かれている内容だけを比較します。

## Facts

- **開ける形式:** ASCII DXF R12-2018（比較相手としてPDFやスキャン画像も）
- **描画対象:** モデル空間、ブロック、寸法、ハッチング、文字
- **一覧表示:** 変更箇所と文字の変更
- **保存形式:** 重ね合わせPNG、mm単位のCSV、PDFレポート

## How a person does it

1. **2つのDXFファイルを開く.** まとめて選んでも、1つずつ選んでもかまいません。DXFと図面のPDFやスキャン画像を比較することもできます。
2. **差分を確認する.** 赤は旧ファイルにだけ、青は新ファイルにだけあるものです。一覧には各箇所の大きさ（図面単位）と変更された文字が表示されます。
3. **確認結果を共有する.** PDFレポートまたはCSVを保存します。DXFに単位が指定されていれば、枠の位置はmmで記録されます。

## 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/ja-jp/dxf-compare/?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

DWGファイルは先にDXFとして保存する必要があります（方法は当サイトのDXFビューアーで案内しています。各CADソフトの「名前を付けて保存」でDXFを選ぶか、無料のODA File Converterを使います）。バイナリDXFはASCII DXFで保存し直してください。モデル空間以外のレイアウトは、ページ選択から選べます。

## Not done by this tool

- DWGは直接開けません
- 要素ごとのプロパティ変更（画層、色）は一覧にしません
- 3D DXFの形状は比較しません
- 統合した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

ブラウザ上で開き、図面はお使いの端末から出ません。アップロードは一切なく、図面の情報がリンクに含まれることもありません。

## FAQ

- **2つのDXFファイルを比較するには？** ここに両方をドロップしてください。同じ座標で描画され、すべての差分が赤と青で表示・一覧化されます。無料で、CADソフトのインストールも不要です。
- **DXFと同じ図面のPDFを比較できますか？** はい。形式の異なる組み合わせは、図面の内容をもとに位置を合わせます。
- **画層や色も比較しますか？** いいえ。比較するのは白地に黒で描かれた内容です。線を動かさずに別の画層へ移しただけの場合、ここでは変更とみなしません。
- **DWGはどうすればいいですか？** 先にCADソフトでDWGをDXF（またはPDF）として保存してください。CADソフトがない場合は、当サイトの無料DXFビューアーにDWGをドロップすると、無料のODA File Converterを使った手順が表示されます。
- **本当に無料ですか？** はい。広告なし、登録不要、制限もありません。
- **図面はアップロードされますか？** いいえ。ファイルはお使いの端末上で、このページ内で比較されます。アップロードもファイルの共有リンクもありません。
- **AIエージェントでも使えますか？** エージェントは、リンクを使って公開されている2つの図面をこのツールで開けます（このページのURLに ?old= と &new= でファイルのアドレスを付けます）。変更一覧をJSONで返すサーバー版は計画中で、まだ公開されていません。
- **運営者は？** Unmake Labs（Julien Salomon）です。連絡先：hello@unmakelabs.com

## Related pages

- [PDF図面比較](https://unmakelabs.com/ja-jp/compare-pdf-drawings/)
