hm
|
b2245ca0f7
|
feat(brep/foundation): Wave21 IGES face orientation, zero-copy import caches, UTF-8 leftovers
A52 (IGES face orientation closure, importer/exporter symmetric):
- importer: apply_shell_orientation derives face.reversed = (514 ORIENTATION==0) XOR (186 SHELLFLAG==0);
token_is_pure_int guards legacy "0HNAME"; convert_face reads 510 OUTERLOOPFLAG, convert_loop reads
508 ORIENTATION (diagnostics only); empty/void shells use their own SHELLFLAG
- exporter: 514 writes per-face ORIENTATION (0 when reversed), 510 OUTERLOOPFLAG=1, 508 ORIENTATION
from edge.reversed; 144 counts reversed trimmed faces only (no orientation field); 186 keeps "1,0"
- test_iges_export 34 -> 43 tests (T1-T8, real corpus round-trips): occ__bug25415 vol_rel
0.9697 -> 8.30e-12, occ__bug22821_test 2.0 -> 0, PWB/31000/28366 stay ~0
A53 (IGES import zero-copy caches):
- curve_cache_/surface_cache_ become unordered_map<int, shared_ptr<const NurbsCurve/NurbsSurface>>;
hits share pointers, misses make_shared<const T>(std::move(...)); composite curves return pointers
- split_params/params_of return std::string_view (zero-copy token slicing; tokens are substrings)
- import_iges reads the file in one sized binary read (chunked fallback for >16GB or tellg failure)
- V8 Motor_1.igs 3.40 -> 1.346 s, moteur_v8_asm.igs 9.27 -> 3.284 s; topology/model hashes unchanged
A54/A55 (UTF-8 path leftovers):
- A54: 13 foundation files, 17 open sites -> open_ifstream_utf8/open_ofstream_utf8; 9 UTF-8 cases
- A55: 13 infra/plugin/capi/core files, 24+ sites (11 user-path sites in plugin_manager); 12 UTF-8 cases
- Linux-only fixed paths (/sys,/proc,/etc/machine-id) and platform.cpp fopen wrapper intentionally kept
Verification: 23 suites 918 passed / 0 failed; PR gate 1067/1067 (81.44 s); four KPI windows
bit-identical (fixed 196/36, auto 196/36, band 8/0 and 8/0); 35 extra suites green; redline identical.
|
2026-11-23 00:28:07 +08:00 |
|
hm
|
35baae1555
|
test(coverage): add core-plus-v2 profile with plugin/capi/spatial/sdf/compute coverage + 20 boundary cases
Wave 8 W48 (task-123).
Profile: tools/coverage/target_profiles.json gains core-plus-v2 = core-plus 59 targets
+ 37 plugin/capi/spatial/sdf/compute targets (96 total; >=85 required). Excludes
test_curved_boolean_baseline (gcov wall-clock sensitive, same as core-plus) and
test_plugin_ecosystem (asserts all official plugin kinds, needs full plugin build).
line_pct_gate = 52.0 derived from the measured 54.01% (floor - 2pp).
Tests: 5 new files / 20 cases covering plugin lifecycle + capability registry
semantics, C API export boundaries, BVH edge cases, SDF field nodes and compute
SIMD lane boundaries. All 20 pass; module-subset ctest (Plugin|Capi|Spatial|Sdf|
Compute|Brep|Curves|Foundation) = 721/721 passed.
Measurement (build-cov8, RelWithDebInfo + VDE_ENABLE_COVERAGE, MinGW gcc 16.1.0):
before core-plus 50.91% (63374/124474), after core-plus-v2 54.01% (70324/130198),
func 62.88% (3568/5674), branch 33.55%; 2418/2418 cases pass. --update-baseline
wrote tools/coverage/baseline.json core-plus-v2 entry and
--min-line-pct baseline --strict-baseline PASSed (status PASS, line gate 54.01%).
Plugin fixture fix: test_plugin_extensions build deps now include vde_service_runner /
vde_service_stl_convert / vde_service_gcs_solve (3 external-service cases failed when
only the target was built; 9/9 pass after the fix).
CI: nightly coverage-nightly adds a core-plus-v2 report-only archive step and an
opt-in hard gate gated by vars.VDE_ENABLE_CORE_PLUS_V2=1; pr-quality dry-run plan
adds --profile core-plus-v2. Evidence: docs/planning/wave8/cov-notes.md and
build/kcp8_evidence/cov/ (before/after/after-gate reports, ctest logs).
Validation: validate_workflows.py --strict PASS 2/2, vde_release.py --check PASS
(14 checks, 0 fail/0 warn), no product (src/) changes.
|
2026-11-20 14:55:34 +08:00 |
|
hm
|
23f9467721
|
feat(1.0.179): 网格水密指标、shell_multi validate 门控与网格焊接入口一致性
VDE-1350 网格水密指标:mesh_repair.h 新增 MeshWatertightness 与
analyze_mesh_watertightness 两条重载(焊接顶点/边界环/非流形边/重复面/
有向体积/共享边比率);mesh_healing_report 的 hole_count 由 boundary_edges/3
启发式改为边界顶点 DSU 连通分量。新增 test_mesh_watertight 8 例 +
双孔洞 1 例。
VDE-1351 shell_multi 门控:独立验证 229 P2-1 证实 is_valid() 只做基本检查,
L 形/圆柱/球坏体仍非空返回且旧库数值相同。新增 shell_result_acceptable()
(validate() + 水密率=1 + 无悬挂边/非流形边/夹边),等厚与不等厚两路径统一;
测试改名 InvalidShellReturnsEmptyModel 并断言空模型。
VDE-1352 恢复 topo_naming.h BOM;勘误 228 报告行数/BOM 口径与 CHANGELOG
1.0.178 的回归编号、告警口径。
VDE-1353 网格焊接入口一致性:合并上游 71 提交后 20 项 CTest 失败,根因是
上游只给串行 to_mesh 加容差焊接,tagged/parallel(两分支)/soup/可见性重载
均未焊接,同一体各入口顶点数分叉;另原容差用 max|coord|*1e-6,1e15 远体
eps=1e6 致整球塌缩。焊接容差改为包围盒相对口径 eps=max(1e-9*diag,1e-12)、
格点以包围盒最小角为原点;五个入口全部补齐焊接;to_mesh_parallel 大网格
焊接后改用确定性串行 build_from_triangles;过期断言更新(box 24→8、facet
与 mesh→brep 唯一顶点数、ctypes smoke)。曾失败 5 组 46 项修复后 46/46。
测试:注册 8,381→8,414(合并上游 +33,本版新增 9)。
全量 CTest(Release -j8 三段 1-2805/2806-5610/5611-8414):8,414 执行、
8,379 passed、0 failed、35 SKIP、583.30 s;build 0 error。
release --check 14/14 PASS、--report-check PASS(latest=230)。
报告:docs/reference/230-VDE1.0.179-…自验证报告.md;229(1.0.178 独立验证)
随版入库。版本链 6 处 bump 1.0.179。
|
2026-11-07 14:40:21 +08:00 |
|
hm
|
b98ca6373c
|
feat(brep): entity/curve/mesh audit fixes, robust numeric inputs (VDE-1329..1340, 1.0.175)
- entity/feature layer: split_body shell IDs, shell_face_ids bounds, empty
FeatureHistory, multi-body Euler warning, config dependency cycles, undo off-by-one
- VDE-1335: serialize assembly flex joints in additive section 16 with validation
- curves: P0 crashes (degree=0 derivative, empty Bezier, negative index/degree,
weights mismatch, empty domain), k-order derivative, repeated-knot NaN,
degenerate self-intersection; stricter constructors and C API boundary guards
- VDE-1337: exact planar trim handles curves enclosing/inside existing holes and
repeated trims of single-closed-edge outer loops
- mesh: O(1) vertex queries, O(F+V) update_normals (~2035x/36588x), validated
construction, empty-operand boolean set semantics, save_ply length checks
- VDE-1339/1340: finite guards in primitive builders (NaN/Inf return empty body)
and in intersection curve fitting (never throw inside OpenMP regions)
- tests: 8,290 -> 8,339; full CTest 8,339/8,339 passed, 0 failed, 35 skipped
- reports: 219, 221 (independent verification), 222 (self verification)
|
2026-11-06 23:49:19 +08:00 |
|
hm
|
843811502d
|
fix(tests): deploy C API DLL before discovery and stabilize perf
|
2026-10-31 09:49:24 +08:00 |
|
hm
|
a060956724
|
feat(capi): expose display T-junction stitch opt-out flag
|
2026-10-31 08:17:05 +08:00 |
|
hm
|
2eb5f86395
|
build(tests): deploy vde_capi.dll for C API test discovery
|
2026-10-31 05:17:28 +08:00 |
|
hm
|
163d0c47e6
|
feat: P1.x 内核对齐 + P2-1 vde_cae + P2-2 插件扩展点 + VDE-1249 三阻塞修复(1.0.47)
### P1.x 内核对齐(P1 遗留收口)
- 原生 .vde 序列化(serializer/vde_format/vde_text)迁入内核 vde_brep;C API 序列化回迁 vde_kernel_capi;
PMI/MBD 拆为内核数据模型(vde_brep)+ 3D-PDF 导出(vde_io/pmi_export.cpp),消除 kernel→io 反向依赖;
- make_geometry_host_services() 迁入内核 vde_brep,kernel-only 下 PluginManager+宿主服务可用;
- kernel-only 约 40 个测试 target + 4 个 examples 门控;六业务 OFF 的 2 个测试 target 门控;
- vde_version() 返回 0.5.0 既有缺陷修复;kernel SDK consumer 实测 1.0.47;
### P2-1 vde_cae 官方模块
- include/vde/cae/*、src/cae/*、tests/cae/*;旧路径转发头兼容;VDE_BUILD_CAE 开关;
- vde_io 移除 fea_mesh/fluid_domain;ctest 用例数保持(95 项 CAE 测试);CAE=OFF 构建 937/937;
### P2-2 插件 ABI 1.2:CAE solver / CAM strategy 扩展点
- VdeCaeSolverPlugin/VdeCamStrategyPlugin + Registration 尾部扩展(旧插件兼容);
- PluginManager cae_solvers()/cam_strategies()/solve_cae()/invoke_cam(),加载校验/失败隔离;
- plugins/sample_cae、sample_cam_post、abi11_compat、external/{runner,sample_stl_converter};
- docs/design/vde-service-protocol.md 进程外服务协议草案;test_plugin_extensions 9/9;
### VDE-1249 三阻塞修复
- fix1 共享边采样性能悬崖:sagitta 自适应段数 + 自由曲面证据触发 + fast planar loop 256 + IncrementalMesher 复用 mesh_face_diag;
box+16 孔 legacy 3.3-3.6s→69.5ms、rebuild 4095→103ms;box+25 孔 5.1s→190.9ms;n42 链 ≤222ms;open=0/面积体积正确;
- fix2 fillet/blend 破损体护栏(fillet_edges_checked:watertight/dangling 护栏 + heal 重试 + 显式失败/诊断;
静默 no-op success → 显式失败)+ delete_face_with_heal/fill_hole 边环重排(26 面盒 0/26→6/6,box 2/6→6/6);
- fix3 wireframe tight payload:WireframeOptions.include_segment_info + C API VdeWireframeOptions 尾扩展 +
vde_body_to_wireframe_opt2(旧 ABI 安全);tight≈49-61% full(与 1.0.12 旧风格差 4B/段);
### 工程
- 修复 .gitignore `*.txt` 误伤:`!CMakeLists.txt`,把 plugins/**、tools/、tests/plugin、tests/cae 等漏入库的
CMakeLists.txt 纳入版本库(保证干净 checkout 可构建);
- 版本 1.0.47(CMake/version.h/test_version/README/docs index/module-manual 同步);
验证:全量构建 0 error(334 targets);全量 ctest 7395 注册、7300/7300 PASS(0 failed,24 skipped,194.39s);
kernel-only(-DVDE_BUILD_IO=OFF + BUILD_TESTS=ON)全量构建 0 failed、plugin 30/12 + capi_split 7 全绿;
六业务 OFF 全量测试构建 0 failed;CAE 95/95;插件 ctest 61/61;VDE-1249 repro 前后数字见 CHANGELOG。
|
2026-10-28 16:32:01 +08:00 |
|
hm
|
88653eff2f
|
feat(plugin): P1 微内核 — 官方格式插件 + C API 拆分 + 模块模式/依赖守卫(1.0.46)
- P1-1:VDE_BUILD_IO 开关;C API 拆分 vde_kernel_capi(不链接 vde_io)/vde_io_capi/旧 vde_capi 聚合;
kernel SDK 导出 vde::kernel_capi + vde::kernel::capi 别名;kernel-only 配置/构建/install/consumer 验证;
src/capi/vde_capi_io.cpp、tests/capi/test_capi_split.cpp 新增;
- P1-2:插件 ABI 1.1(VdePluginHost 尾部追加 body_from_mesh,旧宿主/旧插件按 struct_size 兼容);
官方格式插件 plugins/official/{stl,obj,ply}(纯 C ABI、不链接内核;STL 读写、OBJ/PLY 只读;与内置导入
面数/体积/bbox 一致到 1e-9);import_cad 插件回退(内置优先 + VDE_IMPORT_CAD_PREFER_PLUGIN 显式);
新增 tests/plugin/test_plugin_format_official.cpp 10 用例;
- P1-3:VDE_MODULES_MODE(static/hybrid 生效;shared/plugin 预留 WARNING);6 个业务模块独立开关;
vde::io/vde::app 聚合 + vde::engine deprecated;cmake/check_dependency_direction.cmake +
VDE_DependencyDirection_Guard CTest(六配置 PASS、负向可检出);
- 文档:plugin-development §10/§11、architecture §2.2–2.4/§7、design §7/§8 P1 进展;
- 版本 1.0.46(CMake/version.h/test_version/README/docs index/module-manual/CHANGELOG 同步)。
验证:全量构建 0 error;全量 ctest 7369 注册、7274/7274 PASS(0 failed,25 skipped,300.51s,-E Benchmark);
插件 ctest 54/54、官方插件 10/10、test_capi_split 10/10(kernel 7+io 3);kernel-only / no-cam / 业务全关 /
static / shared 配置均通过;依赖守卫 PASS。
|
2026-10-28 14:46:31 +08:00 |
|
hm
|
0885c6c542
|
fix(feedback): R3 收口 — VDE-1246 布尔朝向 / VDE-1239 §1 display 扇线 / VDE-1242 封口 / C API options(1.0.23)
第三轮(第一轮审查报告剩余内核问题):
- VDE-1246(新发现 High):布尔结果面朝向矛盾但 validate valid、体积错误。
新增 OrientationConsistency + orientation_consistency()(流形边方向不变量);
validate(strict_orientation) 严格模式(默认语义不变);fix_shell_orientation_strict()
(嵌套内环岛面拆分 + 边奇偶 BFS + 分量体积/嵌套深度定号);heal_shell_orientation 收尾调用;
brep_union/intersection/difference 返回前 finalize_boolean_orientation(仅不一致时修复,正常零开销)。
环形槽 fixture:32 同向边/33 面 → 0/0;71→72 面;体积 62610.69 → 65607.280328(rel 4.4e-16);
开口保持 2 环、无桥接面;网格体积 rel 4.4e-16。
- VDE-1239 §1:根因=凹形单环平面面固定顶点扇形三角化(U 形 800mm² → 1100/+37.5%、越界/重叠/零面积)
→ 新增 triangulate_planar_ring() ear-clipping(失败回退 CDT),平面单环快路径改用耳切;
新增 DisplayMesh::degenerate_triangles/duplicate_triangles 诊断。合成 n42 形态 51 面:面积比 1.0000237、
重叠/重复/零面积 0;全平面 boolean 链总面积 vs 解析 ≤1e-6。跨面 T-junction 残缝未缝合(诊断+建议)。
- VDE-1242:CapKind{kPlanar,kFitted3D} + 非平面开口 fitted3d 3D 封口(边界顶点真实 3D、cap 距 rim=0、
watertight、网格开边 0、体积 1666.7 vs 平面近似 1083.9);even-odd 任意深度嵌套(depth≤2 实测:
空腔体积 8011.9256 精确、openings=2、loops=3、cap 面积解析一致)。
- C API 显示选项全暴露:VdeDisplayOptions/VdeWireframeOptions + vde_body_to_display_mesh_opt/
vde_body_to_wireframe_opt(quality/expected_faces/open_edge_weld_tolerance/merge_tolerance/
tangent_angle/include_hidden;opt=NULL 默认;旧 ABI 不变);Python ctypes 同步;display 17/17。
工程健壮性(R3 验证发现):
- ParallelTaskGraph 依赖完成语义修复(真实缺陷:锁内先置 completed 再执行 func,依赖任务可能提前执行);
改 dispatched + 函数返回后置 completed + cv 唤醒;压测 100/100。
- HLR perf 用例改为 best-of-2 + 绝对预算 1500ms(保留历史基线比值打印),消除负载假阳性;
HLR 10/10。
- CI 各 job 增加 timeout-minutes(build 90/TSan 90/ASan 120/Valgrind 60/Coverage 90/Perf 60)。
- 版本 1.0.23 全链路一致。
验证(docs/reference/54 独立验证报告):
- 全量 ctest:Lead 7206/7206 PASS(0 failed、22 skipped、388.95s);verifier 独立构建 7206/7206 PASS
(0 failed、0 timeout、393.9s);R3 独立探针 162/162;独立全量构建 898/898、0 error;
R3 变更文件 0 新增 warning。
|
2026-10-28 09:02:54 +08:00 |
|
hm
|
1e9511a316
|
fix(feedback): R2 收口 — 第一轮审查剩余问题第二轮修复(1.0.22)
第一轮审查报告(docs/reference/52 §9)剩余问题第二轮闭环:
- VDE-1235 C API 补齐:flags VDE_DISPLAY_SMOOTH_GROUPS/ALLOW_PARTIAL;VdeDisplayMeshEx +
vde_body_to_display_mesh_ex/_lod;VdeWireframeEx/VdeWireframeSegmentInfo + vde_body_to_wireframe_ex
(crease/tangent/二面角/相邻面);旧 ABI 不变;Python ctypes 绑定补齐
- VDE-1235 #2 全边 chamfer 解析快速路径:轴对齐 box 全 12 棱 → 26 面解析体(0 开边、体积解析 rel=0、
1.44ms、to_mesh 44 三角;旧逐边路径分钟级且多边结果不可用)+ chamfer_edges_ex id 映射/显式失败
- VDE-1239 §3/§4:build_wireframe 去重/短段过滤/确定性(WireframeOptions + 统计);DisplayMesh 开口边
诊断 open_edge_count/open_edge_length(26 面圆角盒 Normal 984/1558.75、Draft 600/1558.67、box 0)
- VDE-1240:新增 curves/surface_op_status.h + 各曲面算子 *_checked(退化 ok=false+error,正常与 legacy
逐控制点一致)
- VDE-1241:轴对齐 box 结构化四面体(边界面严格在 B-Rep 6 面、6 面 partition 非空、体积精确 72000)
- VDE-1243:共面三角对精确重叠面积(Sutherland-Hodgman;平板 area_mismatch 1.9e-15,部分重叠精确)
- VDE-1244:automatic_heal 在所有守卫/回退后以最终 body 回填报告字段
- VDE-1245:TorusGeometry/face_torus_geometry、CircleGeometry/edge_circle_geometry(≤1e-9)
- VDE-1242:带岛开口封口(环形槽体积 0.641%)、merge_boundary_layer 节点融合、开口残差结构化报告
- VDE-1231 请求3 / VDE-1237:公开 TessellationOptions + to_mesh* options 重载(env 仅默认来源,
显式口径固定、serial==parallel==soup)
工程健壮性:
- CTest 每测试 TIMEOUT 600(防环境级挂起拖死 CI)
- to_mesh_parallel/to_triangle_soup 线程数上界钳制到硬件并发(消除 libgomp 高负载 teardown 挂起:
SafetyEdgeCases 30/30、全量 ctest 0 timeout)
- 版本 1.0.22 全链路一致(CMake/version.h/VDE_VERSION_NUM=10022/test_version/README/docs index)
验证(docs/reference/53 独立验证报告):
- Lead 最终 build 全量 ctest 7184/7184 PASS(0 failed、22 skipped、245.5s)
- verifier 独立构建复跑 7184/7184 PASS(0 failed、0 timeout、333.2s);18 组/268 项独立探针 267 PASS
(唯一 FAIL 为独立复现的内核既有布尔朝向问题,已记录剩余问题);独立全量构建 896/896,0 error
- R2 新增/扩展测试全绿(display 8、C API 11、legacy mesh 14、chamfer 5、heal 9、FEA 16、
interface map 14、checked API 19、entity 20、fluid 28 等)
|
2026-10-28 07:30:31 +08:00 |
|
hm
|
bc164dafc9
|
feat(capi,python): Phase6 显示/B-Rep C API — 7 个新函数(body_to_display_mesh/wireframe/get_face_count/get_face_info/get_edge_count/get_edge_info/get_edge_polyline,55=48+7 API,vde_free_buffer 内存契约);C API 测试 5/5(box 24V/12T/6F/12E、cylinder 圆边 kind=Circle r=4±1e-6/弦高、错误码/last_error),capi 回归 31/31;Python ctypes 55/55 + smoke 25/25(display mesh/wireframe/face/edge info)
|
2026-10-26 12:39:39 +08:00 |
|
hm
|
c273be832a
|
feat(io,capi): A-9 非 DWG 数据交换补全 — 点云 LAS/PTX 写出、glTF 可取消写、3MF 压缩诊断/降级、C API 7 格式网格 IO(顺带修复 import_gltf 外部 bin 越界崩溃)
|
2026-10-25 23:37:24 +08:00 |
|
hm
|
4b65eb90c8
|
test(capi): VDE-893 复核 C API 未测试清单并补判别性测试(10 项真实缺口)
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
逐个 grep 复核 capi/vde_capi.h 未测试清单 22 项:10 项真实缺口、12 项假阳性(10 项已有 test_capi.cpp 专测,vde_solver_add_vertical/get_point 已于 VDE-1201 移除)。
test_capi_extended.cpp 新增 8 例判别性测试(逐字段/逐点独立复算):vde_save_mesh(OBJ 文本行数 vs 网格计数)、vde_collision_gjk_spheres(d vs r1+r2)、vde_collision_ray_mesh(t/交点逐值)、vde_body_save_iges/load_iges(roundtrip + *out_bodies=nullptr 契约)、vde_assembly_*(计数 + 所有权不转移)、vde_sdf_to_mesh/sdf_free(球包围盒 + null 安全)、vde_serialize_mesh/deserialize_mesh(往返一致 + 非法输入 nullptr)。
附带修复 test_capi.cpp 2 处陈旧断言(原为红测,不放松断言):BoundingBoxNonTrivial 圆柱高度沿 Z(期望改 dx=2/dy=2/dz=3);MeshFaceCountConsistency box 按面复制顶点 nf=12/nv=24 改精确值。结果:test_capi 18/18、test_capi_extended 18/18、test_vde_capi 6/6。
|
2026-10-06 13:10:44 +08:00 |
|
hm
|
dcfc716b3e
|
refactor(brep/arch)!: 修复反馈 D 组 d1 VDE-1201 — 内嵌 2D 约束求解器移出公共 API 面与 C ABI
背景:VDE 内嵌的 2D 草图约束求解器违反"几何内核不含求解器"的分层共识
(Parasolid 不调用 DCM),与宿主侧专职求解器 VDCS 并存造成词表裂缝
(VDE-1199 根因)、行为分裂、双状态机与长期维护负担。按反馈方案 A 处理:
从公共 API 面与 C ABI 移除,代码保留为内部/测试实现。
变更:
- 头文件移出公共面:include/vde/sketch/constraint_solver.h 经 git mv 迁至
src/sketch/constraint_solver.h(保留历史),顶部加注为内部实现;目录
include/vde/sketch/ 不再存在。
- C ABI 移除:src/capi/vde_capi.cpp 删除 vde_solver_* 全部 9 个实现;
include/vde/capi/vde_capi.h 删除 VdeSolverHandle typedef、句柄对照表行
与"约束求解器(二维草图)"整节;include/vde/vde.h 删除同名前向声明与
"// ── 约束求解 ──" 整节。
- 构建图降级:聚合目标 vde 不再 INTERFACE vde_sketch;vde_capi 不再链接
vde_sketch;vde_sketch 的 include 目录改 PRIVATE 并标注为内部模块。
- 测试迁移:tests/sketch 两个测试改为直取私有头并显式链接 vde_sketch;
tests/capi 移除 SolverCreateAndAddPoint / FreeSolverNullSafe / CreateSolver。
- 顺带修复既有缺陷:vde_load_mesh 对不存在路径/不支持格式/解析异常/0 顶点
不再返回非空"空网格句柄"(假成功),改为返回 NULL 并写 last_error——
修复 tests/capi/test_vde_capi.cpp LoadMeshInvalidPath 长期失败。
- 文档同步:feedback/VDE-1201 标记 fixed;guides/reference 中 sketch 模块
的公共面描述改为内部模块说明。
验证:test_constraint_solver 30/30、test_sketch_ops 11/11、
test_vde_capi 6/6、test_capi_extended 10/10;全量构建 360/360 目标成功,
无 error / undefined reference。
BREAKING CHANGE: vde_solver_* C ABI 与 VdeSolverHandle 已移除,
vde::sketch 不再属公共 API 面。宿主侧约束求解请统一使用 VDCS;
FeatureBuilderTools::sketchAdd* 的 VDE backend 分支需宿主自行迁移(宿主侧工作)。
|
2026-09-11 00:26:33 +08:00 |
|
hm
|
1a78e8e191
|
fix: comprehensive test fixes and implementation bugs
Build system: fix VDE_BUILD_TYPE, MinGW big-obj, cross-platform temp dir
Core fixes: Matrix4D inverse, ExactPredicates sign, GJK overflow, VdeFormat weights, VRML/Collada IO
Test fixes: ObjectPool, Transaction paths, /tmp replacement, Matrix4D expectations
Result: 292/295 fast tests pass (99%)
|
2026-08-04 06:44:53 +08:00 |
|
hm
|
3334acf0fd
|
test: comprehensive test suite + bug fixes across all modules
- Add 12 new test files: render/viewport_layout, render/section_view, boolean/polygon_offset, core/icp, core/voronoi, core/material_library, spatial/incremental_bvh, spatial/kd_tree, curves/bezier_surface, capi/capi_extended, and expand mesh/halfedge + mesh/delaunay
- Fix 30+ compilation errors: missing includes, undefined symbols, circular dependencies, namespace issues, API mismatches
- Implement missing functions: point_to_plane_icp, colored_icp, scale_aware_registration, polygon_offset_arc, multi_contour_offset, offset_quality_check, validate_style, available_standards, add_vertex_unique, angle_distribution
- Fix infinite recursion in MaterialDatabase constructor
- Fix polygon_offset normal direction (inward -> outward)
- Fix viewport_bounds out-of-bounds handling
- Add linker group flags for static library circular dependencies
- 87% test pass rate (4479 tests, 592 pre-existing failures)
|
2026-08-03 13:28:13 +08:00 |
|
茂之钳
|
16d35ffe9e
|
test: full coverage — 12 new + 7 enhanced test files across 8 modules
New tests:
capi/test_capi.cpp (C API 9 functions)
curves/test_curve_intersect.cpp (3 tests)
curves/test_iga_prep.cpp (5 tests)
mesh/test_medial_axis.cpp (3 tests)
mesh/test_mesh_quality.cpp (4 tests)
mesh/test_grid_mesh.cpp (3 tests)
boolean/test_boolean_edge_cases.cpp (5 tests)
collision/test_gjk.cpp (3 tests)
spatial/test_octree.cpp (4 tests)
spatial/test_bvh.cpp (4 tests)
spatial/test_spatial_index.cpp (3 tests)
sketch/test_sketch_ops.cpp (4 tests)
foundation/test_io_utils.cpp (3 tests)
Enhanced:
mesh/test_mesh_boolean (4 tests)
mesh/test_hex_mesh (3 tests)
Total: ~60+ new test cases
|
2026-08-03 00:41:05 +08:00 |
|
茂之钳
|
3ae6a700d3
|
audit: 85 untested headers analyzed + glTF/COLLADA fixes + 7 P0 test files
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
audit-untested.md (275 lines):
17 empty shells, 9 partial, 59 implemented but untested
glTF fix: component_type_byte_size() + type_num_components()
COLLADA fix: is_degenerate() guard in to_mesh + import_collada
7 new P0 test files: capi, viewport, mesh_boolean,
brep_position, kd_tree, marching_cubes, cdt_2d (30+ cases)
|
2026-08-02 10:46:12 +08:00 |
|