Files
ViewDesignEngine/docs/17-v3.8-开发计划.md
T
茂之钳 e573cf958f
CI / Build & Test (push) Failing after 36s
CI / Release Build (push) Failing after 34s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
docs: v3.8 engineering drawing + G2 continuity plan
2026-07-24 15:15:53 +00:00

1.1 KiB

ViewDesignEngine v3.8 — 工程图基础

制定: 2026-07-24 | 状态: 执行中

对齐工业 CAD 路线图第四层:工程图。

1. 📐 投影视图

  • project_view(model, direction) — 沿指定方向投影 B-Rep 为 2D 轮廓
  • 三视图:front / top / right 自动生成
  • 隐藏线消除(基础版:Z-buffer 深度测试)
  • 测试:盒子三视图验证

2. ✂️ 剖视图

  • section_view(model, plane_point, plane_normal) — 截面轮廓
  • 全剖/半剖支持
  • 测试:盒子沿XZ平面对半剖

3. 📏 尺寸标注

  • linear_dimension(p1, p2, offset) — 线性尺寸线
  • angle_dimension(l1, l2) — 角度标注
  • radius_dimension(arc_center, arc_point) — 半径/直径标注
  • 测试:矩形尺寸标注

4. 📄 DXF 导出

  • export_dxf(filepath, views) — DXF R12 格式导出
  • 支持 LINE / CIRCLE / ARC / TEXT 实体
  • 测试:三视图 + 尺寸 → DXF → 在 AutoCAD/LibreCAD 中打开

5. 🎨 G2/G3 连续性

  • G2 连续性检测(曲率连续)
  • 曲面延伸(沿边界等参延伸)
  • 测试:验证延伸前后连续性