Files
ViewDesignEngine/include
hm 371fa25937
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
perf(brep): 投影升级路径按调用方容差收敛——heal 单件 630s 挂死降到 169s
--diag-only --heal 处理 occ__bug26689_nist_ctc_02_asme1_ap242-2.stp 时单线程
自旋 10.5 分钟(gdb: multi_seed_project 种子循环里 36 种子 x 30 轮 Newton 全跑满)。
根因是 project_polyline_on_surface 的两级升级恒以全精度调用 Newton(phys_exit2=0),
且种子复核不设"已达标即停",而调用方的验收标准本就是 resid<=tol。

- multi_seed_project 增 phys_goal2:任一候选达标立即返回/跳出种子循环;
  公开 API project_point_on_surface 仍传 0 = 语义不变
- 升级路径的 quick/multi_seed 透传 tol2(Newton 已达 tol 即早退)
- project_polyline_on_surface 增 allow_upgrade,仅对纯定性调用方(带面 rim/seam
  分类、绕向法向投票)关闭多种子复核;裁剪域构造路径维持 allow_upgrade=true,
  §7(bug24593 an_vol +12%)口径不变

实测同件 630s -> 169s,诊断读数逐项一致(1 体 454 面 diag_err=0 warn=5 pen=0)。
单测全绿:step_import 56、step_export 14、step_ap242 137、brep_heal 41、
advanced_healing 31、trimmed_surface 30、brep_trim_mesh 2、brep_validate 18。
2026-09-17 19:47:55 +08:00
..