# CAD 练习图：用切线连接的连杆

> AutoCAD 进阶练习图：用切点对象捕捉画出与两个凸台都相切的直线，修剪其间的圆弧并标注尺寸。附分步解答，可免费在线练习。

按以下尺寸绘制连杆（单位：mm）：两个凸台中心距 90，半径分别为 20 和 12，孔半径分别为 10 和 6；两个凸台用与二者都相切的直线连接，直线之间的圆弧修剪掉。切线的两端都使用切点对象捕捉；然后用 [`TRIM`](https://mellowcad.com/zh-cn/docs/commands/trim.md)（修剪）命令把每个凸台的圆变成圆弧。

- **练习：** 高级 · 机械 · 二维
- **命令：** [`CIRCLE`](https://mellowcad.com/zh-cn/docs/commands/circle.md), [`LINE`](https://mellowcad.com/zh-cn/docs/commands/line.md), [`TRIM`](https://mellowcad.com/zh-cn/docs/commands/trim.md), [`DIMLINEAR`](https://mellowcad.com/zh-cn/docs/commands/dimlinear.md), [`DIMRADIUS`](https://mellowcad.com/zh-cn/docs/commands/dimradius.md), [`DIMDIAMETER`](https://mellowcad.com/zh-cn/docs/commands/dimdiameter.md)
- **在编辑器中：** [连同图形一起打开](/zh-cn/draw?drawing=link)，已标注尺寸的题图位于画图区域旁边

## 题图

两个凸台中心距 90、用切线连接的连杆，含尺寸标注。

## 分步解答

引擎绘制每一步，并按输入时的样子写出命令历史记录：提示顺序与 AutoCAD 2027 相同，选项字母也相同。在命令的第一个点之后，输入的点从上一个点开始测量，与动态输入的测量方式相同，历史记录中以 @ 开头；\# 表示从原点测量。

### 1. 绘制凸台

在“轮廓线”图层上，用 [`CIRCLE`](https://mellowcad.com/zh-cn/docs/commands/circle.md)（圆）命令按半径画四个圆：在 `0,0` 处画半径 `20` 和 `10` 的圆，在 `90,0` 处画半径 `12` 和 `6` 的圆。

1. 绘制凸台

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 0,0
Specify radius of circle or [Diameter]: 20
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 0,0
Specify radius of circle or [Diameter] <20.00>: 10
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 90,0
Specify radius of circle or [Diameter] <10.00>: 12
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 90,0
Specify radius of circle or [Diameter] <12.00>: 6
```

### 2. 绘制切线

执行 [`LINE`](https://mellowcad.com/zh-cn/docs/commands/line.md)（直线）命令，输入 `_TAN`，即只作用于一个点的切点对象捕捉，在大圆顶部附近拾取；再次输入 `_TAN`，在小圆顶部附近拾取。直线与两个圆都相切。底部同样画一条。

2. 绘制切线

```text
Command: LINE
Specify first point: _TAN to
Specify next point or [Undo]: _TAN to
Specify next point or [Undo]:
Command: LINE
Specify first point: _TAN to
Specify next point or [Undo]: _TAN to
Specify next point or [Undo]:
```

### 3. 修剪圆弧

[`TRIM`](https://mellowcad.com/zh-cn/docs/commands/trim.md) 命令：在两条直线之间、朝向另一个凸台的一侧拾取每个凸台。内侧圆弧被删除，每个圆都成为圆弧。

3. 修剪圆弧

```text
Command: TRIM
Current settings: Projection=UCS, Edge=None, Mode=Quick
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
```

### 4. 绘制中心线

在“中心线”图层上，画出通过两个圆心的轴线，以及横穿每个凸台的直线。

4. 绘制中心线

```text
Command: LINE
Specify first point: -26,0
Specify next point or [Undo]: @134,0
Specify next point or [Undo]:
Command: LINE
Specify first point: 0,-26
Specify next point or [Undo]: @0,52
Specify next point or [Undo]:
Command: LINE
Specify first point: 90,-18
Specify next point or [Undo]: @0,36
Specify next point or [Undo]:
```

### 5. 标注尺寸

在“标注”图层上，用 [`DIMLINEAR`](https://mellowcad.com/zh-cn/docs/commands/dimlinear.md)（线性）命令标注中心距，用 [`DIMRADIUS`](https://mellowcad.com/zh-cn/docs/commands/dimradius.md)（半径）命令标注凸台的半径，用 [`DIMDIAMETER`](https://mellowcad.com/zh-cn/docs/commands/dimdiameter.md)（直径）命令标注孔。

5. 标注尺寸

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @90,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 90
Command: DIMRADIUS
Select arc or circle:
Dimension text = 20
Specify dimension line location or [Text/Angle]:
Command: DIMRADIUS
Select arc or circle:
Dimension text = 12
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 20
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 12
Specify dimension line location or [Text/Angle]:
```

## 更多练习

- [CAD 三维练习图：轴承座](https://mellowcad.com/zh-cn/docs/exercises/bearing-block.md): 高级 · 机械 · 三维实体
- [CAD 练习图：垫片](https://mellowcad.com/zh-cn/docs/exercises/gasket.md): 初级 · 机械 · 二维
- [CAD 练习图：L 形支架](https://mellowcad.com/zh-cn/docs/exercises/l-bracket.md): 初级 · 机械 · 二维
- [AutoCAD 练习图](https://mellowcad.com/zh-cn/docs/exercises.md)
