# CADFS 基线 Engine 能力缺口与补齐清单 基于原始 `cadfs_to_cdsl/output` 全量报告。受影响样本数可重叠,不可相加。 ## P0:主体、草图与核心特征 | 能力缺口 | 受影响样本 | 需要补足的能力 | | --- | ---: | --- | | B 样条草图 / `skFitSpline` | 未单独统计 | 控制点、闭合 wire、B-spline edge,以及供 extrude、loft、sweep 使用的 profile | | 复杂草图轮廓 | 未单独统计 | 直线、圆弧、圆、椭圆、样条、多 wire 和孔洞的稳定闭合与排序 | | `shell` | 696 | 移除面、壁厚、内/外方向、多实体和失败诊断 | | `sweep` | 326 | 截面、路径、导轨、实体/曲面模式、扭转和过渡策略 | | `loft` | 309 | 多 profile、闭合/开口 profile、导轨、实体/曲面模式和 profile 对齐 | | `booleanBodies` | 187 | union、subtract、intersect、目标/工具 body 和保留工具体策略 | | `circularPattern` | 232 | source feature 重放、旋转轴、数量、角度范围和嵌套 pattern | ## P0:拉伸语义 | 能力缺口 | 受影响样本 | 需要补足的能力 | | --- | ---: | --- | | `extrude_cut_through_all` | 303 | 按目标 body 实际交段执行穿透全部切除 | | `extrude_cut_two_sided` | 262 | 正反独立距离和终止条件的双向切除 | | `extrude_extent:up_to_surface` | 95 | 到面终止与非平面 profile 裁剪 | | `extrude_extent:up_to_next` | 49 | 到下一实体终止 | | `extrude_add_through_all` | 4 | 穿透全部加料拉伸 | | `extrude_extent:up_to_vertex` | 4 | 到顶点终止 | | `extrude_surface_or_mixed` | 4 | 曲面拉伸和 surface/solid 混合拓扑 | | `extrude_extent:up_to_body` | 2 | 到指定 body 终止 | ## P1:selector 与基准面 | 能力缺口 | 受影响样本 | 需要补足的能力 | | --- | ---: | --- | | `extrude_profile_topology:intersect` | 382 | 面/边交集 selector 与持久化 | | `extrude_profile_topology:cap_face` | 200 | 拉伸端盖面 selector | | `extrude_profile_topology:cap_edge` | 133 | 拉伸端盖边 selector | | `reference_plane:line_angle` | 123 | 线-角度基准面 | | `extrude_profile_topology:swept_face` | 99 | 侧壁面 selector | | `reference_plane:plane_point` | 47 | 平面-点基准面 | | `reference_plane:three_point` | 35 | 三点基准面 | | `reference_plane:mid_plane` | 25 | 两平面中面 | | `reference_plane:line_point` | 23 | 线-点基准面 | | `extrude_profile_topology:offset_face` | 18 | 偏移面 selector | | `extrude_profile_topology:swept_edge` | 16 | 侧壁边 selector | | `reference_plane:curve_point` | 13 | 曲线-点基准面 | | `extrude_profile_topology:mid_cap_edge` | 2 | 中性面端盖边 selector | ## P1:已有特征的未覆盖语义 | 特征 | 受影响样本 | 需要补足的能力 | | --- | ---: | --- | | `extrude` | 3,863 | 复杂 profile、拓扑引用和曲面/混合实体语义 | | `fillet` | 1,913 | 稳定边选择、切线传播、半径可行性 | | `revolve` | 742 | 轴选择、方向/角度、曲面模式和 profile 表达 | | `hole` | 623 | 孔型、螺纹、沉头/沉孔、终止条件和宿主面引用 | | `chamfer` | 588 | 距离-角度、双距离等参数及稳定边选择 | | `revolve_surface` | 367 | 曲面旋转及其与实体布尔的混合策略 | | `mirror` | 263 | source replay、镜像面引用和嵌套 pattern | | `cPlane` | 145 | 除 OFFSET 外的基准面构造和可重用 frame | ## P2:未覆盖的 FeatureScript 操作 | 能力缺口 | 需要补足的能力 | | --- | --- | | `draft` | 拔模面与中性面定义 | | `thicken` | 曲面加厚和方向控制 | | `split` | 面/实体分割与结果 body 管理 | | `moveFace` | 偏移、旋转、平移现有面 | | `deleteFace` | 删除面及修补策略 | | `replaceFace` | 面替换与拓扑更新 | | `derive` | 受控外部派生模型协议 | | `import` | 受控外部几何导入协议 | ## 补齐清单 ### 第一阶段 - [ ] 支持 B 样条草图和闭合 profile。 - [ ] 新增 `loft_add`。 - [ ] 新增 `shell`。 - [ ] 新增 `sweep_add`。 - [ ] 新增多 body boolean:union、subtract、intersect。 - [ ] 为以上 FeatureScript 操作完成 lowering、schema、executor、adapter、selector 和端到端回归。 ### 第二阶段 - [ ] 补齐 extrude 的 through-all、two-sided cut、up-to-surface、up-to-next、up-to-body、up-to-vertex。 - [ ] 支持 `revolve_surface` 和 surface/solid 混合策略。 - [ ] 补齐 `hole_wizard` 的 CADFS 孔型、螺纹和终止条件。 - [ ] 补齐 `fillet`/`chamfer` 的参数变体、可行性预检查和稳定失败诊断。 - [ ] 补齐 `circularPattern` 和 `mirror` 的 source replay、基准引用和嵌套 pattern。 ### 第三阶段 - [ ] 补齐 CAP、SWEPT、OFFSET、INTERSECT、MID_CAP 等面/边 selector。 - [ ] 补齐 line-angle、plane-point、three-point、mid-plane、line-point、curve-point 基准面。 - [ ] 补齐 selector 的 owner、几何签名和歧义解析。 ### 第四阶段 - [ ] 支持 `draft`、`thicken`、`split`。 - [ ] 支持 `moveFace`、`deleteFace`、`replaceFace`。 - [ ] 定义并实现 `derive`、`import` 的受控资产协议。