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

1057 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "105984",
"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": "Sketch1",
"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": [
-92.5,
172.0
],
"end": [
92.5,
172.0
]
},
{
"type": "line",
"start": [
92.5,
172.0
],
"end": [
92.5,
-172.0
]
},
{
"type": "line",
"start": [
92.5,
-172.0
],
"end": [
-92.5,
-172.0
]
},
{
"type": "line",
"start": [
-92.5,
-172.0
],
"end": [
-92.5,
172.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-92.5,
0.0
],
"end": [
92.5,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "circles",
"items": [
{
"center": [
-42.5,
-164.5
],
"radius_mm": 3.0
},
{
"center": [
42.5,
-164.5
],
"radius_mm": 3.0
},
{
"center": [
42.5,
164.5
],
"radius_mm": 3.0
},
{
"center": [
-42.5,
164.5
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_004",
"name": "草图10",
"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": "circles",
"items": [
{
"center": [
-69.75,
-35.5
],
"radius_mm": 2.0
},
{
"center": [
-57.75,
-35.5
],
"radius_mm": 2.0
},
{
"center": [
-69.75,
154.5
],
"radius_mm": 2.0
},
{
"center": [
-57.75,
154.5
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_005",
"name": "草图13",
"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": "circles",
"items": [
{
"center": [
69.5,
95.0
],
"radius_mm": 3.0
},
{
"center": [
9.5,
95.0
],
"radius_mm": 3.0
},
{
"center": [
80.5,
70.0
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_006",
"name": "草图22",
"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": "circles",
"items": [
{
"center": [
57.75,
-35.5
],
"radius_mm": 2.0
},
{
"center": [
69.75,
-35.5
],
"radius_mm": 2.0
},
{
"center": [
57.75,
154.5
],
"radius_mm": 2.0
},
{
"center": [
69.75,
154.5
],
"radius_mm": 2.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": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 14.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M8 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 9.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
82.5,
164.5,
0.0
]
},
{
"mm": [
0.0,
164.5,
0.0
]
},
{
"mm": [
-82.5,
164.5,
0.0
]
},
{
"mm": [
82.5,
-164.5,
0.0
]
},
{
"mm": [
0.0,
-164.5,
0.0
]
},
{
"mm": [
-82.5,
-164.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 14.8,
"depth_mm": 8.6
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 83.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-79.5,
0.0,
0.0
]
},
{
"mm": [
-60.5,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"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": [
11.25,
145.0,
0.0
]
},
{
"mm": [
11.25,
105.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
60.0,
0.0,
0.0
]
},
{
"mm": [
79.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M6 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-48.75,
35.5,
0.0
]
},
{
"mm": [
-78.75,
35.5,
0.0
]
},
{
"mm": [
-48.75,
-154.5,
0.0
]
},
{
"mm": [
-78.75,
-154.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 8.6
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 32.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_013",
"name": "M5 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-20.75,
86.0,
0.0
]
},
{
"mm": [
-20.75,
54.0,
0.0
]
},
{
"mm": [
-56.75,
54.0,
0.0
]
},
{
"mm": [
-56.75,
86.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "105984.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.8696962828429564,
"volume": 0.0008696962828429564,
"surface_area": 0.14965904015990789,
"center_of_mass": [
-0.0004952007616209948,
2.7085547882344794e-05,
7.40243928591595e-05
],
"principal_moments": [
0.0024728336480557933,
0.008375542069748568,
0.010819919549068266
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0925,
-0.007,
-0.172,
0.0925,
0.007000000000000006,
0.172
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 六角凹头螺钉的柱形沉头孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB7AAAAegAAAHkAAAB4AAAAdwAAAHYAAAB1AAAAcQAAAHAAAABvAAAA",
"persist_reference_sha256": "aa457649fa73b4b69aec54a4216127ed04f29d305c0c762603e0324454a0b259",
"component": null,
"geometry": {
"box": [
-0.0925,
-0.007,
-0.172,
0.0925,
0.007000000000000006,
0.172
],
"face_count": 71,
"edge_count": 104,
"vertex_count": 16
},
"stable_id": "aa457649fa73b4b69aec54a4216127ed04f29d305c0c762603e0324454a0b259"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 119,
"surface_counts": {
"cone": 8,
"cylinder": 89,
"plane": 22
},
"axis_count": 97,
"repeat_spacings_mm": [
{
"spacing_mm": 329.0,
"pair_count": 5
},
{
"spacing_mm": 190.0,
"pair_count": 4
},
{
"spacing_mm": 193.8169,
"pair_count": 4
},
{
"spacing_mm": 192.886,
"pair_count": 4
},
{
"spacing_mm": 38.2753,
"pair_count": 4
},
{
"spacing_mm": 33.2415,
"pair_count": 4
},
{
"spacing_mm": 19.0,
"pair_count": 4
},
{
"spacing_mm": 341.6577,
"pair_count": 4
},
{
"spacing_mm": 341.9594,
"pair_count": 4
},
{
"spacing_mm": 361.6006,
"pair_count": 4
},
{
"spacing_mm": 92.1358,
"pair_count": 4
},
{
"spacing_mm": 93.2483,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-92.5,
-7.0,
-172.0,
92.5,
7.0,
172.0
],
"volume_mm3": 869696.282842957,
"surface_area_mm2": 149659.040159908,
"solid_count": 1,
"face_count": 119,
"edge_count": 287,
"vertex_count": 190
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-92.5,
-7.0,
-172.0,
92.5,
7.0,
172.0
],
"volume_mm3": 869696.282842956,
"surface_area_mm2": 149659.040159908,
"solid_count": 1,
"face_count": 71,
"edge_count": 104,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 869696.282842956,
"actual": 869696.282842957,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 149659.040159908,
"actual": 149659.040159908,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-92.5,
-7.0,
-172.0,
92.5,
7.0,
172.0
],
"actual": [
-92.5,
-7.0,
-172.0,
92.5,
7.0,
172.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 71,
"actual": 119,
"matches": false
},
"edge_count": {
"expected": 104,
"actual": 287,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 190,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}