Files
hm 848746588f feat(brep/cae): body access contract, STEP assembly IO, PinSlot fix, POLY_LOOP volume, midsurface patches
VDE-1622 实体访问契约:TopoBody 增加 stable_id/revision,新增 body_access.h/.cpp
(list_bodies/extract_body/resolve_body,Resolved/Missing/Ambiguous/Split/Merged),
新增 additive 序列化段 17 BODY_IDENTITY(旧读端跳过,旧文件 revision=0)。

VDE-900 STEP 装配读写:import_step_assembly(PRODUCT/NAUO/IDT -> AssemblyNode 树),
导出端每实例补 CONTEXT_DEPENDENT_SHAPE_REPRESENTATION,产品名与 id 同步改写。

VDE-901 PinSlot:由串行布尔改为单次精确差集(腰形棱柱工具体),体积 1000->400,
新增 apply_assembly_feature_checked 失败外显诊断;BoltHole/RivetPattern 不回归。

VDE-1346 §7 中面元数据:MidsurfacePatch.patch_id/faces/edges/thickness_min/max/mean,
MidSurface.patches/junctions/feature_edges/valid/issues;平面共面 tile 做几何并集
(顶点切分+端点吸附+反向线段抵消),sample_loops 改为按顶点串链避免环绕向丢失。

POLY_LOOP 体积一致性:恢复 VDE-1355 逐三角带符号朝向回退(|raw|<5%*sum|t| 时用体心),
修复 StepImportPolyLoop 两个用例的 mesh_volume 0/49.2 vs analytic 4.08。

tests: test_vde1622_body_access 14, test_vde900_assembly_io 6, test_assembly_pmi 10,
test_step_import 104, test_step_export 22, test_vde1346_cae_preprocess 15, test_fea_mesh 68(+1 skip),
test_brep 96, test_measure 160, test_vde_format 90; PR gate 918/918 (76.09 s).
2026-11-20 00:14:03 +08:00
..