茂之钳
|
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 |
|
茂之钳
|
7c95dfa6fd
|
fix: sdf — 移除重复 add_subdirectory,移除 C++20 <numbers>
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
|
2026-07-24 07:05:57 +00:00 |
|
茂之钳
|
b7419a7881
|
feat(sdf): S11 — SDF 隐式建模完整模块
CI / Build & Test (push) Failing after 29s
CI / Release Build (push) Failing after 35s
S11-A: SDF 图元库
- 14 种基础形状(inline header)
- sphere/box/round_box/torus/capsule/cylinder/cone/plane/ellipsoid
- triangular_prism/hex_prism/link/wedge
- 2D 挤出(extrusion/extrusion_bounded/revolution)
S11-B: SDF 操作 + 域变形
- 锐利布尔: union/intersection/difference
- 平滑布尔: smooth_union/smooth_intersection/smooth_difference
- 修饰器: round/onion
- 域变形: repeat/mirror/rotate/translate/scale/twist/bend/elongate/displace/cheap_bend
- 24 项测试
S11-C: CSG 表达式树 + 网格转换 + Python 绑定
- SdfNode 树结构 — 工厂构造函数,递归求值
- sdf_to_mesh — 基于 marching_cubes 的 SDF→网格
- bind_sdf — pybind11 Python 绑定
文件: 14 文件,2,545 行(测试 1,296 行)
|
2026-07-24 07:04:55 +00:00 |
|
茂之钳
|
ebd29e2a21
|
feat(sdf): S11-B — SDF operations + domain deformations
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 31s
Add header-only SDF combinator operations and domain deformation
functions based on Inigo Quilez standard formulations:
Boolean operations:
- op_union (min), op_intersection (max), op_difference (max(-d1,d2))
- Smooth variants: op_smooth_union/intersection/difference with blend radius k
with graceful fallback to sharp when k <= 0
Shape modifiers:
- op_round (d - r), op_onion (abs(d) - t/2)
Domain deformations (coordinate remapping):
- op_repeat (infinite grid repetition)
- op_mirror_x/y/z (with optional offset)
- op_rotate (Y-axis), op_translate, op_scale
- op_twist (Y-axis), op_bend, op_cheap_bend
- op_elongate, op_displace
All functions are inline in include/vde/sdf/sdf_operations.h.
Comprehensive unit tests in tests/sdf/test_sdf_operations.cpp covering
sharp/smooth booleans, modifiers, domain ops, and composition tests.
|
2026-07-24 07:02:03 +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 |
|
茂之钳
|
785250c2b1
|
feat: Sprint 9 — 3D Delaunay/B-Rep/Boolean 测试补全 + 文档更新
CI / Build & Test (push) Failing after 16m58s
CI / Release Build (push) Failing after 34s
|
2026-07-23 14:17:07 +00:00 |
|
ViewDesignEngine
|
02d0520aa5
|
v0.1.0: 初始工程骨架 — 7模块 40头文件 32源文件 17文档 Apache-2.0
|
2026-07-23 05:27:51 +00:00 |
|