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

488 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "034705",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-600.0,
55.0
],
"end": [
-600.0,
-55.0
],
"center": [
-600.0,
0.0
],
"radius_mm": 55.0,
"clockwise": false
},
{
"type": "line",
"start": [
-600.0,
-55.0
],
"end": [
600.0,
-55.0
]
},
{
"type": "arc",
"start": [
600.0,
-55.0
],
"end": [
600.0,
55.0
],
"center": [
600.0,
0.0
],
"radius_mm": 55.0,
"clockwise": false
},
{
"type": "line",
"start": [
600.0,
55.0
],
"end": [
-600.0,
55.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
600.0,
-60.0
],
"end": [
600.0,
60.0
],
"center": [
600.0,
0.0
],
"radius_mm": 60.0,
"clockwise": false
},
{
"type": "line",
"start": [
600.0,
60.0
],
"end": [
-600.0,
60.0
]
},
{
"type": "arc",
"start": [
-600.0,
60.0
],
"end": [
-600.0,
-60.0
],
"center": [
-600.0,
0.0
],
"radius_mm": 60.0,
"clockwise": false
},
{
"type": "line",
"start": [
-600.0,
-60.0
],
"end": [
600.0,
-60.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-600.0,
0.0
],
"end": [
600.0,
0.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 1100.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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"
}
],
"meta": {
"unit": "mm",
"source": "034705.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 15.187057353395566,
"volume": 0.015187057353395567,
"surface_area": 6.102435772909846,
"center_of_mass": [
-1.370685658671555e-17,
0.0,
0.5500000000000003
],
"principal_moments": [
1.578322680208947,
2.436932774705504,
3.921333327431341
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.6599999999999999,
-0.06,
0.0,
0.6599999999999999,
0.06,
1.1
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.6599999999999999,
-0.06,
0.0,
0.6599999999999999,
0.06,
1.1
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 12,
"surface_counts": {
"cylinder": 6,
"plane": 6
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-660.0,
-60.0,
0.0,
660.0,
60.0,
1100.0
],
"volume_mm3": 15187057.353395417,
"surface_area_mm2": 6102435.772909846,
"solid_count": 1,
"face_count": 12,
"edge_count": 30,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-660.0,
-60.0,
0.0,
660.0,
60.0,
1100.0
],
"volume_mm3": 15187057.353395566,
"surface_area_mm2": 6102435.772909846,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 15187057.353395566,
"actual": 15187057.353395417,
"absolute_delta": 1.4901161193847656e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6102435.772909846,
"actual": 6102435.772909846,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-660.0,
-60.0,
0.0,
660.0,
60.0,
1100.0
],
"actual": [
-660.0,
-60.0,
0.0,
660.0,
60.0,
1100.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 12,
"matches": false
},
"edge_count": {
"expected": 24,
"actual": 30,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}