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

1640 lines
39 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "230602",
"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": "arc",
"start": [
-20.0,
-17.0
],
"end": [
-17.0,
-20.0
],
"center": [
-17.0,
-17.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-17.0,
-20.0
],
"end": [
-6.0,
-20.0
]
},
{
"type": "arc",
"start": [
-6.0,
-20.0
],
"end": [
-5.0,
-19.0
],
"center": [
-6.0,
-19.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
-19.0
],
"end": [
-5.0,
-15.5
]
},
{
"type": "arc",
"start": [
-5.0,
-15.5
],
"end": [
-6.0,
-14.5
],
"center": [
-6.0,
-15.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-6.0,
-14.5
],
"end": [
-10.0,
-14.5
]
},
{
"type": "line",
"start": [
-10.0,
-14.5
],
"end": [
-10.0,
-11.767775
]
},
{
"type": "line",
"start": [
-10.0,
-11.767775
],
"end": [
-5.732248,
-7.5
]
},
{
"type": "line",
"start": [
-5.732248,
-7.5
],
"end": [
-3.346410162,
-7.5
]
},
{
"type": "line",
"start": [
-3.346410162,
-7.5
],
"end": [
-3.0,
-7.3
]
},
{
"type": "line",
"start": [
-3.0,
-7.3
],
"end": [
-2.653589838,
-7.5
]
},
{
"type": "line",
"start": [
-2.653589838,
-7.5
],
"end": [
-0.519615242,
-7.5
]
},
{
"type": "line",
"start": [
-0.519615242,
-7.5
],
"end": [
0.0,
-7.2
]
},
{
"type": "line",
"start": [
0.0,
-7.2
],
"end": [
0.519615242,
-7.5
]
},
{
"type": "line",
"start": [
0.519615242,
-7.5
],
"end": [
2.653589838,
-7.5
]
},
{
"type": "line",
"start": [
2.653589838,
-7.5
],
"end": [
3.0,
-7.3
]
},
{
"type": "line",
"start": [
3.0,
-7.3
],
"end": [
3.346410162,
-7.5
]
},
{
"type": "line",
"start": [
3.346410162,
-7.5
],
"end": [
5.732247,
-7.5
]
},
{
"type": "line",
"start": [
5.732247,
-7.5
],
"end": [
10.0,
-11.767782
]
},
{
"type": "line",
"start": [
10.0,
-11.767782
],
"end": [
10.0,
-14.5
]
},
{
"type": "line",
"start": [
10.0,
-14.5
],
"end": [
6.0,
-14.5
]
},
{
"type": "arc",
"start": [
6.0,
-14.5
],
"end": [
5.0,
-15.5
],
"center": [
6.0,
-15.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.0,
-15.5
],
"end": [
5.0,
-19.0
]
},
{
"type": "arc",
"start": [
5.0,
-19.0
],
"end": [
6.0,
-20.0
],
"center": [
6.0,
-19.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
6.0,
-20.0
],
"end": [
17.0,
-20.0
]
},
{
"type": "arc",
"start": [
17.0,
-20.0
],
"end": [
20.0,
-17.0
],
"center": [
17.0,
-17.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
20.0,
-17.0
],
"end": [
20.0,
-6.0
]
},
{
"type": "arc",
"start": [
20.0,
-6.0
],
"end": [
19.0,
-5.0
],
"center": [
19.0,
-6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
19.0,
-5.0
],
"end": [
15.5,
-5.0
]
},
{
"type": "arc",
"start": [
15.5,
-5.0
],
"end": [
14.5,
-6.0
],
"center": [
15.5,
-6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
14.5,
-6.0
],
"end": [
14.5,
-10.0
]
},
{
"type": "line",
"start": [
14.5,
-10.0
],
"end": [
11.767785,
-10.0
]
},
{
"type": "line",
"start": [
11.767785,
-10.0
],
"end": [
7.5,
-5.73223
]
},
{
"type": "line",
"start": [
7.5,
-5.73223
],
"end": [
7.5,
-3.346410162
]
},
{
"type": "line",
"start": [
7.5,
-3.346410162
],
"end": [
7.3,
-3.0
]
},
{
"type": "line",
"start": [
7.3,
-3.0
],
"end": [
7.5,
-2.653589838
]
},
{
"type": "line",
"start": [
7.5,
-2.653589838
],
"end": [
7.5,
-0.519615242
]
},
{
"type": "line",
"start": [
7.5,
-0.519615242
],
"end": [
7.2,
-0.0
]
},
{
"type": "line",
"start": [
7.2,
-0.0
],
"end": [
7.5,
0.519615242
]
},
{
"type": "line",
"start": [
7.5,
0.519615242
],
"end": [
7.5,
2.653589838
]
},
{
"type": "line",
"start": [
7.5,
2.653589838
],
"end": [
7.3,
3.0
]
},
{
"type": "line",
"start": [
7.3,
3.0
],
"end": [
7.5,
3.346410162
]
},
{
"type": "line",
"start": [
7.5,
3.346410162
],
"end": [
7.5,
5.732238
]
},
{
"type": "line",
"start": [
7.5,
5.732238
],
"end": [
11.767767,
10.0
]
},
{
"type": "line",
"start": [
11.767767,
10.0
],
"end": [
14.5,
10.0
]
},
{
"type": "line",
"start": [
14.5,
10.0
],
"end": [
14.5,
6.0
]
},
{
"type": "arc",
"start": [
14.5,
6.0
],
"end": [
15.5,
5.0
],
"center": [
15.5,
6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
15.5,
5.0
],
"end": [
19.0,
5.0
]
},
{
"type": "arc",
"start": [
19.0,
5.0
],
"end": [
20.0,
6.0
],
"center": [
19.0,
6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
20.0,
6.0
],
"end": [
20.0,
17.0
]
},
{
"type": "arc",
"start": [
20.0,
17.0
],
"end": [
17.0,
20.0
],
"center": [
17.0,
17.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
17.0,
20.0
],
"end": [
6.0,
20.0
]
},
{
"type": "arc",
"start": [
6.0,
20.0
],
"end": [
5.0,
19.0
],
"center": [
6.0,
19.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.0,
19.0
],
"end": [
5.0,
15.5
]
},
{
"type": "arc",
"start": [
5.0,
15.5
],
"end": [
6.0,
14.5
],
"center": [
6.0,
15.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
6.0,
14.5
],
"end": [
10.0,
14.5
]
},
{
"type": "line",
"start": [
10.0,
14.5
],
"end": [
10.0,
11.767777
]
},
{
"type": "line",
"start": [
10.0,
11.767777
],
"end": [
5.73223,
7.5
]
},
{
"type": "line",
"start": [
5.73223,
7.5
],
"end": [
3.346410162,
7.5
]
},
{
"type": "line",
"start": [
3.346410162,
7.5
],
"end": [
3.0,
7.3
]
},
{
"type": "line",
"start": [
3.0,
7.3
],
"end": [
2.653589838,
7.5
]
},
{
"type": "line",
"start": [
2.653589838,
7.5
],
"end": [
0.519615242,
7.5
]
},
{
"type": "line",
"start": [
0.519615242,
7.5
],
"end": [
0.0,
7.2
]
},
{
"type": "line",
"start": [
0.0,
7.2
],
"end": [
-0.519615242,
7.5
]
},
{
"type": "line",
"start": [
-0.519615242,
7.5
],
"end": [
-2.653589838,
7.5
]
},
{
"type": "line",
"start": [
-2.653589838,
7.5
],
"end": [
-3.0,
7.3
]
},
{
"type": "line",
"start": [
-3.0,
7.3
],
"end": [
-3.346410162,
7.5
]
},
{
"type": "line",
"start": [
-3.346410162,
7.5
],
"end": [
-5.732231,
7.5
]
},
{
"type": "line",
"start": [
-5.732231,
7.5
],
"end": [
-10.0,
11.767777
]
},
{
"type": "line",
"start": [
-10.0,
11.767777
],
"end": [
-10.0,
14.5
]
},
{
"type": "line",
"start": [
-10.0,
14.5
],
"end": [
-6.0,
14.5
]
},
{
"type": "arc",
"start": [
-6.0,
14.5
],
"end": [
-5.0,
15.5
],
"center": [
-6.0,
15.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
15.5
],
"end": [
-5.0,
19.0
]
},
{
"type": "arc",
"start": [
-5.0,
19.0
],
"end": [
-6.0,
20.0
],
"center": [
-6.0,
19.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-6.0,
20.0
],
"end": [
-17.0,
20.0
]
},
{
"type": "arc",
"start": [
-17.0,
20.0
],
"end": [
-20.0,
17.0
],
"center": [
-17.0,
17.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-20.0,
17.0
],
"end": [
-20.0,
6.0
]
},
{
"type": "arc",
"start": [
-20.0,
6.0
],
"end": [
-19.0,
5.0
],
"center": [
-19.0,
6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-19.0,
5.0
],
"end": [
-15.5,
5.0
]
},
{
"type": "arc",
"start": [
-15.5,
5.0
],
"end": [
-14.5,
6.0
],
"center": [
-15.5,
6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-14.5,
6.0
],
"end": [
-14.5,
10.0
]
},
{
"type": "line",
"start": [
-14.5,
10.0
],
"end": [
-11.767777,
10.0
]
},
{
"type": "line",
"start": [
-11.767777,
10.0
],
"end": [
-7.5,
5.732237
]
},
{
"type": "line",
"start": [
-7.5,
5.732237
],
"end": [
-7.5,
3.346410162
]
},
{
"type": "line",
"start": [
-7.5,
3.346410162
],
"end": [
-7.3,
3.0
]
},
{
"type": "line",
"start": [
-7.3,
3.0
],
"end": [
-7.5,
2.653589838
]
},
{
"type": "line",
"start": [
-7.5,
2.653589838
],
"end": [
-7.5,
0.519615242
]
},
{
"type": "line",
"start": [
-7.5,
0.519615242
],
"end": [
-7.2,
0.0
]
},
{
"type": "line",
"start": [
-7.2,
0.0
],
"end": [
-7.5,
-0.519615242
]
},
{
"type": "line",
"start": [
-7.5,
-0.519615242
],
"end": [
-7.5,
-2.653589838
]
},
{
"type": "line",
"start": [
-7.5,
-2.653589838
],
"end": [
-7.3,
-3.0
]
},
{
"type": "line",
"start": [
-7.3,
-3.0
],
"end": [
-7.5,
-3.346410162
]
},
{
"type": "line",
"start": [
-7.5,
-3.346410162
],
"end": [
-7.5,
-5.732229
]
},
{
"type": "line",
"start": [
-7.5,
-5.732229
],
"end": [
-11.767777,
-10.0
]
},
{
"type": "line",
"start": [
-11.767777,
-10.0
],
"end": [
-14.5,
-10.0
]
},
{
"type": "line",
"start": [
-14.5,
-10.0
],
"end": [
-14.5,
-6.0
]
},
{
"type": "arc",
"start": [
-14.5,
-6.0
],
"end": [
-15.5,
-5.0
],
"center": [
-15.5,
-6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-15.5,
-5.0
],
"end": [
-19.0,
-5.0
]
},
{
"type": "arc",
"start": [
-19.0,
-5.0
],
"end": [
-20.0,
-6.0
],
"center": [
-19.0,
-6.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-20.0,
-6.0
],
"end": [
-20.0,
-17.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.25
}
]
}
]
}
}
]
},
"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": 1420.0,
"reverse": true,
"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"
}
],
"meta": {
"unit": "mm",
"source": "230602.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.1273780730554956,
"volume": 0.0011273780730554957,
"surface_area": 0.4878945736496864,
"center_of_mass": [
9.626700530980388e-11,
9.303122859737006e-12,
-0.7099999999999999
],
"principal_moments": [
0.00038798739760820917,
0.18963108924122907,
0.18963108924122907
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.02,
-0.020000000000000004,
-1.42,
0.0199999999999999,
0.020000000000000004,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.02,
-0.020000000000000004,
-1.42,
0.0199999999999999,
0.020000000000000004,
0.0
],
"face_count": 103,
"edge_count": 302,
"vertex_count": 200
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 104,
"surface_counts": {
"cylinder": 22,
"plane": 82
},
"axis_count": 22,
"repeat_spacings_mm": [
{
"spacing_mm": 19.9249,
"pair_count": 8
},
{
"spacing_mm": 16.6208,
"pair_count": 8
},
{
"spacing_mm": 11.1803,
"pair_count": 8
},
{
"spacing_mm": 11.1018,
"pair_count": 8
},
{
"spacing_mm": 23.0489,
"pair_count": 8
},
{
"spacing_mm": 23.0868,
"pair_count": 8
},
{
"spacing_mm": 37.6431,
"pair_count": 8
},
{
"spacing_mm": 34.3111,
"pair_count": 8
},
{
"spacing_mm": 39.8152,
"pair_count": 8
},
{
"spacing_mm": 42.72,
"pair_count": 8
},
{
"spacing_mm": 3.5,
"pair_count": 8
},
{
"spacing_mm": 12.5,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-20.0,
-20.0,
-1420.0,
20.0,
20.0,
0.0
],
"volume_mm3": 1127378.073055496,
"surface_area_mm2": 487894.573649687,
"solid_count": 1,
"face_count": 104,
"edge_count": 306,
"vertex_count": 204
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
-20.0,
-1420.0,
20.0,
20.0,
0.0
],
"volume_mm3": 1127378.073055496,
"surface_area_mm2": 487894.573649686,
"solid_count": 1,
"face_count": 103,
"edge_count": 302,
"vertex_count": 200
},
"comparisons": {
"volume_mm3": {
"expected": 1127378.073055496,
"actual": 1127378.073055496,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 487894.573649686,
"actual": 487894.573649687,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
-20.0,
-1420.0,
20.0,
20.0,
0.0
],
"actual": [
-20.0,
-20.0,
-1420.0,
20.0,
20.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 103,
"actual": 104,
"matches": false
},
"edge_count": {
"expected": 302,
"actual": 306,
"matches": false
},
"vertex_count": {
"expected": 200,
"actual": 204,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}