646 lines
14 KiB
JSON
646 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "052867",
|
|
"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": [
|
|
{
|
|
"role": "outer",
|
|
"closed": false,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
24.100536466,
|
|
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": [
|
|
2.7225,
|
|
4.715508324
|
|
],
|
|
"end": [
|
|
-2.7225,
|
|
4.715508324
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.7225,
|
|
4.715508324
|
|
],
|
|
"end": [
|
|
-5.445,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-5.445,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-2.7225,
|
|
-4.715508324
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.7225,
|
|
-4.715508324
|
|
],
|
|
"end": [
|
|
2.7225,
|
|
-4.715508324
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
2.7225,
|
|
-4.715508324
|
|
],
|
|
"end": [
|
|
5.445,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.445,
|
|
0.0
|
|
],
|
|
"end": [
|
|
2.7225,
|
|
4.715508324
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "inner",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 3.0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 4.715508324
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-26.808774834,
|
|
0.0
|
|
],
|
|
"end": [
|
|
37.174834437,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
25.021523179
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-25.021523179
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图2",
|
|
"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": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 4.715508324
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_005",
|
|
"name": "草图3",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
6.4,
|
|
-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": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 4.715508324
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"distance_mm": 6.4,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 38.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "切除-拉伸2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 38.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_005"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.2,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "052867.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.0024582979957343673,
|
|
"volume": 3.1117696148536295e-07,
|
|
"surface_area": 0.00042335714865122096,
|
|
"center_of_mass": [
|
|
-2.6488737085399468e-09,
|
|
5.1243655492375956e-18,
|
|
0.0031999999999999993
|
|
],
|
|
"principal_moments": [
|
|
2.9100335131385458e-08,
|
|
2.9100432685896527e-08,
|
|
4.1506023192480024e-08
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.0054449999999999985,
|
|
-0.004715508323606274,
|
|
0.0,
|
|
0.005445000000000005,
|
|
0.004715508323606274,
|
|
0.0064
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "切除-拉伸2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
|
|
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.0054449999999999985,
|
|
-0.004715508323606274,
|
|
0.0,
|
|
0.005445000000000005,
|
|
0.004715508323606274,
|
|
0.0064
|
|
],
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 24,
|
|
"surface_counts": {
|
|
"cone": 14,
|
|
"cylinder": 2,
|
|
"plane": 8
|
|
},
|
|
"axis_count": 16,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-5.4450001,
|
|
-4.715508424,
|
|
-1e-07,
|
|
5.4450001,
|
|
4.715508424,
|
|
6.4000001
|
|
],
|
|
"volume_mm3": 311.157828669,
|
|
"surface_area_mm2": 423.345327934,
|
|
"solid_count": 1,
|
|
"face_count": 24,
|
|
"edge_count": 52,
|
|
"vertex_count": 30
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-5.445,
|
|
-4.715508324,
|
|
0.0,
|
|
5.445,
|
|
4.715508324,
|
|
6.4
|
|
],
|
|
"volume_mm3": 311.176961485,
|
|
"surface_area_mm2": 423.357148651,
|
|
"solid_count": 1,
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 311.176961485,
|
|
"actual": 311.157828669,
|
|
"absolute_delta": 0.01913281599996708,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 423.357148651,
|
|
"actual": 423.345327934,
|
|
"absolute_delta": 0.011820716999977776,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-5.445,
|
|
-4.715508324,
|
|
0.0,
|
|
5.445,
|
|
4.715508324,
|
|
6.4
|
|
],
|
|
"actual": [
|
|
-5.4450001,
|
|
-4.715508424,
|
|
-1e-07,
|
|
5.4450001,
|
|
4.715508424,
|
|
6.4000001
|
|
],
|
|
"max_absolute_delta": 1.0000000028043132e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 21,
|
|
"actual": 24,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 44,
|
|
"actual": 52,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 24,
|
|
"actual": 30,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|