feat: 完善 Face 一级编辑与隔离计算

This commit is contained in:
2026-08-05 15:08:16 +08:00
parent a76282d7dd
commit ed1faf51d8
28 changed files with 3740 additions and 876 deletions
+6 -6
View File
@@ -536,7 +536,7 @@ class FeatureMixin:
"confidence": item["confidence"],
"note": (
"这是完整圆柱凸台候选;点击后会选中该 face,可在当前选中对象里修改凸台高度。"
"执行时会拉识别到的端盖 Face。"
"执行时会拉伸/切除识别到的端盖 Face。"
),
}
)
@@ -681,11 +681,11 @@ class FeatureMixin:
confidence = "pending"
risk = "medium"
status = "caution"
note = "快速扫描:拉方向会在选中Face或执行编辑前再详细判断。"
note = "快速扫描:拉伸/切除方向会在选中Face或执行编辑前再详细判断。"
candidates.append(
{
"operation_key": "push_pull_plane",
"operation": "拉平面",
"operation": "伸/切除平面",
"target_kind": "face",
"target_id": face_id,
"face_id": face_id,
@@ -710,7 +710,7 @@ class FeatureMixin:
candidates.append(
{
"operation_key": "resize_shell_thickness",
"operation": "调整薄壁厚度",
"operation": "调整壳体厚度",
"target_kind": "face",
"target_id": face_id,
"face_id": face_id,
@@ -725,7 +725,7 @@ class FeatureMixin:
"confidence": shell_confidence,
"note": (
"快速扫描:已找到投影重叠的相对平面;点击后会填入参考目标厚度,"
"执行时会移动当前平面区域来改变局部薄壁/壳体厚度。"
"执行时会移动当前平面区域来改变局部壳体厚度。"
),
}
)
@@ -2591,7 +2591,7 @@ class FeatureMixin:
if not bottom_face_ids:
return {
"context_status": "blocked",
"context_message": "当前版本的孔深调整需要疑似底面;如果自动识别失败,请手动填写底面Face ID。",
"context_message": "当前版本的孔深调整需要疑似底面;如果自动识别失败,请手动填写底面 Face ID。",
}
cyl = surf.Cylinder()