# AutoCAD 練習問題：ガスケット

> AutoCAD の初心者向け練習問題。角を丸めたプレート、中央の穴、1 つから複写する 4 つの穴、中心線と寸法を順に描きます。手順付きで、ブラウザで無料で練習できます。

次のガスケットを描きます(単位は mm)。120 × 80 のプレートで、角を半径 10 で丸めます。中央に直径 40 の穴、縁から 12 の位置を中心とする直径 10 の穴が 4 つあり、中央の穴の中心線と寸法も記入します。すべてキーボードで入力します。コマンドの最初の点は入力した位置そのもので、以降の各点は直前の点からの距離です。外形、中心線、寸法はそれぞれ専用の画層に描きます。

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

## 図面

120 × 80 のガスケット、寸法付き。

## 手順

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

### 1. 外形を描く

[画層コントロール]で「外形線」を現在の画層にします。[`RECTANG`](https://mellowcad.com/ja/docs/commands/rectang.md)[長方形]コマンドでプレートを一度に描きます。`Fillet` を選んで半径 `10` を入力し、次に 1 つ目のコーナー `0,0`、もう一方のコーナー `120,80`(1 つ目のコーナーからの距離)を入力します。

1. 外形を描く

```text
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: F
Specify fillet radius for rectangles <0.00>: 10
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 0,0
Specify other corner point or [Area/Dimensions/Rotation]: @120,80
```

### 2. 中央の穴を描く

[`CIRCLE`](https://mellowcad.com/ja/docs/commands/circle.md)[円]コマンドでプレートの中央 `60,40` を指定し、`Diameter` を選んで `40` と入力します。

2. 中央の穴を描く

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 60,40
Specify radius of circle or [Diameter]: D
Specify diameter of circle: 40
```

### 3. 穴を複写する

`12,12` に `Diameter` `10` の円を描いて穴を 1 つ作り、[`COPY`](https://mellowcad.com/ja/docs/commands/copy.md)[複写]コマンドで複写します。円を選択して[Enter]を押し、その中心 `12,12` を基点として指定してから、そこからの各コピーの位置を `96,0`、`96,56`、`0,56` の順に入力します。[Enter]で複写を終了します。

3. 穴を複写する

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 12,12
Specify radius of circle or [Diameter] <20.00>: D
Specify diameter of circle <40.00>: 10
Command: COPY
Select objects: 1 found
Select objects:
Current settings:  Copy mode = Multiple
Specify base point or [Displacement] <Displacement>: 12,12
Specify second point or <use first point as displacement>: @96,0
Specify second point or [Exit/Undo] <Exit>: @96,56
Specify second point or [Exit/Undo] <Exit>: @0,56
Specify second point or [Exit/Undo] <Exit>:
```

### 4. 中心線を描く

「中心線」を現在の画層にします。[`LINE`](https://mellowcad.com/ja/docs/commands/line.md)[線分]コマンドで 2 本の線を描き、中央の穴の中心で交差させ、縁から 6 はみ出させます。縦の線は `60,14` から上へ `0,52`、横の線は `34,40` から右へ `52,0` で描きます。それぞれ[Enter]で終了します。

4. 中心線を描く

```text
Command: LINE
Specify first point: 60,14
Specify next point or [Undo]: @0,52
Specify next point or [Undo]:
Command: LINE
Specify first point: 34,40
Specify next point or [Undo]: @52,0
Specify next point or [Undo]:
```

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

「寸法」を現在の画層にします。[`DIMLINEAR`](https://mellowcad.com/ja/docs/commands/dimlinear.md)[長さ寸法記入]コマンドは 2 点を指定し、次に寸法線の位置を指定します。長さは `0,10` から `120,0` 先までで下側に配置し、高さは右側に記入し、穴の間隔 96 と 56 も記入します。プロンプトで入力した点はオブジェクトに接しないため、これらはすべて非自動調整寸法として作成され、コマンド ラインにもそう表示されます。[`DIMDIAMETER`](https://mellowcad.com/ja/docs/commands/dimdiameter.md)[直径寸法記入]コマンドは円を選択して直径寸法を配置します。中央の穴、次に穴 1 つに記入します。

5. 寸法を記入する

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,10
Specify second extension line origin: @120,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 120
Command: DIMLINEAR
Specify first extension line origin or <select object>: 110,0
Specify second extension line origin: @0,80
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 80
Command: DIMLINEAR
Specify first extension line origin or <select object>: 12,68
Specify second extension line origin: @96,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 96
Command: DIMLINEAR
Specify first extension line origin or <select object>: 12,12
Specify second extension line origin: @0,56
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 56
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 40
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 10
Specify dimension line location or [Text/Angle]:
```

## ほかの練習問題

- [AutoCAD 練習問題：L 字ブラケット](https://mellowcad.com/ja/docs/exercises/l-bracket.md): 初級 · 機械 · 2D
- [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.md)
