# Sketcher CreatePolyline

Sketcher CreatePolyline |

Menu location |
---|

Sketch → Sketcher geometries → Create polyline |

Workbenches |

Sketcher |

Default shortcut |

G M |

Introduced in version |

- |

See also |

Sketcher CreateLine |

## Description

The Sketcher CreatePolyline tool creates a series of line and arc segments connected by their endpoints. The tool has several modes.

Polyline started with a line, a tangent arc, a perpendicular arc then a tangent line.

## Usage

See also: Drawing aids.

- There are several ways to invoke the tool:
- Press the Create polyline button.
- Select the
**Sketcher → Sketcher geometries → Create polyline**option from the menu. - Right-click in the 3D view and select the
**Create polyline**option from the context menu. - Use the keyboard shortcut: G then M.

- The cursor changes to a cross with the tool icon.
- The modes of the tool require a previous segment. Do one of the following:
- Pick two points to define a line segment.
- Pick the endpoint of an existing line or arc segment (Auto constraints must be enabled).

- Optionally press the M key one or more times to cycle through the modes for the next segment. The available modes are:
- Line perpendicular to the previous segment.
- Line tangential to the previous segment (this is the initial mode if the previous segment is an arc).
- Arc tangential to the previous segment.
- Arc perpendicular (left) to the previous segment.
- Arc perpendicular (right) to the previous segment.
- Line only connected to the previous segment.

- While in any of the arc modes, optionally hold down the Ctrl key to snap the arc to increments of 45° relative to the previous segment.
- Pick the endpoint of the segment.
- Optionally repeat this to create more segments.
- To finish the input do one of the following:
- Snap to the start point to create a closed polyline.
- Right-click or press Esc to create an open polyline.

- The polyline segments have been created and applicable constraints have been added.
- If the tool runs in continue mode:
- Optionally keep creating polylines.
- To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Sketcher

**General:**Create sketch, Edit sketch, Attach sketch, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation

**Sketcher geometries:**Point, Polyline, Line, Arc, Arc by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Arc slot, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Toggle construction geometry

**Sketcher constraints:****Dimensional constraints:**Dimension, Horizontal distance, Vertical distance, Distance, Auto radius/diameter, Radius, Diameter, Angle, Lock**Geometric constraints:**Coincident (unified), Coincident, Point on object, Horizontal/vertical, Horizontal, Vertical, Parallel, Perpendicular, Tangent or collinear, Equal, Symmetric, Block**Other constraints:**Refraction (Snell's law)**Constraint tools:**Toggle driving/reference constraint, Activate/deactivate constraint

**Sketcher tools:**Fillet, Chamfer, Trim, Split, Extend, External geometry, Carbon copy, Select origin, Select horizontal axis, Select vertical axis, Array transform, Polar transform, Scale transform, Offset geometry, Symmetry, Remove axes alignment, Delete all geometry, Delete all constraints

**Sketcher B-spline tools:**Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves

**Sketcher visual:**Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide circular helper for arcs, Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Show/hide internal geometry, Switch virtual space

**Additional:**Sketcher Dialog, Preferences, Sketcher scripting

User documentation

**Getting started****Installation:**Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap**Basics:**About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate

**Help:**Tutorials, Video tutorials**Workbenches:**Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework

**Hubs:**User hub, Power users hub, Developer hub