KufCad

LINE — Draw straight segments

Ribbon: Draw ▸ Draw ▸ LineCommand: LINEAlias: L

LINE draws a chain of straight segments; each segment is a separate object. It is the most basic drawing command, used for sketch lines, outlines, centre lines and so on.

Figure 5.1 — The Line button 1 on the Draw panel.
Figure 5.2 — A "house" drawn with LINE: five vertices 1–5. The last segment returns to the start point 1.

Steps

  1. Click Line, or type L and press Enter.
  2. The command line asks Specify first point:. Click a point on the canvas 1, or type coordinates (for example 0,0).
  3. The command line asks Specify next point or [Undo]:. Click the next point 2 or type coordinates. A segment joins the previous point to the new one; a rubber band 3 follows the cursor.
  4. Keep picking points. To close the figure, click the start point again (with the Endpoint object snap on).
  5. Press Enter or Esc to finish. The command line 4 always shows the current step.
Figure 5.3 — Drawing in progress: first point 1, second point 2, rubber band 3 following the cursor. The command line 4 prompts for the next point.

When you type coordinates instead of clicking: the first point is absolute (x,y); from the second point on, with Dynamic Input on (the default), dx,dy is relative to the previous point, distance<angle is relative polar and #x,y is absolute. See chapter 4, page "Entering coordinates".

Options

TypeOptionWhat it does
UUndoRemoves the last segment and continues.
CCloseJoins the last point to the first and ends the command.
Enter at the Command: promptRepeatCalls the last LINE again.

At present the C and U options typed on the command line have no effect (the prompt does not show Close either). Workarounds: to close a figure, click the start point or type its absolute coordinates #x,y; to remove the last segment, press Esc and use Ctrl+Z.

Notes

  • Every segment is a separate LINE object. If you want the whole chain to be one object (closable, with width), use POLYLINE.
  • Turn on Ortho (F8) for horizontal / vertical lines, Polar (F10) for fixed angles, and direct distance to type lengths (chapter 4).

See also: POLYLINE.