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

790 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "065137",
"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": "line",
"start": [
0.0,
-8.0
],
"end": [
0.0,
-22.5
]
},
{
"type": "line",
"start": [
0.0,
-22.5
],
"end": [
2.0,
-22.5
]
},
{
"type": "line",
"start": [
2.0,
-22.5
],
"end": [
2.0,
-20.0
]
},
{
"type": "line",
"start": [
2.0,
-20.0
],
"end": [
52.0,
-20.0
]
},
{
"type": "line",
"start": [
52.0,
-20.0
],
"end": [
52.0,
-22.5
]
},
{
"type": "line",
"start": [
52.0,
-22.5
],
"end": [
54.0,
-22.5
]
},
{
"type": "line",
"start": [
54.0,
-22.5
],
"end": [
54.0,
-8.0
]
},
{
"type": "line",
"start": [
54.0,
-8.0
],
"end": [
0.0,
-8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
54.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 17.5
}
},
{
"id": "sk_004",
"name": "Sketch1",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 22.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": "旋转2",
"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": "3e3e546bc23b66d23ad7cca0408ed0a6c0f8b20c3d810dfd4fbdb8d48a4da60a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.054000000000000006,
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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 11.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
-8.0,
0.0
],
"x_dir": [
0.0,
-0.0,
1.0
],
"normal": [
-1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "5b65a189a4624b19c03471a200e1c4c0c4b44be929eb210c4231735080444efb",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "7384de78dbc0697330a8d8dbf7c900ca0b54c951059afa4863e3560bc845a913",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
1.8675863686997134e-18,
-0.008,
0.0
]
},
"box": [
0.0,
-0.0225,
-0.0225,
2.755455298081544e-18,
0.0225,
0.0225
],
"area": 0.0006283185307179583
}
},
{
"kind": "face",
"stable_id": "db3d48dcc571a0facd27d6c93b05e6c3a5b02fcdcd76869ac1932b9aab88cf1e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.054000000000000006,
-0.0225,
0.0
]
},
"box": [
0.054000000000000006,
-0.0225,
-0.0225,
0.05400000000000001,
0.0225,
0.0225
],
"area": 0.001389369351050086
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "5b65a189a4624b19c03471a200e1c4c0c4b44be929eb210c4231735080444efb",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "7384de78dbc0697330a8d8dbf7c900ca0b54c951059afa4863e3560bc845a913",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
1.8675863686997134e-18,
-0.008,
0.0
]
},
"box": [
0.0,
-0.0225,
-0.0225,
2.755455298081544e-18,
0.0225,
0.0225
],
"area": 0.0006283185307179583
}
},
{
"kind": "face",
"stable_id": "db3d48dcc571a0facd27d6c93b05e6c3a5b02fcdcd76869ac1932b9aab88cf1e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.054000000000000006,
-0.0225,
0.0
]
},
"box": [
0.054000000000000006,
-0.0225,
-0.0225,
0.05400000000000001,
0.0225,
0.0225
],
"area": 0.001389369351050086
}
}
]
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_005",
"f_006"
],
"params": {
"source_feature_ids": [
"f_005"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "88eaa715197edf6719cc77d45c06c09114b4e8c806a2cc504ab89501d6903ad4",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "88eaa715197edf6719cc77d45c06c09114b4e8c806a2cc504ab89501d6903ad4",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
]
},
{
"id": "f_008",
"name": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "065137.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04266282823574939,
"volume": 4.266282823574939e-05,
"surface_area": 0.01532311816788422,
"center_of_mass": [
0.027000000000000003,
-5.757695044181649e-19,
-3.5372570464084725e-19
],
"principal_moments": [
1.1045046517876743e-05,
1.2368828577298349e-05,
1.2368828577298349e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.022500000000000003,
-0.022500000000000003,
0.054000000000000006,
0.022500000000000003,
0.022500000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Extrude1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABuAAAAbQAAAGwAAABrAAAA",
"persist_reference_sha256": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4",
"component": null,
"geometry": {
"box": [
0.0,
-0.022500000000000003,
-0.022500000000000003,
0.054000000000000006,
0.022500000000000003,
0.022500000000000003
],
"face_count": 19,
"edge_count": 18,
"vertex_count": 0
},
"stable_id": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 28,
"surface_counts": {
"cylinder": 18,
"plane": 10
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-22.5,
-22.5,
54.0,
22.5,
22.5
],
"volume_mm3": 42662.828235749,
"surface_area_mm2": 15323.118167884,
"solid_count": 1,
"face_count": 28,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-22.5,
-22.5,
54.0,
22.5,
22.5
],
"volume_mm3": 42662.828235749,
"surface_area_mm2": 15323.118167884,
"solid_count": 1,
"face_count": 19,
"edge_count": 18,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 42662.828235749,
"actual": 42662.828235749,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15323.118167884,
"actual": 15323.118167884,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-22.5,
-22.5,
54.0,
22.5,
22.5
],
"actual": [
0.0,
-22.5,
-22.5,
54.0,
22.5,
22.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 28,
"matches": false
},
"edge_count": {
"expected": 18,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}