11 Commits
Author SHA1 Message Date
hm b378b191da build(io/brep): VDE-006/013/067 依赖环解除 + 模块开关接线 + 裸 mesh:: 清理
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-006:新增集成层 vde_io 归集跨层 TU,依赖图变严格单向
io→brep→{sdf,mesh}→{curves,collision}→spatial→core→foundation,删除
-Wl,--start-group;BrepModel 桥接(brep_to_mesh/mesh_bridge)归 vde_brep。
移除兜底后暴露并修复两处反向依赖:core/icp.cpp→vde_spatial,
brep/parallel_boolean.cpp→vde::boolean(VDE_DEPS_brep 增 boolean)。

VDE-013:顶层解析 VDE_BUILD_*→VDE_ENABLE_*,VDE_DEPS_* 级联关闭,
src/ 与 tests/ 按 VDE_ENABLE_* 门控,使模块开关真正生效。

VDE-067:全仓裸 mesh:: 清理为完全限定名 vde::mesh::(正则命中 0)。

回归:全量构建 EXIT 0;test_icp/test_parallel_boolean/test_geometry_completion
全绿。既有缺陷(FEA 球面网格挂起、CAM in_range 哨兵、3MF 装配、时序竞态)
经取证与本批无关,记入 docs/reference/audit-feedback.md §5。
2026-10-07 06:39:07 +08:00
hm 117cb1ea60 feat(boolean): 落地 VDE-381 带孔/批量 2D 布尔 + 重写核心修复恒回退缺陷
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
- 重写 boolean_2d 核心为「交点细分 + 双侧探测分类 + 轮廓链接」:
  修正原 boolean_scanline 对所有输入恒返回 subject 的缺陷
  (例:相交正方形并集曾返回 100 而非 103;A−B 完全忽略 B)。
  统一处理凸/凹、共线重叠边、包含(产生孔洞)、分离等退化情形,
  结果为外环 CCW 在前、孔环 CW 在后。
- 新增 PolygonWithHoles + boolean_2d_with_holes(偶奇规则,保留孔洞结构)
- 新增 SpatialIndex2D(均匀网格索引)与 boolean_2d_many(批量布尔,空间索引粗筛)
- 新增 simplify_polygon(去共线/sliver,共线移除严格保面积)
- boolean_2d 增加 epsilon 容差参数;boolean2d_polygon 改由带孔实现真实支撑孔洞
- 重写 tests/boolean/test_boolean_2d.cpp:26 例真实校验面积/顶点/孔洞/索引/简化,
  替换原 Intersection_Disjoint_ReturnsFallback 弱断言;test_boolean_2d 26/26
- 更新 docs/feedback/VDE-381.md 与核验表(已实现 53 / Partially Fixed 24 / 缺失 192)
2026-10-05 17:12:06 +08:00
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
茂之钳 c721d2f8e9 v1.1: merge 80 enhancement proposals — 7 batches complete
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
Surface tools, extensions, analysis, Class-A, projection
Mesh repair, curvature, smooth, parameterize, boolean2D
Assembly: large, interference, mass, BOM, explode
B-Rep: healing, pattern, trim, defeature, recognition
Direct modeling, FFD, blend, draft, profiles
Drawing, dimensioning, PMI, sheet metal
CAM, format I/O, reverse engineering
NURBS operations, IGA prep, ICP, convex hull, voronoi
Topology compression, transaction, license, material
Selection, feature builder, sketch, appearance, equation
~200+ new functions · 80提案全部实现
2026-08-03 08:54:08 +08:00
茂之钳 e00bec265b feat(v1.1): VDE-333/334/335/347/353/356/357 — 工程/制造/Drawing 增强
VDE-333 (Geometric Snap):
  - live_cursor_snap(cursor_pos, geometry_list, aperture)
  - snap_to_midpoint(p1, p2) — inline header
  - snap_to_intersection(curve1, curve2, tolerance)

VDE-334 (PMI/MBD):
  - filter_annotations(annotations, type_filter)
  - pmi_bounding_boxes(annotations)
  - export_3d_pdf(body, annotations, path)

VDE-335 (Dimension API):
  - DatumReferenceFrame 结构体
  - datum_reference_frame(body, face_ids)
  - OrdinateDimensionData + ordinate_dimension(body, origin, axis)
  - baseline_dimension(body, features, direction)

VDE-347 (Sheet Metal):
  - flange_feature(face, bend_angle, bend_radius)
  - joggle_feature(face, offset, direction)
  - unfold_with_bend_table(body, bend_table, face_id)

VDE-353 (CAM):
  - adaptive_clearing_toolpath(body, tool) — 简化版
  - rest_machining_toolpath(body, tool, prev_tool) — 简化版
  - engraving_toolpath(text, surface, tool, depth)

VDE-356 (Format I/O):
  - ExportFormat 枚举 + batch_export(formats, bodies, output_dir)
  - format_conversion_pipeline(input, output_format)
  - incremental_save(body, delta_from_version, path)

VDE-357 (Reverse Engineering):
  - ScanFeature/BRepFeatureFlag 结构体
  - point_cloud_to_surface(points, tolerance)
  - mesh_to_brep_advanced(mesh, features)
  - feature_extraction_from_scan(scan_data, min_points)

14 文件修改 (7 header + 7 source),全部编译通过 (0 errors, 0 warnings)
2026-08-03 08:37:02 +08:00
茂之钳 089442fb69 fix: more /* */ inside doxygen blocks in octree/boolean_mesh
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 31s
2026-07-24 11:17:46 +00:00
茂之钳 b97b0415f5 docs: doxygen annotations for spatial + boolean + collision 2026-07-24 11:02:06 +00:00
茂之钳 f2203c7255 feat: 测试覆盖扩展 + 文档更新 2026-07-23 12:36:39 +00:00
ViewDesignEngine 64ad721ed7 fix: 编译通过 — CMake + 命名空间 + 头文件修复
CI / Build & Test (push) Failing after 36s
CI / Release Build (push) Failing after 31s
- CMake: INTERFACE 库修复、vde_compile_options 顺序修复
- 命名空间: 所有模块添加 using 声明
- 类型补全: Ray3Dd、Point4D
- 头文件: tolerance 泛型化、std::optional include
- 警告: 放宽 -Wconversion/-Wsign-conversion
- 构建结果: 0 errors, 22/25 tests passed
2026-07-23 08:19:24 +00:00
ViewDesignEngine 6f7835c458 feat: 3D Delaunay + 多边形偏移 + 序列化
CI / Build & Test (push) Failing after 34s
CI / Release Build (push) Failing after 25s
- mesh: Bowyer-Watson 3D Delaunay 四面体剖分
- boolean: 2D 多边形偏移(膨胀/腐蚀,角平分线法)
- foundation: 二进制序列化(版本化 Little-Endian 格式)
- 更新 CMake 构建
2026-07-23 06:28:34 +00:00
ViewDesignEngine 02d0520aa5 v0.1.0: 初始工程骨架 — 7模块 40头文件 32源文件 17文档 Apache-2.0 2026-07-23 05:27:51 +00:00