4 Commits
Author SHA1 Message Date
hm 4f8b1fb4ac feat(batch): PMI 导出模块 + 外部服务模板 + 宿主集成契约(1.0.86) 2026-10-29 21:23:50 +08:00
hm 9d479efe7d 补齐三项已记录缺口为真实实现
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
- apply_assembly_feature(VDE-467 遗留):AssemblyFeatureParams 增
  position(装配/世界坐标放置)/target_parts(零件过滤);按类型分派真实几何
  (BoltHole/RivetPattern -> make_hole 布尔减、阵列/重叠孔成槽;WeldJoint ->
  make_cylinder + brep_union 增料),世界->局部变换 + 工具体沿轴线锚定到各零件表面。
  新增 6 例判别性测试(test_v5_features 30/30)。
- VDE-242 gouge(过切)检测:新增 vde::cam::check_gouge —— 刀具旋转体轴向/角向
  采样离散,逐刀路点在面过滤后的网格上以 core::closest_point 精算最近点,
  按有符号距离判定切穿材料并输出 gouge_depth/gouge_point/point_index。
  新增 7 例判别性测试(test_cam_advanced 25/25)。
- export_3d_pdf PMI 编码进 U3D 流:新增 Pdf3dPmiEntity DTO +
  kU3DPmiBlockType(0xFFFFFFF1) 语义实体块 + export_pdf3d(_file) 重载;
  export_3d_pdf 按 display.visible 过滤并映射标注写盘。
  新增 2 例判别性测试(test_pmi_mbd 39/39)。

同步更新 VDE-242/334/467 工单与审计/参考文档。
2026-10-16 08:55:37 +08:00
hm a67c60a359 fix: 落实反馈/需求审计发现的功能占位与简化实现(P0/P1 共 7 项)
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
第二轮审计针对"声称已实现、实为简化/占位/绕过"的需求项逐条落地:
- topology_compression: 解压真正重建 B-Rep(无损往返 + 量化 UB 修复)
- submapped_hex_mesh: 改用 body.bounds() 求包围盒,消除球体假死;节点量化去重
- export_3d_pdf: 改调真实 PDF3D 导出,删除伪造 PDF/假成功;build_pdf3d 写真实 xref 偏移
- skip_instances: 用连通分量真正剔除实例;pattern_report 用真实体积/实例数
- hex_subdivision: 实现三线性 2x2x2 细分;非 Hex8 诚实返回空
- delete_face_with_heal: 补片定向校正改带符号体积判据(排除拟合平面法向符号歧义),
  修复 10x6x4 盒删面后体积 240→160
- mesh_to_brep_advanced: 逐三角占位面改为共面区域合并(并查集)+ 与拓扑环一致的
  UV 裁剪环 + 全局共享边去重;修复法向 ∥ X 时基向量退化致该面无三角形

测试:test_topology_compression 11、test_pattern_ops 17、test_industrial_formats 75、
test_hex_mesh 17(1 skip)、test_direct_modeling 53、test_reverse_engineering 27 全绿。
2026-10-03 18:53:39 +08:00
hm 02a97f5165 refactor(batch5): split partial out-of-scope modules
large_assembly: LODSwitchConfig/compute_lightweight_lod/auto_switch_lod → vde_render/large_assembly_render.h

structural_profiles: ProfileSpec/profile_library → vde_pdm/structural_profile_catalog.h

geometric_snap: live_cursor_snap/aperture → vde_ui/geometric_snap_ui.h

brep_drawing: DrawingSheet/Annotation → vde_drafting/drawing_sheet.h

pmi_mbd: export_3d_pdf/auto_generate_pmi → vde_drafting/pmi_export.h

All modules compile. Core geometry code retained in kernel.
2026-08-06 17:30:02 +08:00