Files
ViewDesignEngine/include
hm cedc6931d0
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
feat(brep): F3 dimension_api 精确化 — 真实 B-Rep 几何求值
linear_dimension 改为面边界(环顶点 + 边曲线内点)沿方向投影极值,
radial_dimension 改为平面 2D 圆拟合 / 曲面 3D 球拟合(补曲面内部采样
恢复唯一性),一致性校验 1e-9 相对容差,与真实几何误差 < 1e-6 级。

修复 make_sphere 两处基础缺陷:
- wrap 面(i=su-1)u1 取 2π*j/su=0 而非 2π,导致负参数区间、
  负权重被钳制到 1e-8、中间列控制点半径爆炸 5.8e7(球拟合失败);
- make_sphere_patch 中间 u 列控制点未外移 x/wu,有理圆弧不精确。

新增 2 个球面径向尺寸测试(含 1e-9 精确半径断言),15/15 通过;
回归 test_brep 27/27、test_trimmed_surface 28/28、test_fastener_library 10/10。
2026-08-21 01:13:28 +08:00
..