# CAD 三维练习图：带轮

> AutoCAD 三维练习图：把带轮的半截面画成闭合多段线，绕 Y 轴旋转成实体。附分步解答，可免费在线练习三维建模。

将带轮的半截面绕其轴线旋转，创建以下带轮模型（单位：mm）：轴孔直径 20；轮毂长 30、直径 40；腹板厚 10；轮缘宽 24，直径从 90 到 110，位于轮毂中间。截面按到轴线的距离绘制，轴线沿 Y 轴向上，因此每个直径都按其一半绘制。

- **练习：** 中级 · 机械 · 三维实体
- **命令：** [`PLINE`](https://mellowcad.com/zh-cn/docs/commands/pline.md), [`-VIEW`](https://mellowcad.com/zh-cn/docs/commands.md#-view), [`VSCURRENT`](https://mellowcad.com/zh-cn/docs/commands/vscurrent.md), [`REVOLVE`](https://mellowcad.com/zh-cn/docs/commands/revolve.md), [`ZOOM`](https://mellowcad.com/zh-cn/docs/commands/zoom.md)
- **在编辑器中：** [连同图形一起打开](/zh-cn/draw?drawing=pulley)，已标注尺寸的题图位于画图区域旁边

## 题图

带轮的半截面及其轴线，标注到轴线的距离。

带轮实体，从东南方向观察，“概念”视觉样式。

## 分步解答

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

### 1. 绘制半截面

在“轮廓线”图层上，用 [`PLINE`](https://mellowcad.com/zh-cn/docs/commands/pline.md)（多段线）命令从 `10,0` 起画一条闭合多段线，之后每一点都相对上一点输入：`10,0`、`0,10`、`25,0`、`0,-7`、`10,0`、`0,24`、`-10,0`、`0,-7`、`-25,0`、`0,10`、`-10,0`，然后选择 `Close`。

1. 绘制半截面

```text
Command: PLINE
Specify start point: 10,0
Current line-width is 0.00
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: @10,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,10
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @25,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,-7
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @10,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,24
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @-10,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,-7
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @-25,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,10
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @-10,0
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: C
```

### 2. 转换视图

`-VIEW` 命令的 `SEIso` 选项从东南上方观察；[`VSCURRENT`](https://mellowcad.com/zh-cn/docs/commands/vscurrent.md)（视觉样式）命令的 `Conceptual` 选项为各面着色，最能看清回转体零件的形状。

2. 转换视图

```text
Command: -VIEW
Enter an option [Orthographic]: SEI
Regenerating model.
Command: VSCURRENT
Enter an option [2dwireframe/Hidden/Conceptual] <2dwireframe>: C
```

### 3. 旋转

[`REVOLVE`](https://mellowcad.com/zh-cn/docs/commands/revolve.md)（旋转）命令：选择截面并按 Enter 键，然后选择 `Y`：Y 轴就是带轮的轴线。按 Enter 键接受默认角度，即旋转一整周。[`ZOOM`](https://mellowcad.com/zh-cn/docs/commands/zoom.md)（缩放）命令的 `Extents` 选项使其充满视图，比例 `0.8x` 在周围留出空白。

3. 旋转

```text
Command: REVOLVE
Current wire frame density:  ISOLINES=4, Closed profiles creation mode = Solid
Select objects to revolve or [MOde]: 1 found
Select objects to revolve or [MOde]:
Specify axis start point or define axis by [Object/X/Y/Z] <Object>: Y
Specify angle of revolution or [STart angle/Reverse/EXpression] <360>:
Command: ZOOM
Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: E
Command: ZOOM
Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: 0.8x
```

## 更多练习

- [CAD 练习图：用切线连接的连杆](https://mellowcad.com/zh-cn/docs/exercises/link.md): 高级 · 机械 · 二维
- [CAD 三维练习图：轴承座](https://mellowcad.com/zh-cn/docs/exercises/bearing-block.md): 高级 · 机械 · 三维实体
- [CAD 练习图：垫片](https://mellowcad.com/zh-cn/docs/exercises/gasket.md): 初级 · 机械 · 二维
- [AutoCAD 练习图](https://mellowcad.com/zh-cn/docs/exercises.md)
