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

739 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "197194",
"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,
0.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
0.0,
20.0
],
"end": [
1000.0,
51.426266043
]
},
{
"type": "line",
"start": [
1000.0,
51.426266043
],
"end": [
1000.0,
0.0
]
},
{
"type": "line",
"start": [
1000.0,
0.0
],
"end": [
980.0,
-0.0
]
},
{
"type": "line",
"start": [
980.0,
-0.0
],
"end": [
980.0,
49.297000198
]
},
{
"type": "line",
"start": [
980.0,
49.297000198
],
"end": [
20.0,
19.127784796
]
},
{
"type": "line",
"start": [
20.0,
19.127784796
],
"end": [
20.0,
-0.0
]
},
{
"type": "line",
"start": [
20.0,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
1000.0,
0.0
],
"end": [
0.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": 15.0
}
},
{
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 16.0
}
},
{
"id": "sk_005",
"name": "草图4",
"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": 18.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": [
1000.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": "57089362c237419c3ad7a3f67312844837e998c5d79d4d6059a6a7797b0aa0ee",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.9999999999999999,
2.0818995585504983e-17,
0.0
],
"end": [
0.0,
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": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 17.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "基准轴1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"selector": {
"kind": "face",
"stable_id": "8379b9578f5cd9f7eae5ebea5279f2a2d47edecfd597e2b730e590b599d7f092",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cone",
"parameters": [
0.9999999999999999,
2.0818995585504983e-17,
0.0,
-1.0,
-2.081899558550499e-17,
0.0,
0.051426266043344514,
0.031415926535891314
]
},
"box": [
-4.163799117100998e-19,
-0.05142626604334449,
-0.051426266043344514,
0.9999999999999999,
0.051426266043344535,
0.051426266043344514
],
"area": 0.22450301135893827
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "8379b9578f5cd9f7eae5ebea5279f2a2d47edecfd597e2b730e590b599d7f092",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cone",
"parameters": [
0.9999999999999999,
2.0818995585504983e-17,
0.0,
-1.0,
-2.081899558550499e-17,
0.0,
0.051426266043344514,
0.031415926535891314
]
},
"box": [
-4.163799117100998e-19,
-0.05142626604334449,
-0.051426266043344514,
0.9999999999999999,
0.051426266043344535,
0.051426266043344514
],
"area": 0.22450301135893827
}
}
]
},
{
"id": "f_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "197194.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.7193424054252056,
"volume": 0.0004708028361297729,
"surface_area": 0.45006031455233725,
"center_of_mass": [
0.6853537651626617,
2.2948905147403562e-17,
-7.78121564706701e-34
],
"principal_moments": [
0.005309657848684723,
0.35951021176010167,
0.35951021176010167
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-3.026251542092177e-20,
-0.05133050619550302,
-0.05133050619550304,
0.9999999999999999,
0.05133050619550306,
0.05133050619550304
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-3.026251542092177e-20,
-0.05133050619550302,
-0.05133050619550304,
0.9999999999999999,
0.05133050619550306,
0.05133050619550304
],
"face_count": 14,
"edge_count": 14,
"vertex_count": 0
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 22,
"surface_counts": {
"cone": 4,
"cylinder": 8,
"plane": 6,
"torus": 4
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-0.0,
-51.330506196,
-51.330506296,
1000.0,
51.330506196,
51.330506296
],
"volume_mm3": 470802.836129772,
"surface_area_mm2": 450060.314552337,
"solid_count": 1,
"face_count": 22,
"edge_count": 44,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-51.330506196,
-51.330506196,
1000.0,
51.330506196,
51.330506196
],
"volume_mm3": 470802.836129773,
"surface_area_mm2": 450060.314552337,
"solid_count": 1,
"face_count": 14,
"edge_count": 14,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 470802.836129773,
"actual": 470802.836129772,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 450060.314552337,
"actual": 450060.314552337,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-51.330506196,
-51.330506196,
1000.0,
51.330506196,
51.330506196
],
"actual": [
-0.0,
-51.330506196,
-51.330506296,
1000.0,
51.330506196,
51.330506296
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 22,
"matches": false
},
"edge_count": {
"expected": 14,
"actual": 44,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}