feat: 增加Face偏移保持一级关系策略
This commit is contained in:
@@ -3594,6 +3594,24 @@ class WindowStateMixin:
|
||||
"target_transform": "plane_target_position_to_offset",
|
||||
"transform_context": {"current_plane_position": current_plane_position},
|
||||
},
|
||||
"keep_relations": {
|
||||
"label": "保持关系",
|
||||
"action": "push_pull_face_keep_relations",
|
||||
"target_attr": "offset_input",
|
||||
"enabled": current_plane_position is not None,
|
||||
"enabled_tip": (
|
||||
"输入偏移的目标位置;程序会沿当前 Face 法向拉伸/切除,"
|
||||
"并要求一级相邻平面的平行/垂直关系可验证。"
|
||||
),
|
||||
"disabled_tip": "当前平面缺少稳定移动方向或基准点,不能保持一级平面关系。",
|
||||
"range_hint": (
|
||||
"这是带约束守门的拉伸/切除:只支持直接相邻平面关系清楚、且关系为平行/垂直的一级邻域;"
|
||||
"遇到非平面相邻面、斜交关系或复杂多边界慢计划会直接阻止。"
|
||||
f"{face_offset_hard_limit}"
|
||||
),
|
||||
"target_transform": "plane_target_position_to_offset",
|
||||
"transform_context": {"current_plane_position": current_plane_position},
|
||||
},
|
||||
"local": {
|
||||
"label": "局部重建",
|
||||
"action": "move_selected_face_plane_position_local",
|
||||
|
||||
Reference in New Issue
Block a user