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

1014 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "207373",
"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": [
-35.0,
52.5
],
"end": [
35.0,
52.5
]
},
{
"type": "line",
"start": [
35.0,
52.5
],
"end": [
35.0,
-52.5
]
},
{
"type": "line",
"start": [
35.0,
-52.5
],
"end": [
-35.0,
-52.5
]
},
{
"type": "line",
"start": [
-35.0,
-52.5
],
"end": [
-35.0,
52.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-35.0,
52.5
],
"end": [
35.0,
-52.5
]
},
{
"type": "line",
"start": [
-35.0,
-52.5
],
"end": [
35.0,
52.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "line",
"start": [
0.0,
-47.5
],
"end": [
2.0,
-47.5
]
},
{
"type": "line",
"start": [
2.0,
-47.5
],
"end": [
2.0,
29.5
]
},
{
"type": "line",
"start": [
2.0,
29.5
],
"end": [
0.0,
29.5
]
},
{
"type": "line",
"start": [
0.0,
29.5
],
"end": [
0.0,
-47.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图6",
"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": [
-25.0,
12.0
],
"end": [
-13.0,
12.0
]
},
{
"type": "line",
"start": [
-13.0,
12.0
],
"end": [
-13.0,
10.0
]
},
{
"type": "line",
"start": [
-13.0,
10.0
],
"end": [
-25.0,
10.0
]
},
{
"type": "line",
"start": [
-25.0,
10.0
],
"end": [
-25.0,
12.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
13.0,
12.0
],
"end": [
25.0,
12.0
]
},
{
"type": "line",
"start": [
25.0,
12.0
],
"end": [
25.0,
10.0
]
},
{
"type": "line",
"start": [
25.0,
10.0
],
"end": [
13.0,
10.0
]
},
{
"type": "line",
"start": [
13.0,
10.0
],
"end": [
13.0,
12.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
12.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": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.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": 152.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 152.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "M3 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 3.4,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-12.5,
26.0,
0.0
]
},
{
"mm": [
12.5,
26.0,
0.0
]
},
{
"mm": [
12.5,
1.0,
0.0
]
},
{
"mm": [
-12.5,
1.0,
0.0
]
},
{
"mm": [
12.5,
-19.0,
0.0
]
},
{
"mm": [
-12.5,
-19.0,
0.0
]
},
{
"mm": [
12.5,
-44.0,
0.0
]
},
{
"mm": [
-12.5,
-44.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.5,
"depth_mm": 6.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
25.0,
-6.0,
0.0
]
},
{
"mm": [
0.0,
-6.0,
0.0
]
},
{
"mm": [
-25.0,
-6.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-7.0,
-9.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_009",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-19.0,
17.5,
0.0
]
},
{
"mm": [
-19.0,
-7.5,
0.0
]
},
{
"mm": [
-19.0,
-32.5,
0.0
]
},
{
"mm": [
19.0,
-32.5,
0.0
]
},
{
"mm": [
19.0,
-7.5,
0.0
]
},
{
"mm": [
19.0,
17.5,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "Ø4.0 (4) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 4.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-12.5,
-6.0,
0.0
]
},
{
"mm": [
12.5,
-6.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "207373.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0693033326856199,
"volume": 6.930333268561991e-05,
"surface_area": 0.021863724184555157,
"center_of_mass": [
-0.0001184139371139984,
0.0011585660724152172,
0.006364866743542123
],
"principal_moments": [
2.9511562050018715e-05,
6.757585500124013e-05,
9.583389904358122e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.035,
-0.05249999999999998,
0.0,
0.03500000000000002,
0.052500000000000005,
0.012000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Ø4.0 (4) 直径孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "ec7613e1f7548553a67fba827ce032af116a6c890b41151828e2eb0e12f7686b",
"component": null,
"geometry": {
"box": [
-0.035,
-0.05249999999999998,
0.0,
0.03500000000000002,
0.052500000000000005,
0.012000000000000002
],
"face_count": 69,
"edge_count": 149,
"vertex_count": 74
},
"stable_id": "ec7613e1f7548553a67fba827ce032af116a6c890b41151828e2eb0e12f7686b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 103,
"surface_counts": {
"cone": 13,
"cylinder": 56,
"plane": 34
},
"axis_count": 69,
"repeat_spacings_mm": [
{
"spacing_mm": 25.0,
"pair_count": 18
},
{
"spacing_mm": 12.5,
"pair_count": 4
},
{
"spacing_mm": 17.6071,
"pair_count": 4
},
{
"spacing_mm": 16.0078,
"pair_count": 4
},
{
"spacing_mm": 12.7283,
"pair_count": 4
},
{
"spacing_mm": 27.9063,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 4
},
{
"spacing_mm": 29.9082,
"pair_count": 4
},
{
"spacing_mm": 53.3339,
"pair_count": 4
},
{
"spacing_mm": 72.832,
"pair_count": 4
},
{
"spacing_mm": 97.491,
"pair_count": 4
},
{
"spacing_mm": 19.7752,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-35.0,
-52.5,
0.0,
35.0000001,
52.5,
12.0
],
"volume_mm3": 69303.328541244,
"surface_area_mm2": 21863.724064636,
"solid_count": 1,
"face_count": 103,
"edge_count": 285,
"vertex_count": 188
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-35.0,
-52.5,
0.0,
35.0,
52.5,
12.0
],
"volume_mm3": 69303.33268562,
"surface_area_mm2": 21863.724184555,
"solid_count": 1,
"face_count": 69,
"edge_count": 149,
"vertex_count": 74
},
"comparisons": {
"volume_mm3": {
"expected": 69303.33268562,
"actual": 69303.328541244,
"absolute_delta": 0.004144375998293981,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 21863.724184555,
"actual": 21863.724064636,
"absolute_delta": 0.00011991900100838393,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-35.0,
-52.5,
0.0,
35.0,
52.5,
12.0
],
"actual": [
-35.0,
-52.5,
0.0,
35.0000001,
52.5,
12.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 69,
"actual": 103,
"matches": false
},
"edge_count": {
"expected": 149,
"actual": 285,
"matches": false
},
"vertex_count": {
"expected": 74,
"actual": 188,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}