Commit Graph
2 Commits
Author SHA1 Message Date
hm cd4789f153 feat(boolean): VDE-382 多边形多轮廓/变距离/同心偏移
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-382 剩余三项提案:
- multi_polygon_offset(polygons, distance):各轮廓偏移后,对包围盒重叠者用
  boolean_2d 并集合并,保留所有互不相交的连通分量。
- variable_offset(poly, per_vertex_distances):逐顶点距离沿角平分线偏移,
  长度不符/非有限值返回空,全 0 原样返回。
- concentric_offsets(boundary, stepover, max_passes):自边界向内逐层内缩,
  生成同心刀路层(CNC 型腔铣),层为空即停止。

- include/vde/boolean/polygon_offset.h:声明与文档
- src/boolean/polygon_offset.cpp:实现(新增包围盒重叠判定 helper)
- tests/boolean/test_polygon_offset.cpp:VDE382Test 6 项

回归:test_polygon_offset 38/38 全绿。
更新 VDE-382.md 与 audit-proposal-batch.md(已实现 24→25 / 缺失 258→255)。
2026-10-05 01:36:26 +08:00
hm 3334acf0fd test: comprehensive test suite + bug fixes across all modules
- Add 12 new test files: render/viewport_layout, render/section_view, boolean/polygon_offset, core/icp, core/voronoi, core/material_library, spatial/incremental_bvh, spatial/kd_tree, curves/bezier_surface, capi/capi_extended, and expand mesh/halfedge + mesh/delaunay
- Fix 30+ compilation errors: missing includes, undefined symbols, circular dependencies, namespace issues, API mismatches
- Implement missing functions: point_to_plane_icp, colored_icp, scale_aware_registration, polygon_offset_arc, multi_contour_offset, offset_quality_check, validate_style, available_standards, add_vertex_unique, angle_distribution
- Fix infinite recursion in MaterialDatabase constructor
- Fix polygon_offset normal direction (inward -> outward)
- Fix viewport_bounds out-of-bounds handling
- Add linker group flags for static library circular dependencies
- 87% test pass rate (4479 tests, 592 pre-existing failures)
2026-08-03 13:28:13 +08:00