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

1288 lines
27 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "202122",
"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": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
900.0,
500.0
],
"end": [
-500.0,
500.0
]
},
{
"type": "line",
"start": [
-500.0,
500.0
],
"end": [
-500.0,
-700.0
]
},
{
"type": "line",
"start": [
-500.0,
-700.0
],
"end": [
900.0,
-700.0
]
},
{
"type": "line",
"start": [
900.0,
-700.0
],
"end": [
900.0,
500.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图28",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-1000.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
266.0,
-162.5
],
"radius_mm": 23.600417422
}
},
{
"id": "sk_004",
"name": "草图37",
"role": "profile",
"workplane": {
"origin_mm": [
-500.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": [
-900.0,
0.0
],
"end": [
500.0,
0.0
]
},
{
"type": "line",
"start": [
500.0,
0.0
],
"end": [
500.0,
20.0
]
},
{
"type": "line",
"start": [
500.0,
20.0
],
"end": [
-900.0,
20.0
]
},
{
"type": "line",
"start": [
-900.0,
20.0
],
"end": [
-900.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图45",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
837.923647832,
838.0
],
"end": [
807.923647832,
838.0
]
},
{
"type": "line",
"start": [
807.923647832,
838.0
],
"end": [
807.923647832,
788.0
]
},
{
"type": "line",
"start": [
807.923647832,
788.0
],
"end": [
837.923647832,
788.0
]
},
{
"type": "line",
"start": [
837.923647832,
788.0
],
"end": [
837.923647832,
838.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图46",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
199.952076979,
-231.875270426
],
"radius_mm": 25.0
}
},
{
"id": "sk_007",
"name": "草图51",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-100.0,
350.0
],
"end": [
500.0,
350.0
]
},
{
"type": "line",
"start": [
500.0,
350.0
],
"end": [
500.0,
-150.0
]
},
{
"type": "line",
"start": [
500.0,
-150.0
],
"end": [
-100.0,
-150.0
]
},
{
"type": "line",
"start": [
-100.0,
-150.0
],
"end": [
-100.0,
350.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-100.0,
350.0
],
"end": [
500.0,
-150.0
]
},
{
"type": "line",
"start": [
-100.0,
-150.0
],
"end": [
500.0,
350.0
]
}
]
}
},
{
"id": "sk_008",
"name": "草图52",
"role": "profile",
"workplane": {
"origin_mm": [
-900.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": [
-900.0,
20.0
],
"end": [
-900.0,
0.0
]
},
{
"type": "line",
"start": [
-900.0,
0.0
],
"end": [
500.0,
0.0
]
},
{
"type": "line",
"start": [
500.0,
0.0
],
"end": [
500.0,
20.0
]
},
{
"type": "line",
"start": [
500.0,
20.0
],
"end": [
-900.0,
20.0
]
}
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸9",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 400.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "M12 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 12.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-149.882968551,
136.701010687,
0.0
]
},
{
"mm": [
-239.882753951,
136.504471132,
0.0
]
},
{
"mm": [
-329.882539352,
136.307931577,
0.0
]
},
{
"mm": [
-330.231943006,
296.307550067,
0.0
]
},
{
"mm": [
-240.232157605,
296.504089622,
0.0
]
},
{
"mm": [
-150.232372204,
296.700629178,
0.0
]
}
],
"thread": {
"diameter_mm": 12.0,
"depth_mm": 20.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M8 六角头螺栓的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Hex head bolts GB/T5782-2000 ",
"diameter_mm": 8.4,
"depth_mm": 25.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-470.0,
-650.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 14.0,
"depth_mm": 8.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "Ø8.5 (8.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 8.5,
"depth_mm": 25.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-42.0,
-150.0,
0.0
]
},
{
"mm": [
-42.0,
-190.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "切除-拉伸13",
"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": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "M8 六角头螺栓的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Hex head bolts GB/T5782-2000 ",
"diameter_mm": 8.5,
"depth_mm": 24.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-200.0,
-670.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 14.0,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M12 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 12.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
313.0,
813.0,
0.0
]
},
{
"mm": [
87.0,
813.0,
0.0
]
},
{
"mm": [
87.0,
587.0,
0.0
]
},
{
"mm": [
313.0,
587.0,
0.0
]
}
],
"thread": {
"diameter_mm": 12.0,
"depth_mm": 20.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"source_feature_ids": [
"f_009",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1340.0,
"pattern_count_1": 2,
"direction_2": [
0.0,
0.0,
-1.0
],
"spacing_2_mm": 370.0,
"pattern_count_2": 5
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "切除-拉伸12",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_016",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_015",
"f_004"
],
"params": {
"source_feature_ids": [
"f_015",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 400.0,
"pattern_count_1": 3,
"direction_2": [
0.0,
0.0,
-1.0
],
"spacing_2_mm": 1540.0,
"pattern_count_2": 2
},
"execution_status": "deferred"
},
{
"id": "f_017",
"name": "切除-拉伸14",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_018",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 600.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_014",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_012"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "202122.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 55.46763044017851,
"volume": 0.05546763044017851,
"surface_area": 5.762683716839954,
"center_of_mass": [
0.19991462894564424,
0.010000283187858061,
-0.4330421174193623
],
"principal_moments": [
9.856636771452953,
24.07989346879663,
33.93283265536421
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.5000000000000003,
0.0,
-1.5,
0.8999999999999998,
0.02,
0.7000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAA4AAACWAAAAlQAAAJMAAACSAAAAkAAAAI8AAACNAAAAjAAAAIEAAACLAAAAigAAAIkAAACAAAAAagAAAA==",
"persist_reference_sha256": "6a15fe60144e938fd000b8bef502af3ca19f5001978fcec06696a1dd3567e232",
"component": null,
"geometry": {
"box": [
-0.5000000000000003,
0.0,
-1.5,
0.8999999999999998,
0.02,
0.7
],
"face_count": 82,
"edge_count": 144,
"vertex_count": 36
},
"stable_id": "6a15fe60144e938fd000b8bef502af3ca19f5001978fcec06696a1dd3567e232"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 128,
"surface_counts": {
"cylinder": 96,
"plane": 32
},
"axis_count": 96,
"repeat_spacings_mm": [
{
"spacing_mm": 370.0,
"pair_count": 8
},
{
"spacing_mm": 1390.1439,
"pair_count": 8
},
{
"spacing_mm": 740.0,
"pair_count": 6
},
{
"spacing_mm": 1530.7514,
"pair_count": 6
},
{
"spacing_mm": 1340.0,
"pair_count": 5
},
{
"spacing_mm": 400.0,
"pair_count": 4
},
{
"spacing_mm": 1591.1002,
"pair_count": 4
},
{
"spacing_mm": 1110.0,
"pair_count": 4
},
{
"spacing_mm": 1740.0287,
"pair_count": 4
},
{
"spacing_mm": 90.0,
"pair_count": 4
},
{
"spacing_mm": 183.5756,
"pair_count": 4
},
{
"spacing_mm": 226.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-500.0,
0.0,
-1500.0,
900.0,
20.0,
700.0
],
"volume_mm3": 55467630.44017846,
"surface_area_mm2": 5762683.716839937,
"solid_count": 1,
"face_count": 128,
"edge_count": 327,
"vertex_count": 218
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-500.0,
0.0,
-1500.0,
900.0,
20.0,
700.0
],
"volume_mm3": 55467630.440178506,
"surface_area_mm2": 5762683.716839953,
"solid_count": 1,
"face_count": 82,
"edge_count": 144,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 55467630.440178506,
"actual": 55467630.44017846,
"absolute_delta": 4.470348358154297e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5762683.716839953,
"actual": 5762683.716839937,
"absolute_delta": 1.6763806343078613e-08,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-500.0,
0.0,
-1500.0,
900.0,
20.0,
700.0
],
"actual": [
-500.0,
0.0,
-1500.0,
900.0,
20.0,
700.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 82,
"actual": 128,
"matches": false
},
"edge_count": {
"expected": 144,
"actual": 327,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 218,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}