# AutoCAD exercise: an L bracket

> Draw an L bracket in AutoCAD with relative coordinates: its outline, a fillet, two holes and baseline dimensions, solved step by step. Practise it free online.

Draw this bracket, in millimetres: 100 long, a foot 20 high and an upright 30 wide and 80 high, the inside corner rounded to a radius of 10, a hole of 8 in the foot and one of 10 in the upright, each centred in its leg. The outline is one run of [`LINE`](https://mellowcad.com/docs/commands/line.md), each point typed as how far it goes from the last, and its dimensions all start from the bottom left corner.

- **Exercise:** Beginner · Mechanical · 2D
- **Commands:** [`LINE`](https://mellowcad.com/docs/commands/line.md), [`FILLET`](https://mellowcad.com/docs/commands/fillet.md), [`CIRCLE`](https://mellowcad.com/docs/commands/circle.md), [`DIMLINEAR`](https://mellowcad.com/docs/commands/dimlinear.md), [`DIMBASELINE`](https://mellowcad.com/docs/commands/dimbaseline.md), [`DIMRADIUS`](https://mellowcad.com/docs/commands/dimradius.md), [`DIMDIAMETER`](https://mellowcad.com/docs/commands/dimdiameter.md)
- **In the editor:** [Open it with its drawing](/draw?drawing=l-bracket), dimensioned beside where you draw yours

## The drawing

The L bracket, 100 by 80, dimensioned from its bottom left corner.

## Step by step

The engine draws each step and writes its history as you would type it: the prompts in AutoCAD 2027's order, with the same option letters. After a command's first point, a typed point is measured from the last one, as dynamic input measures it, and the history writes it with @; \# measures from the origin.

### 1. Draw the outline

On the Outline layer, [`LINE`](https://mellowcad.com/docs/commands/line.md) from `0,0`, then each point as a step from the last: `100,0`, `0,20`, `-70,0`, `0,60` and `-30,0`. `Close` draws the last side back to the start and ends the command.

1. Draw the outline

```text
Command: LINE
Specify first point: 0,0
Specify next point or [Undo]: @100,0
Specify next point or [Undo]: @0,20
Specify next point or [Close/Undo]: @-70,0
Specify next point or [Close/Undo]: @0,60
Specify next point or [Close/Undo]: @-30,0
Specify next point or [Close/Undo]: C
```

### 2. Round the inside corner

[`FILLET`](https://mellowcad.com/docs/commands/fillet.md): choose `Radius`, type `10`, then pick the two lines that meet at the inside corner, the foot's top and the upright's side.

2. Round the inside corner

```text
Command: FILLET
Current settings: Mode = TRIM, Radius = 0.00
Select first object or [Undo/Polyline/Radius/Multiple]: R
Specify fillet radius <0.00>: 10
Select first object or [Undo/Polyline/Radius/Multiple]:
Select second object or shift-select to apply corner or [Radius]:
```

### 3. Draw the holes

Two circles with [`CIRCLE`](https://mellowcad.com/docs/commands/circle.md), each by its `Diameter`: `8` at `80,10`, in the foot, and `10` at `15,65`, in the upright.

3. Draw the holes

```text
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 80,10
Specify radius of circle or [Diameter]: D
Specify diameter of circle: 8
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: 15,65
Specify radius of circle or [Diameter] <4.00>: D
Specify diameter of circle <8.00>: 10
```

### 4. Dimension it

On Dimensions, [`DIMLINEAR`](https://mellowcad.com/docs/commands/dimlinear.md) from `0,0` to the foot's hole, `80,10`, placed below: 80. [`DIMBASELINE`](https://mellowcad.com/docs/commands/dimbaseline.md) goes on from the same first extension line: type the right end, `#100,0`, where # measures from the origin, then Enter twice to end it. The same up the left side, to the upper hole and then to the top, `#0,80`. [`DIMRADIUS`](https://mellowcad.com/docs/commands/dimradius.md) on the fillet and [`DIMDIAMETER`](https://mellowcad.com/docs/commands/dimdiameter.md) on each hole finish it.

4. Dimension it

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @80,10
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 80
Command: DIMBASELINE
Specify second extension line origin or [Select/Undo] <Select>: #100,0
Dimension text = 100
Specify second extension line origin or [Select/Undo] <Select>:
Select base dimension:
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @15,65
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 65
Command: DIMBASELINE
Specify second extension line origin or [Select/Undo] <Select>: #0,80
Dimension text = 80
Specify second extension line origin or [Select/Undo] <Select>:
Select base dimension:
Command: DIMRADIUS
Select arc or circle:
Dimension text = 10
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 8
Specify dimension line location or [Text/Angle]:
Command: DIMDIAMETER
Select arc or circle:
Dimension text = 10
Specify dimension line location or [Text/Angle]:
```

## More exercises

- [AutoCAD exercise: stairs in plan](https://mellowcad.com/docs/exercises/stairs.md): Beginner · Architecture · 2D
- [AutoCAD 3D exercise: a mounting plate](https://mellowcad.com/docs/exercises/mounting-plate.md): Beginner · Mechanical · 3D solid
- [AutoCAD exercise: a flange](https://mellowcad.com/docs/exercises/flange.md): Intermediate · Mechanical · 2D
- [AutoCAD practice exercises](https://mellowcad.com/docs/exercises.md)
