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

590 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "061119",
"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": "arc",
"start": [
-4.0,
96.0
],
"end": [
-6.0,
94.0
],
"center": [
-4.0,
94.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-6.0,
94.0
],
"end": [
-6.0,
89.0
]
},
{
"type": "line",
"start": [
-6.0,
89.0
],
"end": [
-5.0,
89.0
]
},
{
"type": "line",
"start": [
-5.0,
89.0
],
"end": [
-5.0,
83.0
]
},
{
"type": "line",
"start": [
-5.0,
83.0
],
"end": [
-6.0,
83.0
]
},
{
"type": "line",
"start": [
-6.0,
83.0
],
"end": [
-6.0,
79.0
]
},
{
"type": "line",
"start": [
-6.0,
79.0
],
"end": [
-8.0,
79.0
]
},
{
"type": "line",
"start": [
-8.0,
79.0
],
"end": [
-8.0,
0.0
]
},
{
"type": "line",
"start": [
-8.0,
0.0
],
"end": [
-4.0,
0.0
]
},
{
"type": "line",
"start": [
-4.0,
0.0
],
"end": [
-4.0,
-23.0
]
},
{
"type": "line",
"start": [
-4.0,
-23.0
],
"end": [
0.0,
-23.0
]
},
{
"type": "line",
"start": [
0.0,
-23.0
],
"end": [
0.0,
96.0
]
},
{
"type": "line",
"start": [
0.0,
96.0
],
"end": [
-4.0,
96.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-23.0
],
"end": [
0.0,
96.002910641
]
}
]
}
}
]
},
"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": "reference_plane",
"depends_on": [
"f_003"
],
"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": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-23.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "6880f640f2123c8f9fe671f92bad4979f6d2a8380f6cd2c7feff303cf3d415b7",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.022999999999999993,
0.0
],
"end": [
0.0,
0.09600291064122063,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "061119.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.018725356431815336,
"volume": 1.8725356431815335e-05,
"surface_area": 0.005589310349605212,
"center_of_mass": [
-4.6118030524540526e-20,
0.040675199105127,
2.3121593570670677e-19
],
"principal_moments": [
5.448811455278943e-07,
1.5498608562351418e-05,
1.5498608562351418e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008,
-0.023,
-0.008,
0.008,
0.096,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABnAAAA",
"persist_reference_sha256": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001",
"component": null,
"geometry": {
"box": [
-0.008,
-0.023,
-0.008,
0.008,
0.096,
0.008
],
"face_count": 12,
"edge_count": 11,
"vertex_count": 0
},
"stable_id": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cylinder": 10,
"plane": 6,
"torus": 2
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.0,
-23.0,
-8.0,
8.0,
96.0,
8.0
],
"volume_mm3": 18725.356431815,
"surface_area_mm2": 5589.310349605,
"solid_count": 1,
"face_count": 18,
"edge_count": 34,
"vertex_count": 22
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.0,
-23.0,
-8.0,
8.0,
96.0,
8.0
],
"volume_mm3": 18725.356431815,
"surface_area_mm2": 5589.310349605,
"solid_count": 1,
"face_count": 12,
"edge_count": 11,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 18725.356431815,
"actual": 18725.356431815,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5589.310349605,
"actual": 5589.310349605,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.0,
-23.0,
-8.0,
8.0,
96.0,
8.0
],
"actual": [
-8.0,
-23.0,
-8.0,
8.0,
96.0,
8.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 12,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 11,
"actual": 34,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 22,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}