first commit
This commit is contained in:
@@ -0,0 +1,383 @@
|
||||
{
|
||||
"schemaVersion": "part_modeling_plan_with_functional_faces.v1",
|
||||
"partName": "\u5957\u7B52\u03C630\u00D712",
|
||||
"partPath": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u5957\u7B52\u03C630\u00D712.SLDPRT",
|
||||
"sourceAssembly": {
|
||||
"name": "\u4E8C\u7EA7\u51CF\u901F\u5668.SLDASM",
|
||||
"path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u4E8C\u7EA7\u51CF\u901F\u5668.SLDASM"
|
||||
},
|
||||
"modelingPlan": {
|
||||
"planId": "part-feature-audit-\u5957\u7B52\u03C630\u00D712-plan",
|
||||
"targetAgent": "solidworks",
|
||||
"units": "mm",
|
||||
"summary": "Rebuild part from extracted SolidWorks skill flow. steps=8",
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-001",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_new_part",
|
||||
"name": "\u5957\u7B52\u03C630\u00D712.SLDPRT",
|
||||
"description": "\u65B0\u5EFA\u96F6\u4EF6",
|
||||
"arguments": {},
|
||||
"dependencies": [],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-002",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_right_plane_sketch",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "\u8349\u56FE\u57FA\u51C6=\u53F3\u89C6\u57FA\u51C6\u9762 / RefPlane",
|
||||
"arguments": {},
|
||||
"dependencies": [
|
||||
"step-001"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-003",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 30
|
||||
},
|
||||
"dependencies": [
|
||||
"step-002"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-004",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 45
|
||||
},
|
||||
"dependencies": [
|
||||
"step-003"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-005",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "exit_sketch",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "\u9000\u51FA\u8349\u56FE",
|
||||
"arguments": {},
|
||||
"dependencies": [
|
||||
"step-004"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-006",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "extrude_boss_mm",
|
||||
"name": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"description": "\u51F8\u53F0\u62C9\u4F38",
|
||||
"arguments": {
|
||||
"depth_mm": 12,
|
||||
"end_condition_code": 0,
|
||||
"direction_source": "ReverseDirection",
|
||||
"sketch_normal_model": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"extrude_direction_model": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"direction_coordinate_system": "model",
|
||||
"end_condition": "blind"
|
||||
},
|
||||
"dependencies": [
|
||||
"step-005"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-007",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "select_edges_by_signature",
|
||||
"name": "\u5012\u89D21",
|
||||
"description": "\u5012\u89D2\u8FB9\u9009\u62E9",
|
||||
"arguments": {
|
||||
"edge_signatures": [
|
||||
{
|
||||
"center_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"radius_mm": 22.5,
|
||||
"curve_type": "circle"
|
||||
},
|
||||
{
|
||||
"center_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"radius_mm": 22.5,
|
||||
"curve_type": "circle"
|
||||
}
|
||||
],
|
||||
"source_feature": "\u5012\u89D21"
|
||||
},
|
||||
"dependencies": [
|
||||
"step-006"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-008",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "chamfer_edges_angle_distance_mm",
|
||||
"name": "\u5012\u89D21",
|
||||
"description": "\u5012\u89D2",
|
||||
"arguments": {
|
||||
"distance_mm": 1.5,
|
||||
"angle_deg": 45,
|
||||
"other_distance_mm": 1.5,
|
||||
"chamfer_type": 1,
|
||||
"equal_distance": false
|
||||
},
|
||||
"dependencies": [
|
||||
"step-007"
|
||||
],
|
||||
"acceptance": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
"functionalFaces": [
|
||||
{
|
||||
"face_role": "cylindrical_mate_face",
|
||||
"surface_type": "cylinder",
|
||||
"side_tag": "right",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u540C\u5FC329",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u540C\u5FC329:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"radius_mm": 15,
|
||||
"diameter_mm": 30,
|
||||
"area_mm2": 1130.973355,
|
||||
"center_mm": [
|
||||
6,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
-1,
|
||||
-0,
|
||||
-0
|
||||
],
|
||||
"origin_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis_point_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis_line_point_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axial_center_mm": -6,
|
||||
"axial_min_mm": -12,
|
||||
"axial_max_mm": 0,
|
||||
"bbox_mm": [
|
||||
0,
|
||||
-15,
|
||||
-15,
|
||||
12,
|
||||
15,
|
||||
15
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCONCENTRIC",
|
||||
"entity_kind=face",
|
||||
"surface_type=cylinder",
|
||||
"other_component_text=\u8F742\u4E2D\u95F4-1 \u8F742\u4E2D\u95F4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"face_role": "planar_contact_face",
|
||||
"surface_type": "plane",
|
||||
"side_tag": "right",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u91CD\u540828",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u91CD\u540828:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"area_mm2": 678.584013,
|
||||
"center_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"normal": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"bbox_mm": [
|
||||
12,
|
||||
-21,
|
||||
-21,
|
||||
12,
|
||||
21,
|
||||
21
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCOINCIDENT",
|
||||
"entity_kind=face",
|
||||
"surface_type=plane",
|
||||
"other_component_text=\u9F7F\u8F6E120\u00D71.5-1 \u9F7F\u8F6E120\u00D71.5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"face_role": "oil_ring_axial_stop_face",
|
||||
"surface_type": "plane",
|
||||
"side_tag": "right",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u91CD\u540829",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u91CD\u540829:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"area_mm2": 678.584013,
|
||||
"center_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"normal": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"bbox_mm": [
|
||||
0,
|
||||
-21,
|
||||
-21,
|
||||
0,
|
||||
21,
|
||||
21
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCOINCIDENT",
|
||||
"entity_kind=face",
|
||||
"surface_type=plane",
|
||||
"other_component_text=\u6321\u6CB9\u73AF\u03C630-1 \u6321\u6CB9\u73AF\u03C630"
|
||||
]
|
||||
}
|
||||
],
|
||||
"matePorts": [
|
||||
{
|
||||
"port_role": "cylindrical_mate_face:right",
|
||||
"local_face_role": "cylindrical_mate_face",
|
||||
"local_side_tag": "right",
|
||||
"mate_type": "Concentric",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u8F742\u4E2D\u95F4",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u8F742\u4E2D\u95F4.SLDPRT",
|
||||
"counterpart_face_role": "cylindrical_mate_face",
|
||||
"counterpart_side_tag": "bottom",
|
||||
"counterpart_port_role": "cylindrical_mate_face:bottom",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u540C\u5FC329",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1"
|
||||
},
|
||||
{
|
||||
"port_role": "planar_contact_face:right",
|
||||
"local_face_role": "planar_contact_face",
|
||||
"local_side_tag": "right",
|
||||
"mate_type": "Coincident",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u9F7F\u8F6E120\u00D71.5",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u9F7F\u8F6E120\u00D71.5.SLDPRT",
|
||||
"counterpart_face_role": "planar_contact_face",
|
||||
"counterpart_side_tag": "top",
|
||||
"counterpart_port_role": "planar_contact_face:top",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u91CD\u540828",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1"
|
||||
},
|
||||
{
|
||||
"port_role": "oil_ring_axial_stop_face:right",
|
||||
"local_face_role": "oil_ring_axial_stop_face",
|
||||
"local_side_tag": "right",
|
||||
"mate_type": "Coincident",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u6321\u6CB9\u73AF\u03C630",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u6321\u6CB9\u73AF\u03C630.SLDPRT",
|
||||
"counterpart_face_role": "oil_ring_planar_contact_face",
|
||||
"counterpart_side_tag": "right",
|
||||
"counterpart_port_role": "oil_ring_planar_contact_face:right",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1",
|
||||
"source_mate": "\u91CD\u540829",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u5957\u7B52\u03C630\u00D712-1"
|
||||
}
|
||||
],
|
||||
"note": "functionalFaces and matePorts are verified from assembly mates and written back to the executable part modeling plan for knowledge-base reuse."
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
[
|
||||
{
|
||||
"step": 1,
|
||||
"skill": "create_new_part",
|
||||
"args": {},
|
||||
"source_feature": "\u5957\u7B52\u03C630\u00D712.SLDPRT",
|
||||
"note": "\u65B0\u5EFA\u96F6\u4EF6"
|
||||
},
|
||||
{
|
||||
"step": 2,
|
||||
"skill": "create_right_plane_sketch",
|
||||
"args": {},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "\u8349\u56FE\u57FA\u51C6=\u53F3\u89C6\u57FA\u51C6\u9762 / RefPlane"
|
||||
},
|
||||
{
|
||||
"step": 3,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 30
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 4,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 45
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 5,
|
||||
"skill": "exit_sketch",
|
||||
"args": {},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "\u9000\u51FA\u8349\u56FE"
|
||||
},
|
||||
{
|
||||
"step": 6,
|
||||
"skill": "extrude_boss_mm",
|
||||
"args": {
|
||||
"depth_mm": 12,
|
||||
"end_condition_code": 0,
|
||||
"direction_source": "ReverseDirection",
|
||||
"sketch_normal_model": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"extrude_direction_model": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"direction_coordinate_system": "model",
|
||||
"end_condition": "blind"
|
||||
},
|
||||
"source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"note": "\u51F8\u53F0\u62C9\u4F38"
|
||||
},
|
||||
{
|
||||
"step": 7,
|
||||
"skill": "select_edges_by_signature",
|
||||
"args": {
|
||||
"edge_signatures": [
|
||||
{
|
||||
"center_mm": [
|
||||
12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"radius_mm": 22.5,
|
||||
"curve_type": "circle"
|
||||
},
|
||||
{
|
||||
"center_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"radius_mm": 22.5,
|
||||
"curve_type": "circle"
|
||||
}
|
||||
],
|
||||
"source_feature": "\u5012\u89D21"
|
||||
},
|
||||
"source_feature": "\u5012\u89D21",
|
||||
"note": "\u5012\u89D2\u8FB9\u9009\u62E9"
|
||||
},
|
||||
{
|
||||
"step": 8,
|
||||
"skill": "chamfer_edges_angle_distance_mm",
|
||||
"args": {
|
||||
"distance_mm": 1.5,
|
||||
"angle_deg": 45,
|
||||
"other_distance_mm": 1.5,
|
||||
"chamfer_type": 1,
|
||||
"equal_distance": false
|
||||
},
|
||||
"source_feature": "\u5012\u89D21",
|
||||
"note": "\u5012\u89D2"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"Ok": true,
|
||||
"TotalSteps": 8,
|
||||
"SkillsUsed": [
|
||||
"chamfer_edges_angle_distance_mm",
|
||||
"create_new_part",
|
||||
"create_right_plane_sketch",
|
||||
"draw_circle_diameter_mm",
|
||||
"exit_sketch",
|
||||
"extrude_boss_mm",
|
||||
"select_edges_by_signature"
|
||||
],
|
||||
"Errors": [],
|
||||
"Warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user