### P4-01 插件 ABI 1.4 mesher 扩展点 - VDE_PLUGIN_ABI_MINOR 3→4;VdePluginKind MESHER=8;VdeMesherStatus/Options/Result/Plugin; VdePluginRegistration 尾追加 mesher 指针(48→56B,旧 1.3 按 struct_size 安全); - PluginManager kind/meshers()/invoke_mesher()/失败隔离/unload 清理;ABI 语义 manifest.minor<=query.minor<=host.minor; - sample_mesher(mock tet4);ABI 矩阵 1.0–1.4 accepted=5 + 2.0 rejected;--abi/--check 适配; - test_plugin_mesher 7 用例 + VDE_PluginToolMesherAbi CTest;docs plugin-development §15/plugin-distribution §12; ### P4-02 Python ctypes 回归 - 可选 CTest VDE_PythonCtypesSmoke(Python3 可选/vde_capi_shared/smoke_test_ctypes.py;无 Python 跳过); - VDE_BUILD_PYTHON=ON MinGW 原生 pybind 明确跳过(ctypes 保留);README/testing 文档更新(C API 61/绑定 60); ### P4-03 模块包 CI 矩阵 - cmake/check_module_packages.cmake:configure/build/install → 10 模块包 find_package + 仓库内 consumer 编译运行; - tests/module_packages/consumers/(10 个最小工程);CI module-packages job;本地 MODULE_PACKAGES_PASS pass=10 fail=0; ### P4-04 宿主复测/平台 CI 交接 + 多团队分发体系 - docs/reference/76-宿主复测与平台CI交接包(1.0.78).md;VDE-1251/1252 反馈单追加复测指引; - docs/design/multi-team-development.md(T1–T8/ownership/契约/流程)、docs/planning/work-packages.md(39 WP)、 docs/guides/team-onboarding.md、docs/design/plugin-ecosystem-handoff.md、.github/ISSUE_TEMPLATE/work-package.yml; - roadmap P4-01..05 交付;WP 状态 27 Delivered/0 In-Progress/12 Candidate; ### 工程 - 版本 1.0.79;与远端 f6e0ac97(plugin template SDK consumption/ecosystem plan)rebase 集成; - 全量构建 0 error(405 targets);全量 ctest 7569 注册、7474/7474 PASS(0 failed,25 skipped,238.13s)。
20 lines
918 B
C++
20 lines
918 B
C++
// P4 module-packages CI:vde-render 消费者 smoke(基础 box → 视口/剖面 API)
|
||
#include "vde/brep/brep.h"
|
||
#include "vde/brep/modeling.h"
|
||
#include "vde/core/point.h"
|
||
#include "vde_render/section_view.h"
|
||
#include "vde_render/viewport_layout.h"
|
||
#include <cstdio>
|
||
int main() {
|
||
const auto box = vde::brep::make_box(10.0, 20.0, 30.0);
|
||
vde::render::set_viewport_layout(vde::render::ViewportLayoutType::Single);
|
||
vde::render::set_viewport_total_size(1920, 1080);
|
||
const int section = vde::render::add_section_plane(
|
||
box, vde::core::Point3D(0, 0, 0), vde::core::Vector3D(0, 0, 1));
|
||
const bool ok = box.num_faces() == 6 && vde::render::viewport_count() >= 1 &&
|
||
section >= 0 && vde::render::section_plane_count() >= 1;
|
||
std::printf("RENDER_CONSUMER_%s faces=%zu section=%d\n",
|
||
ok ? "PASS" : "FAIL", box.num_faces(), section);
|
||
return ok ? 0 : 1;
|
||
}
|