重构 改为标准化输出

This commit is contained in:
2026-09-01 14:10:23 +08:00
parent 7533b298f1
commit bc87bd6d2d
10151 changed files with 1709487 additions and 11776 deletions
@@ -131,7 +131,7 @@ class PatternTransformContractTests(unittest.TestCase):
"id": "hole_1", "atomic_id": "hole_wizard", "depends_on": ["base_add"],
"params": {
"hole_type": "简单直孔", "diameter_mm": 2.0, "depth_mm": 10.0,
"end_condition": {"type": "blind"},
"end_condition": {"type": "blind", "solidworks_code": 0},
"positions": [{"mm": [0.0, 0.0, 10.0]}],
"host_face": {
"kind": "face", "stable_id": "top", "source": "inferred_from_step",
@@ -247,7 +247,7 @@ class PatternTransformContractTests(unittest.TestCase):
"id": "hole_1", "atomic_id": "hole_wizard", "depends_on": ["base_add"],
"params": {
"hole_type": "简单直孔", "diameter_mm": 2.0, "depth_mm": 10.0,
"end_condition": {"type": "blind"},
"end_condition": {"type": "blind", "solidworks_code": 0},
"positions": [{"mm": [0.0, 0.0, 10.0]}],
"host_face": {"kind": "face", "stable_id": "top", "source": "inferred_from_step",
"confidence": 1, "geometry": top_face["geometry"]},