607 lines
13 KiB
JSON
607 lines
13 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "241520",
|
|
"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": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
40.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
40.0,
|
|
20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
20.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
20.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"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": "line",
|
|
"start": [
|
|
7.0,
|
|
10.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
10.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
10.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
20.0
|
|
],
|
|
"end": [
|
|
7.0,
|
|
20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
7.0,
|
|
20.0
|
|
],
|
|
"end": [
|
|
7.0,
|
|
10.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图3",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
-40.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,
|
|
10.5
|
|
],
|
|
"radius_mm": 7.5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"distance_mm": 20.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "切除-拉伸2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "Ø3.5 (3.5) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 3.5,
|
|
"depth_mm": 20.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
10.0,
|
|
3.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "阵列(线性)1",
|
|
"atomic_id": "pattern_linear",
|
|
"depends_on": [
|
|
"f_007",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"source_feature_ids": [
|
|
"f_007",
|
|
"f_004"
|
|
],
|
|
"direction_1": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"spacing_1_mm": 20.0,
|
|
"pattern_count_1": 2
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "241520.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.006209471521685443,
|
|
"volume": 6.2094715216854436e-06,
|
|
"surface_area": 0.004626067375365171,
|
|
"center_of_mass": [
|
|
1.378773644527439e-09,
|
|
0.007315745024741212,
|
|
-0.02057863352809752
|
|
],
|
|
"principal_moments": [
|
|
5.511436153691599e-07,
|
|
1.2975644623092442e-06,
|
|
1.3460589972387518e-06
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.010000000000000002,
|
|
0.0,
|
|
-0.04,
|
|
0.010000000000000002,
|
|
0.02,
|
|
0.0
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "阵列(线性)1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
|
|
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.01,
|
|
0.0,
|
|
-0.04,
|
|
0.010000000000000002,
|
|
0.02,
|
|
0.0
|
|
],
|
|
"face_count": 14,
|
|
"edge_count": 38,
|
|
"vertex_count": 20
|
|
},
|
|
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 20,
|
|
"surface_counts": {
|
|
"cylinder": 9,
|
|
"plane": 11
|
|
},
|
|
"axis_count": 9,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-10.0000001,
|
|
0.0,
|
|
-40.0000001,
|
|
10.0000001,
|
|
20.0,
|
|
1e-07
|
|
],
|
|
"volume_mm3": 6209.473576116,
|
|
"surface_area_mm2": 4626.042212792,
|
|
"solid_count": 1,
|
|
"face_count": 20,
|
|
"edge_count": 62,
|
|
"vertex_count": 40
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-10.0,
|
|
0.0,
|
|
-40.0,
|
|
10.0,
|
|
20.0,
|
|
0.0
|
|
],
|
|
"volume_mm3": 6209.471521685,
|
|
"surface_area_mm2": 4626.067375365,
|
|
"solid_count": 1,
|
|
"face_count": 14,
|
|
"edge_count": 38,
|
|
"vertex_count": 20
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 6209.471521685,
|
|
"actual": 6209.473576116,
|
|
"absolute_delta": 0.002054431000033219,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 4626.067375365,
|
|
"actual": 4626.042212792,
|
|
"absolute_delta": 0.025162572999761323,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-10.0,
|
|
0.0,
|
|
-40.0,
|
|
10.0,
|
|
20.0,
|
|
0.0
|
|
],
|
|
"actual": [
|
|
-10.0000001,
|
|
0.0,
|
|
-40.0000001,
|
|
10.0000001,
|
|
20.0,
|
|
1e-07
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 14,
|
|
"actual": 20,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 38,
|
|
"actual": 62,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 20,
|
|
"actual": 40,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|