ARCHSPLACE
Architecture, made simple — since 2018
Polyline

SketchPLin the studio

Polyline

Polyline draws one chained line in the sketch editor, straight segments and arcs that leave the last segment tangentially, point by point, by clicks or typed coordinates. C or a click on the start closes it, and Enter ends it open.

What it is

Polyline draws a chain of segments that remains one line: straight segments, and arcs that leave the last segment without a kink, tangent to it. You place each point by a click, a typed length, or typed coordinates. The chain is closed by a click on its first point or by C, or ended open with Enter.

Because it is one line, the tools of this group take a polyline whole: Copy copies all of it, and Fillet rounds off the corners between its segments in place.

When to use it

  • To draw an outline that mixes straight sides and smooth curves, such as a window with a curved head that flows out of its sides.
  • To draw points from typed coordinates or relative steps.

The steps

  1. Pick Polyline. In the sketch editor (see Select for the ways in), type P and then L quickly, or click Polyline on the toolbar of the editor. The hint at the cursor tells you to chain lines and tangent arcs, with A for an arc, L for a line, C to close and Enter to end.

    Pick Polyline. In the sketch editor (see Select for the ways in), type P and then L quickly, or click Polyline on the toolbar of the editor.
  2. Place the first point. Click it; it snaps to corners, midpoints, crossings, the dimmed shape in force and the lines of the view. Or type it as x;y from the origin of the editor, the centre of the opening at floor level or the origin of the plan, and press Enter.

    Place the first point. Click it; it snaps to corners, midpoints, crossings, the dimmed shape in force and the lines of the view.
  3. Place the next points. A segment follows the pointer and the hint shows its length. Click, or type: a bare number is a length in the direction of the pointer, @dx;dy is a step from the last point, d<a and @d<a are a distance at an angle in degrees, from the origin or from the last point. Press Enter after typing. Lengths and coordinates are in the project units.

    Place the next points. A segment follows the pointer and the hint shows its length.
  4. Switch to arcs and back. From the second point onwards, press A: the next segment is an arc tangent to the last one, ending where you click, and the hint shows arc. Press L to go back to straight segments. U or Backspace takes back the last point.

    Switch to arcs and back. From the second point onwards, press A: the next segment is an arc tangent to the last one, ending where you click, and the hint shows arc.
  5. Close or end. With three points or more, click the first point again, or press C: the polyline closes and the tool is ready for a new one. To end it open, press Enter: the polyline stays as drawn and the tool is ready for a new one. Space, Escape or the right mouse button also end it open, then go back to Select. A finished polyline is left selected.

    Close or end. With three points or more, click the first point again, or press C: the polyline closes and the tool is ready for a new one.

What it refuses

  • The same point twice in a row. The hint says that is the same point.
  • Closing or ending too soon. A polyline needs two points to end and three to close; the hint says so, and the points stay.
  • A tangent arc for the first segment. An arc needs a direction to follow, so the first segment is always straight, even with A pressed.
  • The shape in force. It is a magnet for your points but never part of your polyline.

With a single point placed, Escape drops it.

What it writes to the contract

Nothing until you press Done. Every finished polyline is one step inside the editor, and Ctrl+Z goes back through them. The contract changes when you press Done, or Enter with nothing in progress, as one step that you can undo: what the lines enclose becomes the profile of the window or door, points [u, v] in metres across the wall and up from the floor, or the outline of the pattern area in the floorAreas or ceilingAreas of the room, points [x, y] in plan metres.

Every arc segment becomes a bulge, the third number on the point where it starts. A door 1 metre wide whose sides flow into a semicircular head, drawn as two straight sides and one tangent arc:

Related

Common questions

How do I add a curve that continues smoothly from a straight side?

After at least two points, press A: the next segment is an arc tangent to the last one, ending where you click. Press L to go back to straight segments.

How do I type exact points?

Type x;y for a point measured from the origin of the editor, @dx;dy for one measured from the last point, or a distance and an angle such as @1.2<90, then press Enter. A bare number is a length in the direction of the pointer.

How is Polyline different from Line?

Polyline accepts typed coordinates and tangent arcs, and leaves one chained line selected when you finish. Line accepts only lengths and draws straight sides.