---
title: Drawing
order: 3
---

Draw is the Sketch tool's mode for putting shapes on the active sketch: rectangles, circles, polygons, lines and arcs. Each shape you draw joins the sketch's result through its Boolean. The choices are on the [tool bar](tool.md#in-draw), the `D` panel, the right-click menu and the sidebar.

![a rectangle drawn with two clicks](../assets/sketch-rectangle.webp)

A drawing starts with a left-button press on the plane. `Space` and `Enter` do not start one, and a click on the tool bar or the sidebar goes to that control. Choose the **Shape**, **Method**, **Boolean** and **Side** before you click: the bar is greyed out while a shape is being drawn. Draw stays ready after each shape, and each shape is one undo step.

A Rectangle is four lines that share four points, and every Rectangle carries four relations that keep its sides horizontal and vertical, listed under [Constraints](constraints.md). A Polygon is ordinary lines: it is not kept regular afterwards.

A sketch is in millimetres, and a number you type is in millimetres, or in degrees for an angle.

## Rectangle

| Method | Clicks | Typed fields |
|---|---|---|
| **Diagonal** | Two opposite corners. The sides lie along the sketch's axes | **Width**, **Height** |
| **3 Points** | The two ends of one side at any angle (a press, a drag and a release does the same), then pull the rectangle out to either side and click | The side's length, then how far it reaches |

![the 3 Points method: one side, then the reach](../assets/sketch-rectangle-3pt.webp)

With `C` (see [From the centre](#from-the-centre)) **Diagonal** takes the centre, then a corner. **3 Points** takes the centre, one end of the middle line, then pulls out to both sides. `Space`, `Enter` or a click places the last point.

## Circle

| Method | Clicks | Typed fields |
|---|---|---|
| **Centre** | The centre, then a point on the circle | **Radius**, **Diameter** |
| **2 Points** | The two ends of a diameter | **Diameter**, **Radius** |

![the tool bar in Draw with Circle chosen: its two methods](../assets/sketch-bar-draw-circle.webp)

![the Centre method](../assets/sketch-circle.webp)

![the 2 Points method](../assets/sketch-circle-2pt.webp)

With `C` on, a circle drawn from two points switches to the centre method, and the other way round.

## Polygon

A Polygon is drawn from its centre to a corner. The **Sides** field on the bar sets the number, 3 to 256; the count you end with is used for the next polygon. While you draw, the mouse wheel, `Page Up` and `Page Down` add and remove sides within that range. `Ctrl`, `Shift` or `Alt` with the wheel, and the wheel over a bar, still zoom.

![a polygon, with sides added while drawing](../assets/sketch-polygon.webp)

With `C` off, you click a corner first and then the point straight across the centre: the far corner for an even count, the middle of the far side for an odd one. Typed fields: **Radius**, **Diameter**, of the circle through the corners.

## Line

Two clicks: the start and the end. With `C` it takes the middle, then one end. Typed fields: **Length** and **Angle**, in degrees from the sketch's X axis.

![a line](../assets/sketch-line.webp)

The **Side** buttons say which region the line counts as: see [Side](fill.md#side).

## Arc

| Method | Clicks | Typed fields |
|---|---|---|
| **2 Points** | The two ends, then the height and which side it bulges to | **Sagitta**, **Radius** |
| **3 Points** | The start, a point on the arc, then the end | None |

![the 2 Points method: both ends, then the height](../assets/sketch-arc.webp)

![the 3 Points method](../assets/sketch-arc-3pt.webp)

An arc is at most a half circle, by either method. With **2 Points**, `C` takes the middle between the ends, then one end, then the height. A **3 Points** arc cannot be drawn from its middle. The **Sagitta** is the arc's height, signed: a minus turns the arc over. The **Radius** is at least half the distance between the ends; typing one replaces the other.

## From the centre

`C` switches a shape between being drawn from its centre and from its edge, for this drawing only. The points you have placed and the sizes you typed are kept. A Polygon and a Circle drawn with **Centre** start from the centre; the rest start from the edge. The status bar shows the state as *C from centre (on)* or *(off)*.

![C moves the rectangle's anchor to its centre](../assets/sketch-centered.webp)

## Moving the shape while drawing

After the first point, `G` picks up the shape and moves it as a whole. It places no point.

| Key | What it does |
|---|---|
| `G` | Starts the move |
| `X` | Holds the move to the sketch's X axis. A red line through the shape's first point shows the axis. Pressing `X` again frees it |
| `Y` | Holds the move to the sketch's Y axis, with a green line. Pressing `Y` again frees it |
| `Ctrl` | Snaps the shape's placed point to the point it lands on and shares it. While `X` or `Y` holds the move, it stops the shape where the placed point lines up with a vertex, or where the axis line crosses an edge, without sharing the vertex |
| `Space`, `Enter`, click | Accepts the move |
| `Esc`, right-click | Puts the shape back. A second `Esc` cancels the drawing |

An accepted or cancelled move ends the hold: the next `G` starts free.

![G picks the shape up, X holds it to the X axis, a click drops it](../assets/sketch-move-while-drawing.webp)

## Typing sizes

While a shape is being drawn, type a number instead of moving the pointer. The shape follows the number, and the number shows in its pill.

| Key | What it does |
|---|---|
| `0` to `9`, `.`, `-`, `+`, `e`, `E` | Type into the current field |
| `Backspace` | Deletes a character. With nothing typed, it steps back one placed point |
| `Ctrl + Tab` | Goes to the next field and clears what you typed |
| `Enter`, `Space`, click | Places the point with the typed numbers |

The fields for each shape are in the tables above, in the order `Ctrl + Tab` visits them. Sizes must be positive. Typed sizes are kept when you press `C` or `G` or change the number of sides. After only the first point, a number typed for the line's length and `Enter` finish the line in the direction of the pointer.

![typing a width and a height for a rectangle](../assets/sketch-typed-size.webp)

![typing a length and an angle for a line](../assets/sketch-typed-line.webp)

### Value pills

While you draw, small pills show the size of what you are drawing, next to the shape and clear of its points.

| Pill | Shows |
|---|---|
| **L** | A length: a line, or an arc's chord |
| **A** | An angle in degrees, from the sketch's X axis |
| **X**, **Y** | A rectangle's width and height |
| **R**, **D** | A radius, a diameter |
| **H** | An arc's height |

A number you type shows in its pill exactly as typed.

### Lock Numeric Length/Radius

A typed size only places the shape. With **Lock Numeric Length/Radius** on, a typed length, a line's angle, a width or height, a circle's radius or diameter and an arc's radius are also saved as driving dimensions, as if you had added them under [Constraints](constraints.md). A typed **Sagitta**, and anything typed for a Polygon, only places the shape. The option is off by default; it is in the sidebar's snapping row and in the Draw right-click menu, not on the bar.

## Keys while drawing

| Key | What it does |
|---|---|
| Left click, `Space`, `Enter`, keypad `Enter` | Places the next point. A held key places one |
| `C` | From the centre on or off |
| `G`, then `X` or `Y` | Moves the shape, see above |
| Wheel, `Page Up`, `Page Down` | Sides of a Polygon |
| `Shift` | The pointer moves a tenth as far |
| `Ctrl` | Snaps while **Snap** is off, see [Snapping & Guides](snap.md) |
| `Esc`, right-click, `Ctrl + Z` | Cancels the drawing |
| `Tab` | Cancels the drawing and goes to [Edit](edit.md) |
| Middle mouse | Navigates the view |

Choosing another mode, or pressing `B`, cancels the drawing first. The status bar names the shape, the method, the Boolean and the next step, and lists the keys that apply.

## Messages

| Message | When |
|---|---|
| *rectangle needs positive width and height* | A rectangle with no width or height |
| *an arc is at most a half circle: place the end beyond the middle point* | The end of a 3 Points arc is not beyond the point on the arc. No preview shows until it is |
| *the three points lie on one line* | A 3 Points arc through points in a line |
| *a three-point arc cannot be drawn from its middle* | `C` pressed on a 3 Points arc |
| *Finish a valid numeric value before confirming* | A click or `Enter` while what you typed is not a number |

## See also

- [Fill & Booleans](fill.md): the Boolean and Side of a drawn shape
- [Snapping & Guides](snap.md)
- [Constraints](constraints.md)
- [Selecting & Moving](edit.md)
