Interface design document and manual now share one authoritative surface inventory (333 surfaces across 9 categories, gap 0), and every chapter carries real Playwright screenshots of the panels it documents. - tools/fcweb: ui-surface-scan/ui-surface-inventory (deterministic --check), build-ui-doc renders panel catalog, workbench matrix and mapping tables; blank toolbar crops (<1 KB) are skipped and pruned instead of embedded - web/tools/manual: generate-panel-index (ch16), audit-ui-gaps, generate-final-status, generate-gaps-doc; pager is per-chapter so the manual no longer overflows horizontally - manual: 130 screenshot references / 128 PNGs, panel sections for ch02-ch13 - web/src: utility menus stop click propagation (menu reopened on item click); workbench shell gains an OPFS document picker so workbench.html can bind a real document instead of the fixed workbench-document id; Sketcher panel moves from the command column to the main stage Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
142 lines
2.5 KiB
JSON
142 lines
2.5 KiB
JSON
{
|
||
"schema": "freecad-web-manual/scenario/v1",
|
||
"chapter": "ch10",
|
||
"workflow": "cam-task-panels",
|
||
"title": "CAM 任务面板:Job、Profile、Pocket、Post 与 Simulator",
|
||
"actions": [
|
||
{
|
||
"type": "goto",
|
||
"url": "/workbench.html?module=CAM&command=CAM_Job"
|
||
},
|
||
{
|
||
"type": "waitFor",
|
||
"selector": "fieldset:has-text(\"Create CAM Job\")",
|
||
"timeout": 120000
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 2500
|
||
},
|
||
{
|
||
"type": "eval",
|
||
"script": "window.scrollTo(0, 0)"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 400
|
||
},
|
||
{
|
||
"type": "shot",
|
||
"name": "01-cam-job"
|
||
},
|
||
{
|
||
"type": "click",
|
||
"selector": "button.command",
|
||
"hasText": "CAM_Profile"
|
||
},
|
||
{
|
||
"type": "waitFor",
|
||
"selector": "fieldset:has-text(\"CAM_Profile\")"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 1200
|
||
},
|
||
{
|
||
"type": "click",
|
||
"selector": "fieldset:has-text(\"CAM_Profile\") button",
|
||
"hasText": "Apply"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 3000
|
||
},
|
||
{
|
||
"type": "eval",
|
||
"script": "window.scrollTo(0, 0)"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 400
|
||
},
|
||
{
|
||
"type": "shot",
|
||
"name": "02-cam-profile"
|
||
},
|
||
{
|
||
"type": "click",
|
||
"selector": "button.command",
|
||
"hasText": "CAM_Pocket_Shape"
|
||
},
|
||
{
|
||
"type": "waitFor",
|
||
"selector": "fieldset:has-text(\"CAM_Pocket_Shape\")"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 1500
|
||
},
|
||
{
|
||
"type": "eval",
|
||
"script": "window.scrollTo(0, 0)"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 400
|
||
},
|
||
{
|
||
"type": "shot",
|
||
"name": "03-cam-pocket"
|
||
},
|
||
{
|
||
"type": "click",
|
||
"selector": "button.command",
|
||
"hasText": "CAM_Post"
|
||
},
|
||
{
|
||
"type": "waitFor",
|
||
"selector": "fieldset:has-text(\"CAM_Post\")"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 1500
|
||
},
|
||
{
|
||
"type": "eval",
|
||
"script": "window.scrollTo(0, 0)"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 400
|
||
},
|
||
{
|
||
"type": "shot",
|
||
"name": "04-cam-post"
|
||
},
|
||
{
|
||
"type": "click",
|
||
"selector": "button.command",
|
||
"hasText": "CAM_Simulator"
|
||
},
|
||
{
|
||
"type": "waitFor",
|
||
"selector": "fieldset:has-text(\"CAM simulation\")"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 2000
|
||
},
|
||
{
|
||
"type": "eval",
|
||
"script": "window.scrollTo(0, 0)"
|
||
},
|
||
{
|
||
"type": "wait",
|
||
"ms": 400
|
||
},
|
||
{
|
||
"type": "shot",
|
||
"name": "05-cam-simulator"
|
||
}
|
||
]
|
||
} |