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

1032 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "150348",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
15.0,
6.5
],
"end": [
14.0,
7.5
],
"center": [
14.0,
6.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
14.0,
7.5
],
"end": [
-14.0,
7.5
]
},
{
"type": "arc",
"start": [
-14.0,
7.5
],
"end": [
-15.0,
6.5
],
"center": [
-14.0,
6.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-15.0,
6.5
],
"end": [
-15.0,
3.25
]
},
{
"type": "line",
"start": [
-15.0,
3.25
],
"end": [
-12.6,
3.25
]
},
{
"type": "line",
"start": [
-12.6,
3.25
],
"end": [
-12.6,
5.3
]
},
{
"type": "line",
"start": [
-12.6,
5.3
],
"end": [
-6.6,
5.3
]
},
{
"type": "line",
"start": [
-6.6,
5.3
],
"end": [
-6.6,
3.25
]
},
{
"type": "line",
"start": [
-6.6,
3.25
],
"end": [
-4.7,
3.25
]
},
{
"type": "line",
"start": [
-4.7,
3.25
],
"end": [
-4.7,
-3.25
]
},
{
"type": "line",
"start": [
-4.7,
-3.25
],
"end": [
-6.6,
-3.25
]
},
{
"type": "line",
"start": [
-6.6,
-3.25
],
"end": [
-6.6,
-5.3
]
},
{
"type": "line",
"start": [
-6.6,
-5.3
],
"end": [
-12.6,
-5.3
]
},
{
"type": "line",
"start": [
-12.6,
-5.3
],
"end": [
-12.6,
-3.25
]
},
{
"type": "line",
"start": [
-12.6,
-3.25
],
"end": [
-15.0,
-3.25
]
},
{
"type": "line",
"start": [
-15.0,
-3.25
],
"end": [
-15.0,
-6.5
]
},
{
"type": "arc",
"start": [
-15.0,
-6.5
],
"end": [
-14.0,
-7.5
],
"center": [
-14.0,
-6.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-14.0,
-7.5
],
"end": [
14.0,
-7.5
]
},
{
"type": "arc",
"start": [
14.0,
-7.5
],
"end": [
15.0,
-6.5
],
"center": [
14.0,
-6.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
-6.5
],
"end": [
15.0,
-3.25
]
},
{
"type": "line",
"start": [
15.0,
-3.25
],
"end": [
12.6,
-3.25
]
},
{
"type": "line",
"start": [
12.6,
-3.25
],
"end": [
12.6,
-5.3
]
},
{
"type": "line",
"start": [
12.6,
-5.3
],
"end": [
6.6,
-5.3
]
},
{
"type": "line",
"start": [
6.6,
-5.3
],
"end": [
6.6,
-3.25
]
},
{
"type": "line",
"start": [
6.6,
-3.25
],
"end": [
4.7,
-3.25
]
},
{
"type": "line",
"start": [
4.7,
-3.25
],
"end": [
4.7,
3.25
]
},
{
"type": "line",
"start": [
4.7,
3.25
],
"end": [
6.6,
3.25
]
},
{
"type": "line",
"start": [
6.6,
3.25
],
"end": [
6.6,
5.3
]
},
{
"type": "line",
"start": [
6.6,
5.3
],
"end": [
12.6,
5.3
]
},
{
"type": "line",
"start": [
12.6,
5.3
],
"end": [
12.6,
3.25
]
},
{
"type": "line",
"start": [
12.6,
3.25
],
"end": [
15.0,
3.25
]
},
{
"type": "line",
"start": [
15.0,
3.25
],
"end": [
15.0,
6.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-2.050609578,
2.757716359
],
"end": [
-2.757716359,
2.050609578
],
"center": [
-2.404162968,
2.404162968
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.757716359,
2.050609578
],
"end": [
-2.085604198,
1.378497417
]
},
{
"type": "arc",
"start": [
-2.085604198,
1.378497417
],
"end": [
-2.085604198,
-1.378497417
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.085604198,
-1.378497417
],
"end": [
-2.757716447,
-2.050609665
]
},
{
"type": "arc",
"start": [
-2.757716447,
-2.050609665
],
"end": [
-2.050609665,
-2.757716447
],
"center": [
-2.404163056,
-2.404163056
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.050609665,
-2.757716447
],
"end": [
-1.378497417,
-2.085604198
]
},
{
"type": "arc",
"start": [
-1.378497417,
-2.085604198
],
"end": [
1.378497417,
-2.085604198
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
1.378497417,
-2.085604198
],
"end": [
2.050609753,
-2.757716534
]
},
{
"type": "arc",
"start": [
2.050609753,
-2.757716534
],
"end": [
2.757716534,
-2.050609753
],
"center": [
2.404163144,
-2.404163144
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.757716534,
-2.050609753
],
"end": [
2.085604198,
-1.378497417
]
},
{
"type": "arc",
"start": [
2.085604198,
-1.378497417
],
"end": [
2.085604198,
1.378497417
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.085604198,
1.378497417
],
"end": [
2.757716447,
2.050609665
]
},
{
"type": "arc",
"start": [
2.757716447,
2.050609665
],
"end": [
2.050609665,
2.757716447
],
"center": [
2.404163056,
2.404163056
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.050609665,
2.757716447
],
"end": [
1.378497417,
2.085604198
]
},
{
"type": "arc",
"start": [
1.378497417,
2.085604198
],
"end": [
-1.378497417,
2.085604198
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-1.378497417,
2.085604198
],
"end": [
-2.050609578,
2.757716359
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
4.7,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
7.5
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": 498.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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": "150348.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.32427552780206237,
"volume": 0.00012010204733409718,
"surface_area": 0.0858650637865641,
"center_of_mass": [
-2.756557256642042e-12,
2.756553979141094e-12,
-2.9694823439016156e-17
],
"principal_moments": [
2.903727628863586e-05,
0.006711143334720192,
0.006721498607738878
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015,
-0.0075,
-0.249,
0.015,
0.0075,
0.249
],
"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.015,
-0.0075,
-0.249,
0.015,
0.0075,
0.249
],
"face_count": 50,
"edge_count": 144,
"vertex_count": 96
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 53,
"surface_counts": {
"cylinder": 15,
"plane": 38
},
"axis_count": 15,
"repeat_spacings_mm": [
{
"spacing_mm": 4.8083,
"pair_count": 4
},
{
"spacing_mm": 3.4,
"pair_count": 4
},
{
"spacing_mm": 16.9078,
"pair_count": 4
},
{
"spacing_mm": 12.2979,
"pair_count": 4
},
{
"spacing_mm": 14.6201,
"pair_count": 4
},
{
"spacing_mm": 18.665,
"pair_count": 4
},
{
"spacing_mm": 15.4353,
"pair_count": 4
},
{
"spacing_mm": 6.8,
"pair_count": 2
},
{
"spacing_mm": 28.0,
"pair_count": 2
},
{
"spacing_mm": 30.8707,
"pair_count": 2
},
{
"spacing_mm": 13.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-7.5,
-249.0,
15.0,
7.5,
249.0
],
"volume_mm3": 120102.047334097,
"surface_area_mm2": 85865.063786564,
"solid_count": 1,
"face_count": 53,
"edge_count": 153,
"vertex_count": 102
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-7.5,
-249.0,
15.0,
7.5,
249.0
],
"volume_mm3": 120102.047334097,
"surface_area_mm2": 85865.063786564,
"solid_count": 1,
"face_count": 50,
"edge_count": 144,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 120102.047334097,
"actual": 120102.047334097,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 85865.063786564,
"actual": 85865.063786564,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-7.5,
-249.0,
15.0,
7.5,
249.0
],
"actual": [
-15.0,
-7.5,
-249.0,
15.0,
7.5,
249.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 50,
"actual": 53,
"matches": false
},
"edge_count": {
"expected": 144,
"actual": 153,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 102,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}