Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch06.json
mes123456 c47fa79102
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
feat(web): viewport transform parity — offscreen backend, per-island pivots, ortho sizing
- Offscreen worker backend publishes the camera probe, so the G/R/S modal's
  pointer basis, transform gizmo and wireframe work on both renderers.
- Edit-mode INDIVIDUAL_ORIGINS pivots every connected island on its own centre,
  committed as one grouped transaction (T(P)·R·S·T(-P) in object space).
- Gizmo hits carry the pivot index; orthographic views size the axes from the
  visible world height instead of the 45° fov fallback.
- View-menu navigation no longer switches workspace when a viewport is already
  on screen (the engine workspace transaction dropped the editor out of Edit).
- Modal commits queue behind the shared command tail, so a trailing
  editEditorContext cannot consume the user's first Ctrl+Z.
- Floating sidebar rotation field confirmed in degrees; headed cases for the
  offscreen path, per-island pivots and the sidebar unit, plus receipts/docs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 07:48:17 +08:00

64 lines
2.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schemaVersion": 1,
"id": "ch06",
"number": 6,
"part": "part-b",
"title": "工作区与 Area 布局:切换、⋮ 菜单、分割与持久化",
"level": "入门",
"workspace": "Layout",
"minutes": 7,
"summary": "工作区是整套区域布局:先切换到 Modeling,再把属性区垂直分割,最后恢复默认布局。",
"objectives": ["切换工作区并确认状态", "用区域菜单分割 Area", "恢复默认面板位置"],
"setup": { "workspace": "Layout" },
"steps": [
{
"id": "ch06-s1",
"title": "切换到 Modeling 工作区",
"text": "点击顶部「Modeling」标签,整个区域布局切换为建模用的一组编辑器。",
"target": { "role": "button", "name": "Modeling" },
"checks": [
{ "kind": "scene", "workspace": "Modeling", "label": "当前工作区是 Modeling" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "Modeling" } }]
},
{
"id": "ch06-s2",
"title": "打开区域类型菜单",
"text": "每个区域左上角都有一个编辑器类型按钮,右侧的 ⋮ 菜单负责分割、合并与关闭。",
"target": { "css": ".area-frame.properties-area .area-type-switch .area-menu button" },
"checks": [
{ "kind": "exists", "target": { "role": "menuitem", "name": "垂直分割(左右)" }, "label": "区域菜单出现「垂直分割」" }
],
"demo": [
{ "kind": "click", "target": { "css": ".area-frame.properties-area .area-type-switch .area-menu button" } }
]
},
{
"id": "ch06-s3",
"title": "垂直分割属性区",
"text": "选择「垂直分割(左右)」,属性区一分为二,布局状态变为 custom。",
"target": { "role": "menuitem", "name": "垂直分割(左右)" },
"checks": [
{ "kind": "attr", "target": { "css": "main.blender-app" }, "attribute": "data-area-layout", "equals": "custom", "label": "布局已变为自定义" }
],
"demo": [
{ "kind": "click", "target": { "css": ".area-frame.properties-area .area-type-switch .area-menu button" } },
{ "kind": "click", "target": { "role": "menuitem", "name": "垂直分割(左右)" } }
]
},
{
"id": "ch06-s4",
"title": "恢复默认面板位置",
"text": "「窗口 → 恢复默认面板位置」把自定义布局改回默认的四个区域。",
"target": { "role": "menuitem", "name": "恢复默认面板位置" },
"checks": [
{ "kind": "attr", "target": { "css": "main.blender-app" }, "attribute": "data-area-layout", "equals": "default", "label": "布局回到默认" }
],
"demo": [
{ "kind": "click", "target": { "role": "button", "name": "窗口" } },
{ "kind": "click", "target": { "role": "menuitem", "name": "恢复默认面板位置" } }
]
}
]
}