Files
FreeCADWasmDev/web/manual/scenarios/ch04-partdesign-panels.json
wangdequan 300c8efb01 docs(web): full UI surface inventory, illustrated manual, panel screenshots
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>
2026-11-23 01:30:31 +08:00

58 lines
3.2 KiB
JSON

{
"schema": "freecad-web-manual/scenario/v1",
"chapter": "ch04",
"workflow": "partdesign-dressup-panels",
"title": "PartDesign 边缘特征、Thickness 与布尔面板",
"actions": [
{ "type": "goto", "url": "/partdesign.html" },
{ "type": "wait", "ms": 1200 },
{ "type": "click", "role": "button", "name": "新建文档", "exact": true },
{ "type": "wait", "ms": 2200 },
{ "type": "click", "role": "button", "name": "新建 Body", "exact": true },
{ "type": "wait", "ms": 2200 },
{ "type": "click", "role": "button", "name": "创建草图", "exact": true },
{ "type": "wait", "ms": 1400 },
{ "type": "click", "role": "button", "name": "矩形", "exact": true },
{ "type": "wait", "ms": 1500 },
{ "type": "click", "role": "button", "name": "Pad", "exact": true },
{ "type": "wait", "ms": 900 },
{ "type": "select", "selector": "select[aria-label=\"Feature Profile\"]", "label": "Sketch1" },
{ "type": "fill", "selector": "input[aria-label=\"Feature Length\"]", "value": 10 },
{ "type": "click", "role": "button", "name": "创建 Pad", "exact": true },
{ "type": "wait", "ms": 2800 },
{ "type": "waitFor", "selector": "fieldset:has-text(\"边缘特征\")" },
{ "type": "select", "selector": "select[aria-label=\"Dress-up Base\"]", "label": "Pad1" },
{ "type": "fill", "selector": "input[aria-label=\"Dress-up Size\"]", "value": 2 },
{ "type": "click", "selector": "input[aria-label=\"Use all edges\"]" },
{ "type": "wait", "ms": 600 },
{ "type": "shot", "name": "04-dressup-fillet", "selector": "fieldset:has-text(\"边缘特征\")" },
{ "type": "click", "role": "button", "name": "Chamfer", "exact": true },
{ "type": "wait", "ms": 400 },
{ "type": "select", "selector": "select[aria-label=\"Chamfer type\"]", "label": "Distance and Angle" },
{ "type": "fill", "selector": "input[aria-label=\"Chamfer angle\"]", "value": 30 },
{ "type": "fill", "selector": "input[aria-label=\"Dress-up Size\"]", "value": 2 },
{ "type": "wait", "ms": 400 },
{ "type": "shot", "name": "05-dressup-chamfer", "selector": "fieldset:has-text(\"边缘特征\")" },
{ "type": "waitFor", "selector": "fieldset:has-text(\"Body 布尔运算\")" },
{ "type": "click", "role": "button", "name": "Body Cut", "exact": true },
{ "type": "wait", "ms": 400 },
{ "type": "shot", "name": "06-boolean-panel", "selector": "fieldset:has-text(\"Body 布尔运算\")" },
{ "type": "waitFor", "selector": "fieldset:has-text(\"Thickness\")" },
{ "type": "shot", "name": "07-thickness-panel", "selector": "fieldset:has-text(\"Thickness\")" },
{ "type": "waitFor", "selector": "fieldset:has-text(\"Body Tip\")" },
{ "type": "shot", "name": "08-body-tip", "selector": "fieldset:has-text(\"Body Tip\")" },
{ "type": "click", "selector": "details.design-task-group", "hasText": "Gear and sprocket", "target": ":scope > summary" },
{ "type": "wait", "ms": 500 },
{ "type": "waitFor", "selector": "fieldset:has-text(\"Gear / Sprocket\")" },
{ "type": "shot", "name": "09-gear-panel", "selector": "details.design-task-group:has-text(\"Gear and sprocket\")" },
{ "type": "assertVisible", "selector": "input[aria-label=\"Dress-up Size\"]" }
]
}