569 lines
12 KiB
JSON
569 lines
12 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "232675",
|
|
"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": [
|
|
0.0,
|
|
3.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
6.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
6.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
6.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.0,
|
|
6.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
4.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.0,
|
|
4.0
|
|
],
|
|
"end": [
|
|
5.5,
|
|
4.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.5,
|
|
4.0
|
|
],
|
|
"end": [
|
|
5.5,
|
|
3.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.5,
|
|
3.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
3.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
47.833119709,
|
|
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": "revolve_add",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"direction": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "40eaca46951dc267ad5974ba95d722fb5624870292baff3ff1bc2d1df42131d8",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0478331197094166,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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_005",
|
|
"name": "基准面1",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_002"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
6.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 6.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 5,
|
|
"references": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_002"
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_002"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.5,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M3 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 3.272821971,
|
|
"end_condition": {
|
|
"solidworks_code": 2,
|
|
"type": "through_all_both"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-2.5,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 3.272821971,
|
|
"class": "2B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "232675.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.0032062418356862262,
|
|
"volume": 4.1105664560079823e-07,
|
|
"surface_area": 0.00046579623876144343,
|
|
"center_of_mass": [
|
|
0.002573561259867562,
|
|
-0.00016118470197745276,
|
|
5.714675874056797e-11
|
|
],
|
|
"principal_moments": [
|
|
4.115240475922111e-08,
|
|
4.357867827983141e-08,
|
|
7.055121320116711e-08
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
0.0,
|
|
-0.006,
|
|
-0.006,
|
|
0.0055000000000000005,
|
|
0.006,
|
|
0.006
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "倒角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZwAAAA==",
|
|
"persist_reference_sha256": "1050a32668759db74b8672ca6e74728773eb34b8a8beec7335c3a50d4fd5217d",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
0.0,
|
|
-0.006,
|
|
-0.006,
|
|
0.0055000000000000005,
|
|
0.006,
|
|
0.006
|
|
],
|
|
"face_count": 9,
|
|
"edge_count": 10,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "1050a32668759db74b8672ca6e74728773eb34b8a8beec7335c3a50d4fd5217d"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 15,
|
|
"surface_counts": {
|
|
"cone": 4,
|
|
"cylinder": 8,
|
|
"plane": 3
|
|
},
|
|
"axis_count": 12,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-1e-07,
|
|
-6.0,
|
|
-6.0000001,
|
|
5.5000001,
|
|
6.0000001,
|
|
6.0000001
|
|
],
|
|
"volume_mm3": 411.055509327,
|
|
"surface_area_mm2": 465.793183193,
|
|
"solid_count": 1,
|
|
"face_count": 15,
|
|
"edge_count": 32,
|
|
"vertex_count": 20
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-6.0,
|
|
-6.0,
|
|
5.5,
|
|
6.0,
|
|
6.0
|
|
],
|
|
"volume_mm3": 411.056645601,
|
|
"surface_area_mm2": 465.796238761,
|
|
"solid_count": 1,
|
|
"face_count": 9,
|
|
"edge_count": 10,
|
|
"vertex_count": 0
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 411.056645601,
|
|
"actual": 411.055509327,
|
|
"absolute_delta": 0.0011362740000322447,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 465.796238761,
|
|
"actual": 465.793183193,
|
|
"absolute_delta": 0.003055567999979303,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
0.0,
|
|
-6.0,
|
|
-6.0,
|
|
5.5,
|
|
6.0,
|
|
6.0
|
|
],
|
|
"actual": [
|
|
-1e-07,
|
|
-6.0,
|
|
-6.0000001,
|
|
5.5000001,
|
|
6.0000001,
|
|
6.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000028043132e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 9,
|
|
"actual": 15,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 10,
|
|
"actual": 32,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 0,
|
|
"actual": 20,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|