feat: 完善 Face 一级关系编辑和稳定性校验

This commit is contained in:
2026-08-04 18:15:29 +08:00
parent 5799d5d813
commit a76282d7dd
28 changed files with 6872 additions and 270 deletions
@@ -94,6 +94,9 @@ def main() -> int:
scope_ids = tuple(plan.get("push_pull_scope_face_ids", ()))
if set(scope_ids) != set(top_faces):
raise SystemExit(f"expected push/pull scope {top_faces}, got {scope_ids}")
scope_area = float(plan.get("push_pull_scope_area") or 0.0)
if abs(scope_area - 100.0) > args.tolerance:
raise SystemExit(f"expected push/pull scope area 100, got {scope_area:g}")
if plan["status"] == "blocked":
raise SystemExit(f"coplanar push/pull plan was blocked: {plan['message']}")