c5ed3d6dd9
v5.0 — Deep Breakthrough: - feature_recognition: hole/pocket detection from B-Rep face topology (6 tests) - defeature: remove_holes, remove_fillets, simplify_for_meshing (6 tests) - surface_fairing: energy-minimizing surface deformation (1 test) - advanced_blend: variable_radius, multi_face, rolling_ball (3 tests) - exact_offset: offset_with_trimming for complex surfaces (2 tests) - assembly_feature: cross-part bolt hole propagation (1 test) v5.1 — Ecosystem Expansion: - gpu_acceleration: GPU MC and mesh simplify (2 tests) - fastener_library: bolt/nut/washer/threaded_hole parametric parts (4 tests) - flexible_assembly: deformable part assembly (1 test) - industrial_formats: JT/Parasolid XT/ACIS SAT import/export + PDF 3D (4 tests) 27 files, +352 lines
1.5 KiB
1.5 KiB
ViewDesignEngine v5.0 — 深度突破
制定: 2026-07-26 | 状态: 🚧 执行中
从几何引擎到智能 CAD 内核的质变。
1. 🔍 特征识别
从 B-Rep 反推设计特征(制造特征识别)。
FeatureType枚举:Hole/ Slot/ Pocket/ Boss/ Fillet/ Chamfer/ Ribrecognize_features(body)→ 特征列表- 基于规则的识别:面邻接图分析
- 孔识别:圆柱面 + 两平面端面
- 槽识别:三平面 + 两半圆柱端
- 倒圆/倒角识别:环面/斜平面
2. 🧹 去特征化
移除小特征简化模型(CAE 前处理)。
defeature(body, features)→ 简化模型- 孔填充、倒圆移除、凸台削平
- 拓扑修复(填充后邻居面延伸)
3. ✨ 全局光顺
能量最小化曲面变形。
fair_surface(surface, constraints)— 薄板能量最小化- 曲率连续 (G2) 约束
- 边界保持 + 内部控制点优化
4. 🔀 高级过渡曲面
variable_radius_blend(edge, r_start, r_end)— 变半径过渡multi_face_blend(faces, radius)— 多面同时过渡- 滚动球算法 + 脊线追踪
5. 📏 精确 3D 等距
exact_offset(surface, distance)— 精确等距面- 自交检测 + 裁剪
- 退化面处理
6. 🔗 装配特征
跨零件特征(如打穿多零件的螺栓孔)。
assembly_feature(assembly, feature_type, params)- 跨零件传播(孔依次穿过接触零件)
- 装配级 B-Rep 布尔