Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Guide: shortcuts table regenerated; menu_paths.py leaves generated tables to the app's own words

islandmed37c599b76ec1
diff --git a/docs/guide/shortcuts.md b/docs/guide/shortcuts.md
index 3a930730..68f9539b 100644
--- a/docs/guide/shortcuts.md
+++ b/docs/guide/shortcuts.md
@@ -106,8 +106,8 @@ generated from SculptForge's action registry, the same source as the Controls wi
| Action | Keys | What it does |
|---|---|---|
| Load UI... | <kbd>Ctrl</kbd>+<kbd>L</kbd> | Load a layout file someone shared (or you saved with Save UI). |
-| Radial menu 1: Brushes | <kbd>T</kbd> | Hold the key, flick toward an item and let go to run it; or tap the key and click one. Edit it in Edit > Preferences > Input > Radial Menus. |
-| Radial menu 2: Masking | <kbd>Y</kbd> | Hold the key, flick toward an item and let go to run it; or tap the key and click one. Edit it in Edit > Preferences > Input > Radial Menus. |
+| Radial menu 1: Brushes | <kbd>T</kbd> | Hold the key, flick toward an item and let go to run it; or tap the key and click one. Edit it in Preferences > Input > Radial Menus. |
+| Radial menu 2: Masking | <kbd>Y</kbd> | Hold the key, flick toward an item and let go to run it; or tap the key and click one. Edit it in Preferences > Input > Radial Menus. |
| Save UI... | <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> | Save the layout, shortcuts and interface preferences to a file you can share. |
| Shelves | <kbd>Tab</kbd> | Hide or show the shelves and trays around the canvas. |
| Store Config | <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> | Keep the current layout, shortcuts and interface preferences for future sessions. Like ZBrush, SculptForge never saves them on its own. |
@@ -181,7 +181,7 @@ generated from SculptForge's action registry, the same source as the Controls wi
| Action | Keys | What it does |
|---|---|---|
-| Lock camera | <kbd>Shift</kbd>+<kbd>L</kbd> | Lock the camera for left-drags: a drag that starts on the background sculpts once it reaches the model instead of turning the view (Edit > Preferences > Input > Start strokes off the model, #62). The status bar shows CAMERA LOCKED while it is on. Right-drag or Alt+drag still move the view. Shift+L turns it on and off. |
+| Lock camera | <kbd>Shift</kbd>+<kbd>L</kbd> | Lock the camera for left-drags: a drag that starts on the background sculpts once it reaches the model instead of turning the view (Preferences > Input > Start strokes off the model, #62). The status bar shows CAMERA LOCKED while it is on. Right-drag or Alt+drag still move the view. Shift+L turns it on and off. |
<!-- END GENERATED: shortcuts -->
diff --git a/tools/guide/menu_paths.py b/tools/guide/menu_paths.py
index 660f41ce..5e225ddb 100644
--- a/tools/guide/menu_paths.py
+++ b/tools/guide/menu_paths.py
@@ -55,8 +55,16 @@ BOLD_NAME = re.compile(r"\*\*(" + "|".join(MENUS) + r")\*\* palette\b") # "the
def convert(text: str) -> str:
out = []
- zbrush_note = False
+ zbrush_note = generated = False
for line in text.split("\n"):
+ # Tables generated from the app (update_shortcuts.py) quote its own help text; the app owns those words.
+ if line.startswith("<!-- BEGIN GENERATED"):
+ generated = True
+ elif line.startswith("<!-- END GENERATED"):
+ generated = False
+ if generated:
+ out.append(line)
+ continue
# "> **ZBrush-style layout:** ..." notes name the palettes of that layout on purpose.
zbrush_note = line.startswith("> **ZBrush-style layout") or (zbrush_note and line.startswith(">"))
if zbrush_note: