feat: 完善 STEP/B-Rep 一级关系参数化编辑
This commit is contained in:
@@ -163,6 +163,8 @@ def main() -> int:
|
||||
"Face 594" in feature_title and "拓扑 637" in feature_title,
|
||||
f"feature title should show logical and topological IDs: {feature_title}",
|
||||
)
|
||||
_assert("候选" not in feature_title, f"feature title should use a user-facing label, got: {feature_title}")
|
||||
_assert("可拉伸/切除平面" in feature_title, f"feature title should keep the editable feature name: {feature_title}")
|
||||
|
||||
face_probe = _probe("face", 637, info)
|
||||
_assert(
|
||||
@@ -174,6 +176,7 @@ def main() -> int:
|
||||
"Face 594" in face_title and "拓扑 637" in face_title,
|
||||
f"Face title should show logical and topological IDs: {face_title}",
|
||||
)
|
||||
_assert("候选" not in face_title, f"Face title should not expose candidate wording: {face_title}")
|
||||
|
||||
fallback_probe = _probe("feature", 637, {"face_region_logical_id": 594})
|
||||
_assert(fallback_probe._selected_id_text() == "face 594", "logical Face ID fallback should be copied")
|
||||
|
||||
Reference in New Issue
Block a user