feat: 推进一级关系参数化编辑与参数导出

This commit is contained in:
2026-08-13 17:50:20 +08:00
parent 19364d81b5
commit 7d814d2939
21 changed files with 2075 additions and 231 deletions
+25 -1
View File
@@ -55,6 +55,13 @@ def main() -> int:
)
assert_keys(
{"surface": "plane"},
(
"face_center_position",
"face_target_normal_position",
),
)
assert_keys(
{"surface": "plane", "local_face_size_edit_ready": True},
(
"local_face_width",
"local_face_height",
@@ -64,6 +71,14 @@ def main() -> int:
)
assert_keys(
{"surface": "plane", "shell_region_status": "candidate"},
(
"face_center_position",
"face_target_normal_position",
"shell_thickness_estimate",
),
)
assert_keys(
{"surface": "plane", "shell_region_status": "candidate", "local_face_size_edit_ready": True},
(
"local_face_width",
"local_face_height",
@@ -78,7 +93,16 @@ def main() -> int:
"prismatic_profile_status": "candidate",
"prismatic_extrusion_status": "candidate",
},
("local_face_width", "local_face_height", "shell_thickness_estimate"),
("face_target_normal_position", "shell_thickness_estimate"),
)
assert_keys(
{
"surface": "plane",
"prismatic_profile_status": "candidate",
"prismatic_extrusion_status": "candidate",
"local_face_size_edit_ready": True,
},
("local_face_width", "local_face_height", "face_target_normal_position", "shell_thickness_estimate"),
)
assert_keys(
{"surface": "torus"},