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

135 lines
3.2 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": "ch18",
"number": 18,
"part": "part-d",
"title": "Geometry Nodes 与 Spreadsheet",
"level": "进阶",
"workspace": "Geometry Nodes",
"minutes": 9,
"summary": "在 Geometry Nodes 画布添加一个节点、提交成图,然后在 Spreadsheet 里查看对象数据。",
"objectives": [
"进入 Geometry Nodes 工作区",
"添加节点并提交图",
"查看 Spreadsheet 数据表"
],
"setup": {
"fixture": "/teach/fixtures/basic-scene.blend",
"workspace": "Layout"
},
"steps": [
{
"id": "ch18-s1",
"title": "切换到 Geometry Nodes 工作区",
"text": "点击顶部「Geometry Nodes」,中间是节点画布,左侧是 3D 视图。",
"target": {
"role": "button",
"name": "Geometry Nodes"
},
"checks": [
{
"kind": "scene",
"workspace": "Geometry Nodes",
"label": "当前工作区是 Geometry Nodes"
},
{
"kind": "exists",
"target": {
"testid": "geometry-node-canvas"
},
"label": "节点画布可见"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "treeitem",
"name": "BasicCube"
}
},
{
"kind": "click",
"target": {
"role": "button",
"name": "Geometry Nodes"
}
}
]
},
{
"id": "ch18-s2",
"title": "添加一个节点",
"text": "在画布工具栏点击「添加节点」,节点图上多出一个节点。",
"target": {
"role": "button",
"name": "添加节点"
},
"checks": [
{
"kind": "count",
"target": {
"css": "[data-testid=\"geometry-node-canvas\"] .react-flow__node"
},
"atLeast": 1,
"label": "画布里至少一个节点"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "添加节点"
}
}
]
},
{
"id": "ch18-s3",
"title": "提交节点图",
"text": "点击「提交图」,节点图被写入场景并开始求值。",
"target": {
"role": "button",
"name": "提交图"
},
"checks": [
{
"kind": "text",
"target": {
"testid": "geometry-node-graph-count"
},
"matches": "\\d+ graphs",
"label": "图数量统计可见"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "提交图"
}
}
]
},
{
"id": "ch18-s4",
"title": "在 Spreadsheet 里查看数据",
"text": "切到 Spreadsheet 编辑器,可以按对象查看几何数据表。",
"target": {
"testid": "spreadsheet-view"
},
"checks": [
{
"kind": "exists",
"target": {
"testid": "spreadsheet-view"
},
"label": "Spreadsheet 视图存在"
}
]
}
]
}