新增 vde::core 参数方程工具:ExprParser(shunting-yard 中缀转 RPN,含 to_rpn/variables/单变量与多变量求值、函数库与常量、除零与定义域报错)、curves 13 条预设 2D/3D 曲线(渐开线/摆线/内外摆线/悬链线/阿基米德与对数螺线/利萨如/环面螺线/Bertrand/Viviani 等)、surfaces 15 张预设参数曲面(球/环/螺旋面/悬链面/伪球/莫比乌斯带/克莱因瓶/Enneper/Bour/Scherk/正螺旋面/双曲抛物面/单叶双曲面/椭球)、WaveformGen(sample/sequence/fft 单边频谱)。 落地文件 include/vde/core/parametric.h + src/core/parametric.cpp(vde_core);测试 tests/core/test_parametric.cpp 56/56 全绿(逐点闭式复算 + 隐式约束校验)。
25 KiB
25 KiB
提案批次(VDE-212 + VDE-333~417)实现核验报告
生成:2026-10-04。方法:从每份工单正文提取「函数式」候选 API(标识符后紧跟左括号),逐个与 include/ + src/ 实际符号比对(大小写敏感)。
结论
本批 77 份工单状态行统一为 Fixed — v1.1 implementation completed,但其 Resolution 原文均为 Deferred to VDE roadmap(自相矛盾)。逐条比对:
| 判定 | 份数 |
|---|---|
| 已实现(提案 API 全部存在) | 77(10-04 补齐 VDE-339/343/363/365/360/398/406/336/371/338/358/362/390/344 + VDE-357/368/374/352/388/387/375/382/354/379/369/353/373/345/392 + VDE-394/386/364/389/366 + VDE-361/370/334 + VDE-342/340 + 10-05 VDE-341/VDE-350/VDE-359/VDE-346/VDE-393/VDE-385/VDE-372/VDE-355/VDE-378/VDE-380/VDE-381/VDE-383/VDE-384/VDE-399/VDE-400/VDE-351/VDE-367/VDE-391/VDE-335/VDE-396/VDE-407/VDE-347/VDE-404/VDE-377/VDE-333/VDE-395/VDE-403/VDE-402/VDE-401/VDE-409/VDE-212/VDE-416/VDE-417/VDE-415 + 核验更正 VDE-337) |
| Partially Fixed(部分存在) | 0 |
| Deferred(均不存在) | 0 |
| 合计缺失提案 API | 0(原 348,10-04 落地 119 个,10-05 落地 VDE-334/342/340/341/350/359/346/393/385/372/355/378/380/381/383/384/399/400/351/367/391/335/396/407/347/404/377/333/395/403/402/401/409/212/416/417/415;10-05 更正 VDE-337 审计行) |
明细
| 工单 | 提案API数 | 缺失 | 判定 | 缺失清单 |
|---|---|---|---|---|
| VDE-415 | 45 | 0 | 已实现(10-05 落地) | include/vde/core/parametric.h:ExprParser(含 to_rpn)、curves 13 条、surfaces 15 张、WaveformGen(sample/sequence/fft);src/core/parametric.cpp。ParametricEquationTools/Knowledgeware/Equation/automation 为应用层名/正文词。test_parametric 56/56) |
| VDE-417 | 29 | 0 | 已实现(10-05 落地) | include/vde/brep/sheet_metal.h 的 SheetMetalDesign + 配套 SheetMetalParams/FlangePosition/HemType/CornerRelief/BreakCorner/FormingTool/Louver/Dimple;src/brep/sheet_metal_design.cpp。SheetMetalTools/calculation/relief/workflow 为正文词/应用层名。test_sheet_metal_design 18/18) |
| VDE-416 | 29 | 0 | 已实现(10-05 落地) | include/vde/brep/advanced_drawing.h 的 DrawingDocument;AdvancedDrawingTools/Drafting 为应用层名) |
| VDE-212 | 32 | 0 | 已实现(10-05 落地) | |
| VDE-339 | 16 | 0 | Fixed(10-04 落地) | |
| VDE-406 | 16 | 0 | Fixed(10-04 落地) | |
| VDE-409 | 13 | 0 | Fixed(10-05 落地) | include/vde_render/appearance.h:AppearanceProfile 40 种预设 + appearance_profile();LightingPreset+LightingConfig+lighting_preset();kelvin_to_rgb/hex_to_rgb/color_palette。AppearanceTools/presets/Appearances/coloring 为应用层名/正文词。test_appearance 5/5) |
| VDE-401 | 22 | 0 | Fixed(10-05 落地) | MacroRecorder::play(录制命令聚合为 MacroCommand 后整体回放为单个撤销单元);CollaborativeUndoConfig+CollaborativeUndoManager::configure/config、add_remote_command、active_users;AsyncUndoManager(undo_async 后台线程 + progress 回调 0/50/100、is_undo_in_progress、undo_progress_percent、cancel_undo 协作式取消);UndoHistoryEntry+UndoManager::undo_history/jump_to(自动 undo/redo 到指定命令态)。另修既有缺陷:CollaborativeUndoManager::global_undo() 恒失败(execute 从不写 global_undo_stack_);recover_from_log() 以 JSON "cmd": 匹配管道日志恒返回 0 + replay_from_log() 恒 nullptr(假崩溃恢复)→ 改为按 TransactionLogEntry::deserialize 解析并重建撤销历史。test_transaction 16/16) |
| VDE-402 | 16 | 0 | Fixed(10-05 落地) | FloatingLicenseConfig+FloatingLicenseManager::configure/config;renew_lease(重置活跃租约到期+审计)、used_seats;UsageAnalytics+collect_analytics(按 LicenseAuditLog 成功 CHECKOUT 计数/小时,可落 CSV);generate_machine_fingerprint(主机名+卷序列号/machine-id → SHA-256 32 hex)、offline_activation_request/sign_offline_activation/apply_offline_activation(HMAC 签名 + 机器绑定 + Key 校验);LicenseManager::start_feature_trial(逐功能限时试用,has_feature 兼容)。activation 为正文词(§3 标题 "Offline activation")。另修既有缺陷:本地 checkout/checkin/renew 从不写全局审计(内部 audit_entries_ 无任何读取者)→ 统一写 LicenseAuditLog;add_seats/available_seats 未加锁的数据竞争。test_license 46/46) |
| VDE-403 | 14 | 0 | Fixed(10-05 落地) | Backend/GpuOffloadConfig/dispatch 双重重载(门控/非门控)+ backend_available/set_backend_available/backend_device_count/dispatch_count/last_dispatch_backend;parallel_boolean_triangulate 逐块选后端并入图;parallel_sdf_to_mesh<> 模板;AdaptiveThreadPool(adjust/utilization/set_max_threads/set_thermal_limit/set_load_factor);VectorizationReport+analyze_vectorization(_text)(GCC optimized/missed 与 MSVC C5001/C5002);IoPrefetchRing+io_prefetch_ring。booleans 为正文词(指 GPU 卸载的布尔三角化)。另修既有坏实现:WorkStealingScheduler 工作线程 pending==0 即退出但向量未清理 → 二次 submit 不再启动线程 → wait_all 死锁;MemoryPoolIntegration free-list 用只增游标 + 释放又 push → 同指针重复入池 → reset() 二次 delete 堆损坏(0xC0000374);PaddedAtomic 仅填充无 alignas → 未真正缓存行对齐。test_performance 23/23、test_concurrent 10/10) |
| VDE-337 | 16 | 0 | Fixed(10-04 落地) | diagnose_model/batch_auto_repair/selective_repair 见 heal_ext.h+heal_ext.cpp,fix_rate 为 BatchRepairResult 字段,其余为正文词;诊断能力由 BodyDiagnostics(DiagSeverity/kind/message/faces)承载,selective_repair 按 RepairSteps 选步执行。test_proposal_ext 30/30。10-05 核验:审计行此前未同步,现更正) |
| VDE-398 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-395 | 20 | 0 | Fixed(10-05 落地) | coverage 正文词;standards::CustomStandard::register_custom/unregister/list_custom/style_of + diff_standards;drawing::preview_changes + RealTimeStdSwitch(switch_to/preview_changes/apply_to_views)+ standard_compliance_check + Segment/SheetTemplate/generate_sheet_template(ISO 7200 / ASME Y14.1)。另修既有坏实现:RealTimeStdSwitch/standard_compliance_check 头文件声明但 .cpp 从未定义;JisStandard::create_style() 缺 cutting_plane、AnsiStandard::gdt_symbols_summary() 缺中文符号名。test_constraint_solver_3d 73/73) |
| VDE-399 | 11 | 0 | Fixed(10-05 落地) | |
| VDE-338 | 14 | 0 | Fixed(10-04 落地) | |
| VDE-362 | 13 | 0 | Fixed(10-04 落地) | |
| VDE-333 | 15 | 0 | Fixed(10-05 落地) | enhancement/Snap/snap 为正文词;geometric_snap.h 抽出 collect_snap_candidates 与 snap_to_geometry 共用候选逻辑。snap_ext.h 补真实 API:LiveSnapConfig+live_snap(孔径向 + 粘滞)、多候选 batch_snap(按距离升序 + max_candidates,与既有"多体取最优"重载并存)、GridConfig+grid_snap(point,GridConfig)(任意 U/V 平面内吸附,面外分量保留);test_proposal_ext 30/30、test_geometric_snap 13/13) |
| VDE-400 | 12 | 0 | Fixed(10-05 落地) | decompress_animation;test_topology_compression 25/25) |
| VDE-384 | 11 | 0 | Fixed(10-05 落地) | |
| VDE-343 | 14 | 0 | Fixed(10-04 落地) | |
| VDE-404 | 15 | 0 | Fixed(10-05 落地) | MaterialLibraryTools 应用层名、databases 正文词;MaterialDatabase::by_category/register_custom/databases + to_json/from_json;test_material_library 23/23) |
| VDE-336 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-377 | 14 | 0 | Fixed(10-05 落地) | Booleans 正文词、reordering 指向既有 FeatureTree::reorder_feature;FeatureHistory::list_branches/switch_branch/tree_structure + apply 处 redo 后分叉 + FeatureParams::param_names;test_assembly_constraints 19/19、test_incremental_update 26/26) |
| VDE-347 | 16 | 0 | Fixed(10-05 落地) | |
| VDE-367 | 7 | 0 | Fixed(10-05 落地) | visualization 为正文词);另修既有坏落地:引擎「头文件内联假实现 vs 未编译 .cpp」分裂 + 被移除的测试已恢复(clear_all 置脏 / invalidate_cache 传播 / get_cache 计命中 / 拓扑序回调);test_incremental_update 26/26 |
| VDE-391 | 8 | 0 | Fixed(10-05 落地) | TrimmedIGAMesh/MultipatchIGAMesh/IGABoundary,扩展 IGAErrorEstimate);裁剪环奇偶规则分类 interior/trimmed/exterior(支持孔环)、多片接口一致性(不一致缝合面 is_conforming=false)、自含细化指示量(逐单元与独立复算 1e-12 一致且细化单调下降)、三类边界条件写入网格;test_iga_prep 40/40 |
| VDE-383 | 18 | 0 | Fixed(10-05 落地) | IncrementalHull2D+自由函数、Douglas-Peucker ε-近似、Greene 凹多边形凸分解、鞋带面积;增量逐步与批量凸包逐点一致,近似 Hausdorff ≤ ε,分解面积守恒;test_convex_hull 21/21) |
| VDE-351 | 11 | 0 | Fixed(10-05 落地) | workflow 为正文词);project_line/circle_on_surface 解析几何直接投影,split_face_by_projection+SplitLineResult 沿实际投影曲线精确分割面(曲线型分割边不被弦化);test_curve_tools 26/26、test_euler_op 29/29 |
| VDE-388 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-387 | 8 | 0 | Fixed(10-04 落地) | fairing 为 SurfaceFairingTools 应用层名,非独立 API) |
| VDE-363 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-407 | 9 | 0 | Fixed(10-05 落地) | SketchProfileTools 为应用层名;新建 src/sketch/sketch_geometry.h/.cpp 草图几何引擎:半边界环检测/折线自交检测/嵌套分析/约束推断/DOF 分析;test_sketch_geometry 16/16) |
| VDE-396 | 13 | 0 | Fixed(10-05 落地) | ordinate_dimensions);+ HolePatternNote/OrdinateOptions/SymmetryGroup;孔计数注记(含共轴对判定 → THRU)、同值径向标注就地合并、基准面坐标标注(分组/折线错开)、视平面内对称性(SYM/EQSP)、模型空间 3D 标注;test_auto_dimensioning 38/38 |
| VDE-335 | 14 | 0 | Fixed(10-05 落地) | enhancement 为正文词);+ DatumReferenceFrame/PatternType/HolePattern 及 detect_hole_pattern;DRF(Newell 面法向 + 三平面交点)、基准链坐标标注(逐条与测试侧独立复算一致)、孔阵列识别(闭合圆边→外心求孔心;Grid/Circular/Linear/Symmetric)与标准记法标注;test_auto_dimensioning 32/32 |
| VDE-371 | 11 | 0 | Fixed(10-04 落地) | |
| VDE-382 | 8 | 0 | Fixed(10-04 落地) | |
| VDE-380 | 11 | 0 | Fixed(10-05 落地) | layout_views_on_sheet 第一/第三角自动排布 + view_layout/drawing_sheet_setup;add_title_block+TitleBlock;export_pdf 合法 PDF 1.7 图框/标题栏/可见线实线/隐藏线虚线、xref/startxref 真实偏移);另补齐头文件中已声明未定义的 view_layout/annotation_view/drawing_sheet_setup 并修 Annotation/ViewPlacement 未初始化 UB;test_drawing_sheet 12/12 |
| VDE-381 | 11 | 0 | Fixed(10-05 落地) | boolean_2d 核心为「交点细分+双侧探测分类+轮廓链接」,修复原实现恒回退返回 subject 的缺陷;新增 PolygonWithHoles/boolean_2d_with_holes、SpatialIndex2D/boolean_2d_many、simplify_polygon 与 boolean_2d 的 epsilon 容差参数;test_boolean_2d 26/26) |
| VDE-340 | 6 | 0 | Fixed(10-05 落地) | |
| VDE-389 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-393 | 8 | 0 | Fixed(10-05 落地) | smooth_feature_guided+FeatureEdges(显式顶点对 + 二面角自动检测,特征顶点固定)、smooth_adaptive+AdaptiveSmooth(λ_i=base/(1+len/scale))、§1 SmoothMethod::Anisotropic+AnisotropicMethod+smooth_anisotropic(MeanCurvatureFlow 切平面投影 / BilateralNormal 法向偏移双边 / Perona-Malik 边缘停止);dispatcher 为正文词(指既有 smooth_mesh 分发器);test_smooth 15/15 |
| VDE-346 | 16 | 0 | Fixed(10-05 落地) | curvature_difference(K/H 差异图 + max/RMS 统计)、extract_isophotes(cos θ 阈值 + 扫描/二分求根,复用 reflection_line_curve)已实现;inspection 为正文词(同 VDE-341 "useful"/VDE-386 "combs" 口径,非 API);另补全 §2 HighlightLineResult+highlight_lines(管光源)(法线-光管张角亮带)与 §3 SurfaceAnalysisCache(预计算采样点/法线,zebra/checker 复用逐点一致);test_surface_analysis 28/28、test_curve_tools 22/22 |
| VDE-385 | 8 | 0 | Fixed(10-05 落地) | point_to_plane_icp / colored_icp / scale_aware_registration(+ColoredPoint、ICPResult::scale)真实实现且有测试;10-05 补提案命名封装 icp_register_plane/colored/scaled + ScaledICPResult(逐字段等价,测试比对);test_icp 26/26 |
| VDE-341 | 14 | 0 | Fixed(10-05 落地) | surface_to_brep 单曲面最小 B-Rep 拓扑;thicken_surface_ex + ThickenOptions 拔模角/端部封盖;useful 为正文词) |
| VDE-378 | 9 | 0 | Fixed(10-05 落地) | ExplodeConfig::direction 未初始化 UB;test_explode_view 17/17 |
| VDE-365 | 7 | 0 | Fixed(10-04 落地) | |
| VDE-372 | 9 | 0 | Fixed(10-05 落地) | |
| VDE-355 | 6 | 0 | Fixed(10-05 落地) | PlanetaryGearSet+GearConstraint+planetary_ratio;SliderCrank+SliderCrankSolution+solve_slider_crank;train=正文词);另修 5 处既有测试数据错误;test_kinematic_chain 37/37 |
| VDE-350 | 16 | 0 | Fixed(10-05 落地) | |
| VDE-359 | 10 | 0 | Fixed(10-05 落地) | |
| VDE-364 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-392 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-361 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-345 | 18 | 0 | Fixed(10-04 落地) | |
| VDE-357 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-360 | 5 | 0 | Fixed(10-04 落地) | |
| VDE-390 | 8 | 0 | Fixed(10-04 落地) | |
| VDE-334 | 11 | 0 | Fixed(10-04 落地) | |
| VDE-370 | 11 | 0 | Fixed(10-04 落地) | |
| VDE-373 | 7 | 0 | Fixed(10-04 落地) | |
| VDE-394 | 9 | 0 | Fixed(10-04 落地) | |
| VDE-375 | 12 | 0 | Fixed(10-04 落地) | |
| VDE-366 | 4 | 0 | Fixed(10-04 落地) | |
| VDE-368 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-386 | 13 | 0 | Fixed(10-04 落地) | curvature_comb(a,b,samples) 双曲面跨界法曲率梳 + match_surface_continuity 委托 match_surface;combs 为正文词误报) |
| VDE-358 | 7 | 0 | Fixed(10-04 落地) | |
| VDE-354 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-353 | 7 | 0 | Fixed(10-04 落地) | |
| VDE-352 | 13 | 0 | Fixed(10-04 落地) | |
| VDE-374 | 10 | 0 | Fixed(10-04 落地) | |
| VDE-379 | 5 | 0 | Fixed(10-04 落地) | |
| VDE-369 | 6 | 0 | Fixed(10-04 落地) | |
| VDE-344 | 5 | 0 | Fixed(10-04 落地) | |
| VDE-342 | 7 | 0 | Fixed(10-05 落地) | |
| VDE-348 | 7 | 0 | 已实现 | |
| VDE-349 | 14 | 0 | 已实现 | |
| VDE-356 | 5 | 0 | 已实现 |
说明
- 缺失清单含少量结构体字段名与 ViewDesign 应用层工具名(vd_geom、*Tools),不代表内核缺口;判定以函数式 API 为主。
- 大量提案属应用层/架构级(协同撤销、许可服务器、外观预设、制图标准、Voronoi/ICP/ABF 等),VDE 团队 Resolution 亦标注 Deferred。
- 全部存在者:VDE-345, VDE-348, VDE-349, VDE-352, VDE-353, VDE-354, VDE-356, VDE-357, VDE-368, VDE-369, VDE-373, VDE-374, VDE-375, VDE-379, VDE-382, VDE-387, VDE-388, VDE-392