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

1631 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "144846",
"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": [
-186.0,
-141.5
],
"end": [
186.0,
-141.5
]
},
{
"type": "line",
"start": [
186.0,
-141.5
],
"end": [
186.0,
141.5
]
},
{
"type": "line",
"start": [
186.0,
141.5
],
"end": [
-186.0,
141.5
]
},
{
"type": "line",
"start": [
-186.0,
141.5
],
"end": [
-186.0,
-141.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-186.0,
-141.5
],
"end": [
186.0,
141.5
]
},
{
"type": "line",
"start": [
-186.0,
141.5
],
"end": [
186.0,
-141.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
186.0,
-71.5
],
"end": [
144.0,
-71.5
]
},
{
"type": "line",
"start": [
144.0,
-71.5
],
"end": [
144.0,
17.5
]
},
{
"type": "line",
"start": [
144.0,
17.5
],
"end": [
186.0,
17.5
]
},
{
"type": "line",
"start": [
186.0,
17.5
],
"end": [
186.0,
-71.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
186.0,
141.5
],
"end": [
186.0,
17.5
]
},
{
"type": "line",
"start": [
186.0,
-141.5
],
"end": [
186.0,
-71.5
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "circles",
"items": [
{
"center": [
-126.0,
81.5
],
"radius_mm": 6.0
},
{
"center": [
-126.0,
-38.5
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [],
"construction": [
{
"type": "line",
"start": [
7.5,
141.5
],
"end": [
7.5,
133.5
]
},
{
"type": "line",
"start": [
7.5,
133.5
],
"end": [
7.5,
85.5
]
},
{
"type": "line",
"start": [
7.5,
85.5
],
"end": [
7.5,
37.5
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"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": "circles",
"items": [
{
"center": [
181.0,
-101.5
],
"radius_mm": 2.6
},
{
"center": [
151.0,
-101.5
],
"radius_mm": 2.6
},
{
"center": [
166.0,
-86.5
],
"radius_mm": 2.6
},
{
"center": [
166.0,
-116.5
],
"radius_mm": 2.6
},
{
"center": [
139.0,
109.5
],
"radius_mm": 2.6
},
{
"center": [
139.0,
29.5
],
"radius_mm": 2.6
},
{
"center": [
139.0,
-50.5
],
"radius_mm": 2.6
},
{
"center": [
139.0,
-130.5
],
"radius_mm": 2.6
},
{
"center": [
124.0,
-131.5
],
"radius_mm": 4.25
},
{
"center": [
24.0,
-131.5
],
"radius_mm": 4.25
},
{
"center": [
-76.0,
-131.5
],
"radius_mm": 4.25
},
{
"center": [
-176.0,
-131.5
],
"radius_mm": 4.25
},
{
"center": [
-41.5,
88.5
],
"radius_mm": 3.25
},
{
"center": [
-10.5,
88.5
],
"radius_mm": 3.25
},
{
"center": [
-41.5,
48.5
],
"radius_mm": 3.25
},
{
"center": [
-10.5,
48.5
],
"radius_mm": 3.25
}
]
}
},
{
"id": "sk_007",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
-139.0,
109.5
],
"radius_mm": 4.5
},
{
"center": [
-139.0,
29.5
],
"radius_mm": 4.5
},
{
"center": [
-139.0,
-50.5
],
"radius_mm": 4.5
},
{
"center": [
-139.0,
-130.5
],
"radius_mm": 4.5
},
{
"center": [
-166.0,
-116.5
],
"radius_mm": 4.5
},
{
"center": [
-151.0,
-101.5
],
"radius_mm": 4.5
},
{
"center": [
-166.0,
-86.5
],
"radius_mm": 4.5
},
{
"center": [
-181.0,
-101.5
],
"radius_mm": 4.5
},
{
"center": [
-124.0,
-131.5
],
"radius_mm": 7.0
},
{
"center": [
-24.0,
-131.5
],
"radius_mm": 7.0
},
{
"center": [
76.0,
-131.5
],
"radius_mm": 7.0
},
{
"center": [
176.0,
-131.5
],
"radius_mm": 7.0
},
{
"center": [
10.5,
88.5
],
"radius_mm": 5.5
},
{
"center": [
41.5,
88.5
],
"radius_mm": 5.5
},
{
"center": [
10.5,
48.5
],
"radius_mm": 5.5
},
{
"center": [
41.5,
48.5
],
"radius_mm": 5.5
}
]
}
},
{
"id": "sk_008",
"name": "草图10",
"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": [],
"construction": [
{
"type": "line",
"start": [
-176.0,
-131.5
],
"end": [
-76.0,
-131.5
]
},
{
"type": "line",
"start": [
-76.0,
-131.5
],
"end": [
24.0,
-131.5
]
},
{
"type": "line",
"start": [
24.0,
-131.5
],
"end": [
124.0,
-131.5
]
}
]
}
},
{
"id": "sk_009",
"name": "草图13",
"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": [],
"construction": [
{
"type": "line",
"start": [
-7.5,
-141.5
],
"end": [
-7.5,
-121.5
]
},
{
"type": "line",
"start": [
-7.5,
-121.5
],
"end": [
-7.5,
-101.5
]
}
]
}
},
{
"id": "sk_010",
"name": "草图16",
"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": [
186.0,
-141.5
],
"end": [
144.0,
-141.5
]
},
{
"type": "line",
"start": [
144.0,
-141.5
],
"end": [
144.0,
-121.5
]
},
{
"type": "line",
"start": [
144.0,
-121.5
],
"end": [
186.0,
-121.5
]
},
{
"type": "line",
"start": [
186.0,
-121.5
],
"end": [
186.0,
-141.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
186.0,
-71.5
],
"end": [
144.0,
-71.5
]
},
{
"type": "line",
"start": [
144.0,
-71.5
],
"end": [
144.0,
-81.5
]
},
{
"type": "line",
"start": [
144.0,
-81.5
],
"end": [
186.0,
-81.5
]
},
{
"type": "line",
"start": [
186.0,
-81.5
],
"end": [
186.0,
-71.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": 15.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_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
7.5,
133.5,
0.0
]
},
{
"mm": [
7.5,
85.5,
0.0
]
},
{
"mm": [
7.5,
37.5,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 5.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-126.0,
-131.5,
0.0
]
},
{
"mm": [
74.0,
-131.5,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"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": [
-7.5,
-101.5,
0.0
]
},
{
"mm": [
-7.5,
-121.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_009",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e9daf70d1f869e7c7ff7f222",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
0.0
],
"center_mm": [
8.177458229,
2.757602977,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_012",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_010"
},
{
"id": "f_013",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_012",
"f_004",
"f_005"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "144846.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 11.55642330427807,
"volume": 0.0014815927313177012,
"surface_area": 0.22952061138957777,
"center_of_mass": [
0.008619961882883328,
0.002958683441619802,
0.007482300380405297
],
"principal_moments": [
0.07736734066553208,
0.12307587033935535,
0.20000898864552913
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.18599999999999997,
-0.14149999999999996,
-6.123233995736762e-20,
0.18600000000000003,
0.14150000000000001,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f",
"component": null,
"geometry": {
"box": [
-0.18599999999999997,
-0.14149999999999996,
-6.123233995736762e-20,
0.18600000000000003,
0.14150000000000001,
0.015
],
"face_count": 80,
"edge_count": 124,
"vertex_count": 35
},
"stable_id": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 128,
"surface_counts": {
"cone": 14,
"cylinder": 82,
"plane": 32
},
"axis_count": 96,
"repeat_spacings_mm": [
{
"spacing_mm": 8.001,
"pair_count": 16
},
{
"spacing_mm": 21.2132,
"pair_count": 8
},
{
"spacing_mm": 22.6719,
"pair_count": 8
},
{
"spacing_mm": 200.0,
"pair_count": 6
},
{
"spacing_mm": 100.0,
"pair_count": 6
},
{
"spacing_mm": 100.3196,
"pair_count": 6
},
{
"spacing_mm": 80.0,
"pair_count": 6
},
{
"spacing_mm": 80.3991,
"pair_count": 6
},
{
"spacing_mm": 50.4876,
"pair_count": 4
},
{
"spacing_mm": 198.9705,
"pair_count": 4
},
{
"spacing_mm": 250.098,
"pair_count": 4
},
{
"spacing_mm": 52.2018,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
15.0
],
"volume_mm3": 1481592.731317702,
"surface_area_mm2": 229520.611389578,
"solid_count": 1,
"face_count": 128,
"edge_count": 302,
"vertex_count": 199
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
15.0
],
"volume_mm3": 1481592.731317701,
"surface_area_mm2": 229520.611389578,
"solid_count": 1,
"face_count": 80,
"edge_count": 124,
"vertex_count": 35
},
"comparisons": {
"volume_mm3": {
"expected": 1481592.731317701,
"actual": 1481592.731317702,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 229520.611389578,
"actual": 229520.611389578,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
15.0
],
"actual": [
-186.0,
-141.5,
-0.0,
186.0,
141.5,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 80,
"actual": 128,
"matches": false
},
"edge_count": {
"expected": 124,
"actual": 302,
"matches": false
},
"vertex_count": {
"expected": 35,
"actual": 199,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}