Commit Graph

14 Commits

Author SHA1 Message Date
茂之钳 4c9ee4f760 docs: doxygen annotations for curves + mesh + sketch
CI / Build & Test (push) Failing after 29s
CI / Release Build (push) Failing after 38s
2026-07-24 11:04:04 +00:00
茂之钳 40440fcc3e feat: GLTF/GLB export with normals + B-Rep tessellation + pipeline example
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 31s
2026-07-24 09:06:12 +00:00
茂之钳 9ecd86fb09 fix: format_utils normalize function sigs, iges_import class closing brace
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 07:41:30 +00:00
茂之钳 a989f799fb fix: format_utils rename fmt→format_fn, iges_import insert_or_assign
CI / Build & Test (push) Failing after 27s
CI / Release Build (push) Failing after 30s
2026-07-24 07:39:25 +00:00
茂之钳 4f75bb8b07 feat(brep): S13-B IGES export + format utilities
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 39s
Add IGES v5.3 export for B-Rep models with:
- Entity mapping: Point(116), Line(110), Circular Arc(100),
  B-Spline Curve(126), Plane(108), B-Spline Surface(128),
  Vertex(502), Edge(504), Loop(508), Face(510), Shell(514),
  Manifold Solid B-Rep(186)
- Auto-detection of circular arcs (degree-2 NURBS with
  isosceles control triangle) and planes (1x1 degree surfaces)
- Fixed 80-column IGES format with S/G/D/P/T sections
- Header-only format_utils.h for IGES/STEP number formatting

New files:
- include/vde/foundation/format_utils.h
- include/vde/brep/iges_export.h
- src/brep/iges_export.cpp
- tests/brep/test_iges_export.cpp
2026-07-24 07:34:27 +00:00
茂之钳 f2203c7255 feat: 测试覆盖扩展 + 文档更新 2026-07-23 12:36:39 +00:00
ViewDesignEngine ac5011091d feat: 区间算术验证层 + NURBS/Bezier 解析导数
CI / Build & Test (push) Failing after 1m32s
CI / Release Build (push) Failing after 33s
- foundation/interval.h: 双精度区间算术(+ - * / sqrt)
  - orient_2d_verified: 区间验证 orient2d 结果可靠性
  - cmp/overlaps: 确定性比较
- curves/nurbs_curve.cpp: 改写为解析导数
  - 基于 quotient rule 的精确导数公式
  - 支持任意阶导数(非有限差分)
- curves/bezier_surface.cpp: de Casteljau 解析导数
  - derivative_u/v 使用差分控制点 + de Casteljau
2026-07-23 10:45:01 +00:00
ViewDesignEngine 8ae4b86e08 feat: GMP 精确算术后端 + 可插拔谓词接口
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 28s
新增:
- include/vde/foundation/exact_predicates_gmp.h: GMP 精确谓词
  - orient_2d/3d, in_circle 完全精确(mpq_class 有理数)
  - 零舍入误差,任意精度
- include/vde/foundation/predicates.h: 统一谓词接口
  - Predicates<T> 编译期选择后端
  - VDE_USE_GMP=ON → GMP, OFF → 自适应 double
  - 便捷函数: orient(), in_circle()
- cmake/FindGMP.cmake: GMP 查找模块
- CMake: -DVDE_USE_GMP=ON 启用 GMP 精确模式
- AdaptiveDouble 包装器: 统一后端接口

使用:
  cmake -DVDE_USE_GMP=ON ..  # 完全精确模式
2026-07-23 10:32:51 +00:00
ViewDesignEngine 029dd6b75a feat: v0.6.0 精度提升 — Shewchuk Level C + 分层容差 + 业内方案调研
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
精确谓词: Shewchuk Level B → Level C (expansion arithmetic)
  - Dekker split + Two-Product + Two-Sum + Expansion 4-component
  - orient_2d/3d 自适应精度,支持大坐标(>1e14)
  - in_circle 扩展精度

容差系统: 单级 → 分层
  - Tolerance::tighten/relax 继承
  - Tolerance::min 合并取更严格
  - ToleranceScope 作用域临时容差
  - 预设容差级别: Modeling/Fitting/Intersection/Snapping

文档: 新增 06-精度提升方案调研 (252行)
  - 6种主流精度方案对比
  - Parasolid/ACIS/OCCT/CGAL 商业内核解密
  - VDE v0.6-v2.0 精度提升路线图
2026-07-23 09:58:38 +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 e276ce5a64 feat: P2-P4 全面补完 — B-Rep建模 + 数据交换 + 约束求解器 + ICP
CI / Build & Test (push) Failing after 34s
CI / Release Build (push) Failing after 37s
P2 B-Rep建模:
- brep: fillet/chamfer/shell 完整实现
- brep: box/cylinder/sphere 实体工厂
- brep: extrude/revolve/sweep/loft 建模操作

P3 数据交换:
- foundation: PLY 读写(ASCII+二进制)
- foundation: glTF 2.0 导出(JSON+bin)

P4 高级算法/杀手功能:
- sketch: 2D 草图约束求解器(Newton-Raphson, 9种约束类型)
- core: ICP 点云配准(SVD最优变换+KD-Tree加速)

新增模块: vde_sketch
2026-07-23 07:33:15 +00:00
ViewDesignEngine 5b3912f862 feat: P1 complete - geodesic, CDT, NURBS surface
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 26s
2026-07-23 07:04:11 +00:00
ViewDesignEngine cf13496ff6 feat: v0.5.0 P1 + 差异化功能 — Voronoi, Marching Cubes, 曲率, 序列化, Python绑定
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 16m55s
新增功能:
- core: 2D Voronoi 图(Delaunay 对偶图)
- mesh: Marching Cubes(完整256项三角表 + SDF 辅助函数)
- mesh: 离散曲率(Gaussian/Mean, Cotan 公式)
- foundation: 二进制序列化(版本化格式,Little-Endian)
- python: pybind11 绑定(30+ API 暴露)
- marching_cubes.h: SDF 基本体(球/盒)+ 光滑布尔
2026-07-23 06:27:43 +00:00
ViewDesignEngine 02d0520aa5 v0.1.0: 初始工程骨架 — 7模块 40头文件 32源文件 17文档 Apache-2.0 2026-07-23 05:27:51 +00:00