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

530 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "094412",
"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": [
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": true,
"segments": [
{
"type": "arc",
"start": [
-5.5,
-0.303921569
],
"end": [
-7.5,
-2.303921569
],
"center": [
-7.5,
-0.303921569
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
-7.5,
-2.303921569
],
"end": [
-11.0,
-2.303921569
]
},
{
"type": "line",
"start": [
-11.0,
-2.303921569
],
"end": [
-11.0,
1.696078431
]
},
{
"type": "line",
"start": [
-11.0,
1.696078431
],
"end": [
-9.0,
1.696078431
]
},
{
"type": "line",
"start": [
-9.0,
1.696078431
],
"end": [
-9.0,
5.196078431
]
},
{
"type": "line",
"start": [
-9.0,
5.196078431
],
"end": [
-8.5,
5.196078431
]
},
{
"type": "line",
"start": [
-8.5,
5.196078431
],
"end": [
-8.5,
8.196078431
]
},
{
"type": "line",
"start": [
-8.5,
8.196078431
],
"end": [
-9.0,
8.196078431
]
},
{
"type": "line",
"start": [
-9.0,
8.196078431
],
"end": [
-9.0,
11.696078431
]
},
{
"type": "line",
"start": [
-9.0,
11.696078431
],
"end": [
-5.5,
11.696078431
]
},
{
"type": "line",
"start": [
-5.5,
11.696078431
],
"end": [
-5.5,
-0.303921569
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
5.784313725
],
"end": [
0.0,
-2.156862745
]
}
]
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
5.784313725,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "e05e469eafaf5d4ac22ead7b47963a7a642633f49a8174fa66b35398ed1976e4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.00578431372549019,
0.0
],
"end": [
9.725136346170119e-19,
-0.002156862745098038,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "094412.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0026202156850037082,
"volume": 2.6202156850037083e-06,
"surface_area": 0.0019136191373338037,
"center_of_mass": [
4.217909048638057e-35,
0.0037543343204189403,
-9.340118292391156e-19
],
"principal_moments": [
1.2932186500178272e-07,
1.2932186500178272e-07,
1.6746169598001958e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011000000000000001,
-0.00230392156862746,
-0.011000000000000003,
0.011000000000000001,
0.01169607843137254,
0.011
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABuAAAA",
"persist_reference_sha256": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60",
"component": null,
"geometry": {
"box": [
-0.011000000000000001,
-0.0023039215686274594,
-0.011000000000000003,
0.011000000000000001,
0.01169607843137254,
0.011
],
"face_count": 11,
"edge_count": 11,
"vertex_count": 0
},
"stable_id": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 17,
"surface_counts": {
"cylinder": 10,
"plane": 5,
"torus": 2
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-11.0,
-2.303921569,
-11.0,
11.0,
11.696078431,
11.0
],
"volume_mm3": 2620.215685004,
"surface_area_mm2": 1913.619137334,
"solid_count": 1,
"face_count": 17,
"edge_count": 34,
"vertex_count": 22
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.0,
-2.303921569,
-11.0,
11.0,
11.696078431,
11.0
],
"volume_mm3": 2620.215685004,
"surface_area_mm2": 1913.619137334,
"solid_count": 1,
"face_count": 11,
"edge_count": 11,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 2620.215685004,
"actual": 2620.215685004,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1913.619137334,
"actual": 1913.619137334,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.0,
-2.303921569,
-11.0,
11.0,
11.696078431,
11.0
],
"actual": [
-11.0,
-2.303921569,
-11.0,
11.0,
11.696078431,
11.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 17,
"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
}
}