# DXFを計測

> 2点をクリックすれば距離、部屋の角をクリックすれば面積を計算します。線の端点や角にスナップします。さらに、各寸法に表示された数値が実際の形状と合っているかもチェックします。無料・登録不要です。

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

## What it does

DXFの面積計算と距離測定、すべての寸法値のチェックもこれひとつで。 2点をクリックすれば距離、部屋の角をクリックすれば面積を計算します。線の端点や角にスナップします。さらに、各寸法に表示された数値が実際の形状と合っているかもチェックします。無料・登録不要です。

## 画像ではなく図面そのものを計測

DXFには正確な座標が保存されているため、PDFやスキャン画像での計測と違い、図面と同じ精度で計測できます。単位はファイルの$INSUNITSの値から読み取ります。設定されていない場合は、mm・cm・m・インチ・フィートから選ぶと、すべての結果が換算されます。

## 信頼できる寸法かを確認

図面は編集されるうちに、寸法値が手入力で上書きされることがあります。このビューアは長さ寸法・平行寸法・半径寸法・直径寸法をすべて読み取り、寸法の定義点どうしの距離を測って、図面に表示された数値と比較します。一致しない値は一覧に表示されるので、どの寸法が上書きされたかがわかります。

## Facts

- **距離:** 長さ・Δx・Δy・角度、頂点にスナップ
- **面積:** 任意の多角形の面積と周長
- **単位:** $INSUNITSから取得、またはmm・cm・m・in・ftを選択
- **寸法:** 表示された寸法値を形状と照合

## How a person does it

1. **DXFを開く.** ドロップ、ファイル選択、またはリンクを貼り付けます。パネルにファイルで指定された単位と全体のサイズが表示されます。
2. **計測する.** 「距離」を選んで2点をクリックするか、「面積」を選んで角を順にクリックし、最後に最初の点をもう一度クリックします。点が線の端点や角にスナップすると、小さな四角が表示されます。
3. **結果を確認・比較する.** すべての計測結果が、図面の単位での値と換算値（mm、m、ft-in）とともに一覧表示されます。「寸法」セクションには、形状と一致した寸法値の数と、一致しなかった寸法の一覧が表示されます。

## 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/measure-dxf-online/?src=https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=cx,cy,width&lay=1&off=Layer1|Layer2&bg=light&u=mm` (view centre and width in drawing units, layout index, hidden layers, background dark or light, unit override).

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

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: DXF version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check (each dimension's printed value against the distance between its own points), plus a PNG render. POST /v1/dxf_render/jobs adds SVG and PDF per layout; a DWG file goes through dwg_to_dxf (returns the DXF plus the same renders). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf"}'
```

## Good to know

スナップの対象は線の端点とポリラインの角（および円弧上の点）です。中点や交点へのスナップにはまだ対応していないため、それらの点は十分に拡大してからクリックしてください。ペーパー空間のレイアウトでは、モデルの単位ではなく用紙の単位で計測されます。

## Not done by this tool

- 中点・中心・交点へのスナップには未対応
- ペーパー空間のレイアウトは用紙の単位で計測
- 角度寸法・座標寸法のチェックには未対応
- DWGにはまだ対応していません

## Value

Opens ASCII DXF drawings (R12 to 2018) in any browser, phones included: model space and paper layouts with viewports, layers, blocks, text, MTEXT, dimensions, leaders, hatches with their patterns and linetypes; measures distance and area with vertex snapping in the file's units ($INSUNITS); checks every linear, aligned, radius and diameter dimension's printed value against its definition points; exports vector PDF (A4-A0, Letter, Tabloid), real-size SVG with one group per layer, and PNG, each read back by the program after export. Free, no sign-up.

## When it fits

- A user has a DXF (from AutoCAD, BricsCAD, LibreCAD, QCAD, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape or CAM software) and no CAD program, and wants to look at it, read its title block, switch layers or layouts, or measure a distance or an area.
- A user needs a DXF as a PDF to print or send, as a real-size SVG for a laser or vinyl cutter, Inkscape or Illustrator, or as a PNG picture.
- A user wants to know a drawing's units, size, layers, block names, or whether its dimension values match the geometry.

### When not

- DWG files in the browser: the viewer opens DXF (the page explains how to save one). For agents, DWG to DXF runs on our server today (POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/dwg_to_dxf/jobs).
- Binary DXF, 3D solids (ACIS), raster images, external references, editing drawings.
- 3D meshes and CAD solids such as STEP, STL, GLB, OBJ: use the 3D file viewer.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a DXF from a public link in any browser (?src=) and can be embedded in a page (/embed/cad/), with layers, layouts and the view carried in the link.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same facts as JSON (version, units, layouts, layers, blocks, checked dimensions) plus a PNG render; POST /v1/dxf_render/jobs adds SVG and PDF.
- Online viewers such as ShareCAD put measuring behind a paywall; desktop viewers need an install; Autodesk Viewer needs an account.
- This viewer needs no install or account, measures with snapping, checks dimension values against the geometry, and exports vector PDF, real-size SVG and PNG, free without limits, ads or sign-up.

### What rebuilding it would take

- Write a DXF reader for twenty-odd entity types (POLYLINE/LWPOLYLINE bulges, SPLINE NURBS, HATCH boundary paths and pattern lines, MTEXT inline codes, MULTILEADER context data, nested INSERT transforms and attributes, OCS extrusion), layouts and viewports, ByLayer/ByBlock colour and linetype rules and code pages.
- Build a renderer that stays fast on large plans and phones, plus three exporters (PDF, SVG, PNG) that match the screen and are verified after export.
- Add snapping, unit handling and a dimension check.
- Real DXF samples from many CAD programs and versions to test against, and upkeep as writers and browsers change.

## 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.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer, measuring and PDF/SVG/PNG export work for DXF in the browser. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for DXF and DWG files (dxf_render, dwg_to_dxf)._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- For PDF export only, the page loads one extra program from a public code host, which receives the visitor's IP address for that request.

## Data

ブラウザ内で開きます。共有しない限り、ファイルはお使いの端末から外に出ません。共有したファイルは30日間保存されます。

## FAQ

- **計測の精度はどのくらいですか？** 図面と同じ精度です。ビューアはDXFに保存された座標を使用します。スナップした点は正確な頂点で、スナップしていないクリックの精度は拡大率によって決まります。
- **「寸法値が形状と一致」とはどういう意味ですか？** 各寸法について、寸法が付けられている点どうしの距離を測り、同じ方法で丸めたうえで図面に表示された数値と比較します。一致しない場合は、多くの場合、誰かが数値を手入力で上書きしています。
- **単位が「未設定」と表示されるのはなぜですか？** DXFに保存されているのは数値だけで、ミリやインチといった単位は含まれません。単位はヘッダーの値（$INSUNITS）で指定しますが、多くのソフトはこれを0のままにしています。その場合、ビューアは長さを図面単位で表示し、ファイルの他の設定から推測される単位系（メートル法またはヤード・ポンド法）をお知らせします。「長さの表示単位」でmm・cm・m・in・ftを選ぶと、すべてのサイズと計測結果がその単位で表示されます。
- **本当に無料ですか？** はい。広告も登録もなく、表示・計測・書き出しに有料プランはありません。
- **図面はアップロードされますか？** 共有した場合のみです。共有したファイルはリンクが使えるよう30日間保存され、いつでも削除できます。詳しくは「ファイルの扱いについて」をご覧ください。
- **AIエージェントでDXFファイルを読み取れますか？** はい。エージェントはDXFまたはDWGのリンクかアップロードで POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect を呼び出すと（キー不要）、バージョン、単位、レイアウト、画層、ブロック、検証済みの寸法、画像をデータとして取得できます。また、このページのURLに ?src= とファイルのアドレスを付けると、公開されているDXFをこのビューアで開けます。
- **運営者は？** Unmake Labs（Julien Salomon）です。連絡先：hello@unmakelabs.com

## Related pages

- [DXFビューア](https://unmakelabs.com/ja-jp/dxf-viewer/)
- [DXF PDF 変換](https://unmakelabs.com/ja-jp/dxf-to-pdf/)
- [DXF SVG 変換](https://unmakelabs.com/ja-jp/dxf-to-svg/)
- [DXF → PNG 変換](https://unmakelabs.com/ja-jp/dxf-to-png/)
