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