Commit Graph

4 Commits

Author SHA1 Message Date
茂之钳 c06d8f4d0a fix: 约束求解器测试期望修正 — DOF/矩形/角度容差
CI / Build & Test (push) Failing after 42s
CI / Release Build (push) Failing after 31s
2026-07-24 04:15:47 +00:00
茂之钳 bc92e1728e fix: test_constraint_solver 中 dist() 参数应为 Point2D 非 int
CI / Build & Test (push) Failing after 29s
CI / Release Build (push) Failing after 33s
2026-07-24 04:05:23 +00:00
茂之钳 60aa974b1b feat: 2D 草图约束求解器完整实现 — Newton-Raphson + 6 种约束
CI / Build & Test (push) Failing after 28s
CI / Release Build (push) Failing after 35s
2026-07-24 04:00:23 +00:00
茂之钳 bd37f2249d feat: Python 绑定 — pybind11 核心/曲线/网格模块
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 32s
- 使用 pybind11 v2.11.1 (FetchContent) 构建 _vde 原生模块
- 模块化结构: bind_core.cpp / bind_curves.cpp / bind_mesh.cpp
- 暴露核心类型: Point2D, Point3D, Vector3D, AABB3D, Polygon2D
- 暴露曲线: BezierCurve, BSplineCurve, NurbsCurve
- 暴露网格: delaunay_2d/3d, DelaunayResult, HalfedgeMesh
- 变换函数: translate, rotate, scale 等
- Python 包 vde/ 含 __init__.py 及子模块封装
- setup.py 支持 pip install -e . 可编辑安装
- VDE_BUILD_PYTHON CMake 选项 (默认 OFF),通过 -DVDE_BUILD_PYTHON=ON 启用
2026-07-24 03:58:19 +00:00