2 Commits
Author SHA1 Message Date
hm 9b021b6b33 feat(cam): VDE-353 simulate_material_removal 刀路材料去除仿真
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
实现 VDE-353 提案 2:simulate_material_removal(stock, toolpath,
tool_diameter, tool_flute_length) → BrepModel。
以立铣刀参数调用既有 material_removal_simulation 得剩余材料网格,
再经 brep::mesh_to_brep_model 转回 B-Rep;刀具直径/刃长非法或无剩余
网格时原样返回毛坯。

- include/vde_cam/cam_toolpath.h:前置声明 brep::BrepModel + 声明
- src/vde_cam/cam_toolpath.cpp:实现
- tests/cam/test_cam_toolpath.cpp:VDE353Test 2 项(含"剩余体积严格小于
  毛坯"的真实性校验,验证确非空转)

回归:test_cam_toolpath 13/13 全绿。
更新 VDE-353.md 与 audit-proposal-batch.md(已实现 28→29 / 缺失 252→251)。
2026-10-05 02:22:39 +08:00
hm e1b00ade36 refactor(batch4): extract CAM subsystem + assembly_lod
CAM: 7 headers + 7 sources + 8 tests moved from core/ to vde_cam/

  Internal 5-layer dependency chain preserved (cam_toolpath → strategies → advanced/optimization/5axis/mesh/gcode)

  Python bindings updated (python/src/vde_cam.cpp)

Assembly LOD: moved from brep/ to vde_render/

Tests: cam_toolpath 11/11, cam_strategies 31/31, gcode_import 10/10, assembly_lod 22/22 — all pass

Fixed: test_cam_3plus2 disabled (pre-existing VDE-242 not implemented)

Fixed: removed unused using namespace vde::brep from CAM tests
2026-08-06 17:06:21 +08:00