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

1808 lines
41 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "166931",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
9.65,
13.35
],
"end": [
9.65,
9.65
]
},
{
"type": "line",
"start": [
9.65,
9.65
],
"end": [
13.35,
9.65
]
},
{
"type": "line",
"start": [
13.35,
9.65
],
"end": [
13.35,
13.35
]
},
{
"type": "line",
"start": [
13.35,
13.35
],
"end": [
9.65,
13.35
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-15.0,
-15.0
],
"end": [
-4.33,
-15.0
]
},
{
"type": "line",
"start": [
-4.33,
-15.0
],
"end": [
-4.33,
-13.0
]
},
{
"type": "line",
"start": [
-4.33,
-13.0
],
"end": [
-8.15,
-13.0
]
},
{
"type": "line",
"start": [
-8.15,
-13.0
],
"end": [
-8.15,
-10.0
]
},
{
"type": "line",
"start": [
-8.15,
-10.0
],
"end": [
-8.15,
-9.210660172
]
},
{
"type": "line",
"start": [
-8.15,
-9.210660172
],
"end": [
-4.089339828,
-5.15
]
},
{
"type": "line",
"start": [
-4.089339828,
-5.15
],
"end": [
4.089339828,
-5.15
]
},
{
"type": "line",
"start": [
4.089339828,
-5.15
],
"end": [
8.15,
-9.210660172
]
},
{
"type": "line",
"start": [
8.15,
-9.210660172
],
"end": [
8.15,
-10.0
]
},
{
"type": "line",
"start": [
8.15,
-10.0
],
"end": [
8.15,
-13.0
]
},
{
"type": "line",
"start": [
8.15,
-13.0
],
"end": [
4.33,
-13.0
]
},
{
"type": "line",
"start": [
4.33,
-13.0
],
"end": [
4.33,
-15.0
]
},
{
"type": "line",
"start": [
4.33,
-15.0
],
"end": [
15.0,
-15.0
]
},
{
"type": "line",
"start": [
15.0,
-15.0
],
"end": [
15.0,
-4.33
]
},
{
"type": "line",
"start": [
15.0,
-4.33
],
"end": [
13.0,
-4.33
]
},
{
"type": "line",
"start": [
13.0,
-4.33
],
"end": [
13.0,
-8.15
]
},
{
"type": "line",
"start": [
13.0,
-8.15
],
"end": [
10.0,
-8.15
]
},
{
"type": "line",
"start": [
10.0,
-8.15
],
"end": [
9.210660172,
-8.15
]
},
{
"type": "line",
"start": [
9.210660172,
-8.15
],
"end": [
5.15,
-4.089339828
]
},
{
"type": "line",
"start": [
5.15,
-4.089339828
],
"end": [
5.15,
4.089339828
]
},
{
"type": "line",
"start": [
5.15,
4.089339828
],
"end": [
9.210660172,
8.15
]
},
{
"type": "line",
"start": [
9.210660172,
8.15
],
"end": [
10.0,
8.15
]
},
{
"type": "line",
"start": [
10.0,
8.15
],
"end": [
13.0,
8.15
]
},
{
"type": "line",
"start": [
13.0,
8.15
],
"end": [
13.0,
4.33
]
},
{
"type": "line",
"start": [
13.0,
4.33
],
"end": [
15.0,
4.33
]
},
{
"type": "line",
"start": [
15.0,
4.33
],
"end": [
15.0,
15.0
]
},
{
"type": "line",
"start": [
15.0,
15.0
],
"end": [
4.33,
15.0
]
},
{
"type": "line",
"start": [
4.33,
15.0
],
"end": [
4.33,
13.0
]
},
{
"type": "line",
"start": [
4.33,
13.0
],
"end": [
8.15,
13.0
]
},
{
"type": "line",
"start": [
8.15,
13.0
],
"end": [
8.15,
10.0
]
},
{
"type": "line",
"start": [
8.15,
10.0
],
"end": [
8.15,
9.210660172
]
},
{
"type": "line",
"start": [
8.15,
9.210660172
],
"end": [
4.089339828,
5.15
]
},
{
"type": "line",
"start": [
4.089339828,
5.15
],
"end": [
-4.089339828,
5.15
]
},
{
"type": "line",
"start": [
-4.089339828,
5.15
],
"end": [
-8.15,
9.210660172
]
},
{
"type": "line",
"start": [
-8.15,
9.210660172
],
"end": [
-8.15,
10.0
]
},
{
"type": "line",
"start": [
-8.15,
10.0
],
"end": [
-8.15,
13.0
]
},
{
"type": "line",
"start": [
-8.15,
13.0
],
"end": [
-4.33,
13.0
]
},
{
"type": "line",
"start": [
-4.33,
13.0
],
"end": [
-4.33,
15.0
]
},
{
"type": "line",
"start": [
-4.33,
15.0
],
"end": [
-15.0,
15.0
]
},
{
"type": "line",
"start": [
-15.0,
15.0
],
"end": [
-15.0,
4.33
]
},
{
"type": "line",
"start": [
-15.0,
4.33
],
"end": [
-13.0,
4.33
]
},
{
"type": "line",
"start": [
-13.0,
4.33
],
"end": [
-13.0,
8.15
]
},
{
"type": "line",
"start": [
-13.0,
8.15
],
"end": [
-10.0,
8.15
]
},
{
"type": "line",
"start": [
-10.0,
8.15
],
"end": [
-9.210660172,
8.15
]
},
{
"type": "line",
"start": [
-9.210660172,
8.15
],
"end": [
-5.15,
4.089339828
]
},
{
"type": "line",
"start": [
-5.15,
4.089339828
],
"end": [
-5.15,
-4.089339828
]
},
{
"type": "line",
"start": [
-5.15,
-4.089339828
],
"end": [
-9.210660172,
-8.15
]
},
{
"type": "line",
"start": [
-9.210660172,
-8.15
],
"end": [
-10.0,
-8.15
]
},
{
"type": "line",
"start": [
-10.0,
-8.15
],
"end": [
-13.0,
-8.15
]
},
{
"type": "line",
"start": [
-13.0,
-8.15
],
"end": [
-13.0,
-4.33
]
},
{
"type": "line",
"start": [
-13.0,
-4.33
],
"end": [
-15.0,
-4.33
]
},
{
"type": "line",
"start": [
-15.0,
-4.33
],
"end": [
-15.0,
-15.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-13.35,
9.65
],
"end": [
-9.65,
9.65
]
},
{
"type": "line",
"start": [
-9.65,
9.65
],
"end": [
-9.65,
13.35
]
},
{
"type": "line",
"start": [
-9.65,
13.35
],
"end": [
-13.35,
13.35
]
},
{
"type": "line",
"start": [
-13.35,
13.35
],
"end": [
-13.35,
9.65
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
13.35,
-9.65
],
"end": [
9.65,
-9.65
]
},
{
"type": "line",
"start": [
9.65,
-9.65
],
"end": [
9.65,
-13.35
]
},
{
"type": "line",
"start": [
9.65,
-13.35
],
"end": [
13.35,
-13.35
]
},
{
"type": "line",
"start": [
13.35,
-13.35
],
"end": [
13.35,
-9.65
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-9.65,
-13.35
],
"end": [
-9.65,
-9.65
]
},
{
"type": "line",
"start": [
-9.65,
-9.65
],
"end": [
-13.35,
-9.65
]
},
{
"type": "line",
"start": [
-13.35,
-9.65
],
"end": [
-13.35,
-13.35
]
},
{
"type": "line",
"start": [
-13.35,
-13.35
],
"end": [
-9.65,
-13.35
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-0.0,
0.0
],
"radius_mm": 3.4
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-15.0,
-15.0
],
"end": [
15.0,
15.0
]
},
{
"type": "line",
"start": [
-15.0,
15.0
],
"end": [
15.0,
-15.0
]
},
{
"type": "line",
"start": [
-5.15,
-5.15
],
"end": [
5.15,
5.15
]
},
{
"type": "line",
"start": [
-5.15,
5.15
],
"end": [
5.15,
-5.15
]
},
{
"type": "line",
"start": [
-11.5,
-11.5
],
"end": [
11.5,
-11.5
]
},
{
"type": "line",
"start": [
-11.5,
-11.5
],
"end": [
-11.5,
11.5
]
},
{
"type": "line",
"start": [
-11.5,
11.5
],
"end": [
11.5,
11.5
]
},
{
"type": "line",
"start": [
11.5,
-11.5
],
"end": [
11.5,
11.5
]
},
{
"type": "line",
"start": [
-11.5,
-11.5
],
"end": [
11.5,
11.5
]
},
{
"type": "line",
"start": [
-11.5,
11.5
],
"end": [
11.5,
-11.5
]
},
{
"type": "line",
"start": [
-13.35,
9.65
],
"end": [
-9.65,
13.35
]
},
{
"type": "line",
"start": [
-13.35,
13.35
],
"end": [
-9.65,
9.65
]
},
{
"type": "line",
"start": [
9.65,
13.35
],
"end": [
13.35,
9.65
]
},
{
"type": "line",
"start": [
13.35,
13.35
],
"end": [
9.65,
9.65
]
},
{
"type": "line",
"start": [
13.35,
-9.65
],
"end": [
9.65,
-13.35
]
},
{
"type": "line",
"start": [
13.35,
-13.35
],
"end": [
9.65,
-9.65
]
},
{
"type": "line",
"start": [
-9.65,
-13.35
],
"end": [
-13.35,
-9.65
]
},
{
"type": "line",
"start": [
-13.35,
-13.35
],
"end": [
-9.65,
-9.65
]
},
{
"type": "line",
"start": [
7.372182863,
8.432843035
],
"end": [
8.432843035,
7.372182863
]
},
{
"type": "line",
"start": [
-8.15,
10.0
],
"end": [
8.15,
13.0
]
},
{
"type": "line",
"start": [
-8.15,
13.0
],
"end": [
8.15,
10.0
]
},
{
"type": "line",
"start": [
-4.33,
10.538377322
],
"end": [
4.33,
15.461622678
]
},
{
"type": "line",
"start": [
-4.33,
15.461622678
],
"end": [
4.33,
10.538377322
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
240.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": [
14.0,
5.2
],
"end": [
14.0,
-5.2
]
},
{
"type": "line",
"start": [
14.0,
-5.2
],
"end": [
16.0,
-5.2
]
},
{
"type": "line",
"start": [
16.0,
-5.2
],
"end": [
16.0,
5.2
]
},
{
"type": "line",
"start": [
16.0,
5.2
],
"end": [
14.0,
5.2
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-5.2,
14.0
],
"end": [
5.2,
14.0
]
},
{
"type": "line",
"start": [
5.2,
14.0
],
"end": [
5.2,
16.0
]
},
{
"type": "line",
"start": [
5.2,
16.0
],
"end": [
-5.2,
16.0
]
},
{
"type": "line",
"start": [
-5.2,
16.0
],
"end": [
-5.2,
14.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
5.2,
-14.0
],
"end": [
-5.2,
-14.0
]
},
{
"type": "line",
"start": [
-5.2,
-14.0
],
"end": [
-5.2,
-16.0
]
},
{
"type": "line",
"start": [
-5.2,
-16.0
],
"end": [
5.2,
-16.0
]
},
{
"type": "line",
"start": [
5.2,
-16.0
],
"end": [
5.2,
-14.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-14.0,
-5.2
],
"end": [
-14.0,
5.2
]
},
{
"type": "line",
"start": [
-14.0,
5.2
],
"end": [
-16.0,
5.2
]
},
{
"type": "line",
"start": [
-16.0,
5.2
],
"end": [
-16.0,
-5.2
]
},
{
"type": "line",
"start": [
-16.0,
-5.2
],
"end": [
-14.0,
-5.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-4.33,
15.0
],
"end": [
4.33,
15.0
]
},
{
"type": "line",
"start": [
-5.2,
14.0
],
"end": [
5.2,
16.0
]
},
{
"type": "line",
"start": [
-5.2,
16.0
],
"end": [
5.2,
14.0
]
},
{
"type": "line",
"start": [
15.0,
4.33
],
"end": [
15.0,
-4.33
]
},
{
"type": "line",
"start": [
14.0,
5.2
],
"end": [
16.0,
-5.2
]
},
{
"type": "line",
"start": [
16.0,
5.2
],
"end": [
14.0,
-5.2
]
},
{
"type": "line",
"start": [
4.33,
-15.0
],
"end": [
-4.33,
-15.0
]
},
{
"type": "line",
"start": [
5.2,
-14.0
],
"end": [
-5.2,
-16.0
]
},
{
"type": "line",
"start": [
5.2,
-16.0
],
"end": [
-5.2,
-14.0
]
},
{
"type": "line",
"start": [
-15.0,
-4.33
],
"end": [
-15.0,
4.33
]
},
{
"type": "line",
"start": [
-14.0,
-5.2
],
"end": [
-16.0,
5.2
]
},
{
"type": "line",
"start": [
-16.0,
-5.2
],
"end": [
-14.0,
5.2
]
}
]
}
}
]
},
"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": 240.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": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "166931.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18363374157270665,
"volume": 6.801249687878024e-05,
"surface_area": 0.07689151402506442,
"center_of_mass": [
2.476181041346901e-17,
-5.557932081695209e-17,
0.12000000000000001
],
"principal_moments": [
3.428814737881998e-05,
0.0008985860332383987,
0.0008985860332383987
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015000000000000138,
-0.015000000000000006,
0.0,
0.01500000000000021,
0.014999999999999993,
0.24
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
"component": null,
"geometry": {
"box": [
-0.015000000000000138,
-0.015000000000000006,
0.0,
0.01500000000000021,
0.01499999999999999,
0.24
],
"face_count": 83,
"edge_count": 242,
"vertex_count": 160
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 84,
"surface_counts": {
"cylinder": 6,
"plane": 78
},
"axis_count": 6,
"repeat_spacings_mm": [
{
"spacing_mm": 18.3848,
"pair_count": 4
},
{
"spacing_mm": 26.0,
"pair_count": 4
},
{
"spacing_mm": 36.7696,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-15.0,
0.0,
15.0,
15.0,
240.0
],
"volume_mm3": 68012.496878781,
"surface_area_mm2": 76891.514025064,
"solid_count": 1,
"face_count": 84,
"edge_count": 246,
"vertex_count": 164
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-15.0,
0.0,
15.0,
15.0,
240.0
],
"volume_mm3": 68012.49687878,
"surface_area_mm2": 76891.514025064,
"solid_count": 1,
"face_count": 83,
"edge_count": 242,
"vertex_count": 160
},
"comparisons": {
"volume_mm3": {
"expected": 68012.49687878,
"actual": 68012.496878781,
"absolute_delta": 1.0040821507573128e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 76891.514025064,
"actual": 76891.514025064,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-15.0,
0.0,
15.0,
15.0,
240.0
],
"actual": [
-15.0,
-15.0,
0.0,
15.0,
15.0,
240.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 83,
"actual": 84,
"matches": false
},
"edge_count": {
"expected": 242,
"actual": 246,
"matches": false
},
"vertex_count": {
"expected": 160,
"actual": 164,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}