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

1499 lines
36 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "143265",
"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": [
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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-4.110433762,
5.66606868
],
"end": [
4.110433762,
5.66606868
],
"center": [
0.0,
0.0
],
"radius_mm": 7.0,
"clockwise": true
},
{
"type": "line",
"start": [
4.110433762,
5.66606868
],
"end": [
4.87903679,
6.434671709
]
},
{
"type": "arc",
"start": [
4.87903679,
6.434671709
],
"end": [
6.434671709,
4.87903679
],
"center": [
5.656854249,
5.656854249
],
"radius_mm": 1.1,
"clockwise": false
},
{
"type": "line",
"start": [
6.434671709,
4.87903679
],
"end": [
5.66606868,
4.110433762
]
},
{
"type": "arc",
"start": [
5.66606868,
4.110433762
],
"end": [
5.66606868,
-4.110433762
],
"center": [
0.0,
0.0
],
"radius_mm": 7.0,
"clockwise": true
},
{
"type": "line",
"start": [
5.66606868,
-4.110433762
],
"end": [
6.434671709,
-4.87903679
]
},
{
"type": "arc",
"start": [
6.434671709,
-4.87903679
],
"end": [
4.87903679,
-6.434671709
],
"center": [
5.656854249,
-5.656854249
],
"radius_mm": 1.1,
"clockwise": false
},
{
"type": "line",
"start": [
4.87903679,
-6.434671709
],
"end": [
4.110433762,
-5.66606868
]
},
{
"type": "arc",
"start": [
4.110433762,
-5.66606868
],
"end": [
-4.110433762,
-5.66606868
],
"center": [
0.0,
0.0
],
"radius_mm": 7.0,
"clockwise": false
},
{
"type": "line",
"start": [
-4.110433762,
-5.66606868
],
"end": [
-4.87903679,
-6.434671709
]
},
{
"type": "arc",
"start": [
-4.87903679,
-6.434671709
],
"end": [
-6.434671709,
-4.87903679
],
"center": [
-5.656854249,
-5.656854249
],
"radius_mm": 1.1,
"clockwise": false
},
{
"type": "line",
"start": [
-6.434671709,
-4.87903679
],
"end": [
-5.66606868,
-4.110433762
]
},
{
"type": "arc",
"start": [
-5.66606868,
-4.110433762
],
"end": [
-5.66606868,
4.110433762
],
"center": [
0.0,
0.0
],
"radius_mm": 7.0,
"clockwise": false
},
{
"type": "line",
"start": [
-5.66606868,
4.110433762
],
"end": [
-6.434671709,
4.87903679
]
},
{
"type": "arc",
"start": [
-6.434671709,
4.87903679
],
"end": [
-4.87903679,
6.434671709
],
"center": [
-5.656854249,
5.656854249
],
"radius_mm": 1.1,
"clockwise": false
},
{
"type": "line",
"start": [
-4.87903679,
6.434671709
],
"end": [
-4.110433762,
5.66606868
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-24.5,
25.0
],
"end": [
-25.0,
24.5
],
"center": [
-24.5,
24.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-25.0,
24.5
],
"end": [
-25.0,
4.25
]
},
{
"type": "line",
"start": [
-25.0,
4.25
],
"end": [
-23.2,
4.25
]
},
{
"type": "line",
"start": [
-23.2,
4.25
],
"end": [
-23.2,
6.85
]
},
{
"type": "line",
"start": [
-23.2,
6.85
],
"end": [
-13.2,
6.85
]
},
{
"type": "line",
"start": [
-13.2,
6.85
],
"end": [
-13.2,
4.25
]
},
{
"type": "line",
"start": [
-13.2,
4.25
],
"end": [
-11.4,
4.25
]
},
{
"type": "line",
"start": [
-11.4,
4.25
],
"end": [
-11.4,
-4.25
]
},
{
"type": "line",
"start": [
-11.4,
-4.25
],
"end": [
-13.2,
-4.25
]
},
{
"type": "line",
"start": [
-13.2,
-4.25
],
"end": [
-13.2,
-6.85
]
},
{
"type": "line",
"start": [
-13.2,
-6.85
],
"end": [
-23.2,
-6.85
]
},
{
"type": "line",
"start": [
-23.2,
-6.85
],
"end": [
-23.2,
-4.25
]
},
{
"type": "line",
"start": [
-23.2,
-4.25
],
"end": [
-25.0,
-4.25
]
},
{
"type": "line",
"start": [
-25.0,
-4.25
],
"end": [
-25.0,
-24.5
]
},
{
"type": "arc",
"start": [
-25.0,
-24.5
],
"end": [
-24.5,
-25.0
],
"center": [
-24.5,
-24.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-24.5,
-25.0
],
"end": [
-4.25,
-25.0
]
},
{
"type": "line",
"start": [
-4.25,
-25.0
],
"end": [
-4.25,
-23.2
]
},
{
"type": "line",
"start": [
-4.25,
-23.2
],
"end": [
-6.85,
-23.2
]
},
{
"type": "line",
"start": [
-6.85,
-23.2
],
"end": [
-6.85,
-13.2
]
},
{
"type": "line",
"start": [
-6.85,
-13.2
],
"end": [
-4.25,
-13.2
]
},
{
"type": "line",
"start": [
-4.25,
-13.2
],
"end": [
-4.25,
-11.4
]
},
{
"type": "line",
"start": [
-4.25,
-11.4
],
"end": [
4.25,
-11.4
]
},
{
"type": "line",
"start": [
4.25,
-11.4
],
"end": [
4.25,
-13.2
]
},
{
"type": "line",
"start": [
4.25,
-13.2
],
"end": [
6.85,
-13.2
]
},
{
"type": "line",
"start": [
6.85,
-13.2
],
"end": [
6.85,
-23.2
]
},
{
"type": "line",
"start": [
6.85,
-23.2
],
"end": [
4.25,
-23.2
]
},
{
"type": "line",
"start": [
4.25,
-23.2
],
"end": [
4.25,
-25.0
]
},
{
"type": "line",
"start": [
4.25,
-25.0
],
"end": [
24.5,
-25.0
]
},
{
"type": "arc",
"start": [
24.5,
-25.0
],
"end": [
25.0,
-24.5
],
"center": [
24.5,
-24.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
25.0,
-24.5
],
"end": [
25.0,
-4.25
]
},
{
"type": "line",
"start": [
25.0,
-4.25
],
"end": [
23.2,
-4.25
]
},
{
"type": "line",
"start": [
23.2,
-4.25
],
"end": [
23.2,
-6.85
]
},
{
"type": "line",
"start": [
23.2,
-6.85
],
"end": [
13.2,
-6.85
]
},
{
"type": "line",
"start": [
13.2,
-6.85
],
"end": [
13.2,
-4.25
]
},
{
"type": "line",
"start": [
13.2,
-4.25
],
"end": [
11.4,
-4.25
]
},
{
"type": "line",
"start": [
11.4,
-4.25
],
"end": [
11.4,
4.25
]
},
{
"type": "line",
"start": [
11.4,
4.25
],
"end": [
13.2,
4.25
]
},
{
"type": "line",
"start": [
13.2,
4.25
],
"end": [
13.2,
6.85
]
},
{
"type": "line",
"start": [
13.2,
6.85
],
"end": [
23.2,
6.85
]
},
{
"type": "line",
"start": [
23.2,
6.85
],
"end": [
23.2,
4.25
]
},
{
"type": "line",
"start": [
23.2,
4.25
],
"end": [
25.0,
4.25
]
},
{
"type": "line",
"start": [
25.0,
4.25
],
"end": [
25.0,
24.5
]
},
{
"type": "arc",
"start": [
25.0,
24.5
],
"end": [
24.5,
25.0
],
"center": [
24.5,
24.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
24.5,
25.0
],
"end": [
4.25,
25.0
]
},
{
"type": "line",
"start": [
4.25,
25.0
],
"end": [
4.25,
23.2
]
},
{
"type": "line",
"start": [
4.25,
23.2
],
"end": [
6.85,
23.2
]
},
{
"type": "line",
"start": [
6.85,
23.2
],
"end": [
6.85,
13.2
]
},
{
"type": "line",
"start": [
6.85,
13.2
],
"end": [
4.25,
13.2
]
},
{
"type": "line",
"start": [
4.25,
13.2
],
"end": [
4.25,
11.4
]
},
{
"type": "line",
"start": [
4.25,
11.4
],
"end": [
-4.25,
11.4
]
},
{
"type": "line",
"start": [
-4.25,
11.4
],
"end": [
-4.25,
13.2
]
},
{
"type": "line",
"start": [
-4.25,
13.2
],
"end": [
-6.85,
13.2
]
},
{
"type": "line",
"start": [
-6.85,
13.2
],
"end": [
-6.85,
23.2
]
},
{
"type": "line",
"start": [
-6.85,
23.2
],
"end": [
-4.25,
23.2
]
},
{
"type": "line",
"start": [
-4.25,
23.2
],
"end": [
-4.25,
25.0
]
},
{
"type": "line",
"start": [
-4.25,
25.0
],
"end": [
-24.5,
25.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-23.0,
23.0
],
"end": [
-9.0,
23.0
]
},
{
"type": "line",
"start": [
-9.0,
23.0
],
"end": [
-9.0,
9.0
]
},
{
"type": "line",
"start": [
-9.0,
9.0
],
"end": [
-23.0,
9.0
]
},
{
"type": "line",
"start": [
-23.0,
9.0
],
"end": [
-23.0,
23.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
9.0,
23.0
],
"end": [
9.0,
9.0
]
},
{
"type": "line",
"start": [
9.0,
9.0
],
"end": [
23.0,
9.0
]
},
{
"type": "line",
"start": [
23.0,
9.0
],
"end": [
23.0,
23.0
]
},
{
"type": "line",
"start": [
23.0,
23.0
],
"end": [
9.0,
23.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
23.0,
-23.0
],
"end": [
23.0,
-9.0
]
},
{
"type": "line",
"start": [
23.0,
-9.0
],
"end": [
9.0,
-9.0
]
},
{
"type": "line",
"start": [
9.0,
-9.0
],
"end": [
9.0,
-23.0
]
},
{
"type": "line",
"start": [
9.0,
-23.0
],
"end": [
23.0,
-23.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-9.0,
-23.0
],
"end": [
-9.0,
-9.0
]
},
{
"type": "line",
"start": [
-9.0,
-9.0
],
"end": [
-23.0,
-9.0
]
},
{
"type": "line",
"start": [
-23.0,
-9.0
],
"end": [
-23.0,
-23.0
]
},
{
"type": "line",
"start": [
-23.0,
-23.0
],
"end": [
-9.0,
-23.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
16.377302105
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-5.656854249,
5.656854249
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
20.709321598,
0.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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 1400.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
}
],
"meta": {
"unit": "mm",
"source": "143265.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.306707079419443,
"volume": 0.0012247063257109047,
"surface_area": 0.885438011168974,
"center_of_mass": [
-3.701192611362962e-17,
-4.1497276341540415e-18,
5.538640473951346e-18
],
"principal_moments": [
0.001396025703398297,
0.5407935024902079,
0.5407935024902079
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.7,
-0.02500000000000001,
-0.02500000000000001,
0.7,
0.02500000000000001,
0.025000000000000012
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABmAAAA",
"persist_reference_sha256": "cbabd1a58c4ce176f1b79ea7ae77077336b82ee9440350646e4a9498993d9e3e",
"component": null,
"geometry": {
"box": [
-0.7,
-0.02500000000000001,
-0.02500000000000001,
0.7,
0.02500000000000001,
0.025000000000000012
],
"face_count": 90,
"edge_count": 264,
"vertex_count": 176
},
"stable_id": "cbabd1a58c4ce176f1b79ea7ae77077336b82ee9440350646e4a9498993d9e3e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 93,
"surface_counts": {
"cylinder": 15,
"plane": 78
},
"axis_count": 15,
"repeat_spacings_mm": [
{
"spacing_mm": 35.5598,
"pair_count": 8
},
{
"spacing_mm": 8.0,
"pair_count": 4
},
{
"spacing_mm": 11.3137,
"pair_count": 4
},
{
"spacing_mm": 26.6482,
"pair_count": 4
},
{
"spacing_mm": 42.6482,
"pair_count": 4
},
{
"spacing_mm": 34.6482,
"pair_count": 4
},
{
"spacing_mm": 49.0,
"pair_count": 4
},
{
"spacing_mm": 16.0,
"pair_count": 2
},
{
"spacing_mm": 69.2965,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-700.0,
-25.0,
-25.0,
700.0,
25.0,
25.0
],
"volume_mm3": 1224706.325710905,
"surface_area_mm2": 885438.011168974,
"solid_count": 1,
"face_count": 93,
"edge_count": 273,
"vertex_count": 182
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-700.0,
-25.0,
-25.0,
700.0,
25.0,
25.0
],
"volume_mm3": 1224706.325710905,
"surface_area_mm2": 885438.011168974,
"solid_count": 1,
"face_count": 90,
"edge_count": 264,
"vertex_count": 176
},
"comparisons": {
"volume_mm3": {
"expected": 1224706.325710905,
"actual": 1224706.325710905,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 885438.011168974,
"actual": 885438.011168974,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-700.0,
-25.0,
-25.0,
700.0,
25.0,
25.0
],
"actual": [
-700.0,
-25.0,
-25.0,
700.0,
25.0,
25.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 90,
"actual": 93,
"matches": false
},
"edge_count": {
"expected": 264,
"actual": 273,
"matches": false
},
"vertex_count": {
"expected": 176,
"actual": 182,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}