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

Troubleshooting

Start with the message: in the bar at the top of the window, in the feature's dialog, or in the tooltip of a red item in the timeline or browser.

Modelling

My sketch will not extrude. The sketch has no closed profile. The Extrude dialog says why, for example this sketch has an open loop with a 0.5 mm gap near (60, 20), and rings the gap in the viewport. See Why won't my sketch extrude.

A fillet turned red after I changed something. Hover over it in the timeline for the reason.

  • the fillet lost 1 of its 4 edge references after an upstream change -- re-pick the edges: your change removed an edge the fillet was on, and Anvil will not move it to another. Double-click the fillet, click its Edges field so that it is highlighted, pick the edges again (R), and click OK.
  • could not build a 6 mm fillet -- the radius may be too large for the geometry: the part is now too small for that radius. Reduce it.

Chamfers, shells and holes fail and are repaired the same way. See The timeline.

A button is greyed out. Hover over it. Not available with this selection means it needs something selected first: edges for Fillet and Chamfer, faces for Shell, a body for the patterns. Not in v1 means the command is not built; see Coming from Fusion 360.

A click picks the wrong kind of thing. Check the selection filter at the left of the status bar: Body (B), Face (G), Edge (R) or Vertex (V).

I cannot reach the face I want. Rest the cursor over it. A list appears of everything on that line of sight, including what is hidden behind.

The sketch says constraints conflict. Press Ctrl+Z, or delete one of the entries shown in red under Constraints in the docked Sketch panel. See Constraints.

Features are dimmed and the status bar says rolled back. The roll-back marker is part-way along the timeline. Drag it to the end, or right-click any feature and choose Roll to end.

Exporting

The exported part looks faceted. Open Export STL and lower the linear deflection and the angular deflection. The same settings govern 3MF. See Exporting.

Holes in the exported file are bigger than I modelled. That is hole compensation, 0.2 mm by default, and the status bar says so. Change it in Print Settings. See Hole compensation and plate helpers.

Starting and running

Start Anvil from a terminal to see its messages. For more detail:

anvil --log-level debug --gl-debug

The window does not appear.

Message Cause
glfwInit failed (no Wayland or X11 display?) There is no graphical session to open a window in.
could not create a 4.5 core-profile window -- driver reported no such context available The graphics driver does not provide OpenGL 4.5 core profile.
OpenGL 4.5 entry points missing: ... The driver lacks functions Anvil needs.

Anvil needs OpenGL 4.5 core profile, on Wayland or X11. Mesa's software renderer, llvmpipe, provides it; that is how the project's own tests run.

The panels are in a mess. Close Anvil and delete ~/.config/anvil/imgui.ini.

Anvil closed unexpectedly. Start it again. If there was unsaved work, a Recover unsaved work window offers the last autosaved copy.

A file will not open. this document was written by a newer version of Anvil means what it says: update Anvil. Otherwise the file is damaged; anvil --inspect file.anvil may still print its contents.

Where things are

What Where
Settings and shortcuts ~/.config/anvil/settings.json
Toolbar layout ~/.config/anvil/toolbar.json
Panel arrangement ~/.config/anvil/imgui.ini
Recovery snapshots ~/.local/state/anvil/recovery/
Log The terminal. There is no log file; use anvil 2> anvil.log to keep one.

$XDG_CONFIG_HOME and $XDG_STATE_HOME are used when they are set.

Reporting a problem

Use the issue tracker, with the message, anvil --version, and what the terminal printed.