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>
259 lines
5.2 KiB
JSON
259 lines
5.2 KiB
JSON
{
|
|
"schema": "freecad-web-manual/scenario/v1",
|
|
"chapter": "ch05",
|
|
"workflow": "assembly-task-panels",
|
|
"title": "Assembly 任务面板:关节、新建零件、仿真、爆炸视图与 BOM",
|
|
"actions": [
|
|
{
|
|
"type": "goto",
|
|
"url": "/project.html"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"type": "seed",
|
|
"file": "/media/mes123456/Elements SE/WebFreeCAD/FreeCADWasmDev/working/FreeCAD/web/tools/line-course/checkpoints/E03.FCStd",
|
|
"name": "manual-assembly-source.FCStd"
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/workbench.html?module=Assembly&command=Assembly_CreateAssembly"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 3500
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Assembly document name\"]",
|
|
"value": "ManualAssembly"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Assembly label\"]",
|
|
"value": "手动装配"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Create",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "waitOptions",
|
|
"selector": "select[aria-label=\"Insert link source file\"]",
|
|
"min": 2
|
|
},
|
|
{
|
|
"type": "select",
|
|
"selector": "select[aria-label=\"Insert link source file\"]",
|
|
"label": "manual-assembly-source.FCStd"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Load source",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "waitOptions",
|
|
"selector": "select[aria-label=\"Insert link source object\"]",
|
|
"min": 2
|
|
},
|
|
{
|
|
"type": "selectIndex",
|
|
"selector": "select[aria-label=\"Insert link source object\"]",
|
|
"index": 1
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Insert",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 800
|
|
},
|
|
{
|
|
"type": "selectIndex",
|
|
"selector": "select[aria-label=\"Insert link source object\"]",
|
|
"index": 2
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Insert",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1000
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Accept",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2000
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button.command",
|
|
"hasText": "Assembly_CreateJointFixed"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 900
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Assembly\"]",
|
|
"value": "Assembly"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Label\"]",
|
|
"value": "FixedJoint1"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Component 1\"]",
|
|
"value": "Component"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Subelement 1\"]",
|
|
"value": "Face1"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Component 2\"]",
|
|
"value": "Component001"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Joint Subelement 2\"]",
|
|
"value": "Face1"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 400
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "04-joints",
|
|
"selector": "fieldset:has-text(\"Fixed Joint\")"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button.command",
|
|
"hasText": "Assembly_InsertNewPart"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 900
|
|
},
|
|
{
|
|
"type": "eval",
|
|
"script": "window.confirm = () => true"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "section[aria-label=\"New assembly part\"] button",
|
|
"hasText": "New Part"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 5000
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "section[aria-label=\"New assembly part\"] fieldset input",
|
|
"value": "ManualPart"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "05-new-part",
|
|
"selector": "section[aria-label=\"New assembly part\"]"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "section[aria-label=\"New assembly part\"] button",
|
|
"hasText": "Cancel"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button.command",
|
|
"hasText": "Assembly_CreateSimulation"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"type": "eval",
|
|
"script": "window.scrollTo(0, 0)"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 400
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "06-simulation"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button.command",
|
|
"hasText": "Assembly_CreateView"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"type": "eval",
|
|
"script": "window.scrollTo(0, 0)"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 400
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "07-exploded"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button.command",
|
|
"hasText": "Assembly_CreateBom"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "08-bom",
|
|
"selector": "fieldset:has-text(\"BOM options\")"
|
|
}
|
|
]
|
|
} |