cf38d76fd0
M1 — Memory Pool (内存池): - ObjectPool<T>: O(1) acquire/release with free-list, chunk-based expansion - ThreadSafeObjectPool<T>: per-thread local pools with global fallback - CowPtr<T>: copy-on-write smart pointer with shallow/deep copy - 10 tests: single/multi-thread, CoW detach, reuse rate M2 — Parallel Boolean (并行布尔): - parallel_face_face_intersection(): OpenMP face-pair dispatch with AABB culling - parallel_classify_faces(): thread-safe ray casting classification - parallel_mesh_union/intersection/difference + B-Rep variants - Thread count management API - 12 tests: coverage, empty cases, identity operations M3 — Parallel Marching Cubes (并行MC): - parallel_marching_cubes(): Z-slice parallel voxel processing - parallel_adaptive_mc(): octree-based adaptive resolution - Complete 256-entry edge table + Möller-Trumbore interpolation - 5 tests: sphere basic/high-res/empty/adaptive/threaded M4 — Parallel Surface Intersection (并行求交): - parallel_curve_intersections(): per-pair parallel dispatch - parallel_surface_intersection(): recursive subdivision + Newton refinement - AABB broad-phase culling before narrow-phase - 4 tests: curve pairs, surface batch M5 — GMP Exact Predicates (精确谓词): - exact_orient2d/3d: adaptive precision (double → GMP fallback) - exact_in_sphere: circumsphere test with degenerate handling - exact_point_in_polygon/polyhedron: robust ray casting - PrecisionMode: Fast/Adaptive/Exact with global toggle - 12 tests: all orientations, boundary cases, mode switching 21 files, +2263 lines
2.0 KiB
2.0 KiB
ViewDesignEngine — 剩余版本路线图
基于 v4.2 差距分析,所有未覆盖项排入 v4.4+
路线图总览
v4.1 ──→ v4.2 ──→ v4.3 ──→ v4.4 ──→ v4.5 ──→ v4.6 ──→ v5.0
✅ ✅ ✅ ✅ 🚧 🚧 ⬜
v4.4 — 精确容差 + 欧拉操作 ✅
| 项目 | 工作量 | 说明 |
|---|---|---|
| 精确容差系统 | 中 | Fuzzy 比较、自适应容差、容差传播 |
| 欧拉操作 | 中 | KEV/KEF/KEMR/MEV/MEF/MEKR 共 6 个原语 |
v4.5 — 实用增强 🚧
| 项目 | 工作量 | 说明 |
|---|---|---|
| 拔模分析 | 中 | 拔模角度分布可视化 + 拔模面生成 |
| 增量网格 | 中 | 参数修改后仅重建受影响区域 tessellation |
| 运动链求解 | 中 | 四连杆/齿轮系/凸轮联动 |
v4.6 — 性能基建
| 项目 | 工作量 | 说明 |
|---|---|---|
| 内存池 | 中 | 对象池 + 共享几何 + 写时复制 |
| 全并行化 | 中 | 布尔/MC/求交全面多线程 |
| GMP 精确算术 | 中 | 集成到布尔运算关键路径 |
v5.0 — 深度突破
| 项目 | 工作量 | 说明 |
|---|---|---|
| 特征识别 | 大 | 从 B-Rep 反推特征(孔/槽/倒圆/凸台) |
| 去特征化 | 中 | 自动移除小特征简化模型 |
| 全局光顺 | 大 | 能量最小化曲面变形 (Fairing) |
| 高级过渡曲面 | 大 | 滚动球变半径、多面过渡 |
| 精确 3D 等距 | 中 | 复杂曲面精确 offset |
| 装配特征 | 大 | 跨零件特征(打穿多零件) |
v5.1 — 生态扩展
| 项目 | 工作量 | 说明 |
|---|---|---|
| GPU 加速 | 大 | CUDA/OpenCL 加速 MC 和渲染 |
| 紧固件库 | 中 | 标准螺栓/螺母/垫圈 + 自动装配 |
| 柔性装配 | 大 | 零件在装配中可变形 |
| JT 导入导出 | 中 | ISO 14306 格式 |
| Parasolid XT | 中 | 二进制格式 |
| ACIS SAT | 中 | 文本格式 |
| PDF 3D | 中 | U3D/PRC 嵌入 |
状态图例
- ✅ 完成
- 🚧 进行中
- ⬜ 待开始