docs(feedback): VDE-027 fixed — face_centroid 作用域错误已在 v1.0.3 修复,更新 overview
Build & Test / build-and-test (push) Waiting to run
Build & Test / python-bindings (push) Blocked by required conditions
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 30s

This commit is contained in:
茂之钳
2026-07-28 17:22:33 +08:00
parent 4a6abd9048
commit 09816658f2
2 changed files with 39 additions and 3 deletions
+10 -3
View File
@@ -27,13 +27,20 @@ VDE 团队快速响应了反馈,v1.0.1+ 更新修复了 7 个问题,引入
| VDE-011 | write_stl 返回 void | 改为 bool |
| VDE-012 | double/float 精度 | 新增 StlTrianglef |
### 新增(3 个)
### 新增(3 个)— 全部已修复
| 问题 | 内容 | 状态 |
|------|------|:--:|
| VDE-014 | write_stl 新旧声明并存 | 已修复 (v1.0.2) |
| VDE-015 | Vector3F/Point3F 拼写错误 | 已修复 (v1.0.2) |
| VDE-016 | ssi_boolean.cpp 两阶段查找修正不完整 | 部分修复 (VDE-018 遗留) |
| VDE-016 | ssi_boolean.cpp 两阶段查找修正不完整 | 修复 (v1.0.2) |
| VDE-017 | configure_file CMAKE_SOURCE_DIR | 已修复 (v1.0.2) |
### v1.0.3 修复(1 个)
| 问题 | 内容 | 状态 |
|------|------|:--:|
| VDE-027 | face_centroid 作用域错误 | 已修复 (v1.0.3) |
### 当前可用模块(10/10
@@ -61,7 +68,7 @@ vde_capi ✓
### P0 已全部解决
所有 P0 阻塞问题(VDE-001/002/005/010/013/016/018)已解决。VDE 全部 10 个模块在 GCC 下可构建。
所有 P0 阻塞问题(VDE-001/002/005/010/013/016/017/018/027)已解决。VDE 全部 10 个模块在 GCC 下可构建。
### 后续重点关注
+29
View File
@@ -0,0 +1,29 @@
# VDE-027: VDE update build failure (auto-detected)
- **ID**: VDE-027
- **Date**: 2026-07-28
- **Status**: fixed
- **Severity**: Critical
- **Category**: BUILD
- **Source**: vde_auto_sync.ps1
## Trigger
- **From**: `fbf9b400b542bb49b4246258df63c0827e191fbf`
- **To**: `aeb29ab`
- **New commits**:
- aeb29ab fix(v1.0.3): VDE-019 center参数 + VDE-020 cone/torus + VDE-022 位置查询 + VDE-026 BVH索引
## Build Errors
```
error: 'face_centroid' was not declared in this scope
```
Full log: ViewDesign `build/vde_build_errors.txt`
## Root Cause
Commit `aeb29ab``modeling.cpp``get_face_index_by_position` 函数的 centroid 内联计算替换为 `face_centroid(body, ...)` 调用。但 `face_centroid` 仅在 `ssi_boolean.cpp``brep_boolean.cpp` 内部定义,未在任何公共头文件中声明,导致 ViewDesign 作为子模块构建时 GCC 报错。
## Fix
Commit `4a6abd9``face_centroid` 调用恢复为内联 centroid 计算,避免跨翻译单元的未声明引用。无需将 `face_centroid` 提升到公共 API。