# CAD 三维练习图：轴承座

> AutoCAD 三维机械练习图：用拉伸和并集建成轴承座，再用圆柱体差集挖出轴孔和两个螺栓孔。附分步解答，可免费在线练习三维实体。

按以下尺寸创建轴承座模型（单位：mm）：底板 100 × 60，厚 12，四角圆角半径 10；中间有一个直径 40、高 40 的凸台；一个直径 20 的轴孔贯通凸台，两个直径 10 的螺栓孔贯通底板，孔距 76。底板和凸台由各自的轮廓拉伸而成，再合并为一个实体；轴孔和螺栓孔是从中减去的圆柱体。

- **练习：** 高级 · 机械 · 三维实体
- **命令：** [`RECTANG`](https://mellowcad.com/zh-cn/docs/commands/rectang.md), [`CIRCLE`](https://mellowcad.com/zh-cn/docs/commands/circle.md), [`EXTRUDE`](https://mellowcad.com/zh-cn/docs/commands/extrude.md), [`UNION`](https://mellowcad.com/zh-cn/docs/commands/union.md), [`CYLINDER`](https://mellowcad.com/zh-cn/docs/commands/cylinder.md), [`COPY`](https://mellowcad.com/zh-cn/docs/commands/copy.md), [`SUBTRACT`](https://mellowcad.com/zh-cn/docs/commands/subtract.md), [`-VIEW`](https://mellowcad.com/zh-cn/docs/commands.md#-view), [`VSCURRENT`](https://mellowcad.com/zh-cn/docs/commands/vscurrent.md), [`ZOOM`](https://mellowcad.com/zh-cn/docs/commands/zoom.md)
- **在编辑器中：** [连同图形一起打开](/zh-cn/draw?drawing=bearing-block)，已标注尺寸的题图位于画图区域旁边

## 题图

轴承座平面图，100 × 60，标注凸台、轴孔和螺栓孔尺寸。

轴承座实体，从东南方向观察，“概念”视觉样式。

## 分步解答

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

### 1. 绘制平面图

在“轮廓线”图层上，用 [`RECTANG`](https://mellowcad.com/zh-cn/docs/commands/rectang.md)（矩形）命令，将 `Fillet` 设为 `10`，从 `0,0` 画到 `100,60`；再在其中心 `50,30` 处画一个圆，`Diameter` 为 `40`。

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]: @100,60
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 50,30
Specify radius of circle or [Diameter]: D
Specify diameter of circle: 40
```

### 2. 拉伸底板和凸台

用 [`EXTRUDE`](https://mellowcad.com/zh-cn/docs/commands/extrude.md)（拉伸）命令将轮廓拉伸 `12` 高，再将圆拉伸 `40` 高，得到两个实体。

2. 拉伸底板和凸台

```text
Command: EXTRUDE
Current wire frame density:  ISOLINES=4, Closed profiles creation mode = Solid
Select objects to extrude or [MOde]: 1 found
Select objects to extrude or [MOde]:
Specify height of extrusion or [Direction/Path/Taper angle/Expression]: 12
Command: EXTRUDE
Current wire frame density:  ISOLINES=4, Closed profiles creation mode = Solid
Select objects to extrude or [MOde]: 1 found
Select objects to extrude or [MOde]:
Specify height of extrusion or [Direction/Path/Taper angle/Expression] <12.00>: 40
```

### 3. 合并

[`UNION`](https://mellowcad.com/zh-cn/docs/commands/union.md)（并集）命令：选择两个实体并按 Enter 键。二者合为一个实体。

3. 合并

```text
Command: UNION
Select objects: 1 found
Select objects: 1 found, 2 total
Select objects:
```

### 4. 绘制圆柱体

用 [`CYLINDER`](https://mellowcad.com/zh-cn/docs/commands/cylinder.md)（圆柱体）命令将轴孔和一个螺栓孔画成圆柱体：轴孔位于 `50,30`，`Diameter` 为 `20`，高 `40`；螺栓孔位于 `12,30`，直径 `10`，高 `12`。然后用 [`COPY`](https://mellowcad.com/zh-cn/docs/commands/copy.md)（复制）命令复制螺栓孔：从 `12,30` 起，再输入相对坐标 `76,0`。

4. 绘制圆柱体

```text
Command: CYLINDER
Specify center point of base or [3P/2P/Ttr/Elliptical]: 50,30
Specify base radius or [Diameter]: D
Specify diameter: 20
Specify height or [2Point/Axis endpoint] <40.00>: 40
Command: CYLINDER
Specify center point of base or [3P/2P/Ttr/Elliptical]: 12,30
Specify base radius or [Diameter] <10.00>: D
Specify diameter <20.00>: 10
Specify height or [2Point/Axis endpoint] <40.00>: 12
Command: COPY
Select objects: 1 found
Select objects:
Current settings:  Copy mode = Multiple
Specify base point or [Displacement] <Displacement>: 12,30
Specify second point or <use first point as displacement>: @76,0
Specify second point or [Exit/Undo] <Exit>:
```

### 5. 差集

[`SUBTRACT`](https://mellowcad.com/zh-cn/docs/commands/subtract.md)（差集）命令：选择轴承座并按 Enter 键，再选择三个圆柱体并按 Enter 键。轴孔和螺栓孔即被挖通。

5. 差集

```text
Command: SUBTRACT
Select solids, surfaces, and regions to subtract from ..
Select objects: 1 found
Select objects:
Select solids, surfaces, and regions to subtract ..
Select objects: 1 found
Select objects: 1 found, 2 total
Select objects: 1 found, 3 total
Select objects:
```

### 6. 转换视图

选择 `-VIEW` 命令的 `SEIso` 选项和 [`VSCURRENT`](https://mellowcad.com/zh-cn/docs/commands/vscurrent.md)（视觉样式）命令的 `Conceptual` 选项，再用 [`ZOOM`](https://mellowcad.com/zh-cn/docs/commands/zoom.md)（缩放）命令的 `Extents` 选项并输入 `0.8x`，使实体充满视图。

6. 转换视图

```text
Command: -VIEW
Enter an option [Orthographic]: SEI
Regenerating model.
Command: VSCURRENT
Enter an option [2dwireframe/Hidden/Conceptual] <2dwireframe>: C
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/gasket.md): 初级 · 机械 · 二维
- [CAD 练习图：L 形支架](https://mellowcad.com/zh-cn/docs/exercises/l-bracket.md): 初级 · 机械 · 二维
- [CAD 练习图：楼梯平面图](https://mellowcad.com/zh-cn/docs/exercises/stairs.md): 初级 · 建筑 · 二维
- [AutoCAD 练习图](https://mellowcad.com/zh-cn/docs/exercises.md)
