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

1116 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "062092",
"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,
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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 36.0
}
},
{
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-23.796116423,
-16.644131935
],
"end": [
-31.921354484,
-16.644131935
]
},
{
"type": "line",
"start": [
-31.921354484,
-16.644131935
],
"end": [
-31.921354484,
16.644131935
]
},
{
"type": "line",
"start": [
-31.921354484,
16.644131935
],
"end": [
-23.796116423,
16.644131935
]
},
{
"type": "line",
"start": [
-23.796116423,
16.644131935
],
"end": [
-23.796116423,
-16.644131935
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
31.923735454,
-16.645
],
"end": [
23.793735454,
-16.645
]
},
{
"type": "line",
"start": [
23.793735454,
-16.645
],
"end": [
23.793735454,
16.645
]
},
{
"type": "line",
"start": [
23.793735454,
16.645
],
"end": [
31.923735454,
16.645
]
},
{
"type": "line",
"start": [
31.923735454,
16.645
],
"end": [
31.923735454,
-16.645
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-45.36076522,
0.0
],
"end": [
60.45425878,
0.0
]
},
{
"type": "line",
"start": [
-27.858735454,
0.0
],
"end": [
-27.858735454,
17.742883387
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
19.830281432
]
},
{
"type": "line",
"start": [
27.858735454,
0.0
],
"end": [
27.858735454,
17.742883387
]
},
{
"type": "line",
"start": [
-23.796116423,
-16.644131935
],
"end": [
-31.921354484,
16.644131935
]
},
{
"type": "line",
"start": [
-23.796116423,
16.644131935
],
"end": [
-31.921354484,
-16.644131935
]
},
{
"type": "line",
"start": [
31.923735454,
-16.645
],
"end": [
23.793735454,
16.645
]
},
{
"type": "line",
"start": [
31.923735454,
16.645
],
"end": [
23.793735454,
-16.645
]
}
]
}
},
{
"id": "sk_004",
"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": false,
"segments": [
{
"type": "line",
"start": [
-16.644131935,
16.0
],
"end": [
16.644131935,
16.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-0.0,
115.5
],
"radius_mm": 4.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-16.644131935,
115.5
],
"end": [
16.644131935,
115.5
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 30.0
}
},
{
"id": "sk_006",
"name": "草图6",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 10.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_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_002"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
16.0,
0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "5702cb8fadc57b9cacfb6d416ed0ef1b1e2e2d548f81d56423a0da2f05d21072",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.016,
0.0
]
},
"box": [
-0.036,
0.016,
-0.036,
0.036,
0.016,
0.036
],
"area": 0.004071504079052371
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "5702cb8fadc57b9cacfb6d416ed0ef1b1e2e2d548f81d56423a0da2f05d21072",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.016,
0.0
]
},
"box": [
-0.036,
0.016,
-0.036,
0.036,
0.016,
0.036
],
"area": 0.004071504079052371
}
}
]
},
{
"id": "f_009",
"name": "基准面3",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "115dd3d4a97911ee412ce7a3c066f962da0cbbe0c5e8c82a2b1c9017bdae4b96",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.036,
0.0,
-0.036,
0.036,
0.0,
0.036
],
"area": 0.004071504079052371
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "115dd3d4a97911ee412ce7a3c066f962da0cbbe0c5e8c82a2b1c9017bdae4b96",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.036,
0.0,
-0.036,
0.036,
0.0,
0.036
],
"area": 0.004071504079052371
}
}
]
},
{
"id": "f_011",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 112.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_007",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"params": {
"plane": {
"origin_mm": [
31.921354484,
128.0,
-16.644131935
],
"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": "2233b6fcb157b65939925ea8dd7f51ac1eb37874d3b9b0678754fef803dcc61a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "face",
"stable_id": "53e127648d2c284a8fd35bebfb79ea833db2851052592c6ad80539df24805ab9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.03192135448446441,
0.128,
-0.016644131935224595
]
},
"box": [
0.03192135448446441,
0.016,
-0.016644131935224595,
0.03192135448446442,
0.128,
0.016644131935224595
],
"area": 0.0037282855534903096
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "2233b6fcb157b65939925ea8dd7f51ac1eb37874d3b9b0678754fef803dcc61a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "face",
"stable_id": "53e127648d2c284a8fd35bebfb79ea833db2851052592c6ad80539df24805ab9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.03192135448446441,
0.128,
-0.016644131935224595
]
},
"box": [
0.03192135448446441,
0.016,
-0.016644131935224595,
0.03192135448446442,
0.128,
0.016644131935224595
],
"area": 0.0037282855534903096
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "062092.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.08961809494661882,
"volume": 8.961809494661883e-05,
"surface_area": 0.032357423434019025,
"center_of_mass": [
-5.935993490643938e-06,
0.050965407110156444,
8.784730678841934e-18
],
"principal_moments": [
7.91940025590568e-05,
0.0001565344668587921,
0.00019767262266919875
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.036,
0.0,
-0.036,
0.036,
0.128,
0.036
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABuAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6",
"component": null,
"geometry": {
"box": [
-0.036,
0.0,
-0.036,
0.036,
0.128,
0.036
],
"face_count": 22,
"edge_count": 43,
"vertex_count": 20
},
"stable_id": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 27,
"surface_counts": {
"cylinder": 10,
"plane": 17
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-36.0,
0.0,
-36.0,
36.0,
128.0,
36.0
],
"volume_mm3": 89618.094946619,
"surface_area_mm2": 32357.423434019,
"solid_count": 1,
"face_count": 27,
"edge_count": 64,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-36.0,
0.0,
-36.0,
36.0,
128.0,
36.0
],
"volume_mm3": 89618.094946619,
"surface_area_mm2": 32357.423434019,
"solid_count": 1,
"face_count": 22,
"edge_count": 43,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 89618.094946619,
"actual": 89618.094946619,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 32357.423434019,
"actual": 32357.423434019,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-36.0,
0.0,
-36.0,
36.0,
128.0,
36.0
],
"actual": [
-36.0,
0.0,
-36.0,
36.0,
128.0,
36.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 27,
"matches": false
},
"edge_count": {
"expected": 43,
"actual": 64,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}