KufCad

Commands and aliases

There are three ways to run a command: click a ribbon button, choose it from the K menu / a right-click menu, or type its name in the command line and press Enter.

Typing a command name

  1. When the command line shows Command:, type a command name, for example LINE, and press Enter.
  2. KufCad writes Command: LINE to the history and shows the first prompt of the command (Specify first point:).
  3. Answer each prompt by clicking on the canvas or typing a value and pressing Enter.

Names are not case sensitive.

Aliases

Most commands have a short name: L = LINE, C = CIRCLE, REC = RECTANGLE, Z = ZOOM, U = a one-step UNDO… Type the alias and press Enter for the same result as the full name; the history shows the full name.

Type L and press Enter: the history reads Command: LINE and the prompt waits
Figure 2.1 — Type L and press Enter: the history reads Command: LINE and the prompt waits for the first point.

The full list and how to add your own aliases: Customizing aliases (PGP). Commands starting with - (for example -LAYER) are the command-line versions of dialog commands.

Repeating a command

With an empty command line, press Enter (or Space) to run the last command again; the history shows (repeat). A right-click on an empty canvas also offers Repeat ….

After finishing LINE, Enter runs it again: Command: LINE (repeat).
Figure 2.2 — After finishing LINE, Enter runs it again: Command: LINE (repeat).

Command options

A prompt looks like Specify center point of arc or [Start/CONtinue]:. The part in [ ] lists options: type the capital letters (S, CON) and press Enter, or click the matching button just above the input line.

ARC is waiting; the Start and CONtinue buttons sit above the input line.
Figure 2.3 — ARC is waiting; the Start and CONtinue buttons sit above the input line.

Finding a command

Forgot a command name? Type a few letters in the Find a command… box (on the ribbon tab row) — see K menu and QAT.