# 캐드 연습도면: 플랜지

> AutoCAD 기계 연습도면. 축 구멍에 키홈을 자르기로 내고, 구멍 8개를 원형 배열한 뒤 중심선과 지름 치수를 기입합니다. 단계별 풀이가 있고 브라우저에서 무료로 연습할 수 있습니다.

다음 플랜지를 그립니다(단위: mm). 바깥지름은 140이고, 지름 60의 축 구멍에 폭 16의 키홈이 있으며 키홈의 윗면은 중심에서 36 떨어져 있습니다. 지름 110의 피치원 위에 지름 14의 구멍 8개가 있고, 중심선도 그립니다. 키홈은 축 구멍에 걸친 직사각형을 잘라 내어 만들고, 구멍은 원 하나와 원형 배열로 만듭니다.

- **연습도면:** 중급 · 기계 · 2D
- **명령:** [`CIRCLE`](https://mellowcad.com/ko/docs/commands/circle.md), [`RECTANG`](https://mellowcad.com/ko/docs/commands/rectang.md), [`TRIM`](https://mellowcad.com/ko/docs/commands/trim.md), [`ARRAYPOLAR`](https://mellowcad.com/ko/docs/commands/arraypolar.md), [`LINE`](https://mellowcad.com/ko/docs/commands/line.md), [`DIMDIAMETER`](https://mellowcad.com/ko/docs/commands/dimdiameter.md), [`DIMLINEAR`](https://mellowcad.com/ko/docs/commands/dimlinear.md)
- **편집기에서:** [도면과 함께 열기](/ko/draw?drawing=flange). 치수가 기입된 도면이 직접 그릴 자리 옆에 놓입니다

## 도면

바깥지름 140의 플랜지. 키홈, 구멍 8개, 지름 치수.

## 단계별 풀이

엔진이 각 단계를 그리고, 그 명령 사용 내역을 입력하는 그대로 적습니다. 프롬프트는 AutoCAD 2027과 같은 순서, 같은 옵션 문자입니다. 명령의 첫 점 다음에 입력한 점은 동적 입력처럼 마지막 점에서부터 측정되며, 명령 사용 내역에는 앞에 @ 기호를 붙여 적습니다. \# 기호를 붙이면 원점에서부터 측정합니다.

### 1. 원 그리기

“외형선” 도면층에서 `0,0`을 중심으로 원 두 개를 그립니다. 각각 `Diameter` 옵션으로 지름 `140`과 `60`을 입력합니다.

1. 원 그리기

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

### 2. 키홈 내기

[`RECTANG`](https://mellowcad.com/ko/docs/commands/rectang.md)(직사각형) 명령으로 `-8,20`에서 `16,16`만큼 떨어진 점까지 직사각형을 그립니다. 직사각형은 축 구멍과 교차합니다. [`TRIM`](https://mellowcad.com/ko/docs/commands/trim.md)(자르기) 명령은 다른 객체와 교차하는 곳에서 객체를 잘라 냅니다. 직사각형의 두 변 사이에서 축 구멍의 호를 선택하고, 이어서 축 구멍 안쪽에서 직사각형의 아랫변을 선택합니다. 남은 것이 키홈, 곧 키홈의 양 옆면과 윗면입니다.

2. 키홈 내기

```text
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: -8,20
Specify other corner point or [Area/Dimensions/Rotation]: @16,16
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]:
```

### 3. 구멍 배열하기

피치원 위에 구멍 하나를 그립니다. 원점에서 55 떨어진 22.5° 방향의 점 `55<22.5`에 `Diameter` `14`인 원을 그립니다. [`ARRAYPOLAR`](https://mellowcad.com/ko/docs/commands/arraypolar.md)(원형 배열) 명령으로 그 원을 선택하고 Enter 키를 누른 다음 중심 `0,0`을 지정합니다. `ASsociative` 옵션에서 `No` 옵션을 선택하면 치수 기입 때 선택할 수 있는 개별 원 8개가 되고, `Items` 옵션에 `8`을 입력하면 원 둘레 전체에 고르게 놓입니다. 그런 다음 “중심선” 도면층에서 `0,0`에 지름 `110`인 피치원을 그립니다.

3. 구멍 배열하기

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 55<22.5
Specify radius of circle or [Diameter] <30.00>: D
Specify diameter of circle <60.00>: 14
Command: ARRAYPOLAR
Select objects: 1 found
Select objects:
Type = Polar  Associative = Yes
Specify center point of array: 0,0
Select grip to edit array or [ASsociative/Items/Angle between/Fill angle/ROTate items/eXit]<eXit>: AS
Create associative array [Yes/No] <Yes>: N
Select grip to edit array or [ASsociative/Items/Angle between/Fill angle/ROTate items/eXit]<eXit>: I
Enter number of items in array <6>: 8
Select grip to edit array or [ASsociative/Items/Angle between/Fill angle/ROTate items/eXit]<eXit>: X
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 0,0
Specify radius of circle or [Diameter] <7.00>: D
Specify diameter of circle <14.00>: 110
```

### 4. 중심선 그리기

계속 “중심선” 도면층에서 [`LINE`](https://mellowcad.com/ko/docs/commands/line.md)(선) 명령으로 중심을 지나는 길이 156의 선 두 개를 그립니다. 가로선은 `-78,0`에서 오른쪽으로 `156,0`, 세로선은 `0,-78`에서 위로 `0,156`입니다.

4. 중심선 그리기

```text
Command: LINE
Specify first point: -78,0
Specify next point or [Undo]: @156,0
Specify next point or [Undo]:
Command: LINE
Specify first point: 0,-78
Specify next point or [Undo]: @0,156
Specify next point or [Undo]:
```

### 5. 치수 기입하기

“치수” 도면층에서 [`DIMDIAMETER`](https://mellowcad.com/ko/docs/commands/dimdiameter.md)(지름) 명령으로 축 구멍, 구멍 하나, 피치원, 외형에 지름 치수를 기입합니다. 각각 아직 치수가 지나가지 않는 곳을 선택합니다. 이어서 [`DIMLINEAR`](https://mellowcad.com/ko/docs/commands/dimlinear.md)(선형) 명령으로 키홈 윗면의 폭 16을 기입합니다.

5. 치수 기입하기

```text
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 60
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 14
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 110
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 140
Specify dimension line location or [Text/Angle]:
Command: DIMLINEAR
Specify first extension line origin or <select object>: -8,36
Specify second extension line origin: @16,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 16
```

## 다른 연습도면

- [캐드 연습도면: 원형 테이블과 의자](https://mellowcad.com/ko/docs/exercises/round-table.md): 중급 · 건축 · 2D
- [캐드 연습도면: 대지 경계](https://mellowcad.com/ko/docs/exercises/plot-of-land.md): 중급 · 토목 · 2D
- [캐드 연습도면: 단붙이 축](https://mellowcad.com/ko/docs/exercises/shaft.md): 중급 · 기계 · 2D
- [AutoCAD 연습도면](https://mellowcad.com/ko/docs/exercises.md)
