feat(carrier): 航空母舰 PartDesign 有头创建工具包与初学者教学
- 新数据链 web/teaching/cases/carrier-partdesign:20 件零件(spec.json 唯一来源)、 内核建造器 parts/*.mjs、traces/FCStd/replay 全量产物;装配 20 插入 + 19 关节。 - 工具包 tools/carrier:catalog / preflight / create-part / create-assembly / create-all / list / self-test / README,按零件与装配拆分为独立工具。 - 共享驱动扩展 web/tools/cad-ui-rebuild:Loft/Pipe/Hole/Fillet/Chamfer/Mirrored/ LinearPattern 交互,Reversed 复选框补齐;装配 saveAssemblyBundle 先 Accept 再保存。 - 教学:lessons.mjs 新增 carrier 组(环境课 + 20 件 + 装配),suite-runner 增加 carrier-part/carrier-assembly,生成 carrier-toolkit.html 并接入 index 与控制台证据。 验证:20 件 210 步全部有头通过(P05 修复后 39640 m³;P06 回归 8/8); 装配 20/20 插入、19/19 关节、20 组件 0 畸形、0 mismatch;check:carrier、 check:reducer、check-console --live 全绿。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
80
docs/current/carrier-partdesign-toolkit/continuation.md
Normal file
80
docs/current/carrier-partdesign-toolkit/continuation.md
Normal file
@@ -0,0 +1,80 @@
|
||||
# 航空母舰 PartDesign 工具包 — 接续记录
|
||||
|
||||
## 2026-11-25 · P02 甲板第 11 步(倒角)界面失败定位与修复
|
||||
|
||||
- 证据:`web/teaching/cases/carrier-partdesign/out/traces/CarrierDeck.json` 第 11 事件
|
||||
`tips.objects` 共 20 项,**包含** `DeckEdgeChamfer|PartDesign::Chamfer`,`tip` 也是它。
|
||||
→ 内核响应没有缺口,缺口在界面驱动取证时机。
|
||||
- 根因:`drive.mjs` 在点击创建后固定等 2500 ms 就扫描模型树;工作台 `edit()`
|
||||
在 `perform()` 里以 `busy=计算中...` 包住整次内核请求,等响应回来才
|
||||
`apply(result)` 换掉 `documents[document]`。甲板倒角要算几十秒,扫描时行还不存在。
|
||||
- 修复(共享 owner `web/tools/cad-ui-rebuild/drive.mjs`):
|
||||
- `internalNames()` 简化为单次读取(`document-tree.tsx` 不做虚拟化,全部行常驻)。
|
||||
- 新增 `waitForRows(page, minimum)`:轮询到树行数超过创建前且 `role=status`
|
||||
不再含「计算中」,上限 240 s。
|
||||
- 每个步骤创建后先 `waitForRows(rowsBefore + 1)` 再记录「内核名 → 界面名」。
|
||||
- 下一步:`node tools/carrier/create-part.mjs P02 --headed` 复跑,要求 14/14 步且
|
||||
体积 35733.17547337647(相对误差 < 1e-6);通过后进入阶段 2/3。
|
||||
- 另:`tools/carrier/README.md` 已写;`build-steps.mjs` 每件都 `loadWasmProbe` 且
|
||||
结尾无 `process.exit`,是上次挂起的入口,阶段 3 前需处理(单件运行会覆盖 `index.json`,
|
||||
需合并语义)。
|
||||
|
||||
## 2026-11-25 · P02 修复已验证;批量与教学接入
|
||||
|
||||
- P02 复跑:14/14 步,体积 35733.175473 vs 记录 35733.17547337647(相对误差 1.05e-11)→ pass。
|
||||
`build-steps.mjs` 已改:探针只装载一次、`index.json` 按 document 合并、`--json` 摘要用
|
||||
`fs.writeFileSync(1, …)` 后 `process.exit`(不再挂起)。P01 10 步、P03–P20 共 186 步 0 失败。
|
||||
- 批量 P03–P20(后台任务 `bdiofjzb3`,日志 `/tmp/create-all-carrier.log`):P03–P15 全部 pass,
|
||||
体积相对误差 ≤ 4.6e-9;单件 8–10 分钟。剩余 P16–P20。
|
||||
- 教学接入(代码,不占浏览器):
|
||||
- `web/tools/teaching-console/lessons.mjs`:新增 `carrier` 组 + `carrierLessons()`
|
||||
(1 节 dry 环境课 + 20 节零件课 + 1 节装配课),buildLessons 已包含 → 120 课。
|
||||
- `web/teaching/suite-runner.mjs`:新增 `carrier-part` / `carrier-assembly`
|
||||
job kind(`P\d{2}` 白名单,argv 指向 `tools/carrier/create-part.mjs` /
|
||||
`create-assembly.mjs`,超时 45/60 分钟),判定折叠复用 report.json 结构化字段。
|
||||
- `tools/carrier/create-part.mjs`:`--dry` 且给了 `--out` 时也写 `report.json`
|
||||
(verdict pass/precondition_fail),控制台不必解析日志文本。
|
||||
- `web/tools/teaching-console/build-carrier-page.mjs` → `web/teaching/carrier-toolkit.html`
|
||||
(20 卡片 + 15 分区 + 210 步,`--check` 幂等);`check-carrier-page.mjs` 双视口门禁通过。
|
||||
- `web/teaching/index.html` 加入口;`web/package.json` 加 `carrier:*`、`build:carrier-page`、
|
||||
`check:carrier`;`check-console.mjs --live` 增加一条 carrier dry 课。
|
||||
- 下一步:批量结束后核对 P16–P20 → `node tools/carrier/create-assembly.mjs --headed`;
|
||||
然后补“装配保存 FCStd 到 OPFS”的缺口(BOM 面板的 Save FCStd 会 storeAssemblyBundle
|
||||
到 OPFS 并同时下载,需按 OPFS 铁律拆出无下载的保存路径)。
|
||||
|
||||
## 2026-11-25 · P05 CarrierHangar 根因:Pocket 方向 + 驱动 Reversed 缺口
|
||||
|
||||
- 现象:内核参考体积 108800.00000000001(7 面 / 16 边,等于没切),界面 39640。
|
||||
- 根因(桌面语义):`PartDesign::Pocket` 在 `FeaturePocket::getProfileNormal()`
|
||||
(`freecad-source/src/Mod/PartDesign/App/FeaturePocket.cpp:134-138`)把草图法向乘 −1,
|
||||
所以 +Z 草图上的**默认 Pocket 就是向下切**;`reversed: true` 反而是向上切出实体外。
|
||||
旧 `parts/hangar.mjs` 写了 `reversed: true`,工具面只在外表面留了压痕。
|
||||
- 第二处缺口(共享 owner):`web/tools/cad-ui-rebuild/lib/driver.mjs` 的 `createFeature`
|
||||
从未勾选 Reversed 复选框(只有 Hole 在 `fillFeatureExtras` 里设),所以界面把
|
||||
`reversed` 静默丢弃、恰好向下切 → 两处缺口互相掩盖,每一步都「成功」。
|
||||
- 修复:`parts/hangar.mjs` 删掉 `reversed`(并写明依据);`lib/driver.mjs` 在 Sides/midplane
|
||||
之后对 `Pad|Pocket|Revolution|Groove` 统一 `setCheckbox(page, "Reversed", …)`。
|
||||
- 复算:`build.mjs P05` → 39640.000 m³;`capture-replay.mjs --only CarrierHangar` → 4 条带 mesh、
|
||||
`failures: []`;`build-steps.mjs … CarrierHangar` → 4 步;`create-part.mjs P05 --headed` →
|
||||
4/4 步、体积 39640 vs 39639.999999999985(相对误差 3.7e-16)、0 pageErrors、181 s。
|
||||
证据 `docs/current/carrier-partdesign-toolkit/runs/2026-11-25T09-52-40-008Z-P05/report.json`。
|
||||
- 教训:`capture-replay.mjs --only` 匹配文档名(CarrierHangar),不匹配 id(P05)。
|
||||
|
||||
## 2026-11-25 · 阶段 4 装配通过(含 BOM 保存修复)与教学门禁
|
||||
|
||||
- `project.json` 的 `assembly` 加 `"saveBundle": true`;`npx vite build` 重建 dist
|
||||
(5183 是 `vite preview`,服务的是 `web/dist`,改 `web/src` 后必须重建)。
|
||||
- 首次有头装配:20/20 插入、19/19 关节、2 次求解 20 组件 0 畸形,但保存失败——
|
||||
BOM 面板 `Save FCStd` 在会话打开时 disabled,native 侧
|
||||
`AssemblyInsertLink.h` 的 `save` 在 `session or doc.HasPendingTransaction` 时抛
|
||||
`Accept or cancel the task first`。
|
||||
- 修复(共享 owner):`web/tools/cad-ui-rebuild/lib/assembly.mjs` 的 `saveAssemblyBundle`
|
||||
先等「Save 或 Accept 可点」,Save 仍禁用则点 Accept 提交表格,再点 Save FCStd。
|
||||
- 复跑:`create-assembly.mjs --headed` → pass(20/20、19/19、20 组件、0 畸形、
|
||||
0 mismatch、67 s)。证据 `runs/2026-11-25T10-06-49-236Z-assembly/report.json`;
|
||||
原始 `out/ui-run/CarrierAssembly-assembly.json`。
|
||||
- 教学门禁:页面随 P05 体积变化失效,`build:carrier-page` 重生成后
|
||||
`check:carrier` 全绿(20 件 / 210 步 / 双视口 0 溢出)。`check:reducer` 全绿
|
||||
(23 件 / 104 步,驱动改动无回归)。
|
||||
- 下一步:P06 有头回归(后台 `bf96saw1u`)→ `check-console.mjs --live`(含 carrier dry 课)
|
||||
→ 提交(显式文件清单,禁止 `git add -A`),推送交给用户。
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P02",
|
||||
"document": "CarrierDeck",
|
||||
"title": "飞行甲板",
|
||||
"system": "flight-deck",
|
||||
"systemLabel": "飞行甲板",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Pocket",
|
||||
"Chamfer"
|
||||
]
|
||||
},
|
||||
"steps": 11,
|
||||
"stepsTotal": 14,
|
||||
"failed": 1,
|
||||
"volume": 35730.599638,
|
||||
"expectedVolume": 35733.17547337647,
|
||||
"relativeError": 0.00007208526368969833,
|
||||
"volumeMatches": false,
|
||||
"seconds": 450.59,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P02",
|
||||
"driverExitCode": 1,
|
||||
"verdict": "product_fail",
|
||||
"finishedAt": "2026-11-25T04:40:46.116Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P02",
|
||||
"document": "CarrierDeck",
|
||||
"title": "飞行甲板",
|
||||
"system": "flight-deck",
|
||||
"systemLabel": "飞行甲板",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Pocket",
|
||||
"Chamfer"
|
||||
]
|
||||
},
|
||||
"steps": 11,
|
||||
"stepsTotal": 14,
|
||||
"failed": 1,
|
||||
"volume": 35730.599638,
|
||||
"expectedVolume": 35733.17547337647,
|
||||
"relativeError": 0.00007208526368969833,
|
||||
"volumeMatches": false,
|
||||
"seconds": 453.462,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P02",
|
||||
"driverExitCode": 1,
|
||||
"verdict": "product_fail",
|
||||
"finishedAt": "2026-11-25T05:00:06.228Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P02",
|
||||
"document": "CarrierDeck",
|
||||
"title": "飞行甲板",
|
||||
"system": "flight-deck",
|
||||
"systemLabel": "飞行甲板",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Pocket",
|
||||
"Chamfer"
|
||||
]
|
||||
},
|
||||
"steps": 14,
|
||||
"stepsTotal": 14,
|
||||
"failed": 0,
|
||||
"volume": 35733.175473,
|
||||
"expectedVolume": 35733.17547337647,
|
||||
"relativeError": 1.0535456698942295e-11,
|
||||
"volumeMatches": true,
|
||||
"seconds": 570.83,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P02",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T05:43:05.377Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P01",
|
||||
"document": "CarrierHull",
|
||||
"title": "舰体",
|
||||
"system": "hull-structure",
|
||||
"systemLabel": "舰体结构",
|
||||
"featureTypes": [
|
||||
"Loft"
|
||||
]
|
||||
},
|
||||
"steps": 10,
|
||||
"stepsTotal": 10,
|
||||
"failed": 0,
|
||||
"volume": 260846.779202,
|
||||
"expectedVolume": 260846.77920152084,
|
||||
"relativeError": 1.8369613997398746e-12,
|
||||
"volumeMatches": true,
|
||||
"seconds": 512.441,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P01",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T05:59:08.335Z"
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/batch/v1",
|
||||
"startedAt": "2026-11-25T06:03:30.114Z",
|
||||
"items": [
|
||||
{
|
||||
"id": "P03",
|
||||
"document": "CarrierAngledDeck",
|
||||
"title": "斜角甲板",
|
||||
"system": "angled-deck",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P04",
|
||||
"document": "CarrierIsland",
|
||||
"title": "舰岛",
|
||||
"system": "island",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P05",
|
||||
"document": "CarrierHangar",
|
||||
"title": "机库",
|
||||
"system": "hangar",
|
||||
"exitCode": 1
|
||||
},
|
||||
{
|
||||
"id": "P06",
|
||||
"document": "CarrierElevators",
|
||||
"title": "升降机",
|
||||
"system": "aircraft-handling",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P07",
|
||||
"document": "CarrierCatapults",
|
||||
"title": "弹射器",
|
||||
"system": "aircraft-handling",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P08",
|
||||
"document": "CarrierArrestorWires",
|
||||
"title": "拦阻索",
|
||||
"system": "aircraft-handling",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P09",
|
||||
"document": "CarrierRadar",
|
||||
"title": "相控阵雷达",
|
||||
"system": "sensors",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P10",
|
||||
"document": "CarrierCiws",
|
||||
"title": "近防炮",
|
||||
"system": "weapons",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P11",
|
||||
"document": "CarrierFighterA",
|
||||
"title": "舰载战斗机 A",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P12",
|
||||
"document": "CarrierFighterB",
|
||||
"title": "舰载战斗机 B",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P13",
|
||||
"document": "CarrierFighterC",
|
||||
"title": "舰载战斗机 C",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P14",
|
||||
"document": "CarrierFighterD",
|
||||
"title": "舰载战斗机 D",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P15",
|
||||
"document": "CarrierFighterE",
|
||||
"title": "舰载战斗机 E",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P16",
|
||||
"document": "CarrierFighterF",
|
||||
"title": "舰载战斗机 F",
|
||||
"system": "air-fighter",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P17",
|
||||
"document": "CarrierAwacs",
|
||||
"title": "舰载预警机",
|
||||
"system": "air-awacs",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P18",
|
||||
"document": "CarrierHelicopterA",
|
||||
"title": "舰载直升机 A",
|
||||
"system": "air-rotor",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P19",
|
||||
"document": "CarrierHelicopterB",
|
||||
"title": "舰载直升机 B",
|
||||
"system": "air-rotor",
|
||||
"exitCode": 0
|
||||
},
|
||||
{
|
||||
"id": "P20",
|
||||
"document": "CarrierMarkings",
|
||||
"title": "甲板标线",
|
||||
"system": "markings",
|
||||
"exitCode": 0
|
||||
}
|
||||
],
|
||||
"finishedAt": "2026-11-25T08:07:13.434Z",
|
||||
"passed": 17,
|
||||
"failed": 1,
|
||||
"blocked": 0,
|
||||
"skipped": 0,
|
||||
"seconds": 7423
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P03",
|
||||
"document": "CarrierAngledDeck",
|
||||
"title": "斜角甲板",
|
||||
"system": "angled-deck",
|
||||
"systemLabel": "斜角甲板",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 2,
|
||||
"stepsTotal": 2,
|
||||
"failed": 0,
|
||||
"volume": 6912,
|
||||
"expectedVolume": 6912.000000095107,
|
||||
"relativeError": 1.3759660077805011e-11,
|
||||
"volumeMatches": true,
|
||||
"seconds": 108.13,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P03",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:05:20.430Z"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P04",
|
||||
"document": "CarrierIsland",
|
||||
"title": "舰岛",
|
||||
"system": "island",
|
||||
"systemLabel": "舰岛上层建筑",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Chamfer"
|
||||
]
|
||||
},
|
||||
"steps": 11,
|
||||
"stepsTotal": 11,
|
||||
"failed": 0,
|
||||
"volume": 10658.25,
|
||||
"expectedVolume": 10658.25,
|
||||
"relativeError": 0,
|
||||
"volumeMatches": true,
|
||||
"seconds": 432.914,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P04",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:12:35.506Z"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P05",
|
||||
"document": "CarrierHangar",
|
||||
"title": "机库",
|
||||
"system": "hangar",
|
||||
"systemLabel": "机库",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Pocket"
|
||||
]
|
||||
},
|
||||
"steps": 4,
|
||||
"stepsTotal": 4,
|
||||
"failed": 0,
|
||||
"volume": 39640,
|
||||
"expectedVolume": 108800.00000000001,
|
||||
"relativeError": 0.6356617647058824,
|
||||
"volumeMatches": false,
|
||||
"seconds": 181.019,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P05",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "product_fail",
|
||||
"finishedAt": "2026-11-25T06:15:38.620Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P06",
|
||||
"document": "CarrierElevators",
|
||||
"title": "升降机",
|
||||
"system": "aircraft-handling",
|
||||
"systemLabel": "航空保障(升降机/弹射器/拦阻索)",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 8,
|
||||
"stepsTotal": 8,
|
||||
"failed": 0,
|
||||
"volume": 1008,
|
||||
"expectedVolume": 1007.9999999999997,
|
||||
"relativeError": 3.3835368369528593e-16,
|
||||
"volumeMatches": true,
|
||||
"seconds": 325.761,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P06",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:21:06.556Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P07",
|
||||
"document": "CarrierCatapults",
|
||||
"title": "弹射器",
|
||||
"system": "aircraft-handling",
|
||||
"systemLabel": "航空保障(升降机/弹射器/拦阻索)",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 8,
|
||||
"stepsTotal": 8,
|
||||
"failed": 0,
|
||||
"volume": 346.5,
|
||||
"expectedVolume": 346.5000000205559,
|
||||
"relativeError": 5.932435110384563e-11,
|
||||
"volumeMatches": true,
|
||||
"seconds": 326.253,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P07",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:26:35.001Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P08",
|
||||
"document": "CarrierArrestorWires",
|
||||
"title": "拦阻索",
|
||||
"system": "aircraft-handling",
|
||||
"systemLabel": "航空保障(升降机/弹射器/拦阻索)",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 8,
|
||||
"stepsTotal": 8,
|
||||
"failed": 0,
|
||||
"volume": 25.2,
|
||||
"expectedVolume": 25.19999999999935,
|
||||
"relativeError": 2.5799468381766208e-14,
|
||||
"volumeMatches": true,
|
||||
"seconds": 325.688,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P08",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:32:02.238Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P09",
|
||||
"document": "CarrierRadar",
|
||||
"title": "相控阵雷达",
|
||||
"system": "sensors",
|
||||
"systemLabel": "雷达与传感",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 6,
|
||||
"stepsTotal": 6,
|
||||
"failed": 0,
|
||||
"volume": 69.330261,
|
||||
"expectedVolume": 69.3302613828255,
|
||||
"relativeError": 5.5217663541785605e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 246.706,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P09",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:36:11.030Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P10",
|
||||
"document": "CarrierCiws",
|
||||
"title": "近防炮",
|
||||
"system": "weapons",
|
||||
"systemLabel": "近防武器",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 8,
|
||||
"stepsTotal": 8,
|
||||
"failed": 0,
|
||||
"volume": 55.994815,
|
||||
"expectedVolume": 55.99481508149678,
|
||||
"relativeError": 1.4554343823503984e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 313.836,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P10",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:41:26.991Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P11",
|
||||
"document": "CarrierFighterA",
|
||||
"title": "舰载战斗机 A",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 82.947516,
|
||||
"expectedVolume": 82.94751637748315,
|
||||
"relativeError": 4.550867556488496e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 508.938,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P11",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:49:58.160Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P12",
|
||||
"document": "CarrierFighterB",
|
||||
"title": "舰载战斗机 B",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 87.540047,
|
||||
"expectedVolume": 87.54004703082911,
|
||||
"relativeError": 3.521715435385862e-10,
|
||||
"volumeMatches": true,
|
||||
"seconds": 508.778,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P12",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T06:58:28.486Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P13",
|
||||
"document": "CarrierFighterC",
|
||||
"title": "舰载战斗机 C",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 74.277042,
|
||||
"expectedVolume": 74.27704220951202,
|
||||
"relativeError": 2.8206834507359373e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 509.983,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P13",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:07:00.966Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P14",
|
||||
"document": "CarrierFighterD",
|
||||
"title": "舰载战斗机 D",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 92.30909,
|
||||
"expectedVolume": 92.30909038541574,
|
||||
"relativeError": 4.175274005317612e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 507.744,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P14",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:15:30.448Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P15",
|
||||
"document": "CarrierFighterE",
|
||||
"title": "舰载战斗机 E",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 78.527737,
|
||||
"expectedVolume": 78.52773673764469,
|
||||
"relativeError": 3.3409254520940654e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 508.898,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P15",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:24:00.966Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P16",
|
||||
"document": "CarrierFighterF",
|
||||
"title": "舰载战斗机 F",
|
||||
"system": "air-fighter",
|
||||
"systemLabel": "舰载战斗机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 85.221953,
|
||||
"expectedVolume": 85.22195279514972,
|
||||
"relativeError": 2.4037266692393183e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 509.17,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P16",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:32:32.524Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P17",
|
||||
"document": "CarrierAwacs",
|
||||
"title": "舰载预警机",
|
||||
"system": "air-awacs",
|
||||
"systemLabel": "舰载预警机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"Mirrored"
|
||||
]
|
||||
},
|
||||
"steps": 21,
|
||||
"stepsTotal": 21,
|
||||
"failed": 0,
|
||||
"volume": 254.940423,
|
||||
"expectedVolume": 254.9404234415037,
|
||||
"relativeError": 1.7317916122645891e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 792.267,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P17",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:45:46.464Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P18",
|
||||
"document": "CarrierHelicopterA",
|
||||
"title": "舰载直升机 A",
|
||||
"system": "air-rotor",
|
||||
"systemLabel": "舰载直升机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"PolarPattern"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 48.348264,
|
||||
"expectedVolume": 48.34826428466978,
|
||||
"relativeError": 5.887900740446139e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 503.505,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P18",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T07:54:11.501Z"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P19",
|
||||
"document": "CarrierHelicopterB",
|
||||
"title": "舰载直升机 B",
|
||||
"system": "air-rotor",
|
||||
"systemLabel": "舰载直升机",
|
||||
"featureTypes": [
|
||||
"Revolution",
|
||||
"Pad",
|
||||
"PolarPattern"
|
||||
]
|
||||
},
|
||||
"steps": 13,
|
||||
"stepsTotal": 13,
|
||||
"failed": 0,
|
||||
"volume": 48.398664,
|
||||
"expectedVolume": 48.398664284669785,
|
||||
"relativeError": 5.881769515622541e-9,
|
||||
"volumeMatches": true,
|
||||
"seconds": 503.216,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P19",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T08:02:36.318Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P20",
|
||||
"document": "CarrierMarkings",
|
||||
"title": "甲板标线",
|
||||
"system": "markings",
|
||||
"systemLabel": "甲板标线",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 6,
|
||||
"stepsTotal": 6,
|
||||
"failed": 0,
|
||||
"volume": 25.9596,
|
||||
"expectedVolume": 25.959599999997394,
|
||||
"relativeError": 1.0031507136323475e-13,
|
||||
"volumeMatches": true,
|
||||
"seconds": 275.372,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P20",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T08:07:13.426Z"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P05",
|
||||
"document": "CarrierHangar",
|
||||
"title": "机库",
|
||||
"system": "hangar",
|
||||
"systemLabel": "机库",
|
||||
"featureTypes": [
|
||||
"Pad",
|
||||
"Pocket"
|
||||
]
|
||||
},
|
||||
"steps": 4,
|
||||
"stepsTotal": 4,
|
||||
"failed": 0,
|
||||
"volume": 39640,
|
||||
"expectedVolume": 39639.999999999985,
|
||||
"relativeError": 3.6710179688110136e-16,
|
||||
"volumeMatches": true,
|
||||
"seconds": 181.336,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P05",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T09:52:40.008Z"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/assembly/v1",
|
||||
"document": "CarrierAssembly",
|
||||
"label": "航空母舰",
|
||||
"expected": {
|
||||
"inserts": 20,
|
||||
"joints": 19,
|
||||
"solves": 2
|
||||
},
|
||||
"inserted": 20,
|
||||
"joints": 19,
|
||||
"components": 20,
|
||||
"malformedComponents": 0,
|
||||
"mismatches": [
|
||||
"OPFS 未存储装配清单 CarrierAssembly.assembly.json"
|
||||
],
|
||||
"fatal": "TimeoutError: locator.click: Timeout 30000ms exceeded.\nCall log:\n\u001b[2m - waiting for locator('section[aria-label=\"Bill of materials task\"]').getByRole('button', { name: 'Save FCStd', exact: true }).first()\u001b[22m\n\u001b[2m - locator resolved to <button disabled>Save FCStd</button>\u001b[22m\n\u001b[2m - attempting click action\u001b[22m\n\u001b[2m 2 × waiting for element to be visible, enabled and stable\u001b[22m\n\u001b[2m - element is not enabled\u001b[22m\n\u001b[2m - retrying click action\u001b[22m\n\u001b[2m - waiting 20ms\u001b[22m\n\u001b[2m 2 × waiting for element to be visible, enabled and stable\u001b[22m\n\u001b[2m - element is not enabled\u001b[22m\n\u001b[2m - retrying click action\u001b[22m\n\u001b[2m - waiting 100ms\u001b[22m\n\u001b[2m 58 × waiting for element to be visible, enabled and stable\u001b[22m\n\u001b[2m - element is not enabled\u001b[22m\n\u001b[2m - r",
|
||||
"seconds": 90,
|
||||
"engineExitCode": 1,
|
||||
"engineReport": "web/tools/carrier-partdesign-course/out/ui-run/CarrierAssembly-assembly.json",
|
||||
"verdict": "product_fail",
|
||||
"finishedAt": "2026-11-25T09:59:37.258Z"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/assembly/v1",
|
||||
"document": "CarrierAssembly",
|
||||
"label": "航空母舰",
|
||||
"expected": {
|
||||
"inserts": 20,
|
||||
"joints": 19,
|
||||
"solves": 2
|
||||
},
|
||||
"inserted": 20,
|
||||
"joints": 19,
|
||||
"components": 20,
|
||||
"malformedComponents": 0,
|
||||
"mismatches": [],
|
||||
"fatal": null,
|
||||
"seconds": 67,
|
||||
"engineExitCode": 0,
|
||||
"engineReport": "web/tools/carrier-partdesign-course/out/ui-run/CarrierAssembly-assembly.json",
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T10:06:49.237Z"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schema": "freecad-web/carrier-toolkit/part/v1",
|
||||
"part": {
|
||||
"id": "P06",
|
||||
"document": "CarrierElevators",
|
||||
"title": "升降机",
|
||||
"system": "aircraft-handling",
|
||||
"systemLabel": "航空保障(升降机/弹射器/拦阻索)",
|
||||
"featureTypes": [
|
||||
"Pad"
|
||||
]
|
||||
},
|
||||
"steps": 8,
|
||||
"stepsTotal": 8,
|
||||
"failed": 0,
|
||||
"volume": 1008,
|
||||
"expectedVolume": 1007.9999999999997,
|
||||
"relativeError": 3.3835368369528593e-16,
|
||||
"volumeMatches": true,
|
||||
"seconds": 325.814,
|
||||
"pageErrors": [],
|
||||
"stillsDir": "web/tools/carrier-partdesign-course/ui-stills/P06",
|
||||
"driverExitCode": 0,
|
||||
"verdict": "pass",
|
||||
"finishedAt": "2026-11-25T10:16:35.541Z"
|
||||
}
|
||||
Reference in New Issue
Block a user