Files
FreeCADWasmDev/docs/current/smoke-test-20260915.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

19 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Web FreeCAD 完整烟测记录(2026-09-15)
## 执行范围
烟测只确认运行入口、WASM 产物、OCCT 几何出口、前端打包和 Worker/Facade 基础协议;不替代用户验收和浏览器全量回归。
## 结果
| 项目 | 命令 | 结果 |
|---|---|---|
| OCCT/FreeCAD WASM 内核 | `node freecad-source/src/WebAssembly/smoke-test.js web/public/kernel` | 通过:版本 `FreeCAD 1.2 WebKernel/0.2 OCCT/7.6`,Box 体积 24,STEP 网格 8376 顶点/2792 三角形/62 面,清理通过 |
| 几何边界 | `npm --prefix web run check:geometry-boundary` | 通过:462 个源码文件、无越界发现;Three.js 仅登记为显示层 |
| Vite 生产打包 | `cd web && npx vite build` | 通过:2278 modules transformed,`web/dist` 生成完整入口与模块包 |
| TypeScript 严格检查 | `npm --prefix web run build` | 未通过:现有类型错误集中在 BIM/Std/Web 命令参数联合类型和少量空值收窄;不影响上述 WASM/几何/打包烟测,但应作为后续工程质量项处理 |
## 结论
核心功能烟测通过,OCCT WASM 是唯一几何算法出口,Three.js 仅负责显示。TypeScript 严格检查仍有编译期缺口,因此当前结论是“核心运行烟测通过、严格类型门禁未清零”;业务验收继续按“用户使用时验证”执行。