Commit Graph
5 Commits
Author SHA1 Message Date
茂之钳 865060159d test: 3800+ 真实工业CAD模型语料 (real/)
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
来源: OCCT数据集/Semi-ATE/GrabCAD镜像/OCCT-MechBench/NASA/Voron
格式: STEP 3147 + STL 498 + IGES 83 + XT 79 + SAT 1
真实B-Rep工业模型,非程序生成几何体
2026-08-24 10:11:29 +08:00
hm 66e6b47b82 test(corpus): 重建 SAT/XT/IGES 语料为完整可导入文件
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
原 corpus 中 SAT/XT/IGES 共 1710 个文件为旧生成脚本产出的残缺占位符
(SAT/XT 仅有拓扑骨架无几何记录,IGES P 段 hololen 不匹配),全部无法导入。

- 新增 tools/gen_corpus 重建工具:构造 5 种基元(box/cylinder/sphere/cone/torus)
  × 4 组参数 × 5 种变换(none/mirror/rotate/scale/translate),用当前仓库导出器
  生成 SAT/XT/IGES 文件,并对每个文件立即回读验证(export→import 非空)
- 删除 1410 个残缺占位文件,替换为 300 个经 roundtrip 验证的完整文件
  (各格式 100 个;IGES 另保留真实样本 surf114.igs / curve_geom_plate.igs)
- test_model_corpus 恢复 SAT/XT/IGES 硬断言(require_ok=true)

语料导入率:SAT 0/570 → 100/100,XT 0/570 → 100/100,IGES 2/572 → 102/102
2026-08-12 13:37:17 +08:00
茂之钳 a983b5f379 test: 6000 real CAD test corpus — STEP/IGES/XT/SAT/STL/DXF
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
Sources: stepcode/stepcode + VDE auto-generation
5 geometry types × 20 sizes × 5 transforms × 6 formats\n6000 files, 141MB
2026-08-11 21:44:50 +08:00
hm 776b433eaa feat(quality): D 阶段工程质量 — 模型库 + fuzz_ccd + 性能回归 + 结构化日志 + API 版本化 + CI 增强
- D2: tests/data/models 按格式分目录模型库 + test_model_corpus 遍历测试(空库自动跳过)
- D3: tests/fuzz/fuzz_ccd(保守推进/扫掠球/GJK 一致性)+ Gitea CI Fuzz Smoketest
- D4/D6/D7: GitHub CI 新增 valgrind / sanitizer(ASan+UBSan) / coverage 三 job
- D8: tools/perf_regression.sh 性能回归脚本 + CI perf-regression job(退化>15% 报警)
- D10: include/vde/foundation/vde_log.h + src/foundation/vde_log.cpp 自研结构化日志
- D11: version.h 新增 VDE_API_VERSION_* / VDE_API_SINCE / VDE_DEPRECATED 宏
- 路线图 D 阶段状态同步
2026-08-09 08:09:22 +08:00
茂之钳 e2d05090b9 test: add user-supplied STEP file import test
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
tests/data/step/test_cube.STEP — real user STEP AP203 file
tests/foundation/test_step_user_files.cpp — 4 tests:
  - ImportTestCube: basic import + bounds validation
  - ImportTestCubeRoundtrip: import→export→import consistency
  - ImportTestCubeTopology: 6 faces, non-zero area, 12+ edges
  - ImportTestCubeAP203: AP203 format detection
2026-08-02 08:55:33 +08:00