Rotate

The rotate command rotates selected entities around a base point. You specify the rotation angle either by typing a number in degrees or by clicking โ€” the angle is computed from the direction between the base point and the click position.

Two ways to start

Pre-select, then rotate โ€” select entities first, then activate:

  1. Select one or more entities on the canvas.
  2. Type rotate in the terminal or click the Rotate toolbar button.
  3. Click the base point โ€” the center of rotation. Or type X,Y and press Enter for an exact coordinate.
  4. Type an angle and press Enter, or click to set the angle from the cursor direction.

Activate, then select โ€” start the command with nothing selected:

  1. Type rotate or click the toolbar button.
  2. Select objects โ€” click to toggle, or drag to select by area.
  3. Press Enter or Space to confirm the selection.
  4. Click the base point (coordinate entry available), then set the angle.
  Before:            After (90ยฐ rotation around โ—):
                        โ•”โ•โ•โ•—
  โ—  [entity]    โ†’   โ— โ•‘    โ•‘
                        โ•šโ•โ•โ•

A live ghost preview of the rotated entities follows the cursor angle after the base point is set.

Setting the angle

Typed angle โ€” type a number (in degrees) at any time after the base point is placed. The preview snaps to the typed angle while you continue to adjust before pressing Enter.

Click angle โ€” if no typed value is present, clicking sets the angle equal to atan2(cursorY โˆ’ baseY, cursorX โˆ’ baseX) โ€” the direction from base point to click, in degrees.

KeyAction
0โ€“9, .Append digit to the angle value
-Negative angle (first character only)
CToggle Copy mode (before typing any digits)
BackspaceDelete the last typed character
EnterApply rotation at the typed angle

Rotating a copy

Press C at the angle prompt โ€” before typing any digits โ€” to toggle Copy mode, the same inline-option pattern Polylineโ€™s Arc toggle uses. The prompt shows the current state as [Copy=true] / [Copy=false], and pressing C again flips it back.

With Copy on, applying the rotation leaves the original selection untouched in place and adds new, rotated copies of each selected entity instead. With Copy off (the default), the selection rotates in place as usual.

Angle direction

Angles follow the DXF convention:

  • Positive values rotate counter-clockwise in drawing coordinates (Y-up).
  • On screen, where the Y-axis is inverted (Y-down), positive angles appear clockwise.

Common values: 90 = quarter turn, 180 = half turn, -90 = opposite quarter turn.

Keyboard reference

KeyAction
Enter / SpaceConfirm selection
0โ€“9, ., -Start X coordinate entry (base-point phase), or angle value (angle phase)
,Lock X and move to Y entry (base-point phase)
CToggle Copy mode (angle phase, before typing any digits)
BackspaceDelete last typed character
EnterConfirm coordinate or apply rotation
EscapeCancel and reset

Selection during the command

MethodBehaviour
ClickToggles the entity under the cursor
Drag right (strict)Adds entities fully inside the box
Drag left (crossing)Adds entities that intersect the box
Enter / SpaceConfirms the selection

Supported entities

Rotate works on every entity type. Each entityโ€™s geometry is rotated around the base point โ€” for example, a Circle moves its center while the radius stays the same; an Arc moves its center and shifts its start and end angles by the rotation amount; a Text entity moves its anchor point and adds the angle to its Rotation Degree property.