# AutoCAD 練習問題：敷地の区画

> AutoCAD の土木練習問題。各辺の長さと角度から極座標で敷地を描き、面積を計測して寸法を記入します。手順付きで、ブラウザで無料で練習できます。

次の敷地を、各辺の長さと方向から描きます(単位は m)。0° 方向に 40、80° に 30、155° に 35、230° に 25 で、最後は始点に戻ります。面積と周長を計測し、各辺と 2 つ目のコーナーの角度に寸法を記入します。極座標(長さと角度)で、各辺を直前の辺の終点から描きます。この図面の寸法尺度はメートル用に設定されています。

- **練習問題：** 中級 · 土木 · 2D
- **コマンド：** [`PLINE`](https://mellowcad.com/ja/docs/commands/pline.md), [`AREA`](https://mellowcad.com/ja/docs/commands/area.md), [`DIMALIGNED`](https://mellowcad.com/ja/docs/commands/dimaligned.md), [`DIMANGULAR`](https://mellowcad.com/ja/docs/commands/dimangular.md)
- **エディタで：** [図面付きで開く](/ja/draw?drawing=plot-of-land)。寸法付きの図面が、自分で作図する場所の隣に表示されます

## 図面

5 辺の敷地(単位は m)。各辺と 1 つの角度の寸法付き。

## 手順

エンジンが各手順を作図し、その履歴を入力するとおりに書き出します。プロンプトは AutoCAD 2027 と同じ順序で、オプションの文字も同じです。コマンドの最初の点の後は、ダイナミック入力と同じく、入力した点は直前の点から測られ、履歴には @ を付けて書かれます。\# を付けると原点から測ります。

### 1. 境界を描く

「外形線」画層で、[`PLINE`](https://mellowcad.com/ja/docs/commands/pline.md)[ポリライン]コマンドを `0,0` から始め、各辺を長さと角度で `40<0`、`30<80`、`35<155`、`25<230` と入力します。いずれも直前の点からの値です。`Close` で 5 つ目の辺を描いて境界を閉じます。これで 1 つのオブジェクトになり、[`AREA`](https://mellowcad.com/ja/docs/commands/area.md)[面積計算]コマンドで計測できます。

1. 境界を描く

```text
Command: PLINE
Specify start point: 0,0
Current line-width is 0.00
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: @40<0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @30<80
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @35<155
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @25<230
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: C
```

### 2. 面積を計測する

[`AREA`](https://mellowcad.com/ja/docs/commands/area.md) コマンドで `Object` を選び、境界を選択します。コマンド ラインに面積(平方メートル)と周長が表示されます。

2. 面積を計測する

```text
Command: AREA
Specify first corner point or [Object/Add area/Subtract area] <Object>: O
Select objects:
Area = 1620.90, Perimeter = 155.32
```

### 3. 寸法を記入する

「寸法」画層で、[`DIMALIGNED`](https://mellowcad.com/ja/docs/commands/dimaligned.md)[平行寸法記入]コマンドを実行し、最初のプロンプトで[Enter]を押します。するとオブジェクトの選択を求められ、辺を選択するとその辺に平行な寸法が記入されます。それぞれ敷地の外側に配置します。[`DIMANGULAR`](https://mellowcad.com/ja/docs/commands/dimangular.md)[角度寸法記入]コマンドで `40,0` で交わる 2 辺を選択すると、その間の角度 100° が記入されます。

3. 寸法を記入する

```text
Command: DIMALIGNED
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or [Text/Angle]:
Dimension text = 40
Command: DIMALIGNED
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or [Text/Angle]:
Dimension text = 30
Command: DIMALIGNED
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or [Text/Angle]:
Dimension text = 35
Command: DIMALIGNED
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or [Text/Angle]:
Dimension text = 25
Command: DIMALIGNED
Specify first extension line origin or <select object>:
Select object to dimension:
Specify dimension line location or [Text/Angle]:
Dimension text = 25.32
Command: DIMANGULAR
Select arc, circle, line, or <specify vertex>:
Select second line:
Specify dimension arc line location or [Text/Angle]:
Dimension text = 100
```

## ほかの練習問題

- [AutoCAD 練習問題：段付き軸](https://mellowcad.com/ja/docs/exercises/shaft.md): 中級 · 機械 · 2D
- [AutoCAD 等角図の練習問題：段付きブロック](https://mellowcad.com/ja/docs/exercises/isometric-block.md): 中級 · 機械 · アイソメ
- [AutoCAD 3D 練習問題：プーリ](https://mellowcad.com/ja/docs/exercises/pulley.md): 中級 · 機械 · 3D ソリッド
- [AutoCAD 練習問題](https://mellowcad.com/ja/docs/exercises.md)
