Files
cdsl-cad/json_to_cdsl/output/068059.cdsl.json
T
2026-08-21 11:13:18 +08:00

1020 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "068059",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原點",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "草圖1",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-50.0,
-137.5
],
"end": [
50.0,
-137.5
]
},
{
"type": "line",
"start": [
50.0,
-137.5
],
"end": [
50.0,
137.5
]
},
{
"type": "line",
"start": [
50.0,
137.5
],
"end": [
-50.0,
137.5
]
},
{
"type": "line",
"start": [
-50.0,
137.5
],
"end": [
-50.0,
-137.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-50.0,
-137.5
],
"end": [
50.0,
137.5
]
},
{
"type": "line",
"start": [
-50.0,
137.5
],
"end": [
50.0,
-137.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
6.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
20.0,
-137.5
],
"end": [
20.0,
-87.5
]
},
{
"type": "line",
"start": [
20.0,
-87.5
],
"end": [
-0.0,
-87.5
]
},
{
"type": "line",
"start": [
-0.0,
-87.5
],
"end": [
-50.0,
47.5
]
},
{
"type": "line",
"start": [
-50.0,
47.5
],
"end": [
-50.0,
-137.5
]
},
{
"type": "line",
"start": [
-50.0,
-137.5
],
"end": [
20.0,
-137.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖15",
"role": "profile",
"workplane": {
"origin_mm": [
-6.0,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-20.0,
-137.5
],
"end": [
-32.0,
-137.5
]
},
{
"type": "line",
"start": [
-32.0,
-137.5
],
"end": [
-32.0,
-97.5
]
},
{
"type": "line",
"start": [
-32.0,
-97.5
],
"end": [
-20.0,
-97.5
]
},
{
"type": "line",
"start": [
-20.0,
-97.5
],
"end": [
-20.0,
-137.5
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前基準面",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上基準面",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "填料-伸長1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_003",
"name": "右基準面",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "M5 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-127.5,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M6 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
35.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "M5 螺紋孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
10.0,
-43.5,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "直線複製排列1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"source_feature_ids": [
"f_006",
"f_004"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 120.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Ø5.0 (5) 直徑孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
20.0,
0.0,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "直線複製排列2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_012",
"f_004"
],
"params": {
"source_feature_ids": [
"f_012",
"f_004"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 38.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "M4 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 4.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-26.0,
-132.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_016",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "Ø5.0 (5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
22.5,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "鏡射1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_003",
"f_010",
"f_009"
],
"params": {
"source_feature_ids": [
"f_010",
"f_009"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_015",
"name": "直線複製排列3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_014",
"f_004",
"f_005"
],
"params": {
"source_feature_ids": [
"f_014",
"f_004",
"f_005"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 8.0,
"pattern_count_1": 4
},
"execution_status": "deferred"
},
{
"id": "f_017",
"name": "圓角1",
"atomic_id": "fillet",
"depends_on": [
"f_016"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "068059.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.9127470167413934,
"volume": 0.00024366204034922208,
"surface_area": 0.05177762380495559,
"center_of_mass": [
0.00782029807946957,
0.02678420681253892,
2.4651153081732222e-05
],
"principal_moments": [
0.001223322691291548,
0.009672332737720913,
0.010849657363840448
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05000000000000001,
-0.13750000000000004,
-0.006000000000000001,
0.049999999999999996,
0.13749999999999998,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圓角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAA0AAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "481bb0c0cc1cd31c8f2e159a1f445f067ddb384df4665cfcb54ee77b9b04bf0b",
"component": null,
"geometry": {
"box": [
-0.05000000000000001,
-0.13750000000000004,
-0.006000000000000001,
0.049999999999999996,
0.13749999999999998,
0.006
],
"face_count": 35,
"edge_count": 61,
"vertex_count": 30
},
"stable_id": "481bb0c0cc1cd31c8f2e159a1f445f067ddb384df4665cfcb54ee77b9b04bf0b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cone": 16,
"cylinder": 29,
"plane": 12
},
"axis_count": 45,
"repeat_spacings_mm": [
{
"spacing_mm": 15.0,
"pair_count": 4
},
{
"spacing_mm": 120.639,
"pair_count": 4
},
{
"spacing_mm": 120.0,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 3
},
{
"spacing_mm": 18.0278,
"pair_count": 3
},
{
"spacing_mm": 71.5891,
"pair_count": 3
},
{
"spacing_mm": 12.4,
"pair_count": 3
},
{
"spacing_mm": 8.0,
"pair_count": 3
},
{
"spacing_mm": 21.2132,
"pair_count": 2
},
{
"spacing_mm": 40.0,
"pair_count": 2
},
{
"spacing_mm": 41.2311,
"pair_count": 2
},
{
"spacing_mm": 55.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-50.0,
-137.5,
-6.0,
50.0,
137.5,
6.0
],
"volume_mm3": 243662.040349222,
"surface_area_mm2": 51777.623804956,
"solid_count": 1,
"face_count": 57,
"edge_count": 133,
"vertex_count": 86
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-50.0,
-137.5,
-6.0,
50.0,
137.5,
6.0
],
"volume_mm3": 243662.040349222,
"surface_area_mm2": 51777.623804956,
"solid_count": 1,
"face_count": 35,
"edge_count": 61,
"vertex_count": 30
},
"comparisons": {
"volume_mm3": {
"expected": 243662.040349222,
"actual": 243662.040349222,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 51777.623804956,
"actual": 51777.623804956,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-50.0,
-137.5,
-6.0,
50.0,
137.5,
6.0
],
"actual": [
-50.0,
-137.5,
-6.0,
50.0,
137.5,
6.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 35,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 133,
"matches": false
},
"vertex_count": {
"expected": 30,
"actual": 86,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}