# AutoCAD 練習問題：L 字ブラケット

> AutoCAD の初心者向け練習問題。相対座標で L 字ブラケットの外形、フィレット、2 つの穴、並列寸法を描きます。手順付きで、ブラウザで無料で練習できます。

次のブラケットを描きます(単位は mm)。長さ 100、高さ 20 の底部と、幅 30、高さ 80 の立ち上がりからなり、内側のコーナーは半径 10 で丸めます。底部に直径 8、立ち上がりに直径 10 の穴があり、それぞれの部分の中央に位置します。外形は 1 回の [`LINE`](https://mellowcad.com/ja/docs/commands/line.md)[線分]コマンドで描き、各点は直前の点からの距離として入力します。寸法はすべて左下のコーナーから記入します。

- **練習問題：** 初級 · 機械 · 2D
- **コマンド：** [`LINE`](https://mellowcad.com/ja/docs/commands/line.md), [`FILLET`](https://mellowcad.com/ja/docs/commands/fillet.md), [`CIRCLE`](https://mellowcad.com/ja/docs/commands/circle.md), [`DIMLINEAR`](https://mellowcad.com/ja/docs/commands/dimlinear.md), [`DIMBASELINE`](https://mellowcad.com/ja/docs/commands/dimbaseline.md), [`DIMRADIUS`](https://mellowcad.com/ja/docs/commands/dimradius.md), [`DIMDIAMETER`](https://mellowcad.com/ja/docs/commands/dimdiameter.md)
- **エディタで：** [図面付きで開く](/ja/draw?drawing=l-bracket)。寸法付きの図面が、自分で作図する場所の隣に表示されます

## 図面

100 × 80 の L 字ブラケット。左下のコーナーからの寸法付き。

## 手順

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

### 1. 外形を描く

「外形線」画層で、[`LINE`](https://mellowcad.com/ja/docs/commands/line.md) コマンドを `0,0` から始め、以降の各点を直前の点からの距離で `100,0`、`0,20`、`-70,0`、`0,60`、`-30,0` と入力します。`Close` で最後の辺を始点まで描き、コマンドを終了します。

1. 外形を描く

```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. 内側のコーナーを丸める

[`FILLET`](https://mellowcad.com/ja/docs/commands/fillet.md)[フィレット]コマンドで `Radius` を選び、`10` と入力して、内側のコーナーで交わる 2 本の線(底部の上辺と立ち上がりの側辺)を選択します。

2. 内側のコーナーを丸める

```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. 穴を描く

[`CIRCLE`](https://mellowcad.com/ja/docs/commands/circle.md)[円]コマンドで、それぞれ `Diameter` を指定して 2 つの円を描きます。底部の `80,10` に `8`、立ち上がりの `15,65` に `10` です。

3. 穴を描く

```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. 寸法を記入する

「寸法」画層で、[`DIMLINEAR`](https://mellowcad.com/ja/docs/commands/dimlinear.md)[長さ寸法記入]コマンドで `0,0` から底部の穴 `80,10` までの寸法を記入し、下側に配置します(80)。[`DIMBASELINE`](https://mellowcad.com/ja/docs/commands/dimbaseline.md)[並列寸法記入]コマンドは、同じ 1 本目の寸法補助線から続けて記入します。右端 `#100,0` を入力し(# は原点からの位置を表します)、[Enter]を 2 回押して終了します。左側も同様に、上の穴まで、次に上端 `#0,80` まで記入します。最後に、フィレットに [`DIMRADIUS`](https://mellowcad.com/ja/docs/commands/dimradius.md)[半径寸法記入]コマンド、各穴に [`DIMDIAMETER`](https://mellowcad.com/ja/docs/commands/dimdiameter.md)[直径寸法記入]コマンドで記入して完成です。

4. 寸法を記入する

```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]:
```

## ほかの練習問題

- [AutoCAD 練習問題：階段の平面図](https://mellowcad.com/ja/docs/exercises/stairs.md): 初級 · 建築 · 2D
- [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.md)
