feat: 增强一级关系识别与保持关系策略
This commit is contained in:
@@ -17,6 +17,7 @@ USER_OPERATION_PRIORITY: dict[str, int] = {
|
||||
"resize_boss_height": 41,
|
||||
"move_boss_axis": 44,
|
||||
"inspect_existing_fillet": 50,
|
||||
"inspect_existing_chamfer": 51,
|
||||
"fillet_edge": 52,
|
||||
"chamfer_edge": 53,
|
||||
"resize_shell_thickness": 60,
|
||||
@@ -77,6 +78,9 @@ def feature_recognition_priority(info: Mapping[str, object]) -> int:
|
||||
|
||||
combined_text = ";".join(item for item in (feature_type, feature_actions, ready_actions) if item)
|
||||
|
||||
if _text(info.get("existing_chamfer_status")) == "candidate" or feature_guess == "chamfer candidate":
|
||||
return 50
|
||||
|
||||
if surface == "plane":
|
||||
return 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user