424 lines
9.3 KiB
JSON
424 lines
9.3 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "148128",
|
|
"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": [
|
|
-410.0,
|
|
357.5
|
|
],
|
|
"end": [
|
|
410.0,
|
|
357.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
410.0,
|
|
357.5
|
|
],
|
|
"end": [
|
|
410.0,
|
|
-357.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
410.0,
|
|
-357.5
|
|
],
|
|
"end": [
|
|
-410.0,
|
|
-357.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-410.0,
|
|
-357.5
|
|
],
|
|
"end": [
|
|
-410.0,
|
|
357.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
76.673212487,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
77.376636455
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": 6.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"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": "148128.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 27.438839999999992,
|
|
"volume": 0.003517799999999999,
|
|
"surface_area": 1.1910199999999995,
|
|
"center_of_mass": [
|
|
-2.3165077548173586e-17,
|
|
-1.8435418935797986e-17,
|
|
-1.203924252735091e-19
|
|
],
|
|
"principal_moments": [
|
|
1.169034064769994,
|
|
1.5375719845199989,
|
|
2.7064414162499966
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.41000000000000003,
|
|
-0.3575,
|
|
-0.003,
|
|
0.4099999999999999,
|
|
0.3575,
|
|
0.003
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "拉伸1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
|
|
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.41000000000000003,
|
|
-0.3575,
|
|
-0.003,
|
|
0.4099999999999999,
|
|
0.3575,
|
|
0.003
|
|
],
|
|
"face_count": 6,
|
|
"edge_count": 12,
|
|
"vertex_count": 8
|
|
},
|
|
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 6,
|
|
"surface_counts": {
|
|
"plane": 6
|
|
},
|
|
"axis_count": 0,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-410.0,
|
|
-357.5,
|
|
-3.0,
|
|
410.0,
|
|
357.5,
|
|
3.0
|
|
],
|
|
"volume_mm3": 3517800.0,
|
|
"surface_area_mm2": 1191020.0,
|
|
"solid_count": 1,
|
|
"face_count": 6,
|
|
"edge_count": 12,
|
|
"vertex_count": 8
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-410.0,
|
|
-357.5,
|
|
-3.0,
|
|
410.0,
|
|
357.5,
|
|
3.0
|
|
],
|
|
"volume_mm3": 3517799.999999999,
|
|
"surface_area_mm2": 1191020.0,
|
|
"solid_count": 1,
|
|
"face_count": 6,
|
|
"edge_count": 12,
|
|
"vertex_count": 8
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 3517799.999999999,
|
|
"actual": 3517800.0,
|
|
"absolute_delta": 9.313225746154785e-10,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 1191020.0,
|
|
"actual": 1191020.0,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-410.0,
|
|
-357.5,
|
|
-3.0,
|
|
410.0,
|
|
357.5,
|
|
3.0
|
|
],
|
|
"actual": [
|
|
-410.0,
|
|
-357.5,
|
|
-3.0,
|
|
410.0,
|
|
357.5,
|
|
3.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 6,
|
|
"actual": 6,
|
|
"matches": true
|
|
},
|
|
"edge_count": {
|
|
"expected": 12,
|
|
"actual": 12,
|
|
"matches": true
|
|
},
|
|
"vertex_count": {
|
|
"expected": 8,
|
|
"actual": 8,
|
|
"matches": true
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": true
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|