# CAD 練習圖：樓梯平面圖

> AutoCAD 建築練習：繪製直線樓梯平面圖，以一條線加矩形陣列排出 10 階踏面，並畫上樓箭頭與標註。免費線上練習，附逐步解說。

以平面圖繪製一座直線樓梯，單位為公分：長 280、寬 100，10 階深 28 的踏面，以及表示上樓方向的箭頭。此圖面的標註比例已設定為公分單位的平面圖，因此標註在此尺寸下清晰可讀。只畫一階踏面的邊線，其餘由矩形陣列放置。

- **練習題：** 初級 · 建築 · 2D
- **指令：** [`RECTANG`](https://mellowcad.com/zh-tw/docs/commands/rectang.md), [`LINE`](https://mellowcad.com/zh-tw/docs/commands/line.md), [`ARRAYRECT`](https://mellowcad.com/zh-tw/docs/commands/arrayrect.md), [`PLINE`](https://mellowcad.com/zh-tw/docs/commands/pline.md), [`DIMLINEAR`](https://mellowcad.com/zh-tw/docs/commands/dimlinear.md)
- **在編輯器中：** [連同圖面開啟](/zh-tw/draw?drawing=stairs)，已標註的圖面就在您繪圖處的旁邊

## 圖面

直線樓梯的平面圖，280 × 100 公分，箭頭指向上樓方向。

## 逐步解答

引擎繪製每個步驟，並依您輸入的方式寫出其歷程：提示依 AutoCAD 2027 的順序，選項字母也相同。在指令的第一點之後，輸入的點會從上一點量起，如同動態輸入的量法，歷程中以 @ 寫出；\# 則從原點量起。

### 1. 繪製輪廓

在「輪廓線」圖層上，以 [`RECTANG`](https://mellowcad.com/zh-tw/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/zh-tw/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/zh-tw/docs/commands/arrayrect.md)（矩形陣列）指令沿著樓梯複製它：選取該線並按 Enter，再選擇 `COUnt`，`9` 行、`1` 列，以及 `Spacing`，行間距 `28`、列間距 `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/zh-tw/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/zh-tw/docs/commands/dimlinear.md)（線性）指令三次：下方的長度、右側的寬度，以及上方一階踏面的 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
```

## 更多練習題

- [CAD 3D 練習圖：安裝板](https://mellowcad.com/zh-tw/docs/exercises/mounting-plate.md): 初級 · 機械 · 3D 實體
- [CAD 練習圖：法蘭](https://mellowcad.com/zh-tw/docs/exercises/flange.md): 中級 · 機械 · 2D
- [CAD 練習圖：圓桌與椅子](https://mellowcad.com/zh-tw/docs/exercises/round-table.md): 中級 · 建築 · 2D
- [AutoCAD 練習題](https://mellowcad.com/zh-tw/docs/exercises.md)
