# Bài tập AutoCAD 2D: giá đỡ chữ L

> Vẽ giá đỡ chữ L trong AutoCAD bằng tọa độ tương đối: đường bao, bo góc, hai lỗ và kích thước song song, lời giải từng bước. Luyện tập miễn phí online.

Vẽ giá đỡ này, theo milimét: dài 100, chân đế cao 20 và thân đứng rộng 30, cao 80, góc trong bo bán kính 10, một lỗ đường kính 8 ở chân đế và một lỗ đường kính 10 ở thân đứng, mỗi lỗ nằm giữa nhánh của nó. Đường bao là một lượt lệnh [`LINE`](https://mellowcad.com/vi/docs/commands/line.md), mỗi điểm gõ theo khoảng cách tính từ điểm trước, và các kích thước của nó đều bắt đầu từ góc dưới bên trái.

- **Bài tập:** Cơ bản · Cơ khí · 2D
- **Lệnh:** [`LINE`](https://mellowcad.com/vi/docs/commands/line.md), [`FILLET`](https://mellowcad.com/vi/docs/commands/fillet.md), [`CIRCLE`](https://mellowcad.com/vi/docs/commands/circle.md), [`DIMLINEAR`](https://mellowcad.com/vi/docs/commands/dimlinear.md), [`DIMBASELINE`](https://mellowcad.com/vi/docs/commands/dimbaseline.md), [`DIMRADIUS`](https://mellowcad.com/vi/docs/commands/dimradius.md), [`DIMDIAMETER`](https://mellowcad.com/vi/docs/commands/dimdiameter.md)
- **Trong trình vẽ:** [Mở cùng bản vẽ của nó](/vi/draw?drawing=l-bracket), đã ghi kích thước, bên cạnh chỗ bạn vẽ bài của mình

## Bản vẽ

Giá đỡ chữ L, 100 × 80, ghi kích thước từ góc dưới bên trái.

## Từng bước

Engine vẽ từng bước và ghi lịch sử đúng như bạn sẽ gõ: dòng nhắc theo thứ tự của AutoCAD 2027, với cùng chữ cái lựa chọn. Sau điểm đầu tiên của một lệnh, điểm gõ vào được đo từ điểm trước đó, đúng như cách nhập liệu động đo, và lịch sử ghi nó với @; \# đo từ gốc tọa độ.

### 1. Vẽ đường bao

Trên lớp “Nét cơ bản”, lệnh [`LINE`](https://mellowcad.com/vi/docs/commands/line.md) từ `0,0`, rồi mỗi điểm là một bước tính từ điểm trước: `100,0`, `0,20`, `-70,0`, `0,60` và `-30,0`. `Close` vẽ cạnh cuối về điểm đầu và kết thúc lệnh.

1. Vẽ đường bao

```text
Command: LINE
Specify first point: 0,0
Specify next point or [Undo]: @100,0
Specify next point or [Undo]: @0,20
Specify next point or [Close/Undo]: @-70,0
Specify next point or [Close/Undo]: @0,60
Specify next point or [Close/Undo]: @-30,0
Specify next point or [Close/Undo]: C
```

### 2. Bo góc trong

Lệnh [`FILLET`](https://mellowcad.com/vi/docs/commands/fillet.md) (bo góc): chọn `Radius`, gõ `10`, rồi chọn hai đoạn thẳng gặp nhau ở góc trong, cạnh trên của chân đế và cạnh bên của thân đứng.

2. Bo góc trong

```text
Command: FILLET
Current settings: Mode = TRIM, Radius = 0.00
Select first object or [Undo/Polyline/Radius/Multiple]: R
Specify fillet radius <0.00>: 10
Select first object or [Undo/Polyline/Radius/Multiple]:
Select second object or shift-select to apply corner or [Radius]:
```

### 3. Vẽ các lỗ

Hai đường tròn bằng lệnh [`CIRCLE`](https://mellowcad.com/vi/docs/commands/circle.md), mỗi đường theo `Diameter` của nó: `8` tại `80,10`, ở chân đế, và `10` tại `15,65`, ở thân đứng.

3. Vẽ các lỗ

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 80,10
Specify radius of circle or [Diameter]: D
Specify diameter of circle: 8
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 15,65
Specify radius of circle or [Diameter] <4.00>: D
Specify diameter of circle <8.00>: 10
```

### 4. Ghi kích thước

Trên lớp “Kích thước”, lệnh [`DIMLINEAR`](https://mellowcad.com/vi/docs/commands/dimlinear.md) từ `0,0` tới lỗ ở chân đế, `80,10`, đặt ở dưới: 80. Lệnh [`DIMBASELINE`](https://mellowcad.com/vi/docs/commands/dimbaseline.md) (ghi kích thước song song) tiếp tục từ cùng đường gióng thứ nhất: gõ đầu bên phải, `#100,0`, trong đó # tính từ gốc tọa độ, rồi Enter hai lần để kết thúc. Làm tương tự dọc cạnh trái, tới lỗ phía trên rồi tới đỉnh, `#0,80`. Lệnh [`DIMRADIUS`](https://mellowcad.com/vi/docs/commands/dimradius.md) cho góc bo và [`DIMDIAMETER`](https://mellowcad.com/vi/docs/commands/dimdiameter.md) cho từng lỗ là xong.

4. Ghi kích thước

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @80,10
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 80
Command: DIMBASELINE
Specify second extension line origin or [Select/Undo] <Select>: #100,0
Dimension text = 100
Specify second extension line origin or [Select/Undo] <Select>:
Select base dimension:
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @15,65
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 65
Command: DIMBASELINE
Specify second extension line origin or [Select/Undo] <Select>: #0,80
Dimension text = 80
Specify second extension line origin or [Select/Undo] <Select>:
Select base dimension:
Command: DIMRADIUS
Select arc or circle:
Dimension text = 10
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 8
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 10
Specify dimension line location or [Text/Angle]:
```

## Bài tập khác

- [Bài tập AutoCAD 2D: mặt bằng cầu thang](https://mellowcad.com/vi/docs/exercises/stairs.md): Cơ bản · Kiến trúc · 2D
- [Bài tập AutoCAD 3D: tấm đế lắp](https://mellowcad.com/vi/docs/exercises/mounting-plate.md): Cơ bản · Cơ khí · Khối rắn 3D
- [Bài tập AutoCAD 2D: mặt bích](https://mellowcad.com/vi/docs/exercises/flange.md): Trung cấp · Cơ khí · 2D
- [Bài tập AutoCAD](https://mellowcad.com/vi/docs/exercises.md)
