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

1464 lines
31 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "078069",
"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": [
0.0,
0.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
40.0,
60.0
]
},
{
"type": "line",
"start": [
40.0,
60.0
],
"end": [
0.0,
60.0
]
},
{
"type": "line",
"start": [
0.0,
60.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"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": [
0.0,
383.0
],
"end": [
25.0,
383.0
]
},
{
"type": "line",
"start": [
25.0,
383.0
],
"end": [
25.0,
20.0
]
},
{
"type": "line",
"start": [
25.0,
20.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
0.0,
20.0
],
"end": [
0.0,
383.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图16",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "circle",
"center": [
-353.0,
20.0
],
"radius_mm": 2.505
}
},
{
"id": "sk_005",
"name": "草图18",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circles",
"items": [
{
"center": [
20.0,
20.0
],
"radius_mm": 2.505
},
{
"center": [
20.0,
40.0
],
"radius_mm": 2.505
}
]
}
},
{
"id": "sk_006",
"name": "草图20",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "arc",
"start": [
22.505,
20.5
],
"end": [
17.495,
20.5
],
"center": [
20.0,
20.5
],
"radius_mm": 2.505,
"clockwise": false
},
{
"type": "line",
"start": [
17.495,
20.5
],
"end": [
17.495,
19.5
]
},
{
"type": "arc",
"start": [
17.495,
19.5
],
"end": [
22.505,
19.5
],
"center": [
20.0,
19.5
],
"radius_mm": 2.505,
"clockwise": false
},
{
"type": "line",
"start": [
22.505,
19.5
],
"end": [
22.505,
20.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
20.5
],
"end": [
20.0,
19.5
]
}
]
}
},
{
"id": "sk_007",
"name": "草图21",
"role": "profile",
"workplane": {
"origin_mm": [
0.0,
0.0,
-0.0
],
"x_dir": [
-0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
-0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
355.505,
20.5
],
"end": [
350.495,
20.5
],
"center": [
353.0,
20.5
],
"radius_mm": 2.505,
"clockwise": false
},
{
"type": "line",
"start": [
350.495,
20.5
],
"end": [
350.495,
19.5
]
},
{
"type": "arc",
"start": [
350.495,
19.5
],
"end": [
355.505,
19.5
],
"center": [
353.0,
19.5
],
"radius_mm": 2.505,
"clockwise": false
},
{
"type": "line",
"start": [
355.505,
19.5
],
"end": [
355.505,
20.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
353.0,
20.5
],
"end": [
353.0,
19.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": 383.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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"
},
{
"id": "f_011",
"name": "M4 六角凹头螺钉的柱形沉头孔4",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
10.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 19.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_016",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
35.0,
0.0,
141.5
]
},
{
"mm": [
35.0,
0.0,
161.5
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-a58a763ab70995f8baca51fa",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.0,
-0.0,
1.0,
39.0,
0.0,
382.0
],
"center_mm": [
31.280431245,
0.0,
178.658053297
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a58a763ab70995f8baca51fa",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.0,
-0.0,
1.0,
39.0,
0.0,
382.0
],
"center_mm": [
31.280431245,
0.0,
178.658053297
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
10.0,
50.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.0
},
"host_face": {
"kind": "face",
"stable_id": "step-face-a1bc0c438aae5c0344591f42",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
1.0,
1.0,
0.0,
39.0,
59.0,
0.0
],
"center_mm": [
20.302972835,
30.023822586,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a1bc0c438aae5c0344591f42",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
1.0,
1.0,
0.0,
39.0,
59.0,
0.0
],
"center_mm": [
20.302972835,
30.023822586,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M4 六角凹头螺钉的柱形沉头孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
368.0,
13.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
303.0,
15.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "阵列(线性)3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"source_feature_ids": [
"f_011",
"f_004"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 20.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "阵列(线性)5",
"atomic_id": "pattern_linear",
"depends_on": [
"f_014",
"f_004"
],
"params": {
"source_feature_ids": [
"f_014",
"f_004"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 20.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_018",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_019",
"name": "M4 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
30.0,
40.0,
383.0
]
},
{
"mm": [
30.0,
20.0,
383.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-1e771834f49960d5e97f2a52",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
26.0,
1.0,
383.0,
39.0,
59.0,
383.0
],
"center_mm": [
32.55803403,
30.0,
383.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-1e771834f49960d5e97f2a52",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
26.0,
1.0,
383.0,
39.0,
59.0,
383.0
],
"center_mm": [
32.55803403,
30.0,
383.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_021",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_014"
],
"params": {
"distance_mm": 19.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_022",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_006",
"f_005",
"f_004"
],
"direction_1": [
0.0,
-1.0,
0.0
],
"spacing_1_mm": 40.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004",
"f_005"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004",
"f_005"
],
"direction_1": [
0.0,
-1.0,
0.0
],
"spacing_1_mm": 34.0,
"pattern_count_1": 2,
"direction_2": [
0.0,
0.0,
1.0
],
"spacing_2_mm": 30.0,
"pattern_count_2": 2
},
"execution_status": "deferred"
},
{
"id": "f_017",
"name": "阵列(线性)6",
"atomic_id": "pattern_linear",
"depends_on": [
"f_010",
"f_004",
"f_005"
],
"params": {
"source_feature_ids": [
"f_010",
"f_004",
"f_005"
],
"direction_1": [
0.0,
0.0,
1.0
],
"spacing_1_mm": 60.0,
"pattern_count_1": 5
},
"execution_status": "deferred"
},
{
"id": "f_020",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_018"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "078069.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3664009386116657,
"volume": 0.00036640093861166573,
"surface_area": 0.06665251197369852,
"center_of_mass": [
0.031035336861657815,
0.030043114855625875,
0.1775382503221288
],
"principal_moments": [
0.00012541691333034193,
0.004929069544677483,
0.005022572676651079
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-1.3532347130578224e-18,
0.0,
0.04000000000000003,
0.06,
0.383
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAABEAAACCAAAAgQAAAH8AAAB+AAAAfQAAAHwAAAB5AAAAeAAAAHYAAAB1AAAAcwAAAHIAAABxAAAAbAAAAGsAAABmAAAAZQAAAA==",
"persist_reference_sha256": "be2df813f3f3d827376da94fdf608b7c63c63e6ef8a2311841a25951301ddada",
"component": null,
"geometry": {
"box": [
0.0,
-1.3532347130578224e-18,
0.0,
0.04000000000000003,
0.06,
0.383
],
"face_count": 87,
"edge_count": 158,
"vertex_count": 67
},
"stable_id": "be2df813f3f3d827376da94fdf608b7c63c63e6ef8a2311841a25951301ddada"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 123,
"surface_counts": {
"cone": 14,
"cylinder": 62,
"plane": 47
},
"axis_count": 76,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 8
},
{
"spacing_mm": 15.0,
"pair_count": 5
},
{
"spacing_mm": 373.268,
"pair_count": 4
},
{
"spacing_mm": 373.1675,
"pair_count": 4
},
{
"spacing_mm": 353.1833,
"pair_count": 4
},
{
"spacing_mm": 353.0771,
"pair_count": 4
},
{
"spacing_mm": 37.4166,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 25.0,
"pair_count": 4
},
{
"spacing_mm": 45.8148,
"pair_count": 3
},
{
"spacing_mm": 24.4949,
"pair_count": 3
},
{
"spacing_mm": 120.0,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
-0.0,
40.0,
60.0,
383.0
],
"volume_mm3": 366400.938611666,
"surface_area_mm2": 66652.511973699,
"solid_count": 1,
"face_count": 123,
"edge_count": 286,
"vertex_count": 181
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-0.0,
0.0,
40.0,
60.0,
383.0
],
"volume_mm3": 366400.938611666,
"surface_area_mm2": 66652.511973699,
"solid_count": 1,
"face_count": 87,
"edge_count": 158,
"vertex_count": 67
},
"comparisons": {
"volume_mm3": {
"expected": 366400.938611666,
"actual": 366400.938611666,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 66652.511973699,
"actual": 66652.511973699,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-0.0,
0.0,
40.0,
60.0,
383.0
],
"actual": [
-0.0,
-0.0,
-0.0,
40.0,
60.0,
383.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 87,
"actual": 123,
"matches": false
},
"edge_count": {
"expected": 158,
"actual": 286,
"matches": false
},
"vertex_count": {
"expected": 67,
"actual": 181,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}