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

1177 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "128688",
"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,
-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": [
52.5,
-6.0
],
"end": [
-52.5,
-6.0
]
},
{
"type": "line",
"start": [
-52.5,
-6.0
],
"end": [
-52.5,
104.0
]
},
{
"type": "line",
"start": [
-52.5,
104.0
],
"end": [
52.5,
104.0
]
},
{
"type": "line",
"start": [
52.5,
104.0
],
"end": [
52.5,
-6.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-30.5,
0.0
],
"radius_mm": 2.5
},
{
"center": [
30.5,
0.0
],
"radius_mm": 2.5
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-21.5,
69.5
],
"radius_mm": 2.0
},
{
"center": [
-21.5,
35.5
],
"radius_mm": 2.0
},
{
"center": [
22.5,
69.5
],
"radius_mm": 2.0
},
{
"center": [
22.5,
35.5
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_005",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-33.5,
63.0
],
"end": [
-52.5,
63.0
]
},
{
"type": "line",
"start": [
-52.5,
63.0
],
"end": [
-52.5,
42.0
]
},
{
"type": "line",
"start": [
-52.5,
42.0
],
"end": [
-33.5,
42.0
]
},
{
"type": "line",
"start": [
-33.5,
42.0
],
"end": [
-33.5,
63.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
33.5,
63.0
],
"end": [
33.5,
42.0
]
},
{
"type": "line",
"start": [
33.5,
42.0
],
"end": [
52.5,
42.0
]
},
{
"type": "line",
"start": [
52.5,
42.0
],
"end": [
52.5,
63.0
]
},
{
"type": "line",
"start": [
52.5,
63.0
],
"end": [
33.5,
63.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
104.0
],
"end": [
0.0,
-6.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_004",
"name": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 10.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": "M6 六角凹头螺钉的柱形沉头孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-36.5,
11.5,
0.0
]
},
{
"mm": [
-36.5,
93.5,
0.0
]
},
{
"mm": [
-6.5,
93.5,
0.0
]
},
{
"mm": [
-6.5,
11.5,
0.0
]
},
{
"mm": [
7.5,
11.5,
0.0
]
},
{
"mm": [
37.5,
11.5,
0.0
]
},
{
"mm": [
37.5,
93.5,
0.0
]
},
{
"mm": [
7.5,
93.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-47.5,
12.0,
0.0
]
},
{
"mm": [
-47.5,
35.0,
0.0
]
},
{
"mm": [
-47.5,
70.0,
0.0
]
},
{
"mm": [
-47.5,
93.0,
0.0
]
},
{
"mm": [
-44.5,
0.0,
0.0
]
},
{
"mm": [
-14.5,
0.0,
0.0
]
},
{
"mm": [
14.5,
0.0,
0.0
]
},
{
"mm": [
44.5,
0.0,
0.0
]
},
{
"mm": [
47.5,
12.0,
0.0
]
},
{
"mm": [
47.5,
35.0,
0.0
]
},
{
"mm": [
47.5,
70.0,
0.0
]
},
{
"mm": [
47.5,
93.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 9.0,
"depth_mm": 5.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"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_008",
"name": "切除-拉伸2",
"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_004"
},
{
"id": "f_009",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 24.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"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": [
-24.5,
75.0,
0.0
]
},
{
"mm": [
-34.5,
75.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-53d53740dc1bfc6d5adac67a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
0.0
],
"center_mm": [
0.033971429,
49.152983904,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_009"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "128688.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09601044471790879,
"volume": 9.601044471790879e-05,
"surface_area": 0.031149984021106393,
"center_of_mass": [
2.38688930379331e-05,
0.04945460564277985,
0.00489557557341962
],
"principal_moments": [
7.727709788970279e-05,
9.91956042817792e-05,
0.00017486393844994412
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0525,
-0.0059999999999999915,
0.0,
0.0525,
0.10400000000000002,
0.010000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAAB2AAAAdQAAAHQAAABzAAAAcgAAAHEAAABvAAAA",
"persist_reference_sha256": "7d5cea48ae16598b21d8c3fecf415e93490287989cda57e884e0202389bc69b9",
"component": null,
"geometry": {
"box": [
-0.0525,
-0.005999999999999985,
0.0,
0.0525,
0.10400000000000002,
0.010000000000000002
],
"face_count": 90,
"edge_count": 156,
"vertex_count": 40
},
"stable_id": "7d5cea48ae16598b21d8c3fecf415e93490287989cda57e884e0202389bc69b9"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 138,
"surface_counts": {
"cylinder": 100,
"plane": 38
},
"axis_count": 100,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0167,
"pair_count": 8
},
{
"spacing_mm": 60.7371,
"pair_count": 8
},
{
"spacing_mm": 44.0,
"pair_count": 6
},
{
"spacing_mm": 30.0,
"pair_count": 6
},
{
"spacing_mm": 75.6637,
"pair_count": 4
},
{
"spacing_mm": 64.4748,
"pair_count": 4
},
{
"spacing_mm": 83.3367,
"pair_count": 4
},
{
"spacing_mm": 65.6125,
"pair_count": 4
},
{
"spacing_mm": 38.9487,
"pair_count": 4
},
{
"spacing_mm": 23.0,
"pair_count": 4
},
{
"spacing_mm": 58.0,
"pair_count": 4
},
{
"spacing_mm": 95.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
10.0
],
"volume_mm3": 96010.444717909,
"surface_area_mm2": 31149.984021106,
"solid_count": 1,
"face_count": 138,
"edge_count": 348,
"vertex_count": 232
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
10.0
],
"volume_mm3": 96010.444717909,
"surface_area_mm2": 31149.984021106,
"solid_count": 1,
"face_count": 90,
"edge_count": 156,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 96010.444717909,
"actual": 96010.444717909,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 31149.984021106,
"actual": 31149.984021106,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
10.0
],
"actual": [
-52.5,
-6.0,
0.0,
52.5,
104.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 90,
"actual": 138,
"matches": false
},
"edge_count": {
"expected": 156,
"actual": 348,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 232,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}