KufCad

POLYLINE — Polyline

Ribbon: Draw ▸ Draw ▸ PolylineCommand: PLINEAlias: PL

POLYLINE (PLINE) draws a chain of line and arc segments joined into one object. A polyline can be closed, can have width (thick strokes, arrows) and can be offset or filleted as a whole.

Figure 5.4 — The Polyline button 1 on the Draw panel.
Figure 5.5 — A polyline of width 3: a line segment from 1 to 2, an arc from 2 to 3, then a line segment to 4.

Steps

  1. Click Polyline, or type PL and press Enter.
  2. Pick the start point 1, then the next points (prompt Specify next point or [Arc/Close/Width/Halfwidth/Undo]).
  3. Press Enter to finish (open polyline), or type C to join back to the start and close it.
Figure 5.6 — Drawing in progress: first point 1, second point 2; the command line 3 lists the options.
Drawing a polyline: click the points one after another, press Enter or Esc to finish
Animation — Drawing a polyline: click the points one after another, press Enter or Esc to finish.

Options

TypeOptionWhat it does
AArcSwitches to arcs: the point you pick is the end point of the arc, tangent to the previous segment. The prompt changes to Specify endpoint of arc or [Close/Halfwidth/Line/Undo/Width].
LLine(In arc mode) returns to line segments.
CCloseCloses the polyline with a segment back to the start and finishes.
WWidthEnter the starting width, then the ending width for the following segments. Different values give a tapered segment (arrow).
HHalfwidthLike Width, but you enter half the width.
UUndoRemoves the last vertex added.

The line prompt also offers L (Length): enter a length and the new segment continues in the direction of the previous one (or along the tangent if it was an arc). For example PLINE → 0,0 → #40,0 → L → 20 gives a vertex at (60,0).

Figure 5.7 — An arrow: shaft of width 5 1, arrow head drawn with Width 14 → 0 2. Typed sequence: PL, 0,0, W, 5, 5, 70,0, W, 14, 0, 40,0, Enter.
Figure 5.8 — Closed with C: a 70 × 50 rectangle, width 2.

In Arc mode only the arc end point can be picked for now; the Angle / CEnter / Direction / Radius / Second point sub-options are not available, and the prompt and preview do not change when you enter arc mode. If a polyline mixes segments of non-zero width with zero-width segments, the zero-width ones that follow a wide segment are currently not drawn on screen (the object still holds all its data). Give the whole chain the same width when you need to see it.

Notes

  • Polylines are saved to DWG / DXF as LWPOLYLINE (with width and arcs).
  • Edit a polyline by dragging grips, or with PEDIT (chapter 6). Break it into separate pieces with EXPLODE.
  • Rectangles and polygons (RECTANGLE, POLYGON) also produce closed polylines.

See also: LINE, RECTANGLE.