> For the complete documentation index, see [llms.txt](https://docs.archisketch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.archisketch.com/guide/user-jp/expert-feature/cad-upload.md).

# CADアップロード

ArchisketchはCAD図面のアップロード機能に対応しています。ただし、アップロード前に、図面のLayerがArchisketchの要件に合わせて整理されている必要があります。Layerが整理されていないとエラーが

Archisketch は CAD 図面のアップロード機能をサポートしています。\
ただし、アップロード前に、図面のレイヤーが Archisketch の要件に合うよう整理されている必要があります。\
レイヤーの整理ができていないとエラーが発生する可能性があるため、必ず下記の案内を参考に整理してからアップロードしてください。

{% hint style="warning" %}
この機能はArchisketchの有料顧客向けに提供されています。
{% endhint %}

## 例

## アップロード可能なファイル形式（DXF）

* ファイル形式: DXF
* 最大ファイルサイズ: 10MB

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-f7fffa2fdb59ad2675cfa48e595c0956fa23b33a%2Fcad-upload-1.png?alt=media" alt=""><figcaption></figcaption></figure>

## CADでレイヤーを整理する

Archisketch は合計4つのレイヤーのみ認識できます。\
図面をアップロードする前に、CADで下記のようにレイヤー名を設定してください。（大文字・小文字を区別せずに設定可能）

| 種類 | レイヤー名                       |
| -- | --------------------------- |
| 壁  | **`wall`**                  |
| ドア | **`door`**                  |
| 窓  | **`window`**                |
| 柱  | **`line`** または **`column`** |

### 壁

レイヤー名を wall に指定し、下記のように壁を描きます。

{% hint style="warning" %}
注意）壁の線と線は必ずぴったり接している必要があります。そうでないと壁の検出が正しく行われません。

注意）壁と壁の間は閉じていない状態である必要があります。

注意）曲線の壁はサポートされていません。
{% endhint %}

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-c5117af6692ccd224d4c593afad18b9c945f15ee%2Fcad-upload-2.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
壁が切れているか確認しにくいときは、Hatch を適用してみてください！

1つの Hatch がきれいに適用されれば、壁ラインの整理が完了したといえます！
{% endhint %}

**追加機能**

* CADであらかじめ壁の高さを指定できます！\
  レイヤー名を wall\_2800 のように設定すると、Archisketch エディターで壁体の高さが自動的に 2800mm に適用されます。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-7d26589b5f7a2e44baf1b60d6bc3e9018881531b%2Fcad-upload-3.png?alt=media" alt=""><figcaption></figcaption></figure>

### ドア

* ドアを下記のようにブロックで作成します。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-a1b704bb77585fb7e945774b9ee1ae9824cd8876%2Fcad-upload-4.png?alt=media" alt=""><figcaption></figcaption></figure>

* レイヤー名を door に指定し、ブロックをドアの位置に配置します。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-055714a4074514769fd43b7ad9f6eb25935d427d%2Fcad-upload-5.png?alt=media" alt=""><figcaption></figcaption></figure>

### 窓

* 窓を下記のようにブロックで作成します。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-2ef3a8dc9721b654be8ae392c04d91a9fb061b7d%2Fcad-upload-6.png?alt=media" alt=""><figcaption></figcaption></figure>

* レイヤー名を window に指定した後、下記のように希望の位置に挿入します。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-fc7cd69995bd17d18b3e7f1d26856f5c4f3dcb79%2Fcad-upload-7.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
注意）ブロック化されていない窓は Archisketch エディターで読み込めません。
{% endhint %}

### 柱

レイヤー名を line または column に指定して多角形を描きます。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-5fd4dcb477f207c328ed8d3f372d5540d15b0663%2Fcad-upload-8.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
注意）多角形は直線または円で構成され、始点と終点がつながった図形である必要があります。
{% endhint %}

柱の作成条件

* 円柱
  * 頂点数が20個以上の多角形の場合
  * \[円柱] に変換されます
* 角柱
  * 頂点数が4個で長方形の場合
  * \[角柱] に変換されます

![](https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-3340ab08c0c7f6994b9fdfd0ebb75ba342fbd5b8%2Fcad-upload-9.png?alt=media)

* その他の形状
  * 5～19個の頂点を持つ多角形の場合
  * \[設計型ライブラリ > 建築/資材エディター] に変換されます

注意事項

レイヤー内に要件に合わない図形が含まれている場合、正常にアップロードされません。

![](https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-b91a8dc8d3ba4917eb79c8ab4ac2fe7630ed1bef%2Fcad-upload-10.png?alt=media)

### ファイルを保存する

* ファイル形式は必ず dxf で保存してください。その他の形式はアップロード機能に対応していません。

## Archisketch でアップロードする

図面アップロード方法

* \[図面アップロード] → \[CADアップロード] → \[ファイル選択] の順に進みます。
* その後、レイヤーを選択できる画面が表示されます。
* 必要なレイヤーだけをオン・オフできます。
* 選択が完了したら、右下の \[アップロード] ボタンを押してください。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-b137257b3fc220d971cdc3674995b392b241f572%2Fcad-upload-11.png?alt=media" alt=""><figcaption></figcaption></figure>

## エディターで編集する

アップロードされた図面は Archisketch 形式に変換されるため、壁編集、製品配置、レンダリングなど Archisketch のさまざまな機能を活用できます。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-e357bd8e144756d9e0ed59dee7f018900ebc65e4%2Fcad-upload-12.png?alt=media" alt=""><figcaption></figcaption></figure>

## 柱を編集する

アップロードが完了したら柱を選択し、\[属性 > 高さ] を修正して柱を希望の高さに調整できます。

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-c5566710c106b2955eeee1cf19331562ac7d2ca7%2Fcad-upload-13.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1692356280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs45pRyTQeyYi0T0toKii%2Fuploads%2Fgit-blob-53db14524e0e2a05201d2d7e9bb92e034f65a64e%2Fcad-upload-14.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.archisketch.com/guide/user-jp/expert-feature/cad-upload.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
