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

741 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "193716",
"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": [
8.5,
15.5
],
"end": [
9.25,
14.75
],
"center": [
8.5,
14.75
],
"radius_mm": 0.75,
"clockwise": true
},
{
"type": "line",
"start": [
9.25,
14.75
],
"end": [
9.25,
14.5
]
},
{
"type": "line",
"start": [
9.25,
14.5
],
"end": [
9.5,
14.5
]
},
{
"type": "line",
"start": [
9.5,
14.5
],
"end": [
10.969655115,
13.89124892
]
},
{
"type": "line",
"start": [
10.969655115,
13.89124892
],
"end": [
10.969655115,
9.60875108
]
},
{
"type": "line",
"start": [
10.969655115,
9.60875108
],
"end": [
9.5,
9.0
]
},
{
"type": "line",
"start": [
9.5,
9.0
],
"end": [
8.331,
9.0
]
},
{
"type": "line",
"start": [
8.331,
9.0
],
"end": [
8.331,
0.856
]
},
{
"type": "line",
"start": [
8.331,
0.856
],
"end": [
7.475,
0.0
]
},
{
"type": "line",
"start": [
7.475,
0.0
],
"end": [
5.854,
0.0
]
},
{
"type": "line",
"start": [
5.854,
0.0
],
"end": [
5.554,
0.3
]
},
{
"type": "line",
"start": [
5.554,
0.3
],
"end": [
5.554,
8.946
]
},
{
"type": "arc",
"start": [
5.554,
8.946
],
"end": [
0.0,
14.5
],
"center": [
-0.0,
8.946
],
"radius_mm": 5.554,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
14.5
],
"end": [
0.0,
15.0
]
},
{
"type": "line",
"start": [
0.0,
15.0
],
"end": [
7.5,
15.0
]
},
{
"type": "line",
"start": [
7.5,
15.0
],
"end": [
7.5,
15.5
]
},
{
"type": "line",
"start": [
7.5,
15.5
],
"end": [
8.5,
15.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-10.969655115,
0.0
],
"end": [
-5.484827557,
-9.5
]
},
{
"type": "line",
"start": [
-5.484827557,
-9.5
],
"end": [
5.484827557,
-9.5
]
},
{
"type": "line",
"start": [
5.484827557,
-9.5
],
"end": [
10.969655115,
0.0
]
},
{
"type": "line",
"start": [
10.969655115,
0.0
],
"end": [
5.484827557,
9.5
]
},
{
"type": "line",
"start": [
5.484827557,
9.5
],
"end": [
-5.484827557,
9.5
]
},
{
"type": "line",
"start": [
-5.484827557,
9.5
],
"end": [
-10.969655115,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 19.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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "38bd55b007f3ab1db55420604798c84cfe60e6c488bdd7213a6a0d6f31d33a11",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.0155,
0.0
]
}
}
]
},
{
"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_002",
"f_004"
],
"params": {
"distance_mm": 15.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "193716.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0025988769414000802,
"volume": 2.5988769414000802e-06,
"surface_area": 0.00187428533843816,
"center_of_mass": [
4.318523408652444e-10,
0.009099150826212793,
-7.040023541297867e-19
],
"principal_moments": [
1.2019533915120272e-07,
1.20195759130111e-07,
1.4259578040577038e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.010969655114602888,
0.0,
-0.0095,
0.010969655114602888,
0.0155,
0.009500000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABsAAAAawAAAA==",
"persist_reference_sha256": "504eee8bdf70ba3bf45639cf4229f68fc2e77d7a443df0fea9b42d5330e91aa2",
"component": null,
"geometry": {
"box": [
-0.010969655114602888,
0.0,
-0.0095,
0.010969655114602888,
0.0155,
0.009500000000000003
],
"face_count": 31,
"edge_count": 53,
"vertex_count": 24
},
"stable_id": "504eee8bdf70ba3bf45639cf4229f68fc2e77d7a443df0fea9b42d5330e91aa2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 39,
"surface_counts": {
"cone": 16,
"cylinder": 8,
"plane": 11,
"sphere": 2,
"torus": 2
},
"axis_count": 24,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-10.969655215,
0.0,
-9.5000001,
10.969655215,
15.5,
9.5000001
],
"volume_mm3": 2598.858671188,
"surface_area_mm2": 1874.281229745,
"solid_count": 1,
"face_count": 39,
"edge_count": 82,
"vertex_count": 49
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.969655115,
0.0,
-9.5,
10.969655115,
15.5,
9.5
],
"volume_mm3": 2598.8769414,
"surface_area_mm2": 1874.285338438,
"solid_count": 1,
"face_count": 31,
"edge_count": 53,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 2598.8769414,
"actual": 2598.858671188,
"absolute_delta": 0.018270212000061292,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1874.285338438,
"actual": 1874.281229745,
"absolute_delta": 0.004108693000034691,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-10.969655115,
0.0,
-9.5,
10.969655115,
15.5,
9.5
],
"actual": [
-10.969655215,
0.0,
-9.5000001,
10.969655215,
15.5,
9.5000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 39,
"matches": false
},
"edge_count": {
"expected": 53,
"actual": 82,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 49,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}