diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md
index 716a1cd90..27306d087 100644
--- a/ATTRIBUTION.md
+++ b/ATTRIBUTION.md
@@ -429,6 +429,20 @@ Original SolidCraft drawings, Open for owner review; no runtime assignments.
| assets/icons/ui/design/svg/model/status_recovery.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
| assets/icons/ui/design/svg/model/frame_member.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
| assets/icons/ui/design/svg/model/render_environment.svg | SolidCraft contributors | original Studio icon master (64 grid): dome with a grey cube inside | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/style_shaded.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/style_wireframe.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/style_hidden_edges.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/style_translucent.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_faces_edges.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_bodies.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_features.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_parts.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_components.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/select_sketch.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/display.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/grid.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/ground_shadow.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
+| assets/icons/ui/design/svg/flat/ambient_occlusion.svg | SolidCraft contributors | original icon master (64 grid) | MIT OR Apache-2.0 |
| assets/icons/ui/design/svg/model/placeholder.svg | SolidCraft contributors | two-tone modelling icon master (64 grid), original SolidCraft artwork | MIT OR Apache-2.0 |
| assets/icons/ui/design/svg/model/plane.svg | SolidCraft contributors | two-tone modelling icon master (64 grid), original SolidCraft artwork | MIT OR Apache-2.0 |
| assets/icons/ui/design/svg/model/plane_angle.svg | SolidCraft contributors | two-tone modelling icon master (64 grid), original SolidCraft artwork | MIT OR Apache-2.0 |
diff --git a/assets/icons/ui/design/aliases.toml b/assets/icons/ui/design/aliases.toml
index 7a986f4ad..150316377 100644
--- a/assets/icons/ui/design/aliases.toml
+++ b/assets/icons/ui/design/aliases.toml
@@ -27,6 +27,9 @@ error = { master = "status_error", accent = "surface" }
warning = { master = "status_warning", accent = "mesh" }
ground = "c_fix"
+# Visual style: Shaded with edges is the generic style icon.
+style_shaded_edges = "style"
+
# Same finished drawing, different semantic operation. Colours live only in palette.toml.
sketch_break = { master = "break", accent = "sketch" }
sketch_cancel = { master = "close", accent = "sketch" }
diff --git a/assets/icons/ui/design/requested_icons.txt b/assets/icons/ui/design/requested_icons.txt
index 3676e1c56..125ac1f9e 100644
--- a/assets/icons/ui/design/requested_icons.txt
+++ b/assets/icons/ui/design/requested_icons.txt
@@ -1,6 +1,8 @@
accessibility false
activate false
+agent_chat false
align false
+ambient_occlusion false
appearance false
arc3 false
arc_center false
@@ -83,6 +85,8 @@ decal false
delete false
delete_face false
dimension false
+display false
+dots false
draft false
draft_analysis false
drive false
@@ -110,7 +114,9 @@ folder false
frame_member false
gear false
graph false
+grid false
ground false
+ground_shadow false
help false
hem false
hole false
@@ -210,6 +216,11 @@ section false
select false
send false
settings false
+settings_keyboard false
+settings_monitor false
+settings_mouse false
+settings_palette false
+settings_plug false
sheet_rules false
shell false
shield false
@@ -247,6 +258,11 @@ star false
status_error false
status_recovery false
style false
+style_hidden_edges false
+style_shaded false
+style_shaded_edges false
+style_translucent false
+style_wireframe false
suppress false
surface false
surface_blend false
diff --git a/assets/icons/ui/design/review.json b/assets/icons/ui/design/review.json
index f00edb109..c7b0fb60d 100644
--- a/assets/icons/ui/design/review.json
+++ b/assets/icons/ui/design/review.json
@@ -6,6 +6,7 @@
"agent_chat": "4a9ae0e7e2c360b4858b3175674c93d096705c92318fecd481e849f3ae650bf4",
"agent_link": "2f20d89a0e3e9b28744910dddf7f282a1099ccd91aa160c9841c5b1d9ea9ed0f",
"align": "05615db7dd9e4be56ae898e59a68c548b8a8447794442a9a394940651204bc4f",
+ "ambient_occlusion": "973f8ef2326aeaf0face576e5a2c79c7ef3d13638b2c51a5aad199e4ef7edb02",
"appearance": "b3162edd92291a5ef402e8499cd52be05beb2fa7eda641163c3f6e98325de2bf",
"arc3": "fdca3d501fd557ac989376a12e9c4fa8231fde2b455c20724d1079a466153e9c",
"arc_center": "3a5fdeb1d64fc6741f944c4435870b05fccab62293e270da692c6681155cbc51",
@@ -88,6 +89,7 @@
"dimension": "a926b7c64bc8ca99d8d6dcbb81b95235bd3fc34fbed049aca8b01b4d1147c15d",
"disclosure_closed": "49a350c6f2efae78de0be96c524ebee1fd1291ea449a84224b88d37164a4e807",
"disclosure_open": "d13ce3f97e3e362a9904fa2bf3412f3f00e4136bc23538b92d41483961d280de",
+ "display": "58b45e5e2230eaf2c80f74b3be2e02a23714c90d6fb03b59ed093a1949993163",
"dots": "600f7ff209d93145fc938bc4f6a1e34473e6b9ee22a5b4718f133bc7da5ee58d",
"draft": "9c0fc361cacd0ad95ccd54794f4825dfc9901a83a3de752a588faec365d0ee09",
"draft_analysis": "eb39c0f90e9cf226da6307365a76015e900dd692dc3f0fdc8f02fe717226261f",
@@ -117,7 +119,9 @@
"folder": "c19f5230df45a1bda1e92e89de38bba21c91e6eca0517eb15847a7712012d1e5",
"gear": "25a1ca48a587850da1104a46005a330873ed196246e3d04e12cf61f26ad2b0d5",
"graph": "7156caedd2dbfa2ae53da18b7a2204b8db66c45126859d36caf049a3fd4335a4",
+ "grid": "084b5040d57e9d5183b3db1fad0d17a13ab5bae64676eef703cc06622f9c7438",
"ground": "23e2471a9d6872e83028e0e219e330cef1930a4d89456a0fefa1bda8a7e3eb81",
+ "ground_shadow": "a96809ed87f5047c2d7f1274908ed7b65b180613322ac9c10eb0f9d6296c1b66",
"help": "8ce4060577483dbdb510be147d2827de50ac20029354008fca55abc0c7edf05d",
"hem": "f9b1aafbedcf3dc90c26be308814638e0095fbe31b0647092507343fa60af011",
"hole": "f82d47751f826e08682db847a270897474661bfe9f35b6d3678f49a203172563",
@@ -263,6 +267,12 @@
"screw": "5e30570785360d6a591ea22862a82f1cf62228385c1e96382536db8a453ac791",
"section": "cdd13f99f15f6d59bfa21c747810608d6afd00cb8207faf0337928c8521e7eae",
"select": "fdf6431270006ca7409c60c37cfed59572de04229f104ec723e6010ffa2b7163",
+ "select_bodies": "8e6e61e083e6097535da3b98d41b607b40fc81b72bbd8c7fb903618c5b35c568",
+ "select_components": "3e6cc847b334e92ce7ec5e5f35dfa929572e0974239790d76563ca4e20b26789",
+ "select_faces_edges": "7b99b5370b1647bf8cea57df7a1053caab641c2f4a94c4d797b9679e6f38d6f1",
+ "select_features": "b050bc19ce86d135cbe50998be681555110e92e179c4c7b101170c6b62c19943",
+ "select_parts": "569adc5595a64187411d8ffeea69eab3b76ddfa33aeead6fd728efdd993bcccc",
+ "select_sketch": "b0605b34a14d4173f7ed80d877109ec0b891a1b395bcab5743a603ed2eae240a",
"send": "f83b6cdab792f9567a81d46d7828ed20795513c57a2c7d00fbbe6bd14d2f5848",
"settings": "9193dd3a1007c43660d0d47b6499cb2571338b67949e1a99df112057b9bf2b8a",
"settings_keyboard": "4968c70788094365af9c6e2b1c15b2aac45cf21212a14b8a256daf1ffe17f41a",
@@ -309,6 +319,11 @@
"stitch": "6c3205d64007b771ed78d6f8055867578439fb25d591563b32dbd3343c98732d",
"stop": "36967eb4d423370d0d6c679b0a71f8d09f4fb2c73eed3e8cc50c604c44b0c32b",
"style": "6c2b04234b82ea4858c80190cc7208c60f549358253005afc35ab4e29506b578",
+ "style_hidden_edges": "a707dfc0bdcabe9144865f569abfcb478e493143cbd4331efc1404cf3082f6d2",
+ "style_shaded": "6e5f8f9a9030ab3717f8b2192bbfd3f6b515ad398acf6cb41bc24f1298bc73b4",
+ "style_shaded_edges": "6c2b04234b82ea4858c80190cc7208c60f549358253005afc35ab4e29506b578",
+ "style_translucent": "c46b0cd485cfb9023514908357048b5cba9017a0c4976239da1e98f50e4ab5f9",
+ "style_wireframe": "af7e575d378b5b6850bee9d3ca384efab95c8d4c876c5e3524f3ea771c4380a3",
"suppress": "c54fbc01c12c0175d78cd63f692e8aaf73fc2cac79752b2a3ad821ac32734343",
"surface": "ba0e839ce0ee03e7ff95a2389a5ecb20bd80c713064d9b1bd5f461f4a80d1921",
"surface_blend": "0642f3b4af7d22f379a3c74f54c7b1c9eef0bdda19372ce4df73c0e56bdd7bbc",
diff --git a/assets/icons/ui/design/svg/flat/ambient_occlusion.svg b/assets/icons/ui/design/svg/flat/ambient_occlusion.svg
new file mode 100644
index 000000000..76f44eacf
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/ambient_occlusion.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/icons/ui/design/svg/flat/display.svg b/assets/icons/ui/design/svg/flat/display.svg
new file mode 100644
index 000000000..7df9ff33f
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/display.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/icons/ui/design/svg/flat/grid.svg b/assets/icons/ui/design/svg/flat/grid.svg
new file mode 100644
index 000000000..c74820ee8
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/grid.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/ui/design/svg/flat/ground_shadow.svg b/assets/icons/ui/design/svg/flat/ground_shadow.svg
new file mode 100644
index 000000000..ea5d9154b
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/ground_shadow.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_bodies.svg b/assets/icons/ui/design/svg/flat/select_bodies.svg
new file mode 100644
index 000000000..1ef851ee2
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_bodies.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_components.svg b/assets/icons/ui/design/svg/flat/select_components.svg
new file mode 100644
index 000000000..8d93bf9b9
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_components.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_faces_edges.svg b/assets/icons/ui/design/svg/flat/select_faces_edges.svg
new file mode 100644
index 000000000..eadfba031
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_faces_edges.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_features.svg b/assets/icons/ui/design/svg/flat/select_features.svg
new file mode 100644
index 000000000..049f7dcf1
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_features.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_parts.svg b/assets/icons/ui/design/svg/flat/select_parts.svg
new file mode 100644
index 000000000..21dd8ae49
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_parts.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/ui/design/svg/flat/select_sketch.svg b/assets/icons/ui/design/svg/flat/select_sketch.svg
new file mode 100644
index 000000000..518323fea
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/select_sketch.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/icons/ui/design/svg/flat/style_hidden_edges.svg b/assets/icons/ui/design/svg/flat/style_hidden_edges.svg
new file mode 100644
index 000000000..8bbeb5cbf
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/style_hidden_edges.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/ui/design/svg/flat/style_shaded.svg b/assets/icons/ui/design/svg/flat/style_shaded.svg
new file mode 100644
index 000000000..34d9aaf1a
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/style_shaded.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/ui/design/svg/flat/style_translucent.svg b/assets/icons/ui/design/svg/flat/style_translucent.svg
new file mode 100644
index 000000000..48924b04d
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/style_translucent.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/icons/ui/design/svg/flat/style_wireframe.svg b/assets/icons/ui/design/svg/flat/style_wireframe.svg
new file mode 100644
index 000000000..c0a9712a5
--- /dev/null
+++ b/assets/icons/ui/design/svg/flat/style_wireframe.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/locales/pending/navbar-customisation.json b/assets/locales/pending/navbar-customisation.json
new file mode 100644
index 000000000..0b2da44dd
--- /dev/null
+++ b/assets/locales/pending/navbar-customisation.json
@@ -0,0 +1,562 @@
+{
+ "en": {
+ "navbar.custom.title": "Navigation bar",
+ "navbar.custom.preview_as": "Preview as",
+ "navbar.custom.design": "Design",
+ "navbar.custom.render": "Render",
+ "navbar.custom.hidden_render": "Hidden in Render",
+ "navbar.custom.hidden_design": "Hidden in Design",
+ "navbar.custom.select": "No slot selected. Select a slot on the bar to move it, remove it or change how it looks.",
+ "navbar.custom.left": "Move left",
+ "navbar.custom.right": "Move right",
+ "navbar.custom.remove": "Remove",
+ "navbar.custom.shows": "Shows",
+ "navbar.custom.icon_value": "Icon and value",
+ "navbar.custom.icon_only": "Icon only",
+ "navbar.custom.available": "{available} · drag onto the bar, or press Add",
+ "navbar.custom.add_slot": "Add {slot}",
+ "navbar.custom.position": "Position",
+ "navbar.custom.size": "Size",
+ "navbar.custom.compact": "Compact",
+ "navbar.custom.regular": "Regular",
+ "navbar.custom.buttons": "Buttons",
+ "navbar.custom.icons": "Icons",
+ "navbar.custom.labels": "Icons and labels",
+ "navbar.custom.idle": "When idle",
+ "navbar.custom.always": "Always visible",
+ "navbar.custom.fade": "Fade",
+ "navbar.custom.hide_idle": "Hide until hovered",
+ "navbar.custom.show": "Show navigation bar",
+ "navbar.custom.reset_default": "Reset to default",
+ "navbar.custom.count": "{count} of 16 slots",
+ "navbar.custom.customise": "Customise navigation bar…",
+ "navbar.custom.hide": "Hide navigation bar",
+ "navbar.custom.reset": "Reset navigation bar",
+ "navbar.custom.remove_bar": "Remove from bar",
+ "navbar.custom.full": "Remove a slot to add another.",
+ "navbar.custom.separators_full": "The bar already has four separators.",
+ "navbar.custom.duplicate": "This slot is already on the bar.",
+ "navbar.custom.stale": "The bar changed. Select the slot again.",
+ "navbar.custom.unknown": "This slot is not available.",
+ "navbar.custom.intro": "Choose the controls on the bar at the bottom of the 3D view, and in what order. Drag a slot to move it, or drag it off the bar to remove it.",
+ "navbar.custom.position_left": "Left",
+ "navbar.custom.position_centre": "Centre",
+ "navbar.custom.position_right": "Right",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "Translucent",
+ "navbar.later": "Later",
+ "navbar.graphics": "Graphics",
+ "navbar.preset": "Preset",
+ "navbar.show": "Show",
+ "navbar.projection_heading": "Projection",
+ "navbar.orthographic": "Orthographic",
+ "navbar.perspective": "Perspective",
+ "navbar.assistant": "Assistant",
+ "navbar.agent_cursor": "Show agent cursor",
+ "navbar.agent_chat": "Assistant chat panel",
+ "navbar.description.orbit": "Turns the view around the model.",
+ "navbar.description.pan": "Slides the view sideways, up or down.",
+ "navbar.description.zoom": "Moves the view closer to or further from the model.",
+ "navbar.description.spin": "Keeps the view turning until you click or press a key.",
+ "navbar.description.fit": "Frames the selection, or the whole model if nothing is selected.",
+ "navbar.description.look_at": "Turns the view to face the selected face, plane or open sketch.",
+ "navbar.description.home": "Returns to the isometric view of the whole model.",
+ "navbar.description.visual_style": "Switches how the model is drawn: shaded, wireframe or with hidden edges.",
+ "navbar.description.display": "Holds the view settings: graphics preset, grid, ground shadow, ambient occlusion and projection.",
+ "navbar.description.grid": "Shows or hides the ground grid.",
+ "navbar.description.ground_shadow": "Shows or hides the shadow under the model.",
+ "navbar.description.ambient_occlusion": "Darkens creases and corners to add depth.",
+ "navbar.description.projection": "Switches between orthographic and perspective views.",
+ "navbar.description.separator": "A thin line that groups neighbouring slots."
+ },
+ "ja": {
+ "navbar.custom.title": "ナビゲーションバー",
+ "navbar.custom.preview_as": "プレビュー",
+ "navbar.custom.design": "デザイン",
+ "navbar.custom.render": "レンダー",
+ "navbar.custom.hidden_render": "レンダーでは非表示",
+ "navbar.custom.hidden_design": "デザインでは非表示",
+ "navbar.custom.select": "スロットが選択されていません。バーのスロットを選択して移動、削除、表示の変更ができます。",
+ "navbar.custom.left": "左へ移動",
+ "navbar.custom.right": "右へ移動",
+ "navbar.custom.remove": "削除",
+ "navbar.custom.shows": "表示内容",
+ "navbar.custom.icon_value": "アイコンと値",
+ "navbar.custom.icon_only": "アイコンのみ",
+ "navbar.custom.available": "{available} · バーへドラッグ、または「追加」",
+ "navbar.custom.add_slot": "{slot} を追加",
+ "navbar.custom.position": "位置",
+ "navbar.custom.size": "サイズ",
+ "navbar.custom.compact": "コンパクト",
+ "navbar.custom.regular": "標準",
+ "navbar.custom.buttons": "ボタン",
+ "navbar.custom.icons": "アイコン",
+ "navbar.custom.labels": "アイコンとラベル",
+ "navbar.custom.idle": "操作していないとき",
+ "navbar.custom.always": "常に表示",
+ "navbar.custom.fade": "薄く表示",
+ "navbar.custom.hide_idle": "ホバー時のみ表示",
+ "navbar.custom.show": "ナビゲーションバーを表示",
+ "navbar.custom.reset_default": "既定値に戻す",
+ "navbar.custom.count": "16 個中 {count} 個のスロット",
+ "navbar.custom.customise": "ナビゲーションバーをカスタマイズ…",
+ "navbar.custom.hide": "ナビゲーションバーを非表示",
+ "navbar.custom.reset": "ナビゲーションバーをリセット",
+ "navbar.custom.remove_bar": "バーから削除",
+ "navbar.custom.full": "別のスロットを追加するには、スロットを削除してください。",
+ "navbar.custom.separators_full": "区切りは既に4個あります。",
+ "navbar.custom.duplicate": "このスロットは既にバーにあります。",
+ "navbar.custom.stale": "バーが変更されました。スロットを再選択してください。",
+ "navbar.custom.unknown": "このスロットは使用できません。",
+ "navbar.custom.intro": "3Dビューの下部に表示する操作と順序を選びます。スロットをドラッグして移動し、バーの外へドラッグして削除します。",
+ "navbar.custom.position_left": "左",
+ "navbar.custom.position_centre": "中央",
+ "navbar.custom.position_right": "右",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "半透明",
+ "navbar.later": "後日対応",
+ "navbar.graphics": "グラフィックス",
+ "navbar.preset": "プリセット",
+ "navbar.show": "表示",
+ "navbar.projection_heading": "投影",
+ "navbar.orthographic": "平行投影",
+ "navbar.perspective": "透視投影",
+ "navbar.assistant": "アシスタント",
+ "navbar.agent_cursor": "エージェントカーソルを表示",
+ "navbar.agent_chat": "アシスタントチャットパネル",
+ "navbar.description.orbit": "モデルの周りに視点を回転します。",
+ "navbar.description.pan": "視点を左右上下に移動します。",
+ "navbar.description.zoom": "モデルに視点を近づけたり遠ざけたりします。",
+ "navbar.description.spin": "クリックまたはキー入力まで視点を回転し続けます。",
+ "navbar.description.fit": "選択対象、未選択ならモデル全体が収まるように表示します。",
+ "navbar.description.look_at": "選択した面、平面、編集中のスケッチに正対します。",
+ "navbar.description.home": "モデル全体の等角投影ビューに戻します。",
+ "navbar.description.visual_style": "シェーディング、ワイヤーフレーム、隠線表示などの描画方法を切り替えます。",
+ "navbar.description.display": "描画プリセット、グリッド、地面の影、アンビエントオクルージョン、投影を設定します。",
+ "navbar.description.grid": "地面のグリッドを表示または非表示にします。",
+ "navbar.description.ground_shadow": "モデルの下の影を表示または非表示にします。",
+ "navbar.description.ambient_occlusion": "くぼみや隅を暗くして奥行きを表現します。",
+ "navbar.description.projection": "平行投影と透視投影を切り替えます。",
+ "navbar.description.separator": "隣接するスロットをまとめる細い区切り線です。"
+ },
+ "zh": {
+ "navbar.custom.title": "导航栏",
+ "navbar.custom.preview_as": "预览为",
+ "navbar.custom.design": "设计",
+ "navbar.custom.render": "渲染",
+ "navbar.custom.hidden_render": "在渲染中隐藏",
+ "navbar.custom.hidden_design": "在设计中隐藏",
+ "navbar.custom.select": "未选择槽位。选择栏上的槽位即可移动、移除或更改其外观。",
+ "navbar.custom.left": "左移",
+ "navbar.custom.right": "右移",
+ "navbar.custom.remove": "移除",
+ "navbar.custom.shows": "显示内容",
+ "navbar.custom.icon_value": "图标和值",
+ "navbar.custom.icon_only": "仅图标",
+ "navbar.custom.available": "{available} · 拖到栏上,或点击添加",
+ "navbar.custom.add_slot": "添加{slot}",
+ "navbar.custom.position": "位置",
+ "navbar.custom.size": "大小",
+ "navbar.custom.compact": "紧凑",
+ "navbar.custom.regular": "常规",
+ "navbar.custom.buttons": "按钮",
+ "navbar.custom.icons": "图标",
+ "navbar.custom.labels": "图标和标签",
+ "navbar.custom.idle": "空闲时",
+ "navbar.custom.always": "始终显示",
+ "navbar.custom.fade": "淡化",
+ "navbar.custom.hide_idle": "悬停时显示",
+ "navbar.custom.show": "显示导航栏",
+ "navbar.custom.reset_default": "恢复默认",
+ "navbar.custom.count": "{count} / 16 个槽位",
+ "navbar.custom.customise": "自定义导航栏…",
+ "navbar.custom.hide": "隐藏导航栏",
+ "navbar.custom.reset": "重置导航栏",
+ "navbar.custom.remove_bar": "从栏中移除",
+ "navbar.custom.full": "请先移除一个槽位以添加其他槽位。",
+ "navbar.custom.separators_full": "导航栏已有4个分隔线。",
+ "navbar.custom.duplicate": "此槽位已在栏上。",
+ "navbar.custom.stale": "导航栏已更改。请重新选择槽位。",
+ "navbar.custom.unknown": "此槽位不可用。",
+ "navbar.custom.intro": "选择3D视图底部导航栏中的控件及其顺序。拖动槽位可移动,拖出栏外可移除。",
+ "navbar.custom.position_left": "左",
+ "navbar.custom.position_centre": "居中",
+ "navbar.custom.position_right": "右",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "半透明",
+ "navbar.later": "稍后提供",
+ "navbar.graphics": "图形",
+ "navbar.preset": "预设",
+ "navbar.show": "显示",
+ "navbar.projection_heading": "投影",
+ "navbar.orthographic": "正交",
+ "navbar.perspective": "透视",
+ "navbar.assistant": "助手",
+ "navbar.agent_cursor": "显示智能体光标",
+ "navbar.agent_chat": "助手聊天面板",
+ "navbar.description.orbit": "围绕模型旋转视图。",
+ "navbar.description.pan": "向左右或上下平移视图。",
+ "navbar.description.zoom": "将视图拉近或远离模型。",
+ "navbar.description.spin": "持续旋转视图,直到点击或按键停止。",
+ "navbar.description.fit": "完整显示所选对象;未选择时显示整个模型。",
+ "navbar.description.look_at": "使视图正对所选面、平面或打开的草图。",
+ "navbar.description.home": "返回显示整个模型的等轴测视图。",
+ "navbar.description.visual_style": "切换着色、线框或带隐藏边线等模型绘制方式。",
+ "navbar.description.display": "设置图形预设、网格、地面阴影、环境光遮蔽和投影。",
+ "navbar.description.grid": "显示或隐藏地面网格。",
+ "navbar.description.ground_shadow": "显示或隐藏模型下方的阴影。",
+ "navbar.description.ambient_occlusion": "加深凹槽和角落的阴影,增加深度感。",
+ "navbar.description.projection": "切换正交视图和透视视图。",
+ "navbar.description.separator": "用于分组相邻槽位的细分隔线。"
+ },
+ "ar": {
+ "navbar.custom.title": "شريط التنقل",
+ "navbar.custom.preview_as": "معاينة كـ",
+ "navbar.custom.design": "التصميم",
+ "navbar.custom.render": "التصيير",
+ "navbar.custom.hidden_render": "مخفي في التصيير",
+ "navbar.custom.hidden_design": "مخفي في التصميم",
+ "navbar.custom.select": "لم يتم تحديد أي خانة. حدّد خانة على الشريط لنقلها أو إزالتها أو تغيير مظهرها.",
+ "navbar.custom.left": "نقل إلى اليسار",
+ "navbar.custom.right": "نقل إلى اليمين",
+ "navbar.custom.remove": "إزالة",
+ "navbar.custom.shows": "يعرض",
+ "navbar.custom.icon_value": "الأيقونة والقيمة",
+ "navbar.custom.icon_only": "الأيقونة فقط",
+ "navbar.custom.available": "{available} · اسحبها إلى الشريط، أو اضغط إضافة",
+ "navbar.custom.add_slot": "إضافة {slot}",
+ "navbar.custom.position": "الموضع",
+ "navbar.custom.size": "الحجم",
+ "navbar.custom.compact": "مضغوط",
+ "navbar.custom.regular": "عادي",
+ "navbar.custom.buttons": "الأزرار",
+ "navbar.custom.icons": "الأيقونات",
+ "navbar.custom.labels": "الأيقونات والتسميات",
+ "navbar.custom.idle": "عند الخمول",
+ "navbar.custom.always": "ظاهر دائماً",
+ "navbar.custom.fade": "تلاشٍ",
+ "navbar.custom.hide_idle": "إخفاء حتى التمرير",
+ "navbar.custom.show": "إظهار شريط التنقل",
+ "navbar.custom.reset_default": "إعادة الضبط إلى الافتراضي",
+ "navbar.custom.count": "{count} من 16 خانة",
+ "navbar.custom.customise": "تخصيص شريط التنقل…",
+ "navbar.custom.hide": "إخفاء شريط التنقل",
+ "navbar.custom.reset": "إعادة ضبط شريط التنقل",
+ "navbar.custom.remove_bar": "إزالة من الشريط",
+ "navbar.custom.full": "أزل خانة لإضافة أخرى.",
+ "navbar.custom.separators_full": "يحتوي الشريط بالفعل على أربعة فواصل.",
+ "navbar.custom.duplicate": "هذه الخانة موجودة بالفعل على الشريط.",
+ "navbar.custom.stale": "تغيّر الشريط. حدّد الخانة مرة أخرى.",
+ "navbar.custom.unknown": "هذه الخانة غير متاحة.",
+ "navbar.custom.intro": "اختر عناصر التحكم على الشريط أسفل العرض ثلاثي الأبعاد وترتيبها. اسحب خانة لنقلها، أو اسحبها خارج الشريط لإزالتها.",
+ "navbar.custom.position_left": "يسار",
+ "navbar.custom.position_centre": "وسط",
+ "navbar.custom.position_right": "يمين",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "شفاف",
+ "navbar.later": "لاحقاً",
+ "navbar.graphics": "الرسوميات",
+ "navbar.preset": "الإعداد المسبق",
+ "navbar.show": "إظهار",
+ "navbar.projection_heading": "الإسقاط",
+ "navbar.orthographic": "إسقاط متعامد",
+ "navbar.perspective": "منظور",
+ "navbar.assistant": "المساعد",
+ "navbar.agent_cursor": "إظهار مؤشر الوكيل",
+ "navbar.agent_chat": "لوحة دردشة المساعد",
+ "navbar.description.orbit": "يدير العرض حول النموذج.",
+ "navbar.description.pan": "يزيح العرض جانبياً أو لأعلى أو لأسفل.",
+ "navbar.description.zoom": "يقرّب العرض من النموذج أو يبعده عنه.",
+ "navbar.description.spin": "يُبقي العرض يدور حتى تنقر أو تضغط مفتاحاً.",
+ "navbar.description.fit": "يضبط العرض على التحديد، أو على النموذج كله إن لم يكن هناك تحديد.",
+ "navbar.description.look_at": "يوجّه العرض نحو الوجه أو المستوى المحدد أو الرسم المفتوح.",
+ "navbar.description.home": "يعود إلى المنظور الأيزومتري للنموذج كله.",
+ "navbar.description.visual_style": "يبدّل طريقة رسم النموذج: مظلل أو إطار سلكي أو مع الحواف المخفية.",
+ "navbar.description.display": "يضم إعدادات العرض: الإعداد المسبق للرسوميات والشبكة وظل الأرض والإظلال المحيطي والإسقاط.",
+ "navbar.description.grid": "يُظهر شبكة الأرضية أو يُخفيها.",
+ "navbar.description.ground_shadow": "يُظهر الظل تحت النموذج أو يُخفيه.",
+ "navbar.description.ambient_occlusion": "يُعتّم الطيات والزوايا لإضافة عمق.",
+ "navbar.description.projection": "يبدّل بين العرض المتعامد والمنظوري.",
+ "navbar.description.separator": "خط رفيع يجمع الخانات المتجاورة."
+ },
+ "de": {
+ "navbar.custom.title": "Navigationsleiste",
+ "navbar.custom.preview_as": "Vorschau als",
+ "navbar.custom.design": "Entwurf",
+ "navbar.custom.render": "Rendern",
+ "navbar.custom.hidden_render": "Im Rendern ausgeblendet",
+ "navbar.custom.hidden_design": "Im Entwurf ausgeblendet",
+ "navbar.custom.select": "Kein Feld ausgewählt. Wählen Sie ein Feld in der Leiste, um es zu verschieben, zu entfernen oder sein Aussehen zu ändern.",
+ "navbar.custom.left": "Nach links",
+ "navbar.custom.right": "Nach rechts",
+ "navbar.custom.remove": "Entfernen",
+ "navbar.custom.shows": "Zeigt",
+ "navbar.custom.icon_value": "Symbol und Wert",
+ "navbar.custom.icon_only": "Nur Symbol",
+ "navbar.custom.available": "{available} · auf die Leiste ziehen oder auf Hinzufügen klicken",
+ "navbar.custom.add_slot": "{slot} hinzufügen",
+ "navbar.custom.position": "Position",
+ "navbar.custom.size": "Größe",
+ "navbar.custom.compact": "Kompakt",
+ "navbar.custom.regular": "Normal",
+ "navbar.custom.buttons": "Schaltflächen",
+ "navbar.custom.icons": "Symbole",
+ "navbar.custom.labels": "Symbole und Beschriftungen",
+ "navbar.custom.idle": "Bei Inaktivität",
+ "navbar.custom.always": "Immer sichtbar",
+ "navbar.custom.fade": "Abblenden",
+ "navbar.custom.hide_idle": "Ausblenden, bis die Maus darüber ist",
+ "navbar.custom.show": "Navigationsleiste anzeigen",
+ "navbar.custom.reset_default": "Auf Standard zurücksetzen",
+ "navbar.custom.count": "{count} von 16 Feldern",
+ "navbar.custom.customise": "Navigationsleiste anpassen…",
+ "navbar.custom.hide": "Navigationsleiste ausblenden",
+ "navbar.custom.reset": "Navigationsleiste zurücksetzen",
+ "navbar.custom.remove_bar": "Aus der Leiste entfernen",
+ "navbar.custom.full": "Entfernen Sie ein Feld, um ein weiteres hinzuzufügen.",
+ "navbar.custom.separators_full": "Die Leiste hat bereits vier Trennlinien.",
+ "navbar.custom.duplicate": "Dieses Feld ist bereits in der Leiste.",
+ "navbar.custom.stale": "Die Leiste hat sich geändert. Wählen Sie das Feld erneut aus.",
+ "navbar.custom.unknown": "Dieses Feld ist nicht verfügbar.",
+ "navbar.custom.intro": "Wählen Sie die Bedienelemente der Leiste am unteren Rand der 3D-Ansicht und ihre Reihenfolge. Ziehen Sie ein Feld, um es zu verschieben, oder aus der Leiste heraus, um es zu entfernen.",
+ "navbar.custom.position_left": "Links",
+ "navbar.custom.position_centre": "Mitte",
+ "navbar.custom.position_right": "Rechts",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "Durchscheinend",
+ "navbar.later": "Später",
+ "navbar.graphics": "Grafik",
+ "navbar.preset": "Voreinstellung",
+ "navbar.show": "Einblenden",
+ "navbar.projection_heading": "Projektion",
+ "navbar.orthographic": "Orthografisch",
+ "navbar.perspective": "Perspektivisch",
+ "navbar.assistant": "Assistent",
+ "navbar.agent_cursor": "Agentencursor zeigen",
+ "navbar.agent_chat": "Chat-Bereich des Assistenten",
+ "navbar.description.orbit": "Dreht die Ansicht um das Modell.",
+ "navbar.description.pan": "Verschiebt die Ansicht seitwärts, nach oben oder unten.",
+ "navbar.description.zoom": "Bringt die Ansicht näher an das Modell heran oder weiter davon weg.",
+ "navbar.description.spin": "Dreht die Ansicht weiter, bis Sie klicken oder eine Taste drücken.",
+ "navbar.description.fit": "Zeigt die Auswahl formatfüllend, oder das ganze Modell, wenn nichts ausgewählt ist.",
+ "navbar.description.look_at": "Dreht die Ansicht zur gewählten Fläche, Ebene oder offenen Skizze.",
+ "navbar.description.home": "Kehrt zur isometrischen Ansicht des ganzen Modells zurück.",
+ "navbar.description.visual_style": "Schaltet um, wie das Modell gezeichnet wird: schattiert, Drahtmodell oder mit verdeckten Kanten.",
+ "navbar.description.display": "Enthält die Ansichtseinstellungen: Grafikvoreinstellung, Raster, Bodenschatten, Umgebungsverdeckung und Projektion.",
+ "navbar.description.grid": "Zeigt oder verbirgt das Bodenraster.",
+ "navbar.description.ground_shadow": "Zeigt oder verbirgt den Schatten unter dem Modell.",
+ "navbar.description.ambient_occlusion": "Dunkelt Falten und Ecken ab und erzeugt Tiefe.",
+ "navbar.description.projection": "Schaltet zwischen orthografischer und perspektivischer Ansicht um.",
+ "navbar.description.separator": "Eine dünne Linie, die benachbarte Felder gruppiert."
+ },
+ "he": {
+ "navbar.custom.title": "סרגל ניווט",
+ "navbar.custom.preview_as": "תצוגה מקדימה כ",
+ "navbar.custom.design": "תכן",
+ "navbar.custom.render": "הדמיה",
+ "navbar.custom.hidden_render": "מוסתר בהדמיה",
+ "navbar.custom.hidden_design": "מוסתר בתכן",
+ "navbar.custom.select": "לא נבחרה משבצת. בחרו משבצת בסרגל כדי להזיז אותה, להסיר אותה או לשנות את המראה שלה.",
+ "navbar.custom.left": "הזזה שמאלה",
+ "navbar.custom.right": "הזזה ימינה",
+ "navbar.custom.remove": "הסרה",
+ "navbar.custom.shows": "מציג",
+ "navbar.custom.icon_value": "סמל וערך",
+ "navbar.custom.icon_only": "סמל בלבד",
+ "navbar.custom.available": "{available} · גררו אל הסרגל או לחצו על הוספה",
+ "navbar.custom.add_slot": "הוספת {slot}",
+ "navbar.custom.position": "מיקום",
+ "navbar.custom.size": "גודל",
+ "navbar.custom.compact": "דחוס",
+ "navbar.custom.regular": "רגיל",
+ "navbar.custom.buttons": "לחצנים",
+ "navbar.custom.icons": "סמלים",
+ "navbar.custom.labels": "סמלים ותוויות",
+ "navbar.custom.idle": "כשאין פעילות",
+ "navbar.custom.always": "תמיד מוצג",
+ "navbar.custom.fade": "דהייה",
+ "navbar.custom.hide_idle": "הסתרה עד מעבר עכבר",
+ "navbar.custom.show": "הצגת סרגל הניווט",
+ "navbar.custom.reset_default": "איפוס לברירת מחדל",
+ "navbar.custom.count": "{count} מתוך 16 משבצות",
+ "navbar.custom.customise": "התאמת סרגל הניווט…",
+ "navbar.custom.hide": "הסתרת סרגל הניווט",
+ "navbar.custom.reset": "איפוס סרגל הניווט",
+ "navbar.custom.remove_bar": "הסרה מהסרגל",
+ "navbar.custom.full": "הסירו משבצת כדי להוסיף אחרת.",
+ "navbar.custom.separators_full": "בסרגל כבר יש ארבעה מפרידים.",
+ "navbar.custom.duplicate": "המשבצת הזו כבר בסרגל.",
+ "navbar.custom.stale": "הסרגל השתנה. בחרו שוב את המשבצת.",
+ "navbar.custom.unknown": "המשבצת הזו אינה זמינה.",
+ "navbar.custom.intro": "בחרו את הפקדים בסרגל שבתחתית התצוגה התלת־ממדית ואת סדרם. גררו משבצת כדי להזיז אותה, או גררו אותה מחוץ לסרגל כדי להסיר אותה.",
+ "navbar.custom.position_left": "שמאל",
+ "navbar.custom.position_centre": "מרכז",
+ "navbar.custom.position_right": "ימין",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "שקוף למחצה",
+ "navbar.later": "בהמשך",
+ "navbar.graphics": "גרפיקה",
+ "navbar.preset": "הגדרה מוכנה",
+ "navbar.show": "הצגה",
+ "navbar.projection_heading": "הטלה",
+ "navbar.orthographic": "אורתוגרפי",
+ "navbar.perspective": "פרספקטיבה",
+ "navbar.assistant": "עוזר",
+ "navbar.agent_cursor": "הצגת סמן הסוכן",
+ "navbar.agent_chat": "חלונית שיחת העוזר",
+ "navbar.description.orbit": "מסובב את התצוגה סביב המודל.",
+ "navbar.description.pan": "מזיז את התצוגה הצדה, למעלה או למטה.",
+ "navbar.description.zoom": "מקרב את התצוגה אל המודל או מרחיק אותה ממנו.",
+ "navbar.description.spin": "ממשיך לסובב את התצוגה עד ללחיצה או הקשה על מקש.",
+ "navbar.description.fit": "ממסגר את הבחירה, או את כל המודל אם דבר לא נבחר.",
+ "navbar.description.look_at": "מסובב את התצוגה אל הפאה, המישור או הסקיצה הפתוחה שנבחרו.",
+ "navbar.description.home": "חוזר לתצוגה האיזומטרית של כל המודל.",
+ "navbar.description.visual_style": "מחליף את אופן הציור של המודל: מוצלל, מסגרת תיל או עם קצוות נסתרים.",
+ "navbar.description.display": "מכיל את הגדרות התצוגה: הגדרת גרפיקה מוכנה, רשת, צל על הקרקע, הצללה סביבתית והטלה.",
+ "navbar.description.grid": "מציג או מסתיר את רשת הקרקע.",
+ "navbar.description.ground_shadow": "מציג או מסתיר את הצל שמתחת למודל.",
+ "navbar.description.ambient_occlusion": "מכהה קפלים ופינות כדי להוסיף עומק.",
+ "navbar.description.projection": "מחליף בין תצוגה אורתוגרפית לפרספקטיבה.",
+ "navbar.description.separator": "קו דק שמקבץ משבצות שכנות."
+ },
+ "ko": {
+ "navbar.custom.title": "탐색 막대",
+ "navbar.custom.preview_as": "미리 보기 모드",
+ "navbar.custom.design": "설계",
+ "navbar.custom.render": "렌더",
+ "navbar.custom.hidden_render": "렌더에서 숨김",
+ "navbar.custom.hidden_design": "설계에서 숨김",
+ "navbar.custom.select": "선택한 칸이 없습니다. 막대에서 칸을 선택하면 이동하거나 제거하거나 모양을 바꿀 수 있습니다.",
+ "navbar.custom.left": "왼쪽으로 이동",
+ "navbar.custom.right": "오른쪽으로 이동",
+ "navbar.custom.remove": "제거",
+ "navbar.custom.shows": "표시 내용",
+ "navbar.custom.icon_value": "아이콘과 값",
+ "navbar.custom.icon_only": "아이콘만",
+ "navbar.custom.available": "{available} · 막대로 끌어 놓거나 추가를 누르세요",
+ "navbar.custom.add_slot": "{slot} 추가",
+ "navbar.custom.position": "위치",
+ "navbar.custom.size": "크기",
+ "navbar.custom.compact": "컴팩트",
+ "navbar.custom.regular": "보통",
+ "navbar.custom.buttons": "버튼",
+ "navbar.custom.icons": "아이콘",
+ "navbar.custom.labels": "아이콘과 레이블",
+ "navbar.custom.idle": "사용하지 않을 때",
+ "navbar.custom.always": "항상 표시",
+ "navbar.custom.fade": "흐리게",
+ "navbar.custom.hide_idle": "가리킬 때까지 숨김",
+ "navbar.custom.show": "탐색 막대 표시",
+ "navbar.custom.reset_default": "기본값으로 재설정",
+ "navbar.custom.count": "{count}/16칸",
+ "navbar.custom.customise": "탐색 막대 사용자 지정…",
+ "navbar.custom.hide": "탐색 막대 숨기기",
+ "navbar.custom.reset": "탐색 막대 재설정",
+ "navbar.custom.remove_bar": "막대에서 제거",
+ "navbar.custom.full": "다른 칸을 추가하려면 칸을 하나 제거하세요.",
+ "navbar.custom.separators_full": "막대에 구분선이 이미 네 개 있습니다.",
+ "navbar.custom.duplicate": "이 칸은 이미 막대에 있습니다.",
+ "navbar.custom.stale": "막대가 바뀌었습니다. 칸을 다시 선택하세요.",
+ "navbar.custom.unknown": "이 칸은 사용할 수 없습니다.",
+ "navbar.custom.intro": "3D 보기 아래쪽 막대에 둘 컨트롤과 순서를 고르세요. 칸을 끌어 옮기거나, 막대 밖으로 끌어 제거할 수 있습니다.",
+ "navbar.custom.position_left": "왼쪽",
+ "navbar.custom.position_centre": "가운데",
+ "navbar.custom.position_right": "오른쪽",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "반투명",
+ "navbar.later": "나중에",
+ "navbar.graphics": "그래픽",
+ "navbar.preset": "프리셋",
+ "navbar.show": "표시",
+ "navbar.projection_heading": "투영",
+ "navbar.orthographic": "직교 투영",
+ "navbar.perspective": "원근 투영",
+ "navbar.assistant": "어시스턴트",
+ "navbar.agent_cursor": "에이전트 커서 표시",
+ "navbar.agent_chat": "어시스턴트 채팅 패널",
+ "navbar.description.orbit": "모델을 중심으로 보기를 회전합니다.",
+ "navbar.description.pan": "보기를 옆으로, 위나 아래로 이동합니다.",
+ "navbar.description.zoom": "보기를 모델에 더 가까이 또는 더 멀리 옮깁니다.",
+ "navbar.description.spin": "클릭하거나 키를 누를 때까지 보기를 계속 회전합니다.",
+ "navbar.description.fit": "선택 항목을, 선택이 없으면 모델 전체를 화면에 맞춥니다.",
+ "navbar.description.look_at": "선택한 면, 평면 또는 열린 스케치를 정면으로 바라보게 보기를 돌립니다.",
+ "navbar.description.home": "모델 전체의 등각 보기로 돌아갑니다.",
+ "navbar.description.visual_style": "모델을 그리는 방식을 바꿉니다: 음영, 와이어프레임 또는 숨은 모서리 포함.",
+ "navbar.description.display": "보기 설정을 담고 있습니다: 그래픽 프리셋, 격자, 바닥 그림자, 앰비언트 오클루전, 투영.",
+ "navbar.description.grid": "바닥 격자를 표시하거나 숨깁니다.",
+ "navbar.description.ground_shadow": "모델 아래 그림자를 표시하거나 숨깁니다.",
+ "navbar.description.ambient_occlusion": "주름과 모서리를 어둡게 하여 깊이를 더합니다.",
+ "navbar.description.projection": "직교 투영과 원근 투영을 전환합니다.",
+ "navbar.description.separator": "이웃한 칸을 묶는 가는 선입니다."
+ },
+ "vi": {
+ "navbar.custom.title": "Thanh điều hướng",
+ "navbar.custom.preview_as": "Xem trước ở chế độ",
+ "navbar.custom.design": "Thiết kế",
+ "navbar.custom.render": "Kết xuất",
+ "navbar.custom.hidden_render": "Ẩn trong Kết xuất",
+ "navbar.custom.hidden_design": "Ẩn trong Thiết kế",
+ "navbar.custom.select": "Chưa chọn ô nào. Hãy chọn một ô trên thanh để di chuyển, xóa hoặc đổi cách hiển thị.",
+ "navbar.custom.left": "Chuyển sang trái",
+ "navbar.custom.right": "Chuyển sang phải",
+ "navbar.custom.remove": "Xóa",
+ "navbar.custom.shows": "Hiển thị",
+ "navbar.custom.icon_value": "Biểu tượng và giá trị",
+ "navbar.custom.icon_only": "Chỉ biểu tượng",
+ "navbar.custom.available": "{available} · kéo vào thanh hoặc nhấn Thêm",
+ "navbar.custom.add_slot": "Thêm {slot}",
+ "navbar.custom.position": "Vị trí",
+ "navbar.custom.size": "Kích thước",
+ "navbar.custom.compact": "Gọn",
+ "navbar.custom.regular": "Thường",
+ "navbar.custom.buttons": "Nút",
+ "navbar.custom.icons": "Biểu tượng",
+ "navbar.custom.labels": "Biểu tượng và nhãn",
+ "navbar.custom.idle": "Khi không dùng",
+ "navbar.custom.always": "Luôn hiện",
+ "navbar.custom.fade": "Mờ dần",
+ "navbar.custom.hide_idle": "Ẩn cho đến khi rê chuột",
+ "navbar.custom.show": "Hiện thanh điều hướng",
+ "navbar.custom.reset_default": "Đặt lại mặc định",
+ "navbar.custom.count": "{count}/16 ô",
+ "navbar.custom.customise": "Tùy chỉnh thanh điều hướng…",
+ "navbar.custom.hide": "Ẩn thanh điều hướng",
+ "navbar.custom.reset": "Đặt lại thanh điều hướng",
+ "navbar.custom.remove_bar": "Xóa khỏi thanh",
+ "navbar.custom.full": "Hãy xóa một ô để thêm ô khác.",
+ "navbar.custom.separators_full": "Thanh đã có bốn dải phân cách.",
+ "navbar.custom.duplicate": "Ô này đã có trên thanh.",
+ "navbar.custom.stale": "Thanh đã thay đổi. Hãy chọn lại ô.",
+ "navbar.custom.unknown": "Ô này không khả dụng.",
+ "navbar.custom.intro": "Chọn các điều khiển trên thanh ở cuối khung nhìn 3D và thứ tự của chúng. Kéo một ô để di chuyển, hoặc kéo ra khỏi thanh để xóa.",
+ "navbar.custom.position_left": "Trái",
+ "navbar.custom.position_centre": "Giữa",
+ "navbar.custom.position_right": "Phải",
+ "navbar.value_tip": "{name} · {value}",
+ "navbar.translucent": "Bán trong suốt",
+ "navbar.later": "Sau",
+ "navbar.graphics": "Đồ họa",
+ "navbar.preset": "Mẫu thiết lập sẵn",
+ "navbar.show": "Hiển thị",
+ "navbar.projection_heading": "Phép chiếu",
+ "navbar.orthographic": "Trực giao",
+ "navbar.perspective": "Phối cảnh",
+ "navbar.assistant": "Trợ lý",
+ "navbar.agent_cursor": "Hiện con trỏ tác tử",
+ "navbar.agent_chat": "Bảng trò chuyện của trợ lý",
+ "navbar.description.orbit": "Xoay góc nhìn quanh mô hình.",
+ "navbar.description.pan": "Trượt góc nhìn sang ngang, lên hoặc xuống.",
+ "navbar.description.zoom": "Đưa góc nhìn lại gần hoặc ra xa mô hình.",
+ "navbar.description.spin": "Giữ cho góc nhìn tiếp tục xoay cho đến khi bạn nhấp chuột hoặc nhấn phím.",
+ "navbar.description.fit": "Đưa vùng chọn vào khung nhìn, hoặc toàn bộ mô hình nếu chưa chọn gì.",
+ "navbar.description.look_at": "Xoay góc nhìn về phía mặt, mặt phẳng hoặc bản phác đang mở đã chọn.",
+ "navbar.description.home": "Quay về góc nhìn đẳng cự của toàn bộ mô hình.",
+ "navbar.description.visual_style": "Đổi cách vẽ mô hình: tô bóng, khung dây hoặc có cạnh ẩn.",
+ "navbar.description.display": "Chứa các cài đặt hiển thị: mẫu đồ họa, lưới, bóng đổ mặt sàn, đổ bóng che khuất môi trường và phép chiếu.",
+ "navbar.description.grid": "Hiện hoặc ẩn lưới mặt sàn.",
+ "navbar.description.ground_shadow": "Hiện hoặc ẩn bóng bên dưới mô hình.",
+ "navbar.description.ambient_occlusion": "Làm tối các nếp gấp và góc để tạo chiều sâu.",
+ "navbar.description.projection": "Chuyển giữa chế độ trực giao và phối cảnh.",
+ "navbar.description.separator": "Một đường mảnh nhóm các ô liền kề."
+ }
+}
diff --git a/assets/locales/pending/navbar-slots.json b/assets/locales/pending/navbar-slots.json
new file mode 100644
index 000000000..90e32c49f
--- /dev/null
+++ b/assets/locales/pending/navbar-slots.json
@@ -0,0 +1,170 @@
+{
+ "en": {
+ "navbar.ambient_occlusion": "Ambient occlusion",
+ "navbar.display": "Display",
+ "navbar.fit": "Fit",
+ "navbar.grid": "Grid",
+ "navbar.ground_shadow": "Ground shadow",
+ "navbar.home": "Home",
+ "navbar.look_at": "Look at",
+ "navbar.more": "More",
+ "navbar.orbit": "Orbit",
+ "navbar.pan": "Pan",
+ "navbar.projection": "Projection",
+ "navbar.separator": "Separator",
+ "navbar.spin": "Spin",
+ "navbar.style.shaded": "Shaded",
+ "navbar.style.shaded_with_edges": "Shaded with edges",
+ "navbar.style.shaded_with_hidden_edges": "Shaded with hidden edges",
+ "navbar.style.wireframe": "Wireframe",
+ "navbar.visual_style": "Visual style",
+ "navbar.zoom": "Zoom"
+ },
+ "ja": {
+ "navbar.ambient_occlusion": "アンビエントオクルージョン",
+ "navbar.display": "表示",
+ "navbar.fit": "フィット",
+ "navbar.grid": "グリッド",
+ "navbar.ground_shadow": "地面の影",
+ "navbar.home": "ホームビュー",
+ "navbar.look_at": "正面から見る",
+ "navbar.more": "その他",
+ "navbar.orbit": "オービット",
+ "navbar.pan": "パン",
+ "navbar.projection": "透視投影",
+ "navbar.separator": "区切り",
+ "navbar.spin": "連続オービット",
+ "navbar.style.shaded": "シェーディング",
+ "navbar.style.shaded_with_edges": "エッジ付きシェーディング",
+ "navbar.style.shaded_with_hidden_edges": "隠線付きシェーディング",
+ "navbar.style.wireframe": "ワイヤーフレーム",
+ "navbar.visual_style": "表示スタイル",
+ "navbar.zoom": "ズーム"
+ },
+ "zh": {
+ "navbar.ambient_occlusion": "环境光遮蔽",
+ "navbar.display": "显示",
+ "navbar.fit": "适合视图",
+ "navbar.grid": "网格",
+ "navbar.ground_shadow": "地面阴影",
+ "navbar.home": "主视图",
+ "navbar.look_at": "正视",
+ "navbar.more": "更多",
+ "navbar.orbit": "环绕",
+ "navbar.pan": "平移",
+ "navbar.projection": "透视投影",
+ "navbar.separator": "分隔线",
+ "navbar.spin": "连续环绕",
+ "navbar.style.shaded": "着色",
+ "navbar.style.shaded_with_edges": "带边线着色",
+ "navbar.style.shaded_with_hidden_edges": "带隐藏边线着色",
+ "navbar.style.wireframe": "线框",
+ "navbar.visual_style": "视觉样式",
+ "navbar.zoom": "缩放"
+ },
+ "ar": {
+ "navbar.ambient_occlusion": "الإظلال المحيطي",
+ "navbar.display": "العرض",
+ "navbar.fit": "ملاءمة",
+ "navbar.grid": "الشبكة",
+ "navbar.ground_shadow": "ظل الأرض",
+ "navbar.home": "الرئيسية",
+ "navbar.look_at": "النظر إلى",
+ "navbar.more": "المزيد",
+ "navbar.orbit": "تدوير العرض",
+ "navbar.pan": "إزاحة العرض",
+ "navbar.projection": "الإسقاط",
+ "navbar.separator": "فاصل",
+ "navbar.spin": "دوران مستمر",
+ "navbar.style.shaded": "مظلل",
+ "navbar.style.shaded_with_edges": "مظلل مع الحواف",
+ "navbar.style.shaded_with_hidden_edges": "مظلل مع الحواف المخفية",
+ "navbar.style.wireframe": "إطار سلكي",
+ "navbar.visual_style": "نمط العرض",
+ "navbar.zoom": "تكبير"
+ },
+ "de": {
+ "navbar.ambient_occlusion": "Umgebungsverdeckung",
+ "navbar.display": "Anzeige",
+ "navbar.fit": "Einpassen",
+ "navbar.grid": "Raster",
+ "navbar.ground_shadow": "Bodenschatten",
+ "navbar.home": "Start",
+ "navbar.look_at": "Ansehen",
+ "navbar.more": "Mehr",
+ "navbar.orbit": "Drehen",
+ "navbar.pan": "Verschieben",
+ "navbar.projection": "Projektion",
+ "navbar.separator": "Trennlinie",
+ "navbar.spin": "Dauerdrehung",
+ "navbar.style.shaded": "Schattiert",
+ "navbar.style.shaded_with_edges": "Schattiert mit Kanten",
+ "navbar.style.shaded_with_hidden_edges": "Schattiert mit verdeckten Kanten",
+ "navbar.style.wireframe": "Drahtmodell",
+ "navbar.visual_style": "Darstellung",
+ "navbar.zoom": "Zoomen"
+ },
+ "he": {
+ "navbar.ambient_occlusion": "הצללה סביבתית (AO)",
+ "navbar.display": "תצוגה",
+ "navbar.fit": "התאמה לחלון",
+ "navbar.grid": "רשת",
+ "navbar.ground_shadow": "צל על הקרקע",
+ "navbar.home": "בית",
+ "navbar.look_at": "מבט אל",
+ "navbar.more": "עוד",
+ "navbar.orbit": "סיבוב מבט",
+ "navbar.pan": "הזזת מבט",
+ "navbar.projection": "הטלה",
+ "navbar.separator": "מפריד",
+ "navbar.spin": "סיבוב רציף",
+ "navbar.style.shaded": "מוצלל",
+ "navbar.style.shaded_with_edges": "מוצלל עם קצוות",
+ "navbar.style.shaded_with_hidden_edges": "מוצלל עם קצוות נסתרים",
+ "navbar.style.wireframe": "מסגרת תיל",
+ "navbar.visual_style": "סגנון תצוגה",
+ "navbar.zoom": "זום"
+ },
+ "ko": {
+ "navbar.ambient_occlusion": "앰비언트 오클루전",
+ "navbar.display": "표시",
+ "navbar.fit": "맞춤",
+ "navbar.grid": "격자",
+ "navbar.ground_shadow": "바닥 그림자",
+ "navbar.home": "홈",
+ "navbar.look_at": "바라보기",
+ "navbar.more": "더 보기",
+ "navbar.orbit": "회전",
+ "navbar.pan": "이동",
+ "navbar.projection": "투영",
+ "navbar.separator": "구분선",
+ "navbar.spin": "연속 회전",
+ "navbar.style.shaded": "음영 처리",
+ "navbar.style.shaded_with_edges": "모서리 포함 음영",
+ "navbar.style.shaded_with_hidden_edges": "숨은 모서리 포함 음영",
+ "navbar.style.wireframe": "와이어프레임",
+ "navbar.visual_style": "시각 스타일",
+ "navbar.zoom": "확대/축소"
+ },
+ "vi": {
+ "navbar.ambient_occlusion": "Đổ bóng che khuất môi trường (AO)",
+ "navbar.display": "Hiển thị",
+ "navbar.fit": "Vừa khung nhìn",
+ "navbar.grid": "Lưới tọa độ",
+ "navbar.ground_shadow": "Bóng đổ mặt sàn",
+ "navbar.home": "Góc nhìn chuẩn",
+ "navbar.look_at": "Nhìn vào",
+ "navbar.more": "Thêm",
+ "navbar.orbit": "Xoay góc nhìn",
+ "navbar.pan": "Trượt góc nhìn",
+ "navbar.projection": "Phép chiếu",
+ "navbar.separator": "Dải phân cách",
+ "navbar.spin": "Xoay liên tục",
+ "navbar.style.shaded": "Tô bóng",
+ "navbar.style.shaded_with_edges": "Tô bóng có cạnh",
+ "navbar.style.shaded_with_hidden_edges": "Tô bóng có cạnh ẩn",
+ "navbar.style.wireframe": "Khung dây",
+ "navbar.visual_style": "Kiểu hiển thị trực quan",
+ "navbar.zoom": "Thu phóng"
+ }
+}
diff --git a/assets/styles/ui/palettes.rs b/assets/styles/ui/palettes.rs
index e535b3b1e..020601453 100644
--- a/assets/styles/ui/palettes.rs
+++ b/assets/styles/ui/palettes.rs
@@ -8,6 +8,15 @@ const fn icon_primary(rgb: [u8; 3]) -> Color32 {
impl Tokens {
pub const fn light() -> Tokens {
Tokens {
+ nav_hover: Color32::from_rgb(233, 237, 242),
+ nav_press: Color32::from_rgb(220, 226, 234),
+ nav_dim: Color32::from_rgb(136, 149, 167),
+ nav_viewport: Color32::from_rgb(238, 241, 245),
+ nav_tip: Color32::from_rgb(27, 36, 48),
+ nav_tip_ink: Color32::from_rgb(255, 255, 255),
+ nav_tip_key_border: Color32::from_rgba_unmultiplied_const(128, 140, 160, 153),
+ nav_field: Color32::from_rgb(255, 255, 255),
+
borders: crate::theme::Borders::LEGACY,
icon_palette: None,
file_dim: Color32::from_rgb(58, 70, 86),
@@ -314,6 +323,14 @@ impl Tokens {
t.render_ink = Color32::from_rgb(224, 116, 174);
t.render_soft = Color32::from_rgb(64, 35, 54);
t.tab_on_fill_dark = Color32::BLACK;
+ t.nav_hover = Color32::from_rgb(58, 65, 80);
+ t.nav_press = Color32::from_rgb(70, 78, 96);
+ t.nav_dim = Color32::from_rgb(124, 135, 154);
+ t.nav_viewport = Color32::from_rgb(38, 43, 53);
+ t.nav_tip = Color32::from_rgb(238, 241, 245);
+ t.nav_tip_ink = Color32::from_rgb(27, 36, 48);
+ t.nav_tip_key_border = Color32::from_rgba_unmultiplied_const(128, 140, 160, 153);
+ t.nav_field = Color32::from_rgb(47, 52, 62);
t.dialog_body = Color32::from_rgb(39, 43, 52);
t.dialog_footer = Color32::from_rgb(47, 52, 62);
t.dialog_rule = Color32::from_rgb(53, 59, 71);
diff --git a/assets/styles/ui/themes/1-bit-dark.json b/assets/styles/ui/themes/1-bit-dark.json
index cea69a7a9..57a48d19c 100644
--- a/assets/styles/ui/themes/1-bit-dark.json
+++ b/assets/styles/ui/themes/1-bit-dark.json
@@ -101,6 +101,14 @@
"mesh_fill": "#ffffff",
"mesh_ink": "#ffffff",
"mesh_soft": "#000000",
+ "nav_dim": "#ffffff",
+ "nav_field": "#000000",
+ "nav_hover": "#000000",
+ "nav_press": "#ffffff",
+ "nav_tip": "#ffffff",
+ "nav_tip_ink": "#000000",
+ "nav_tip_key_border": "#000000",
+ "nav_viewport": "#000000",
"on_accent": "#000000",
"origin_plane": "#000000",
"origin_plane_edge": "#ffffff",
diff --git a/assets/styles/ui/themes/1-bit.json b/assets/styles/ui/themes/1-bit.json
index a8c8c8ff2..8d12b4b35 100644
--- a/assets/styles/ui/themes/1-bit.json
+++ b/assets/styles/ui/themes/1-bit.json
@@ -101,6 +101,14 @@
"mesh_fill": "#000000",
"mesh_ink": "#000000",
"mesh_soft": "#ffffff",
+ "nav_dim": "#000000",
+ "nav_field": "#ffffff",
+ "nav_hover": "#ffffff",
+ "nav_press": "#000000",
+ "nav_tip": "#000000",
+ "nav_tip_ink": "#ffffff",
+ "nav_tip_key_border": "#ffffff",
+ "nav_viewport": "#ffffff",
"on_accent": "#ffffff",
"origin_plane": "#ffffff",
"origin_plane_edge": "#000000",
diff --git a/assets/styles/ui/themes/cga.json b/assets/styles/ui/themes/cga.json
index ce334652d..d3070d777 100644
--- a/assets/styles/ui/themes/cga.json
+++ b/assets/styles/ui/themes/cga.json
@@ -101,6 +101,14 @@
"mesh_fill": "#55ff55",
"mesh_ink": "#55ff55",
"mesh_soft": "#000000",
+ "nav_dim": "#55ffff",
+ "nav_field": "#000000",
+ "nav_hover": "#aa00aa",
+ "nav_press": "#ff55ff",
+ "nav_tip": "#ffffff",
+ "nav_tip_ink": "#000000",
+ "nav_tip_key_border": "#55ffff",
+ "nav_viewport": "#000000",
"on_accent": "#000000",
"origin_plane": "#55ffff20",
"origin_plane_edge": "#55ffff80",
diff --git a/attribution/pending/navbar-customisation.md b/attribution/pending/navbar-customisation.md
new file mode 100644
index 000000000..9c9dd8026
--- /dev/null
+++ b/attribution/pending/navbar-customisation.md
@@ -0,0 +1 @@
+| `assets/locales/pending/navbar-customisation.json` | SolidCraft contributors | Original navigation bar editor translations | MIT OR Apache-2.0 |
diff --git a/attribution/pending/navbar-slots.md b/attribution/pending/navbar-slots.md
new file mode 100644
index 000000000..2714f7f15
--- /dev/null
+++ b/attribution/pending/navbar-slots.md
@@ -0,0 +1 @@
+| `assets/locales/pending/navbar-slots.json` | SolidCraft contributors | Original navigation slot translations | MIT OR Apache-2.0 |
diff --git a/crates/ui-egui/src/colour_vision_tests.rs b/crates/ui-egui/src/colour_vision_tests.rs
index 607835ebf..76451ff09 100644
--- a/crates/ui-egui/src/colour_vision_tests.rs
+++ b/crates/ui-egui/src/colour_vision_tests.rs
@@ -280,6 +280,7 @@ fn groups(t: &Tokens) -> Vec {
group("card text", &[("form_ink", t.form_ink), ("form_error", t.form_error)], &[("dialog_body", t.dialog_body)]),
group("card hints", &[("form_dim", t.form_dim)], &[("dialog_body", t.dialog_body)]),
group("card primary", &[("form_primary", t.form_primary)], &[("dialog_body", t.dialog_body)]),
+ group("navigation status", &[("form_primary", t.form_primary), ("warning", t.warning)], &[("dialog_body", t.dialog_body)]),
// Validation is identified by its words as well as colour. Measure both the
// ink and badge surfaces against the corresponding failure states.
group(
@@ -377,6 +378,14 @@ const SHADED: [&str; 2] = ["analysis.draft", "analysis.access"];
/// Tokens no colour vision mode needs to keep apart, and why. A new token fails
/// `every_token_is_measured_or_carries_no_meaning` until it is in a group above or here.
const NO_MEANING: &[(&str, &str)] = &[
+ ("nav_hover", "neutral hover surface; placement and pointer feedback identify the control"),
+ ("nav_press", "neutral pressed/open surface; interaction and menu presence identify the state"),
+ ("nav_dim", "neutral secondary ink; the Later label identifies the unavailable option"),
+ ("nav_field", "neutral control surface, not a semantic category"),
+ ("nav_tip", "neutral tooltip surface, not a semantic category"),
+ ("nav_tip_ink", "neutral tooltip text; words identify the control and value"),
+ ("nav_tip_key_border", "neutral keycap outline; its key label carries the meaning"),
+ ("nav_viewport", "neutral preview-stage background, not model or status colour"),
("borders.primary", "structural chrome: hierarchy uses width, pattern and placement, not hue"),
("borders.secondary", "structural chrome: hierarchy uses width, pattern and placement, not hue"),
("borders.secondary_dotted", "structural chrome: hierarchy uses width, pattern and placement, not hue"),
diff --git a/crates/ui-egui/src/dialogs_sheet_tests.rs b/crates/ui-egui/src/dialogs_sheet_tests.rs
index 26b863002..a6e992586 100644
--- a/crates/ui-egui/src/dialogs_sheet_tests.rs
+++ b/crates/ui-egui/src/dialogs_sheet_tests.rs
@@ -1322,3 +1322,23 @@ fn perforate_edit_restores_dimensions_pattern_and_target() {
assert_eq!(params[key], value, "{key} is restored");
}
}
+
+#[test]
+fn flat_pattern_navigation_slots_hide_orbit_controls_and_keep_fit_home() {
+ let ctx = crate::fonts::test_context();
+ let mut app = flat_app("fusion", crate::shell::LayoutMode::Floating);
+ app.preferences.navigation_bar = serde_json::from_value(json!({
+ "slots":["orbit","spin","look_at","projection","visual_style","pan","zoom","fit","home","display"]
+ }))
+ .unwrap();
+ let mut time = 0.0;
+ crate::scenario::clear_handles();
+ frame(&mut app, &ctx, &mut time, egui::Modifiers::NONE, vec![]);
+ assert_eq!(crate::navigation_bar::canvas_caps(&app), crate::navigation::NavCaps { orbit: false, pick: false });
+ for slot in ["orbit", "spin", "look_at", "projection", "visual_style"] {
+ assert!(crate::scenario::handle_at(&format!("nav:slot:{slot}")).is_none(), "{slot}");
+ }
+ for slot in ["pan", "zoom", "fit", "home", "display"] {
+ assert!(crate::scenario::handle_at(&format!("nav:slot:{slot}")).is_some(), "{slot}");
+ }
+}
diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs
index 25bf88868..f27e39c56 100644
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@ -184,6 +184,8 @@ mod file_load_ui_tests;
mod fillet_spline_handle_tests;
pub mod mouse_gesture;
pub(crate) mod navigation;
+pub mod navigation_bar;
+mod navigation_bar_view;
pub use navigation::WebWheelGestures;
pub mod network_prompt;
pub mod open_elsewhere;
@@ -1853,7 +1855,7 @@ impl SolveApp {
}
fn resolve_fit(&mut self, ctx: &egui::Context) {
- viewport::refresh_layout(self, ctx.pixels_per_point());
+ viewport::refresh_layout(self, ctx);
if self.viewport.layout.is_some()
&& let Some((cam, bounds, animate)) = self.pending_fit.take()
{
@@ -2299,7 +2301,7 @@ impl SolveApp {
.into_iter()
.filter(|r| r.is_positive())
.collect();
- viewport::refresh_layout(self, ui.ctx().pixels_per_point());
+ viewport::refresh_layout(self, ui.ctx());
} else {
preview::update(self, ui.ctx());
self.show_workspace(ui);
diff --git a/crates/ui-egui/src/navigation_bar.rs b/crates/ui-egui/src/navigation_bar.rs
new file mode 100644
index 000000000..9152425dc
--- /dev/null
+++ b/crates/ui-egui/src/navigation_bar.rs
@@ -0,0 +1,345 @@
+//! Stored navigation slots and their catalogue. Painting lives in `navigation_bar_view`.
+use crate::{SolveApp, navigation::NavCaps};
+use serde::{Deserialize, Serialize};
+use serde_json::Value;
+
+pub const MAX_SLOTS: usize = 16;
+pub const MAX_SEPARATORS: usize = 4;
+
+// Reserved for the selection-mode slot in #6326; no runtime consumer yet.
+#[cfg(test)]
+pub(crate) const SELECTION_MODE_ICONS: &[(&str, &str)] = &[
+ ("faces_edges", "select_faces_edges"),
+ ("bodies", "select_bodies"),
+ ("features", "select_features"),
+ ("parts", "select_parts"),
+ ("components", "select_components"),
+ ("sketch", "select_sketch"),
+];
+
+pub(crate) fn visual_style_icon(style: u8) -> &'static str {
+ match style {
+ 1 => "style_shaded",
+ 2 => "style_wireframe",
+ 3 => "style_hidden_edges",
+ _ => "style_shaded_edges",
+ }
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub(crate) enum Kind {
+ Action,
+ Tool,
+ Toggle,
+ Menu,
+ Separator,
+}
+
+pub(crate) struct Slot {
+ pub id: &'static str,
+ pub kind: Kind,
+ pub icon: &'static str,
+ pub label: &'static str,
+ pub description: &'static str,
+ pub command: Option<&'static str>,
+}
+
+macro_rules! slot {
+ ($id:literal, $kind:ident, $icon:literal, $command:expr) => {
+ Slot {
+ id: $id,
+ kind: Kind::$kind,
+ icon: $icon,
+ label: concat!("navbar.", $id),
+ description: concat!("navbar.description.", $id),
+ command: $command,
+ }
+ };
+}
+
+pub(crate) const CATALOGUE: &[Slot] = &[
+ slot!("orbit", Tool, "orbit", Some("view.tool")),
+ slot!("pan", Tool, "pan", Some("view.tool")),
+ slot!("zoom", Tool, "zoom", Some("view.tool")),
+ slot!("spin", Toggle, "spin", Some("view.spin")),
+ slot!("fit", Action, "fit", Some("view.fit")),
+ slot!("look_at", Action, "lookat", Some("view.normal_to")),
+ slot!("home", Action, "home", Some("view.home")),
+ slot!("visual_style", Menu, "style_shaded_edges", Some("view.visual_style")),
+ slot!("projection", Toggle, "perspective", None),
+ slot!("display", Menu, "display", None),
+ slot!("grid", Toggle, "grid", Some("view.grid")),
+ slot!("ground_shadow", Toggle, "ground_shadow", Some("view.ground_shadow")),
+ slot!("ambient_occlusion", Toggle, "ambient_occlusion", Some("view.ambient_occlusion")),
+ slot!("separator", Separator, "", None),
+];
+
+pub(crate) fn find(id: &str) -> Option<&'static Slot> {
+ CATALOGUE.iter().find(|slot| slot.id == id)
+}
+
+impl Slot {
+ pub(crate) fn current_icon(&self, visual_style: u8) -> &'static str {
+ if self.id == "visual_style" { visual_style_icon(visual_style) } else { self.icon }
+ }
+
+ pub(crate) fn available(&self, caps: NavCaps) -> bool {
+ if !caps.orbit {
+ return !matches!(self.id, "orbit" | "spin" | "look_at" | "projection" | "visual_style");
+ }
+ if !caps.pick && matches!(self.id, "look_at" | "visual_style") {
+ return false;
+ }
+ true
+ }
+}
+
+pub(crate) fn canvas_caps(app: &SolveApp) -> NavCaps {
+ if crate::dialogs_sheet::flat_active(app) || crate::render_workspace::result_active(app) {
+ NavCaps { orbit: false, pick: false }
+ } else if crate::render_workspace::active(app) {
+ NavCaps::RENDER
+ } else {
+ NavCaps::MODEL
+ }
+}
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "snake_case")]
+pub enum Position {
+ #[default]
+ #[serde(alias = "bottom")]
+ Centre,
+ #[serde(alias = "bottom_left")]
+ Left,
+ #[serde(alias = "bottom_right")]
+ Right,
+}
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "snake_case")]
+pub enum Size {
+ Compact,
+ #[default]
+ Regular,
+}
+
+impl Size {
+ // Logical points: egui's UI zoom applies the preference's scale to these dimensions.
+ pub(crate) fn points(self) -> f32 {
+ crate::ui_kit::NavigationMetrics::for_size(self).button
+ }
+}
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "snake_case")]
+pub enum Labels {
+ #[default]
+ Icons,
+ Labels,
+}
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "snake_case")]
+pub enum Idle {
+ Always,
+ #[default]
+ Fade,
+ Hide,
+}
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "snake_case")]
+pub enum MenuDisplay {
+ IconAndValue,
+ #[default]
+ IconOnly,
+}
+
+#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize)]
+pub struct SlotOptions {
+ pub shows: MenuDisplay,
+}
+
+#[derive(Clone, Debug, PartialEq, Eq, Serialize)]
+pub struct NavigationBar {
+ pub slots: Vec,
+ pub slot_options: std::collections::BTreeMap,
+ pub position: Position,
+ pub size: Size,
+ pub labels: Labels,
+ pub idle: Idle,
+}
+
+impl Default for NavigationBar {
+ fn default() -> Self {
+ Self {
+ slots: ["orbit", "pan", "zoom", "separator", "fit", "look_at", "home", "separator", "visual_style", "display"]
+ .into_iter()
+ .map(str::to_owned)
+ .collect(),
+ slot_options: Default::default(),
+ position: Position::default(),
+ size: Size::default(),
+ labels: Labels::default(),
+ idle: Idle::default(),
+ }
+ }
+}
+
+impl<'de> Deserialize<'de> for NavigationBar {
+ fn deserialize>(deserializer: D) -> Result {
+ let value = Value::deserialize(deserializer)?;
+ let mut bar = Self::default();
+ if let Some(ids) = value.get("slots").and_then(Value::as_array) {
+ let mut seen = std::collections::BTreeSet::new();
+ let mut separators = 0;
+ bar.slots = ids
+ .iter()
+ .filter_map(Value::as_str)
+ .filter(|id| {
+ if *id == "separator" {
+ if separators == MAX_SEPARATORS {
+ return false;
+ }
+ separators += 1;
+ true
+ } else {
+ seen.insert(*id)
+ }
+ })
+ .take(MAX_SLOTS)
+ .map(str::to_owned)
+ .collect();
+ }
+ if let Some(options) = value.get("slot_options").and_then(Value::as_object) {
+ for (id, option) in options.iter().take(MAX_SLOTS) {
+ if id.len() <= 128 && find(id).is_some_and(|slot| slot.kind == Kind::Menu) {
+ let shows = option.get("shows").cloned().and_then(|v| serde_json::from_value(v).ok()).unwrap_or_default();
+ bar.slot_options.insert(id.clone(), SlotOptions { shows });
+ }
+ }
+ }
+ if let Some(v) = value.get("position") {
+ bar.position = serde_json::from_value(v.clone()).unwrap_or_default();
+ }
+ if let Some(v) = value.get("size") {
+ bar.size = serde_json::from_value(v.clone()).unwrap_or_default();
+ }
+ if let Some(v) = value.get("labels") {
+ bar.labels = serde_json::from_value(v.clone()).unwrap_or_default();
+ }
+ if let Some(v) = value.get("idle") {
+ bar.idle = serde_json::from_value(v.clone()).unwrap_or_default();
+ }
+ Ok(bar)
+ }
+}
+
+/// Interactive callers get errors for malformed values; saved files recover field by field.
+pub(crate) fn validate(value: &Value) -> Result<(), String> {
+ let object = value.as_object().ok_or("`navigation_bar` must be an object")?;
+ for (key, value) in object {
+ let valid = match key.as_str() {
+ "slots" => value.as_array().is_some_and(|ids| ids.iter().all(Value::is_string)),
+ "slot_options" => value.as_object().is_some_and(|options| {
+ options.len() <= MAX_SLOTS
+ && options.iter().all(|(id, option)| {
+ id.len() <= 128
+ && option.as_object().is_some_and(|fields| {
+ fields.iter().all(|(key, v)| key == "shows" && serde_json::from_value::(v.clone()).is_ok())
+ })
+ })
+ }),
+ "position" => serde_json::from_value::(value.clone()).is_ok(),
+ "size" => serde_json::from_value::(value.clone()).is_ok(),
+ "labels" => serde_json::from_value::(value.clone()).is_ok(),
+ "idle" => serde_json::from_value::(value.clone()).is_ok(),
+ _ => return Err(format!("unknown navigation_bar field `{key}`")),
+ };
+ if !valid {
+ return Err(format!("invalid navigation_bar `{key}`"));
+ }
+ }
+ Ok(())
+}
+
+impl NavigationBar {
+ pub(crate) fn menu_display(&self, id: &str) -> MenuDisplay {
+ if id == "display" {
+ return MenuDisplay::IconOnly;
+ }
+ self.slot_options
+ .get(id)
+ .map(|option| option.shows)
+ .unwrap_or_else(|| if matches!(id, "selection_mode" | "render_mode") { MenuDisplay::IconAndValue } else { MenuDisplay::IconOnly })
+ }
+
+ /// Apply a drag only to the list it began on, including repeated separator occurrences.
+ pub(crate) fn drop_slot(
+ &mut self,
+ original: &[String],
+ from: Option,
+ id: &str,
+ gap: Option,
+ ) -> Result