first commit
This commit is contained in:
@@ -0,0 +1,461 @@
|
||||
{
|
||||
"schemaVersion": "part_modeling_plan_with_functional_faces.v1",
|
||||
"partName": "\u8C03\u6574\u57AB\u724780",
|
||||
"partPath": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u8C03\u6574\u57AB\u724780.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-\u8C03\u6574\u57AB\u724780-plan",
|
||||
"targetAgent": "solidworks",
|
||||
"units": "mm",
|
||||
"summary": "Rebuild part from extracted SolidWorks skill flow. steps=12",
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-001",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_new_part",
|
||||
"name": "\u8C03\u6574\u57AB\u724780.SLDPRT",
|
||||
"description": "\u65B0\u5EFA\u96F6\u4EF6",
|
||||
"arguments": {},
|
||||
"dependencies": [],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-002",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_front_plane_sketch",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "\u8349\u56FE\u57FA\u51C6=\u524D\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": 80
|
||||
},
|
||||
"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": 120
|
||||
},
|
||||
"dependencies": [
|
||||
"step-003"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-005",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
50,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-004"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-006",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
43.30127,
|
||||
25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-005"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-007",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
43.30127,
|
||||
-25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-006"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-008",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
-50,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-007"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-009",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
-43.30127,
|
||||
-25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-008"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-010",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_circle_diameter_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Extrusion",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
-43.30127,
|
||||
25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"dependencies": [
|
||||
"step-009"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-011",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "exit_sketch",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "\u9000\u51FA\u8349\u56FE",
|
||||
"arguments": {},
|
||||
"dependencies": [
|
||||
"step-010"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-012",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "extrude_boss_mm",
|
||||
"name": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"description": "\u51F8\u53F0\u62C9\u4F38",
|
||||
"arguments": {
|
||||
"depth_mm": 2,
|
||||
"end_condition_code": 0,
|
||||
"direction_source": "ReverseDirection",
|
||||
"sketch_normal_model": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"extrude_direction_model": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"direction_coordinate_system": "model",
|
||||
"end_condition": "blind"
|
||||
},
|
||||
"dependencies": [
|
||||
"step-011"
|
||||
],
|
||||
"acceptance": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
"functionalFaces": [
|
||||
{
|
||||
"face_role": "cylindrical_mate_face",
|
||||
"surface_type": "cylinder",
|
||||
"side_tag": "top",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u540C\u5FC357",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u540C\u5FC357:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"radius_mm": 40,
|
||||
"diameter_mm": 80,
|
||||
"area_mm2": 502.654825,
|
||||
"center_mm": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"axis": [
|
||||
-0,
|
||||
-0,
|
||||
-1
|
||||
],
|
||||
"origin_mm": [
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"axis_point_mm": [
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"axis_line_point_mm": [
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"axial_center_mm": -1,
|
||||
"axial_min_mm": -2,
|
||||
"axial_max_mm": 0,
|
||||
"bbox_mm": [
|
||||
-40,
|
||||
-40,
|
||||
0,
|
||||
40,
|
||||
40,
|
||||
2
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCONCENTRIC",
|
||||
"entity_kind=face",
|
||||
"surface_type=cylinder",
|
||||
"other_component_text=\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3-1 \u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3"
|
||||
]
|
||||
},
|
||||
{
|
||||
"face_role": "planar_contact_face",
|
||||
"surface_type": "plane",
|
||||
"side_tag": "top",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u91CD\u540842",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u91CD\u540842:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"area_mm2": 5981.592412,
|
||||
"center_mm": [
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"normal": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"bbox_mm": [
|
||||
-60,
|
||||
-60,
|
||||
2,
|
||||
60,
|
||||
60,
|
||||
2
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCOINCIDENT",
|
||||
"entity_kind=face",
|
||||
"surface_type=plane",
|
||||
"other_component_text=\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3-1 \u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3"
|
||||
]
|
||||
},
|
||||
{
|
||||
"face_role": "cylindrical_mate_face",
|
||||
"surface_type": "cylinder",
|
||||
"side_tag": "front",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u540C\u5FC358",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u540C\u5FC358:1",
|
||||
"solidworks_source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"radius_mm": 4,
|
||||
"diameter_mm": 8,
|
||||
"area_mm2": 50.265482,
|
||||
"center_mm": [
|
||||
0,
|
||||
50,
|
||||
1
|
||||
],
|
||||
"axis": [
|
||||
-0,
|
||||
-0,
|
||||
-1
|
||||
],
|
||||
"origin_mm": [
|
||||
0,
|
||||
50,
|
||||
2
|
||||
],
|
||||
"axis_point_mm": [
|
||||
0,
|
||||
50,
|
||||
2
|
||||
],
|
||||
"axis_line_point_mm": [
|
||||
0,
|
||||
50,
|
||||
2
|
||||
],
|
||||
"axial_center_mm": -1,
|
||||
"axial_min_mm": -2,
|
||||
"axial_max_mm": 0,
|
||||
"bbox_mm": [
|
||||
-4,
|
||||
46,
|
||||
0,
|
||||
4,
|
||||
54,
|
||||
2
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCONCENTRIC",
|
||||
"entity_kind=face",
|
||||
"surface_type=cylinder",
|
||||
"other_component_text=\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3-1 \u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3"
|
||||
]
|
||||
}
|
||||
],
|
||||
"matePorts": [
|
||||
{
|
||||
"port_role": "cylindrical_mate_face:top",
|
||||
"local_face_role": "cylindrical_mate_face",
|
||||
"local_side_tag": "top",
|
||||
"mate_type": "Concentric",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3.SLDPRT",
|
||||
"counterpart_face_role": "cylindrical_mate_face",
|
||||
"counterpart_side_tag": "left",
|
||||
"counterpart_port_role": "cylindrical_mate_face:left",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u540C\u5FC357",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-1"
|
||||
},
|
||||
{
|
||||
"port_role": "planar_contact_face:top",
|
||||
"local_face_role": "planar_contact_face",
|
||||
"local_side_tag": "top",
|
||||
"mate_type": "Coincident",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3.SLDPRT",
|
||||
"counterpart_face_role": "planar_contact_face",
|
||||
"counterpart_side_tag": "left",
|
||||
"counterpart_port_role": "planar_contact_face:left",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u91CD\u540842",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-1"
|
||||
},
|
||||
{
|
||||
"port_role": "cylindrical_mate_face:front",
|
||||
"local_face_role": "cylindrical_mate_face",
|
||||
"local_side_tag": "front",
|
||||
"mate_type": "Concentric",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u7AEF\u76D6\u9AD8\u901F\u8F74\u5F00\u53E3.SLDPRT",
|
||||
"counterpart_face_role": "cylindrical_mate_face",
|
||||
"counterpart_side_tag": "front",
|
||||
"counterpart_port_role": "cylindrical_mate_face:front",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u8C03\u6574\u57AB\u724780-1",
|
||||
"source_mate": "\u540C\u5FC358",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u8C03\u6574\u57AB\u724780-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,166 @@
|
||||
[
|
||||
{
|
||||
"step": 1,
|
||||
"skill": "create_new_part",
|
||||
"args": {},
|
||||
"source_feature": "\u8C03\u6574\u57AB\u724780.SLDPRT",
|
||||
"note": "\u65B0\u5EFA\u96F6\u4EF6"
|
||||
},
|
||||
{
|
||||
"step": 2,
|
||||
"skill": "create_front_plane_sketch",
|
||||
"args": {},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "\u8349\u56FE\u57FA\u51C6=\u524D\u89C6\u57FA\u51C6\u9762 / RefPlane"
|
||||
},
|
||||
{
|
||||
"step": 3,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 80
|
||||
},
|
||||
"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": 120
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 5,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
50,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 6,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
43.30127,
|
||||
25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 7,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
43.30127,
|
||||
-25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 8,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
0,
|
||||
-50,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 9,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
-43.30127,
|
||||
-25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 10,
|
||||
"skill": "draw_circle_diameter_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"center_model_mm": [
|
||||
-43.30127,
|
||||
25,
|
||||
0
|
||||
],
|
||||
"diameter_mm": 8
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Extrusion"
|
||||
},
|
||||
{
|
||||
"step": 11,
|
||||
"skill": "exit_sketch",
|
||||
"args": {},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "\u9000\u51FA\u8349\u56FE"
|
||||
},
|
||||
{
|
||||
"step": 12,
|
||||
"skill": "extrude_boss_mm",
|
||||
"args": {
|
||||
"depth_mm": 2,
|
||||
"end_condition_code": 0,
|
||||
"direction_source": "ReverseDirection",
|
||||
"sketch_normal_model": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"extrude_direction_model": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"direction_coordinate_system": "model",
|
||||
"end_condition": "blind"
|
||||
},
|
||||
"source_feature": "\u51F8\u53F0-\u62C9\u4F381",
|
||||
"note": "\u51F8\u53F0\u62C9\u4F38"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Ok": true,
|
||||
"TotalSteps": 12,
|
||||
"SkillsUsed": [
|
||||
"create_front_plane_sketch",
|
||||
"create_new_part",
|
||||
"draw_circle_diameter_mm",
|
||||
"exit_sketch",
|
||||
"extrude_boss_mm"
|
||||
],
|
||||
"Errors": [],
|
||||
"Warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user