Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch28.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

52 lines
2.1 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": "ch28",
"number": 28,
"part": "part-e",
"title": "导入导出矩阵:GLB/GLTF/OBJ/STL/PLY、原生导出与 CSV",
"level": "进阶",
"workspace": "Layout",
"minutes": 8,
"summary": "走一遍导出:文件菜单里的「Web GLB」把场景导出为 GLB,状态栏会报告导出结果。",
"objectives": ["找到导出子菜单", "导出 Web GLB", "从状态栏确认导出"],
"setup": { "fixture": "/teach/fixtures/basic-scene.blend", "workspace": "Layout" },
"steps": [
{
"id": "ch28-s1",
"title": "打开「文件 → 导出」",
"text": "文件菜单的「导出」子菜单列出可用的格式;带「原生」的走 Blender 内核。",
"target": { "role": "menuitem", "name": "导出" },
"checks": [
{ "kind": "exists", "target": { "role": "menuitem", "name": "Web GLB" }, "label": "菜单里出现「Web GLB」" }
],
"demo": [
{ "kind": "click", "target": { "role": "button", "name": "文件" } },
{ "kind": "click", "target": { "role": "menuitem", "name": "导出" } }
]
},
{
"id": "ch28-s2",
"title": "导出 Web GLB",
"text": "选择「Web GLB」,引擎把场景打包成 GLB,状态栏出现 GLB: exported。",
"target": { "role": "menuitem", "name": "Web GLB" },
"checks": [
{ "kind": "text", "target": { "testid": "engine-status" }, "matches": "GLB: exported", "label": "状态栏报告 GLB 已导出" }
],
"demo": [
{ "kind": "click", "target": { "role": "button", "name": "文件" } },
{ "kind": "click", "target": { "role": "menuitem", "name": "导出" } },
{ "kind": "click", "target": { "role": "menuitem", "name": "Web GLB" } }
]
},
{
"id": "ch28-s3",
"title": "顶栏的快捷导出",
"text": "顶栏「导出 GLB」按钮与菜单入口等价,适合高频使用。",
"target": { "role": "button", "name": "导出 GLB" },
"checks": [
{ "kind": "exists", "target": { "css": "button[aria-label=\"导出 GLB\"]" }, "label": "顶栏有导出 GLB 入口" }
]
}
]
}