Files
FreeCADWasmDev/web/manual
wangdequan 3c2c623f70 Filter the command matrix by the web module registry
The matrix is scraped from upstream source, so it still carries modules
the port has removed. Counting its rows re-introduced OpenSCAD into the
manual data after the workbench was taken out. Parse the module list from
module-registry.generated.ts once and drop every record whose module is
not in it, which keeps 31 modules and reproduces the 1575 command rows
the manual now reports.

Regenerate the gaps document so it lists the 11 boundaries with the new
OpenSCAD-free set, and refresh the ch03 fixture captured alongside the
re-shot chapter.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-15 20:44:59 +08:00
..

Web FreeCAD 全功能初学者图文教案

单页中文 HTML 教案:32 个模块、1492 条命令索引、核心模块分步截图、专业模块工作流与边界说明。

目录

  • content/*.md:章节正文(front-matter: id/order/title/level)。
  • scenarios/*.json:Playwright 动作脚本,用于截图与断言。
  • assets/<chapter>/<workflow>/:真实界面截图。
  • data/manual-features.json:命令覆盖矩阵。
  • data/inventory-snapshot.json:输入文件 sha256。
  • data/coverage-audit.json:模块/章节/状态计数。
  • data/capture/*.json:每章截图与断言证据。
  • fixtures/:capture 保存的 FCStd。

构建

cd /home/mes123456/FreeCADWasmDev/working/FreeCAD/web
npm run manual:features          # 生成命令矩阵
node tools/manual/capture.mjs --scenario manual/scenarios/ch01-ui.json
npm run build:manual             # 生成 teaching/manual.html + manual-assets/
npm run check:manual             # 桌面/移动、图片、搜索、命令索引

访问 http://127.0.0.1:5190/manual.html。

口径

  • 命令状态:detailed 精讲、overview 覆盖、boundary 边界、verified 已验证。
  • 大边界(TechDraw 跨 Worker、FEM 原生对象、CAM OpenCAMLib、glTF 原生导入导出、 Material/Cloud)只标注,不写成可用。
  • 截图必须来自真实应用;0 pageError/consoleError、图片 >5 KB 才入库。