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

969 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "241720",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
38.5,
14.05
],
"end": [
36.5,
16.05
],
"center": [
36.5,
14.05
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
36.5,
16.05
],
"end": [
23.0,
16.05
]
},
{
"type": "line",
"start": [
23.0,
16.05
],
"end": [
23.0,
22.5
]
},
{
"type": "arc",
"start": [
23.0,
22.5
],
"end": [
23.5,
23.0
],
"center": [
23.5,
22.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
23.5,
23.0
],
"end": [
30.5,
23.0
]
},
{
"type": "arc",
"start": [
30.5,
23.0
],
"end": [
31.0,
22.5
],
"center": [
30.5,
22.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
31.0,
22.5
],
"end": [
31.0,
18.0
]
},
{
"type": "line",
"start": [
31.0,
18.0
],
"end": [
37.5,
18.0
]
},
{
"type": "arc",
"start": [
37.5,
18.0
],
"end": [
40.0,
15.5
],
"center": [
37.5,
15.5
],
"radius_mm": 2.5,
"clockwise": true
},
{
"type": "line",
"start": [
40.0,
15.5
],
"end": [
40.0,
11.5
]
},
{
"type": "line",
"start": [
40.0,
11.5
],
"end": [
38.5,
11.5
]
},
{
"type": "line",
"start": [
38.5,
11.5
],
"end": [
38.5,
14.05
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
17.5,
23.0
],
"end": [
18.0,
22.5
],
"center": [
17.5,
22.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
18.0,
22.5
],
"end": [
18.0,
16.0
]
},
{
"type": "line",
"start": [
18.0,
16.0
],
"end": [
26.0,
16.0
]
},
{
"type": "line",
"start": [
26.0,
16.0
],
"end": [
26.0,
14.0
]
},
{
"type": "line",
"start": [
26.0,
14.0
],
"end": [
16.0,
14.0
]
},
{
"type": "line",
"start": [
16.0,
14.0
],
"end": [
16.0,
11.5
]
},
{
"type": "line",
"start": [
16.0,
11.5
],
"end": [
0.0,
11.5
]
},
{
"type": "line",
"start": [
0.0,
11.5
],
"end": [
0.0,
15.5
]
},
{
"type": "line",
"start": [
0.0,
15.5
],
"end": [
0.5,
16.0
]
},
{
"type": "line",
"start": [
0.5,
16.0
],
"end": [
13.0,
16.0
]
},
{
"type": "line",
"start": [
13.0,
16.0
],
"end": [
13.0,
22.5
]
},
{
"type": "arc",
"start": [
13.0,
22.5
],
"end": [
13.5,
23.0
],
"center": [
13.5,
22.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
13.5,
23.0
],
"end": [
17.5,
23.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
16.1,
13.9
],
"end": [
26.05,
13.9
]
},
{
"type": "line",
"start": [
26.05,
13.9
],
"end": [
26.05,
16.0
]
},
{
"type": "line",
"start": [
26.05,
16.0
],
"end": [
33.0,
15.757300652
]
},
{
"type": "line",
"start": [
33.0,
15.757300652
],
"end": [
33.0,
11.5
]
},
{
"type": "line",
"start": [
33.0,
11.5
],
"end": [
16.1,
11.5
]
},
{
"type": "line",
"start": [
16.1,
11.5
],
"end": [
16.1,
13.9
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
47.495335206,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.0,
23.671361037
],
"end": [
-20.5,
11.835680518
]
},
{
"type": "line",
"start": [
-20.5,
11.835680518
],
"end": [
-20.5,
-11.835680518
]
},
{
"type": "line",
"start": [
-20.5,
-11.835680518
],
"end": [
-0.0,
-23.671361037
]
},
{
"type": "line",
"start": [
-0.0,
-23.671361037
],
"end": [
20.5,
-11.835680518
]
},
{
"type": "line",
"start": [
20.5,
-11.835680518
],
"end": [
20.5,
11.835680518
]
},
{
"type": "line",
"start": [
20.5,
11.835680518
],
"end": [
-0.0,
23.671361037
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 20.5
}
]
}
}
]
},
"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": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "33afc64bf61f19297ba4b9c292406605bedfd4c6b5aca1ffc8d476e6a9ee8081",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.04749533520635292,
0.0,
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": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "241720.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18239946562756357,
"volume": 2.3384546875328664e-05,
"surface_area": 0.01607356155593025,
"center_of_mass": [
0.02063638706444627,
-1.0243092594770566e-09,
3.8834950054497055e-09
],
"principal_moments": [
4.179689599387561e-05,
4.179691378541156e-05,
4.769349061535037e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.023075818087401872,
-0.020500000000000008,
0.04,
0.02307581808740187,
0.020500000000000004
],
"solid_body_count": 3,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABwAAAAawAAAA==",
"persist_reference_sha256": "c2aa84df097a4ed8e3599a7a7a8c9834d08b166170bf6b84a63ae9572c180dc8",
"component": null,
"geometry": {
"box": [
0.022889840166612906,
-0.023075818087401872,
-0.020500000000000008,
0.04,
0.023075818087401865,
0.020500000000000004
],
"face_count": 33,
"edge_count": 80,
"vertex_count": 48
},
"stable_id": "c2aa84df097a4ed8e3599a7a7a8c9834d08b166170bf6b84a63ae9572c180dc8"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABvAAAAagAAAA==",
"persist_reference_sha256": "05fa05b91e94bb02f34b5c7b6ddff4d220231dbd429c12c0015ca1ca8c2bb7bf",
"component": null,
"geometry": {
"box": [
0.0,
-0.023075818087401872,
-0.020500000000000004,
0.026,
0.02307581808740187,
0.020500000000000004
],
"face_count": 34,
"edge_count": 81,
"vertex_count": 48
},
"stable_id": "05fa05b91e94bb02f34b5c7b6ddff4d220231dbd429c12c0015ca1ca8c2bb7bf"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转1[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABsAAAA",
"persist_reference_sha256": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9",
"component": null,
"geometry": {
"box": [
0.0161,
-0.016,
-0.016,
0.033,
0.016,
0.016
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 86,
"surface_counts": {
"cone": 4,
"cylinder": 30,
"plane": 24,
"torus": 28
},
"axis_count": 34,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-23.0000001,
-20.5000001,
40.0,
23.0000001,
20.5000001
],
"volume_mm3": 23384.543624467,
"surface_area_mm2": 16073.559443259,
"solid_count": 3,
"face_count": 86,
"edge_count": 216,
"vertex_count": 142
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-23.075818087,
-20.5,
40.0,
23.075818087,
20.5
],
"volume_mm3": 23384.546875329,
"surface_area_mm2": 16073.56155593,
"solid_count": 3,
"face_count": 73,
"edge_count": 167,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 23384.546875329,
"actual": 23384.543624467,
"absolute_delta": 0.0032508619988220744,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16073.56155593,
"actual": 16073.559443259,
"absolute_delta": 0.0021126709998497972,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-23.075818087,
-20.5,
40.0,
23.075818087,
20.5
],
"actual": [
0.0,
-23.0000001,
-20.5000001,
40.0,
23.0000001,
20.5000001
],
"max_absolute_delta": 0.07581798699999709,
"within_tolerance": false
},
"solid_count": {
"expected": 3,
"actual": 3,
"matches": true
},
"face_count": {
"expected": 73,
"actual": 86,
"matches": false
},
"edge_count": {
"expected": 167,
"actual": 216,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 142,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}