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

510 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "155515",
"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": "尺寸草图",
"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": [],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
16.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": [
-7.6,
10.244507042
],
"end": [
-8.0,
9.844507042
]
},
{
"type": "line",
"start": [
-8.0,
9.844507042
],
"end": [
-8.0,
8.644507042
]
},
{
"type": "line",
"start": [
-8.0,
8.644507042
],
"end": [
-4.2,
8.644507042
]
},
{
"type": "line",
"start": [
-4.2,
8.644507042
],
"end": [
-4.2,
10.244507042
]
},
{
"type": "line",
"start": [
-4.2,
10.244507042
],
"end": [
-7.6,
10.244507042
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
52.731830986
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "基准面2",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "基体-旋转",
"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": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "e6c34a95a7418707ad9f957cae0bc7ef29198e6a4a426f645f304d3fced54bf9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.05273183098591548,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "基准面3",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "155515.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0018005417515341582,
"volume": 2.2907655871935855e-07,
"surface_area": 0.0004019501064297246,
"center_of_mass": [
4.621997073759961e-20,
0.009433009090234803,
2.317901256124847e-21
],
"principal_moments": [
3.679774138009893e-08,
3.679774138009893e-08,
7.284260120796948e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008,
0.0,
-0.008,
0.016,
0.01024450704225353,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "基体-旋转",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.008,
0.008644507042253528,
-0.008,
0.008,
0.01024450704225353,
0.008
],
"face_count": 5,
"edge_count": 5,
"vertex_count": 0
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 8,
"surface_counts": {
"cone": 2,
"cylinder": 4,
"plane": 2
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.0,
8.644507042,
-8.0,
8.0,
10.244507042,
8.0
],
"volume_mm3": 229.076558719,
"surface_area_mm2": 401.95010643,
"solid_count": 1,
"face_count": 8,
"edge_count": 16,
"vertex_count": 10
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.0,
0.0,
-8.0,
16.0,
10.244507042,
8.0
],
"volume_mm3": 229.076558719,
"surface_area_mm2": 401.95010643,
"solid_count": 1,
"face_count": 5,
"edge_count": 5,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 229.076558719,
"actual": 229.076558719,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 401.95010643,
"actual": 401.95010643,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.0,
0.0,
-8.0,
16.0,
10.244507042,
8.0
],
"actual": [
-8.0,
8.644507042,
-8.0,
8.0,
10.244507042,
8.0
],
"max_absolute_delta": 8.644507042,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 5,
"actual": 8,
"matches": false
},
"edge_count": {
"expected": 5,
"actual": 16,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 10,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}