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

1059 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "085715",
"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": [
0.0,
23.0
],
"end": [
1.0,
23.0
]
},
{
"type": "line",
"start": [
1.0,
23.0
],
"end": [
1.2,
22.360309011
]
},
{
"type": "line",
"start": [
1.2,
22.360309011
],
"end": [
1.0,
21.0
]
},
{
"type": "line",
"start": [
1.0,
21.0
],
"end": [
1.0,
16.5
]
},
{
"type": "line",
"start": [
1.0,
16.5
],
"end": [
4.0,
16.5
]
},
{
"type": "line",
"start": [
4.0,
16.5
],
"end": [
4.0,
22.0
]
},
{
"type": "line",
"start": [
4.0,
22.0
],
"end": [
5.5,
22.0
]
},
{
"type": "line",
"start": [
5.5,
22.0
],
"end": [
5.5,
16.5
]
},
{
"type": "line",
"start": [
5.5,
16.5
],
"end": [
8.65,
16.5
]
},
{
"type": "line",
"start": [
8.65,
16.5
],
"end": [
8.65,
21.0
]
},
{
"type": "line",
"start": [
8.65,
21.0
],
"end": [
8.321103579,
22.0
]
},
{
"type": "line",
"start": [
8.321103579,
22.0
],
"end": [
8.65,
23.0
]
},
{
"type": "line",
"start": [
8.65,
23.0
],
"end": [
10.15,
23.0
]
},
{
"type": "line",
"start": [
10.15,
23.0
],
"end": [
10.15,
16.5
]
},
{
"type": "line",
"start": [
10.15,
16.5
],
"end": [
13.65,
16.5
]
},
{
"type": "line",
"start": [
13.65,
16.5
],
"end": [
14.15,
18.0
]
},
{
"type": "line",
"start": [
14.15,
18.0
],
"end": [
15.15,
18.0
]
},
{
"type": "line",
"start": [
15.15,
18.0
],
"end": [
15.15,
0.0
]
},
{
"type": "line",
"start": [
15.15,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
5.0
]
},
{
"type": "line",
"start": [
0.0,
5.0
],
"end": [
-5.0,
4.437324279
]
},
{
"type": "line",
"start": [
-5.0,
4.437324279
],
"end": [
-8.0,
5.754024184
]
},
{
"type": "line",
"start": [
-8.0,
5.754024184
],
"end": [
-7.81483394,
6.175910885
]
},
{
"type": "line",
"start": [
-7.81483394,
6.175910885
],
"end": [
-5.0,
4.940480358
]
},
{
"type": "line",
"start": [
-5.0,
4.940480358
],
"end": [
-0.0,
5.503156079
]
},
{
"type": "line",
"start": [
-0.0,
5.503156079
],
"end": [
-0.0,
13.177804637
]
},
{
"type": "line",
"start": [
-0.0,
13.177804637
],
"end": [
-5.0,
13.740480358
]
},
{
"type": "line",
"start": [
-5.0,
13.740480358
],
"end": [
-7.81483394,
12.505049831
]
},
{
"type": "line",
"start": [
-7.81483394,
12.505049831
],
"end": [
-8.0,
12.926936533
]
},
{
"type": "line",
"start": [
-8.0,
12.926936533
],
"end": [
-5.0,
14.243636437
]
},
{
"type": "line",
"start": [
-5.0,
14.243636437
],
"end": [
0.0,
13.680960716
]
},
{
"type": "line",
"start": [
0.0,
13.680960716
],
"end": [
0.0,
23.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
1.0,
15.5
],
"end": [
14.15,
15.5
]
},
{
"type": "line",
"start": [
14.15,
15.5
],
"end": [
14.15,
8.5
]
},
{
"type": "line",
"start": [
14.15,
8.5
],
"end": [
1.0,
8.5
]
},
{
"type": "line",
"start": [
1.0,
8.5
],
"end": [
1.0,
15.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
1.0,
7.5
],
"end": [
14.15,
7.5
]
},
{
"type": "line",
"start": [
14.15,
7.5
],
"end": [
14.15,
1.0
]
},
{
"type": "line",
"start": [
14.15,
1.0
],
"end": [
1.0,
1.0
]
},
{
"type": "line",
"start": [
1.0,
1.0
],
"end": [
1.0,
7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
9.340480358
],
"end": [
-5.822572091,
9.340480358
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
481.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": [
0.0,
24.2
],
"end": [
15.35,
24.2
]
},
{
"type": "line",
"start": [
15.35,
24.2
],
"end": [
15.35,
23.0
]
},
{
"type": "line",
"start": [
15.35,
23.0
],
"end": [
8.3,
23.0
]
},
{
"type": "line",
"start": [
8.3,
23.0
],
"end": [
8.3,
17.5
]
},
{
"type": "line",
"start": [
8.3,
17.5
],
"end": [
7.3,
17.5
]
},
{
"type": "line",
"start": [
7.3,
17.5
],
"end": [
7.3,
23.0
]
},
{
"type": "line",
"start": [
7.3,
23.0
],
"end": [
2.2,
23.0
]
},
{
"type": "line",
"start": [
2.2,
23.0
],
"end": [
2.2,
17.5
]
},
{
"type": "line",
"start": [
2.2,
17.5
],
"end": [
1.2,
17.5
]
},
{
"type": "line",
"start": [
1.2,
17.5
],
"end": [
1.2,
23.0
]
},
{
"type": "line",
"start": [
1.2,
23.0
],
"end": [
0.0,
23.0
]
},
{
"type": "line",
"start": [
0.0,
23.0
],
"end": [
0.0,
24.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": 481.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": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "506b3f3b6e68b041e3daae27efaae4951aa35cf5eabae4b710e009d0ce32db61",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.008,
0.0,
0.0,
0.01515,
0.023,
0.0
],
"area": 0.00010731122625380114
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "085715.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5129882146590108,
"volume": 6.576771982807831e-05,
"surface_area": 0.13037125919357323,
"center_of_mass": [
0.006401597891270626,
0.013529257913878328,
0.24050000000000002
],
"principal_moments": [
4.622078597597244e-05,
0.009906259435832643,
0.009920872405430525
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008,
0.0,
0.0,
0.015349999999999999,
0.0242,
0.481
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABwAAAA",
"persist_reference_sha256": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f",
"component": null,
"geometry": {
"box": [
1.8577503520739326e-20,
0.017499999999999995,
0.0,
0.015349999999999999,
0.0242,
0.481
],
"face_count": 14,
"edge_count": 36,
"vertex_count": 24
},
"stable_id": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABvAAAA",
"persist_reference_sha256": "db905a89f3ebab64bac333088abcf1f62e6d56db1836681a12198c517ddc071f",
"component": null,
"geometry": {
"box": [
-0.008,
0.0,
0.0,
0.01515,
0.023,
0.481
],
"face_count": 42,
"edge_count": 120,
"vertex_count": 80
},
"stable_id": "db905a89f3ebab64bac333088abcf1f62e6d56db1836681a12198c517ddc071f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"plane": 56
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.0,
0.0,
0.0,
15.35,
24.2,
481.0
],
"volume_mm3": 65767.719828078,
"surface_area_mm2": 130371.259193573,
"solid_count": 2,
"face_count": 56,
"edge_count": 156,
"vertex_count": 104
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.0,
0.0,
0.0,
15.35,
24.2,
481.0
],
"volume_mm3": 65767.719828078,
"surface_area_mm2": 130371.259193573,
"solid_count": 2,
"face_count": 56,
"edge_count": 156,
"vertex_count": 104
},
"comparisons": {
"volume_mm3": {
"expected": 65767.719828078,
"actual": 65767.719828078,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 130371.259193573,
"actual": 130371.259193573,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.0,
0.0,
0.0,
15.35,
24.2,
481.0
],
"actual": [
-8.0,
0.0,
0.0,
15.35,
24.2,
481.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 56,
"actual": 56,
"matches": true
},
"edge_count": {
"expected": 156,
"actual": 156,
"matches": true
},
"vertex_count": {
"expected": 104,
"actual": 104,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}