663 lines
14 KiB
JSON
663 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "014865",
|
|
"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,
|
|
0.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
-25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
-25.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
-25.0
|
|
],
|
|
"end": [
|
|
0.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": 20.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"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "M4 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
5.0,
|
|
-12.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
25.0,
|
|
-12.5,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"class": "1B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-cc949393a052cda73855cd56",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
1.0,
|
|
-24.0,
|
|
0.0,
|
|
29.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
15.0,
|
|
-12.5,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-cc949393a052cda73855cd56",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
1.0,
|
|
-24.0,
|
|
0.0,
|
|
29.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
15.0,
|
|
-12.5,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M5 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-15.0,
|
|
-10.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 1.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "1/8 NPT 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"hole_type": "锥形管螺纹",
|
|
"diameter_mm": 10.286746,
|
|
"depth_mm": 6.92,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
15.0,
|
|
-10.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 10.286746,
|
|
"depth_mm": 6.92,
|
|
"class": "1B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-cc949393a052cda73855cd56",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
1.0,
|
|
-24.0,
|
|
0.0,
|
|
29.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
15.0,
|
|
-12.5,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-cc949393a052cda73855cd56",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
1.0,
|
|
-24.0,
|
|
0.0,
|
|
29.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
15.0,
|
|
-12.5,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "014865.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.013653061089536017,
|
|
"volume": 1.3653061089536017e-05,
|
|
"surface_area": 0.004209754408862187,
|
|
"center_of_mass": [
|
|
0.014999999999999906,
|
|
-0.01285163427014006,
|
|
0.009937505104782998
|
|
],
|
|
"principal_moments": [
|
|
1.180904485778466e-06,
|
|
1.5574838999185308e-06,
|
|
1.7821021933492616e-06
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
0.0,
|
|
-0.025,
|
|
0.0,
|
|
0.029999999999999805,
|
|
2.6020852139652106e-18,
|
|
0.02
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "倒角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
|
|
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
1.2246467991473543e-19,
|
|
-0.025,
|
|
0.0,
|
|
0.029999999999999805,
|
|
2.6020852139652106e-18,
|
|
0.02
|
|
],
|
|
"face_count": 35,
|
|
"edge_count": 58,
|
|
"vertex_count": 26
|
|
},
|
|
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 43,
|
|
"surface_counts": {
|
|
"cone": 8,
|
|
"cylinder": 8,
|
|
"plane": 27
|
|
},
|
|
"axis_count": 16,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 18.8746,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 16.0081,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 14.1695,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 10.0391,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 10.1,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 20.0,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 22.4056,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-25.0,
|
|
-0.0,
|
|
30.0,
|
|
0.0,
|
|
20.0
|
|
],
|
|
"volume_mm3": 13653.061089536,
|
|
"surface_area_mm2": 4209.754408862,
|
|
"solid_count": 1,
|
|
"face_count": 43,
|
|
"edge_count": 84,
|
|
"vertex_count": 46
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-25.0,
|
|
0.0,
|
|
30.0,
|
|
0.0,
|
|
20.0
|
|
],
|
|
"volume_mm3": 13653.061089536,
|
|
"surface_area_mm2": 4209.754408862,
|
|
"solid_count": 1,
|
|
"face_count": 35,
|
|
"edge_count": 58,
|
|
"vertex_count": 26
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 13653.061089536,
|
|
"actual": 13653.061089536,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 4209.754408862,
|
|
"actual": 4209.754408862,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
0.0,
|
|
-25.0,
|
|
0.0,
|
|
30.0,
|
|
0.0,
|
|
20.0
|
|
],
|
|
"actual": [
|
|
0.0,
|
|
-25.0,
|
|
-0.0,
|
|
30.0,
|
|
0.0,
|
|
20.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 35,
|
|
"actual": 43,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 58,
|
|
"actual": 84,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 26,
|
|
"actual": 46,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|