feat: 完善 SCDM-first 参数化编辑交付版
This commit is contained in:
@@ -52,11 +52,11 @@ def summarize_scdm_runtime(
|
||||
reason = message or "未拿到 SCDM 识别结果"
|
||||
detail = f"识别未启用:{reason};当前使用本软件已有能力。"
|
||||
elif state == "deferred":
|
||||
detail = message or "大模型已延后 SCDM 全量识别,优先保证查看、旋转和点选流畅。"
|
||||
detail = message or "已延后 SCDM 全量识别,优先保证导入显示、旋转和点选流畅。"
|
||||
elif state == "stale":
|
||||
detail = message or "缓存已失效,导入、编辑、撤销或重做后会后台重新识别。"
|
||||
detail = message or "缓存已失效,用户选择对象后会按需重新识别。"
|
||||
else:
|
||||
detail = "导入 STEP 后会尝试启动 SCDM 识别;找不到时使用 OCCT/Analysis Situs 兜底。"
|
||||
detail = "导入 STEP 后先显示模型;用户选择对象后再按需启动 SCDM 识别。"
|
||||
|
||||
tooltip_lines = [headline, detail]
|
||||
if path:
|
||||
@@ -83,6 +83,8 @@ def summarize_scdm_capability_progress(
|
||||
execution_ready: bool | set[str] | list[str] | tuple[str, ...] = False,
|
||||
) -> dict[str, object]:
|
||||
ready_keys = _execution_ready_keys(execution_ready)
|
||||
# 这里把“识别到”“计划中”“几何 hint”和“可执行”分开统计。
|
||||
# 客户界面只展示能稳定解释的进度,不能把 SCDM/raw hint 直接包装成可改参数。
|
||||
detection_counts = _cache_capability_counts(feature_cache)
|
||||
blocked_counts = _cache_blocked_capability_counts(feature_cache)
|
||||
planned_counts = _planned_capability_counts(feature_cache)
|
||||
|
||||
Reference in New Issue
Block a user