Drawing and dimensioning sketches
A sketch is a flat drawing on a plane. Later you turn the closed areas of the sketch into bodies.
More pages about sketches:
- Changing sketches: trim, fillet, offset, move, patterns
- Projecting and construction planes: take over edges of bodies, your own planes, showing and hiding
- Text, DXF, SVG and canvas: bring text and drawings from other programs into the sketch
- 3D sketch: draw curves freely in space
Create a sketch
There is one command for every new sketch: "Create Sketch". You find it as the first icon in the toolbar at the bottom and in the "Create" menu.
Choose the plane or face while creating:
- Click "Create Sketch". You have not selected anything before.
- The three base planes appear semi-transparent, even if the "Origin" folder is hidden.
- Move the pointer over the planes. The plane under the pointer is highlighted.
- Click a base plane or a flat face of a body. The sketch is created.
- Press Esc to cancel. Nothing is created.
Choose the plane or face beforehand: first click a base plane, a construction plane or a flat face in the 3D view or in the feature tree. Then click "Create Sketch". The sketch starts on it right away.
On a construction plane: you can also right-click the plane in the feature tree and choose "Create Sketch". How to create planes is explained under Projecting and construction planes.
"Create Sketch" has no key by default. You can assign one in the settings, see Keyboard shortcuts. The key also works while a sketch is open, just not in the drawing. "Repeat last command" (Space) starts "Create Sketch" again.
The view rotates and looks straight onto the plane. The sketch opens in the middle and is zoomed in. You can change the plane later with "Redefine Sketch Plane".

The sketch palette
In sketch mode the toolbar is on the left and the sketch palette on the right. At the very top of the sketch palette is the name of the sketch. Next to it you find:
- "3D Sketch": allows curves outside the sketch plane. See 3D sketch.
- "Display options": an icon with sliders. It opens the ticks for the display, see below.
- "Look At": an icon. It turns the view straight onto the sketch again. The zoom stays.
Below is the status of the sketch: "Status: Under Constrained", "Status: Fully Constrained", "Status: Conflict" (red) or "Status: Not Solved" (orange). More about this is under Understanding degrees of freedom.
Below follow the sections "Constraints" and "Edit" and the list "Sketch constraints". Depending on the tool, more settings appear, for example for text or patterns.
Display options
A click on the "Display options" icon opens a panel with nine ticks:
- "Sketch Grid": shows the grid in the sketch plane.
- "Snap": free points snap to the visible grid. Hold Ctrl while drawing to switch snapping off.
- "Slice": cuts the bodies open at the sketch plane. Everything on the camera side in front of it is hidden. This lets you look into the sketch plane. It only applies while the sketch is open. "Slice" is off by default.
- "Show Profile": shades the closed areas of the sketch.
- "Show Points": shows the sketch points. If it is off, they cannot be seen and cannot be selected. While drawing, the pointer still snaps to end points and midpoints.
- "Show Dimensions": shows the dimensions. If it is off, they cannot be seen and cannot be selected. They still work.
- "Show Constraints": shows the symbols of the constraints. If it is off, they still work. While drawing, the automatic constraints still appear.
- "Show Construction Geometries": shows construction lines and centerlines. If it is off, they cannot be seen, cannot be selected and do not snap. They still work.
- "Show Projected Geometries": shows projected and included geometry. If it is off, it cannot be seen, cannot be selected and does not snap. It still counts for profiles and constraints.
The panel stays open while you tick. It closes when you click next to it, press Esc or finish the sketch.
The ticks apply per sketch and are saved with the file. Only Sketch Grid and Snap apply to all sketches. By default everything is on except "Slice". Finished sketches do not show their dimensions by default. Every switch can be undone. With a sketch open, however, Ctrl+Z only undoes drawing steps. It undoes the ticks only after "Finish sketch". Every tick has a command that you can assign a key to in the settings. By default they have no key.

Bodies and sketches
Bodies hide sketch lines, profiles, construction planes and the grid that lie behind them. This applies to finished and open sketches. Points, symbols and dimensions always stay on top. If you want to look behind the body, switch on "Slice".
Drawing
The tools are in the toolbar on the left. You see the name when you hover over a button.
| Tool | Key | How it works |
|---|---|---|
| Select | – | Click selects, Shift + click adds to the selection. Dragging moves points and curves or draws a selection box. |
| Point | – | Click places a point. |
| Line | L | Click point by point. Double-click or Esc ends the polyline. There is also the Midpoint Line kind. |
| Rectangle | R | Click two opposite corners. |
| Circle | C | Click the center, then a point on the circle. |
| Arc | – | Click the center, then start and end. The arc follows the direction in which you move the mouse, clockwise and counterclockwise. |
| Polygon | – | Click the center, then the middle of a side. |
| Slot | – | Click the two arc centers, then the width. |
| Ellipse | – | Click the center, then the end of the major semi-axis, then the width. |
| Spline | – | Click the points of the curve. Enter or double-click creates it. |
Further down the toolbar are "Project/Include" (key P), "Pattern", "Sketch Dimension" (key D) and the tools for changing the sketch. They are explained on the other sketch pages.
Kinds of a tool
Line, Rectangle, Circle, Arc, Polygon, Slot and Spline come in several kinds. A small triangle at the bottom right of the button shows this.
- Right-click the button, or hold the left mouse button down for about half a second.
- Choose the kind from the list.
A simple click on the button uses the kind you used last. With a sketch open, all kinds are also in the "Create" menu.
| Tool | Kinds |
|---|---|
| Line | Line, Midpoint Line (the first click is the center, then an end or length and angle; the line is symmetric about the center) |
| Rectangle | 2-Point Rectangle, 3-Point Rectangle (also at an angle), Center Rectangle |
| Circle | Center Diameter Circle, 2-Point Circle, 3-Point Circle, 2-Tangent Circle (touching two lines), 3-Tangent Circle (touching three curves) |
| Arc | Center Point Arc, 3-Point Arc, Tangent Arc (continues smoothly from the end of a line or arc) |
| Polygon | Circumscribed Polygon, Inscribed Polygon, Edge Polygon; 3 to 64 sides |
| Slot | Center to Center Slot, Overall Slot, Center Point Slot, Three Point Arc Slot, Center Point Arc Slot (the last two are curved) |
| Spline | Fit Point Spline, Control Point Spline, Conic Curve |
The keys R and C always choose the 2-Point Rectangle and the Center Diameter Circle.
Typing values directly
While you draw, fields appear next to the mouse pointer. They show the current value:
- Line: length and angle
- Rectangle: width and height
- Circle: diameter
- Arc: first radius, then sweep angle
- Ellipse: first major, then minor semi-axis
- Polygon: also the number of sides
- Midpoint line: length and angle. The length you type applies to the whole line, not only to one half.
Just start typing. The characters go into the field; keys like L or C do nothing meanwhile. The typed value stays fixed, and the preview only follows the pointer in the other direction. Tab moves to the next field, Shift+Tab goes back. An empty field releases the value again.
Enter places the point with the typed values. A polyline keeps going after that until you press Esc or double-click.
Dragged values are rounded: lengths to 0.01 mm (0.001 in inches), angles to 0.1°. So the field shows "20.99" and not a long tail of digits.
If a value does not fit, the field shows the reason: "Value too small" (below 0.01 mm), "Value too large" or "Does not fit here" (for example a chamfer angle that cannot exist). If you drag a handle past the limit, the value stays at the largest one that fits, and the preview stays visible.
Every typed value becomes a dimension of the sketch when the point is placed. You can also type units such as 1 in, parameters and formulas into the fields.

Snapping and guide lines
The pointer snaps to important places: endpoints, the middle of a line or arc, the center of circles and ellipses, intersections, points on curves and the origin. A small sign at the pointer shows where it snaps. When you click, the matching constraint is created, for example "Coincident" or "Point on curve".
When you come close to the horizontal or vertical extension of a point, a dashed guide line appears. The pointer snaps onto it. No constraint is created by this.
Automatic constraints
If you draw a line almost horizontal, vertical, parallel or perpendicular to another one, a sign shows it before you click. When you click, exactly this constraint is created. The same applies when a line or arc continues smoothly from an end (tangent).
The switch "Automatic constraints" is in the sketch palette. If you hold Ctrl while drawing, there is no snapping, no guide lines and no automatic constraints for that point.
Grid
The sketch grid lies in the sketch plane and adjusts to the zoom. When "Snap" is on, free points snap to the grid. Points and curves take priority. Both switches are on by default, and the program remembers your choice.
Arc from the line
In the "Line" tool, hold the mouse button down on the last point and drag. This draws an arc that continues smoothly from the line. When you let go, the polyline continues.
Splines and conic curves
- Fit Point Spline: the curve runs through every point you click.
- Control Point Spline: the points only pull the curve towards them. Only the first and the last lie on it. In the sketch palette you choose degree 5 or 3.
- Conic Curve: click start, end and an apex. Then you enter "Rho" at the pointer, a number between 0 and 1. The larger the number, the closer the curve runs to the apex.
A fit point spline has two kinds of handles. Select a fit point and click "Tangent Handle" or "Curvature Handle" in the "Edit" section. The tangent handle sets the direction of the curve at that point, the curvature handle also sets how strongly it bends. You can put dimensions and constraints on the handles.
"Insert Control Point" adds a point to a control point spline without changing its shape.
Construction lines and centerlines
- "Toggle construction" (key X) turns selected curves into construction lines. They help you design, but do not become bodies.
- "Centerline" turns a line into a dash-dot centerline. It counts like a construction line. If you dimension something against a centerline, you get a diameter dimension.
Useful keys:
- Space: repeats the last tool.
- Delete: deletes the selection.
- Esc: cancels the current tool. If nothing has been placed yet, Esc ends the drawing tool.
Selecting and dragging
In the "Select" tool:
- Click selects a curve or a point, Shift + click adds more.
- Box: drag a box on empty space. From left to right, everything that lies fully inside is selected. From right to left, everything that only touches the box is selected too.
- Double-click a curve to select the whole chain, that is all curves connected at their ends.
- Dragging: you can drag points and also whole lines, arcs, circles, ellipses and splines. A circle dragged at its rim changes its radius. If the constraints do not allow a movement, everything stays put, and the reason is shown at the bottom. A drag only starts after the mouse has moved a few pixels. A plain click only selects. While you drag, Esc or a right click takes back just this drag. The sketch stays open.
In a sketch you pan with the middle mouse button.
Copy, cut and paste (Ctrl+C, Ctrl+X, Ctrl+V) are described on the page Changing sketches.
Profiles
Every area that is enclosed all around by lines and curves is a profile of its own. Lines that cross split an area into several profiles. A circle inside a rectangle gives two profiles: the rectangle with a hole and the circle area. Loose lines do no harm. Construction lines do not bound profiles.
In sketch mode the profiles are shaded. When you extrude or revolve, you simply click them in the view. See Creating bodies.

Adding constraints
Constraints define how lines and points relate to each other. An example: two lines should be parallel. The buttons are in the sketch palette under "Constraints".
There are two ways:
- Select first, then click: select the elements and click the button. Only the buttons that fit the selection are active.
- Click first, then select: click the button with nothing selected. The bottom line tells you what to click. Esc ends the command.
These constraints exist: | Constraint | Effect | |---|---| | Coincident | Two points lie on top of each other. | | Horizontal / Vertical | A line is horizontal or vertical. | | Parallel | Two lines are parallel. | | Perpendicular | Two lines are at a right angle. | | Tangent | A line or arc continues smoothly from an arc or circle. | | Equal | Two lines have the same length, or two circles the same size. | | Fixed | An element no longer moves. For elements that are already fixed, the button removes the fix again. | | Midpoint | A point lies in the middle of a line. | | Symmetric | Two points lie symmetrically to a line. | | Point on curve | A point lies on a line or curve. | | Concentric | Two circles, arcs or ellipses share the same center. | | Collinear | Two lines lie on the same straight line. | | Curvature | A spline continues into a line, an arc or another spline without a kink and without a jump in curvature. |
Fixed curves can be recognized by their color.
Adding dimensions
The easiest way is the "Sketch Dimension" tool (key D):
- Click one or two elements, for example a line or two points.
- Move the mouse to where the dimension should be. The program picks the matching dimension itself. Depending on where the pointer is, it becomes, for example, a horizontal, vertical or aligned dimension.
- Type a value if you like and press Enter, or click in the drawing area.
A circle gets a diameter, an arc a radius. Tab or the "Ø/R" button switches between diameter and radius.
If you click two lines, the position of the pointer decides which angle you dimension. You get either the angle or the opposite angle. The opposite angle is the supplement to 180°.
You can also add dimensions from the sketch palette. Select the element and click "Distance …", "Point–line distance …", "Radius …", "Diameter …" or "Angle …" under "Constraints".
Instead of a number you can also enter a formula or a parameter. See Parameters and formulas.
All constraints and dimensions are listed under "Sketch constraints". You can change and delete them there. Double-clicking the dimension text in the sketch opens the dimension as well. A dimension that already follows from others is only displayed. The list then says "driven".
Understanding degrees of freedom
At the top of the sketch palette is the status of the sketch:
- "Status: Under Constrained": constraints or dimensions are still missing. Some things can still move.
- "Status: Fully Constrained": everything is fixed. Nothing can shift anymore.
- "Status: Conflict" (red text): constraints contradict each other.
- "Status: Not Solved" (orange text): the program finds no solution for the sketch.
The footer shows more exactly how far the sketch is determined, for example "Fully constrained" or "3 degrees of freedom".
Determined geometry is shown in a different color. A fully constrained sketch shows a red lock in the feature tree.
If constraints contradict each other, the program reports it. The affected part of the sketch then stays as it was. A new constraint that would break an error-free sketch is refused.
Find Under-Constrained
If you want to know what is still missing, the "Find Under-Constrained" button in the sketch palette helps:
- Click "Find Under-Constrained".
- A list shows everything that can still move, for example "Line 3" or "Circle 1".
- Click a row. The element is selected and brought into view.
- Add dimensions or constraints. The list stays open and gets shorter. In the end it says "No under-constrained elements".
With the tick "Hide Fully Constrained" the sketch dims everything that is already fixed. For curves, the X in the row deletes the curve together with its free end points and dimensions. Rows for single points have no X. "Close" closes the list. Next to it is the "Compute Sketch" button. It calculates the sketch again.

Edit
In the sketch palette under "Edit":
- "Toggle construction" (key X) and "Centerline", see above.
- "Mirror …": select the curves and, last, the mirror line. Then click "Mirror".
- "Linear pattern …": copies the selected curves several times with a fixed offset. Enter "Offset x", "Offset y" and "Number of copies" and click "Create". The "Pattern" tool offers more, see Changing sketches.
- "Delete": deletes the selection. If you delete a line or another curve, its free end points go with it, together with their dimensions. Points that another curve still uses, pinned points (for example an origin from "Include 3D Geometry") and the center of a circular pattern stay. One step in "Undo" brings everything back.
- "Blend Curve", "Toggle Curvature Display", copy, cut and paste: see Changing sketches.
Depending on the selection, more buttons appear here, for example "Tangent Handle", "Break Link" or "Edit Text".
Finish and reopen a sketch
- Click "Finish sketch" at the bottom.
- The sketch then appears in the feature tree under "Sketches". In the 3D view it stays visible as thin lines, as long as no body is in front of it.
- To edit it, double-click it in the feature tree or right-click and choose "Edit".
You can also click finished sketches in the 3D view. Right-click a curve or a point of the sketch. The menu offers:
- "Edit Sketch": opens the sketch again.
- "Show Dimension": shows or hides the dimensions of the finished sketch. You also find the entry in the right-click menu of the sketch in the feature tree. It only shows the dimension text, and only works if "Show Dimensions" of the sketch is on in the display options.
- "Hide": hides the sketch. The same as the eye in the feature tree.
If you have many sketches, you can sort them into groups in the feature tree. See Sketch groups. You can save a flat sketch as a DXF file, see Save a sketch as DXF.
Older program versions
Many of the new things on these pages need a newer file format. This applies, for example, to centerlines, patterns, text, canvases and 3D sketches. Since 0.0.2-dev.3 the following are added:
- File format 21: sketches with a curvature comb, with a blend curve that ends in the direction of the curve it joins, with a smooth elliptical arc or with an opposite angle. Also a sketch with a projected curve whose body has been deleted.
- File format 22: sketch groups, a text height with a formula, a spun profile and an isoparametric curve.
- File format 23: sketches in which a tick of the display options differs from the default, for example "Slice".
An older version of PlanoraCAD cannot open such files. It then reports that the file was created with a newer program version. Files without these things stay as they were. This is the same on Windows and Ubuntu.
Limits
- Sketches exist on the base planes, on flat faces of bodies and on construction planes.
- An area that touches itself at one point (for example a circle touching the rim from inside) appears as a profile, but does not become a body.
- If a position is ambiguous (e.g. an angle that would also fit rotated by 180°), the program takes the nearest solution.
- Snapping and guide lines only exist while drawing, not while dragging with the Select tool.
- Very large sketches calculate much faster since 0.0.2-dev.3. While you drag large groups, the coloring and the status may look different for a moment. After you let go, they are correct.
Next: Changing sketches