重构 改为标准化输出
This commit is contained in:
@@ -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"]},
|
||||
|
||||
Reference in New Issue
Block a user