1 Customising
James edited this page 2026-11-12 13:43:28 -05:00

Customising

Theme

View → Theme → Dark or Light. The theme recolours the viewport as well as the panels: background, grid, build plate and model.

Anvil in the light theme

Mouse navigation

View → Navigation has two presets:

Preset Middle-drag Shift + middle-drag
Fusion 360 (middle pans), the default Pan Orbit
Middle orbits Orbit Pan

The scroll wheel zooms in both. To reverse it, set "invert_zoom": true under "navigation" in settings.json (see below).

The view cube has its own options on its right-click menu; see Navigating the viewport.

Keyboard shortcuts

Open the editor from the UTILITIES tab → Keyboard Shortcuts, or Help → Keyboard Shortcuts.

The Keyboard Shortcuts window

The window lists every working command, grouped by toolbar tab, with its key.

  • To change a key, click the key (or the -- where there is none), then press the new one. Esc leaves it as it was.
  • clear removes a command's key. reset puts back the key it shipped with.
  • Reset all to defaults restores every key.

A command key is a single key with no modifier: a letter, a digit, F1 to F12, or Del. If two commands that can be active in the same place share a key, the window says also and names the other; give one of them a different key.

The same key may be used once in a sketch and once outside it: R is Rectangle in a sketch and the edge filter elsewhere.

Fixed keys such as S, Esc, Ctrl+S and Home are listed at the bottom of the window. The shipped keys are on the Keyboard shortcuts page.

Command search: S

Press S with the cursor over the viewport. A search box opens at the cursor.

The command search

  • Type a few letters. The match is fuzzy, so fil finds Fillet and exp3 finds Export 3MF. Commands that can run where you are come first: outside a sketch, ex puts Extrude above Extend.
  • ↑ and ↓ move the highlight; Enter runs the highlighted command.
  • Esc, or a click elsewhere, closes it.

Pinning

Click the + at the right of a row to pin that command. Pinned commands are listed at the top of the search, under Pinned, whenever the box is empty, so S followed by a click reaches your favourites. Click - to unpin. Pins are remembered.

Marking menu: right-click

Right-click in the viewport. Eight commands appear in a ring round the cursor.

The marking menu

  • Click (release without moving): the menu stays up, with a list of more commands below the ring. Click a wedge or a list entry. Esc, or a click on nothing, dismisses it.
  • Gesture (press, drag towards a wedge, release): that command fires at once.

Commands that cannot run now are dimmed. The contents follow what you are doing. Clockwise from the top:

Nothing selected Edges selected Faces selected In a sketch
Create Sketch Fillet Create Sketch Line
Extrude Chamfer Press Pull 2-Point Rectangle
Fillet Press Pull Hole Center Diameter Circle
Chamfer Measure Shell Sketch Dimension
Shell Plane Through Two Edges Measure Coincident
Faces (filter) Faces (filter) Faces (filter) Horizontal/Vertical
Edges (filter) Edges (filter) Edges (filter) Delete
Fit Fit Fit Finish Sketch

Outside a sketch, Fit and the filters keep their directions, so those gestures become habit.

Where settings are kept

Everything is in ~/.config/anvil/ (or $XDG_CONFIG_HOME/anvil/).

File Holds
settings.json Theme, navigation, view cube options, your shortcut changes, pinned commands, and the Sketch Palette's Snap, Sketch grid and Show points, dimensions and constraints switches.
toolbar.json The toolbar layout: tabs, panels, the commands in each and how many are shown as buttons.
imgui.ini The arrangement of the docked panels, which you change by dragging a panel by its tab.

To reset something, close Anvil and delete the file: imgui.ini for the panel arrangement, settings.json for preferences and shortcuts, toolbar.json for the toolbar. Each is recreated with the defaults.

A damaged settings.json or toolbar.json does not stop Anvil starting; it logs a warning and uses the defaults.

Editing the toolbar

toolbar.json is written on first run so that you can change it. Each panel has a list of command ids and a visible count saying how many appear as buttons before the rest go behind the arrow. Restart Anvil to see a change.