# AutoCAD 練習問題：階段の平面図

> AutoCAD の建築練習問題。直階段の平面図を、1 本の線と矩形状配列複写による 10 段の踏面、昇り方向の矢印、寸法で描きます。手順付きで、無料で練習できます。

直階段の平面図を描きます(単位は cm)。長さ 280、幅 100 で、奥行き 28 の踏面が 10 段あり、昇る方向を示す矢印を付けます。この図面の寸法尺度は cm 単位の平面図用に設定されているため、寸法はこの大きさで読めます。踏面の線を 1 本描き、矩形状配列複写で残りを配置します。

- **練習問題：** 初級 · 建築 · 2D
- **コマンド：** [`RECTANG`](https://mellowcad.com/ja/docs/commands/rectang.md), [`LINE`](https://mellowcad.com/ja/docs/commands/line.md), [`ARRAYRECT`](https://mellowcad.com/ja/docs/commands/arrayrect.md), [`PLINE`](https://mellowcad.com/ja/docs/commands/pline.md), [`DIMLINEAR`](https://mellowcad.com/ja/docs/commands/dimlinear.md)
- **エディタで：** [図面付きで開く](/ja/draw?drawing=stairs)。寸法付きの図面が、自分で作図する場所の隣に表示されます

## 図面

直階段の平面図。280 × 100 cm、昇り方向を示す矢印付き。

## 手順

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

### 1. 外形を描く

「外形線」画層で、[`RECTANG`](https://mellowcad.com/ja/docs/commands/rectang.md)[長方形]コマンドで `0,0` から `280,100` まで描きます。これが階段の外形です。

1. 外形を描く

```text
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 0,0
Specify other corner point or [Area/Dimensions/Rotation]: @280,100
```

### 2. 最初の踏面を描く

最初の踏面の線を、[`LINE`](https://mellowcad.com/ja/docs/commands/line.md)[線分]コマンドで `28,0` から上へ `0,100` で描き、[Enter]を押します。

2. 最初の踏面を描く

```text
Command: LINE
Specify first point: 28,0
Specify next point or [Undo]: @0,100
Specify next point or [Undo]:
```

### 3. 踏面を配列複写する

[`ARRAYRECT`](https://mellowcad.com/ja/docs/commands/arrayrect.md)[矩形状配列複写]コマンドで、この線を階段に沿って複写します。線を選択して[Enter]を押し、`COUnt` を選んで列数 `9`、行数 `1` を指定します。次に `Spacing` で列の間隔 `28`、行の間隔 `1` を指定します(行が 1 つなので、行の間隔は影響しません)。`eXit` で自動調整配列複写のまま確定します。後でそのグリップで編集できます。

3. 踏面を配列複写する

```text
Command: ARRAYRECT
Select objects: 1 found
Select objects:
Type = Rectangular  Associative = Yes
Select grip to edit array or [ASsociative/COUnt/Spacing/COLumns/Rows/Levels/eXit]<eXit>: COU
Enter the number of columns <4>: 9
Enter the number of rows <3>: 1
Select grip to edit array or [ASsociative/COUnt/Spacing/COLumns/Rows/Levels/eXit]<eXit>: S
Specify the distance between columns or [Unit cell] <1>: 28
Specify the distance between rows <150>: 1
Select grip to edit array or [ASsociative/COUnt/Spacing/COLumns/Rows/Levels/eXit]<eXit>: X
```

### 4. 矢印を描く

[`PLINE`](https://mellowcad.com/ja/docs/commands/pline.md)[ポリライン]コマンドを `14,50` から始め、階段に沿って `226,0` 先まで描きます。次に `Width` で始点の幅 `10`、終点の幅 `0` を指定し、最後のセグメントを `24,0` で描きます。これが矢印の先端です。[Enter]で終了します。

4. 矢印を描く

```text
Command: PLINE
Specify start point: 14,50
Current line-width is 0.00
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: @226,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: W
Specify starting width <0.00>: 10
Specify ending width <10.00>: 0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @24,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
```

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

「寸法」画層で、[`DIMLINEAR`](https://mellowcad.com/ja/docs/commands/dimlinear.md)[長さ寸法記入]コマンドを 3 回使います。長さを下側に、幅を右側に、踏面 1 段分の 28 を上側に記入します。

5. 寸法を記入する

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @280,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 280
Command: DIMLINEAR
Specify first extension line origin or <select object>: 280,0
Specify second extension line origin: @0,100
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 100
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,100
Specify second extension line origin: @28,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 28
```

## ほかの練習問題

- [AutoCAD 3D 練習問題：取付プレート](https://mellowcad.com/ja/docs/exercises/mounting-plate.md): 初級 · 機械 · 3D ソリッド
- [AutoCAD 練習問題：フランジ](https://mellowcad.com/ja/docs/exercises/flange.md): 中級 · 機械 · 2D
- [AutoCAD 練習問題：丸テーブルと椅子](https://mellowcad.com/ja/docs/exercises/round-table.md): 中級 · 建築 · 2D
- [AutoCAD 練習問題](https://mellowcad.com/ja/docs/exercises.md)
