fix: add <fstream> include to 3mf test
CI / Build & Test (push) Failing after 17m0s
CI / Release Build (push) Failing after 24s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled

This commit is contained in:
茂之钳
2026-07-24 11:37:06 +00:00
parent 7c2fb4b7c3
commit f4e34d36cc
3 changed files with 57 additions and 3 deletions
+55
View File
@@ -0,0 +1,55 @@
# ViewDesignEngine v3.2 工程实用化计划
> 制定: 2026-07-24 | 状态: 执行中
---
## 1. 🔄 CI/CD 自动构建
- [ ] 创建 `.github/workflows/build.yml`
- [ ] 自动构建 (cmake + make)
- [ ] 自动测试 (ctest)
- [ ] 自动 Doxygen 文档生成
- [ ] 多平台矩阵 (ubuntu-22.04, ubuntu-24.04)
---
## 2. 📊 性能基准修复 + 基线
- [ ] 修复 CMake benchmark 构建 (`BUILD_BENCHMARKS=ON`)
- [ ] 跑所有 benchmark 收集基线数据
- [ ] 识别性能瓶颈(Union_BoxAndCylinder ~1.8s
- [ ] 生成 `docs/benchmark-report.md`
---
## 3. 🐍 Python 绑定完善
- [ ] 修复 Python 绑定构建
- [ ] 添加 pip 安装支持 (`pip install .`)
- [ ] 完善 Python 示例
- [ ] 添加 `pyproject.toml`
---
## 4. 📦 3MF 格式支持
- [ ] 3MF 导入 (XML + ZIP 容器)
- [ ] 3MF 导出
- [ ] 测试
---
## 5. 🧩 B-Rep 装配体
- [ ] 装配体树数据结构
- [ ] 变换层级
- [ ] STEP 装配体导入增强
---
## 6. 📐 文档完善
- [ ] 构建指南更新
- [ ] 添加 `docs/` README 索引
- [ ] Doxygen 生成 CI 集成
+1 -3
View File
@@ -280,7 +280,6 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
// v=1 edge: u1 curve CPs
for (int i = 0; i < nu; ++i) {
double u_i = gu[i];
// v=0 edge
grid[i][0] = cp_u0[i];
w[i][0] = i < static_cast<int>(w_u0.size()) ? w_u0[i] : 1.0;
@@ -289,7 +288,6 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
w[i][nv - 1] = i < static_cast<int>(w_u1.size()) ? w_u1[i] : 1.0;
}
for (int j = 0; j < nv; ++j) {
double v_j = gv[j];
// u=0 edge
grid[0][j] = cp_v0[j];
w[0][j] = j < static_cast<int>(w_v0.size()) ? w_v0[j] : 1.0;
@@ -306,8 +304,8 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
// Interior points via bilinear blending (Coons formula)
for (int i = 1; i < nu - 1; ++i) {
double u_i = gu[i];
for (int j = 1; j < nv - 1; ++j) {
double u_i = gu[i];
double v_j = gv[j];
// S(u,v) = (1-u)*C_v0(v) + u*C_v1(v)
+1
View File
@@ -1,5 +1,6 @@
#include <gtest/gtest.h>
#include <cstdio>
#include <fstream>
#include "vde/foundation/io_3mf.h"
using namespace vde::foundation;