vcad.
Back to App
App

Undo/Redo

Revert and replay document changes

Undo and redo let you revert mistakes and explore design alternatives without risk. Every document operation can be undone.

Keyboard Shortcuts

ActionmacOSWindows/Linux
UndoCmd+ZCtrl+Z
RedoCmd+Shift+ZCtrl+Shift+Z

Shortcuts work when the viewport has focus. They are ignored when typing in input fields (text inputs, parameter fields).

How It Works

vcad maintains two stacks: an undo stack of previous states and a redo stack of undone states.

When you make a change:

  1. Current state is saved to the undo stack
  2. Redo stack is cleared (new changes start a fresh branch)
  3. Your change is applied

When you undo:

  1. Current state is pushed to the redo stack
  2. Previous state is restored from the undo stack

When you redo:

  1. Current state is pushed to the undo stack
  2. Next state is restored from the redo stack

Making any edit after undoing clears the redo stack. You cannot redo after making new changes.

Supported Operations

All document mutations are undoable:

  • Add, edit, and remove primitives
  • Transform operations (translate, rotate, scale, mirror)
  • Boolean operations (union, difference, intersection)
  • Parameter edits
  • Rename operations
  • Material assignments
  • Sketch operations (extrude, revolve, sweep, loft)
  • Assembly operations (instances, joints)
  • Duplicate operations

History Limits

vcad stores up to 50 undo steps. When you exceed 50 operations, the oldest states are dropped.

LimitValue
Maximum undo steps50
Redo stepsUnlimited (until next edit)

Save your document frequently if you need to preserve states beyond the 50-step limit.

Edge Cases

ScenarioBehavior
Loading a fileClears both undo and redo stacks
Rapid undo/redoResponds immediately, no delay
Undo during previewPreview is cancelled, document reverts
At oldest stateNo further undo possible
At newest stateNo redo available