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

132 lines
3.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": "ch11",
"number": 11,
"part": "part-b",
"title": "网格编辑与雕刻范围",
"level": "进阶",
"workspace": "Modeling",
"minutes": 9,
"summary": "进入编辑模式,切换到面选择并全选,再用「三角化」改变面数——每一步都用面数统计验证。",
"objectives": [
"进入编辑模式",
"切换面选择并全选",
"执行三角化并核对面数"
],
"setup": {
"fixture": "/teach/fixtures/basic-scene.blend",
"workspace": "Modeling"
},
"steps": [
{
"id": "ch11-s1",
"title": "进入编辑模式",
"text": "先在大纲树选中立方体,再点视口左上角的模式按钮(当前模式 + Mode),在菜单里选「编辑模式」。",
"target": {
"css": ".mode-chip button"
},
"checks": [
{
"kind": "scene",
"mode": "Edit",
"label": "当前处于编辑模式"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "treeitem",
"name": "BasicCube"
}
},
{
"kind": "click",
"target": {
"css": ".mode-chip button"
}
},
{
"kind": "click",
"target": {
"role": "menuitemcheckbox",
"name": "编辑模式"
}
}
]
},
{
"id": "ch11-s2",
"title": "切换到面选择",
"text": "视口头部的 1 Vertex / 2 Edge / 3 Face 是选择模式;按 3 或点「3 Face」进入面选择。",
"target": {
"role": "button",
"name": "3 Face"
},
"checks": [
{
"kind": "attr",
"target": {
"role": "button",
"name": "3 Face"
},
"attribute": "class",
"matches": "active",
"label": "面选择模式已激活"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "3 Face"
}
}
]
},
{
"id": "ch11-s3",
"title": "全选并三角化",
"text": "先「Select All」选中所有面,再从「面」菜单执行「三角化」:立方体的 6 个四边形面会变成 12 个三角面,状态栏的 Faces 会翻倍。",
"target": {
"role": "menuitem",
"name": "三角化"
},
"checks": [
{
"kind": "text",
"target": {
"testid": "scene-stats"
},
"matches": "Faces 12",
"label": "面数变为 12(三角化生效)"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "Select All"
}
},
{
"kind": "click",
"target": {
"role": "button",
"name": "面"
}
},
{
"kind": "click",
"target": {
"role": "menuitem",
"name": "三角化"
}
}
]
}
]
}