first commit
This commit is contained in:
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"schemaVersion": "part_modeling_plan_with_functional_faces.v1",
|
||||
"partName": "\u6BDB\u6BE1\u570850",
|
||||
"partPath": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u6BDB\u6BE1\u570850.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-\u6BDB\u6BE1\u570850-plan",
|
||||
"targetAgent": "solidworks",
|
||||
"units": "mm",
|
||||
"summary": "Rebuild part from extracted SolidWorks skill flow. steps=10",
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-001",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_new_part",
|
||||
"name": "\u6BDB\u6BE1\u570850.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_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
3.944246,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
2.944246,
|
||||
24,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-002"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-004",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
2.944246,
|
||||
24,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-1.055754,
|
||||
24,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-003"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-005",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-1.055754,
|
||||
24,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-2.055754,
|
||||
18,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-004"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-006",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_center_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
9.14129,
|
||||
-7.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-005"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-007",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-2.055754,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-2.139087,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-006"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-008",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-2.139087,
|
||||
17.5,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
4.027579,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-007"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-009",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "draw_line_mm",
|
||||
"name": "\u8349\u56FE1",
|
||||
"description": "Revolution",
|
||||
"arguments": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
3.944246,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
4.027579,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-008"
|
||||
],
|
||||
"acceptance": {}
|
||||
},
|
||||
{
|
||||
"id": "step-010",
|
||||
"targetAgent": "solidworks",
|
||||
"skillName": "create_revolve_boss_mm",
|
||||
"name": "\u65CB\u8F6C1",
|
||||
"description": "\u65CB\u8F6C\u51F8\u53F0",
|
||||
"arguments": {
|
||||
"angle_deg": 360,
|
||||
"merge": true,
|
||||
"reverse_dir": false,
|
||||
"axis_start_model_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axis_end_model_mm": [
|
||||
9.14129,
|
||||
-7.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
"step-009"
|
||||
],
|
||||
"acceptance": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
"functionalFaces": [
|
||||
{
|
||||
"face_role": "cylindrical_mate_face",
|
||||
"surface_type": "cylinder",
|
||||
"side_tag": "back",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u6BDB\u6BE1\u570850-1",
|
||||
"source_mate": "\u540C\u5FC363",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u540C\u5FC363:1",
|
||||
"solidworks_source_feature": "\u65CB\u8F6C1",
|
||||
"original_source_assembly_component": "\u6BDB\u6BE1\u570850-1",
|
||||
"radius_mm": 25,
|
||||
"diameter_mm": 50,
|
||||
"area_mm2": 968.657735,
|
||||
"center_mm": [
|
||||
0.944246,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axis": [
|
||||
-1,
|
||||
-0,
|
||||
-0
|
||||
],
|
||||
"origin_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axis_point_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axis_line_point_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axial_center_mm": -0.944246,
|
||||
"axial_min_mm": -4.027579,
|
||||
"axial_max_mm": 2.139087,
|
||||
"bbox_mm": [
|
||||
-2.139087,
|
||||
-32.5,
|
||||
-25,
|
||||
4.027579,
|
||||
17.5,
|
||||
25
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCONCENTRIC",
|
||||
"entity_kind=face",
|
||||
"surface_type=cylinder",
|
||||
"other_component_text=\u8F743\u4F4E\u901F-1 \u8F743\u4F4E\u901F"
|
||||
]
|
||||
},
|
||||
{
|
||||
"face_role": "coincident_mate_entity",
|
||||
"surface_type": "cone",
|
||||
"side_tag": "back",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u6BDB\u6BE1\u570850-1",
|
||||
"source_mate": "\u91CD\u540849",
|
||||
"mate_entity_index": 1,
|
||||
"source_feature": "mate:\u91CD\u540849:1",
|
||||
"solidworks_source_feature": "\u65CB\u8F6C1",
|
||||
"original_source_assembly_component": "\u6BDB\u6BE1\u570850-1",
|
||||
"area_mm2": 1169.664446,
|
||||
"center_mm": [
|
||||
-1.597421,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"bbox_mm": [
|
||||
-2.139087,
|
||||
-39,
|
||||
-31.5,
|
||||
-1.055754,
|
||||
24,
|
||||
31.5
|
||||
],
|
||||
"geometry_coordinate_system": "part_model",
|
||||
"evidence": [
|
||||
"mate_type=swMateCOINCIDENT",
|
||||
"entity_kind=face",
|
||||
"surface_type=cone",
|
||||
"other_component_text=\u7AEF\u76D6\u4F4E\u901F\u8F74\u5F00\u53E3-2 \u7AEF\u76D6\u4F4E\u901F\u8F74\u5F00\u53E3"
|
||||
]
|
||||
}
|
||||
],
|
||||
"matePorts": [
|
||||
{
|
||||
"port_role": "cylindrical_mate_face:back",
|
||||
"local_face_role": "cylindrical_mate_face",
|
||||
"local_side_tag": "back",
|
||||
"mate_type": "Concentric",
|
||||
"alignment": "AntiAligned",
|
||||
"counterpart_part_name": "\u8F743\u4F4E\u901F",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u8F743\u4F4E\u901F.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": "\u6BDB\u6BE1\u570850-1",
|
||||
"source_mate": "\u540C\u5FC363",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u6BDB\u6BE1\u570850-1"
|
||||
},
|
||||
{
|
||||
"port_role": "coincident_mate_entity:back",
|
||||
"local_face_role": "coincident_mate_entity",
|
||||
"local_side_tag": "back",
|
||||
"mate_type": "Coincident",
|
||||
"alignment": "Aligned",
|
||||
"counterpart_part_name": "\u7AEF\u76D6\u4F4E\u901F\u8F74\u5F00\u53E3",
|
||||
"counterpart_part_path": "D:\\Desktop\\\u51CF\u901F\u5668\\\u4E09\u7EF4\\\u7AEF\u76D6\u4F4E\u901F\u8F74\u5F00\u53E3.SLDPRT",
|
||||
"counterpart_face_role": "coincident_mate_entity",
|
||||
"counterpart_side_tag": "back",
|
||||
"counterpart_port_role": "coincident_mate_entity:back",
|
||||
"source": "verified_from_assembly_mate",
|
||||
"verified": true,
|
||||
"confidence": 1,
|
||||
"source_assembly_component": "\u6BDB\u6BE1\u570850-1",
|
||||
"source_mate": "\u91CD\u540849",
|
||||
"mate_entity_index": 1,
|
||||
"original_source_assembly_component": "\u6BDB\u6BE1\u570850-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,170 @@
|
||||
[
|
||||
{
|
||||
"step": 1,
|
||||
"skill": "create_new_part",
|
||||
"args": {},
|
||||
"source_feature": "\u6BDB\u6BE1\u570850.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_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
3.944246,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
2.944246,
|
||||
24,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 4,
|
||||
"skill": "draw_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
2.944246,
|
||||
24,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-1.055754,
|
||||
24,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 5,
|
||||
"skill": "draw_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-1.055754,
|
||||
24,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-2.055754,
|
||||
18,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 6,
|
||||
"skill": "draw_center_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
9.14129,
|
||||
-7.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 7,
|
||||
"skill": "draw_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-2.055754,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
-2.139087,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 8,
|
||||
"skill": "draw_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
-2.139087,
|
||||
17.5,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
4.027579,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 9,
|
||||
"skill": "draw_line_mm",
|
||||
"args": {
|
||||
"coordinate_system": "model",
|
||||
"start_model_mm": [
|
||||
3.944246,
|
||||
18,
|
||||
0
|
||||
],
|
||||
"end_model_mm": [
|
||||
4.027579,
|
||||
17.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u8349\u56FE1",
|
||||
"note": "Revolution"
|
||||
},
|
||||
{
|
||||
"step": 10,
|
||||
"skill": "create_revolve_boss_mm",
|
||||
"args": {
|
||||
"angle_deg": 360,
|
||||
"merge": true,
|
||||
"reverse_dir": false,
|
||||
"axis_start_model_mm": [
|
||||
0,
|
||||
-7.5,
|
||||
0
|
||||
],
|
||||
"axis_end_model_mm": [
|
||||
9.14129,
|
||||
-7.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"source_feature": "\u65CB\u8F6C1",
|
||||
"note": "\u65CB\u8F6C\u51F8\u53F0"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Ok": true,
|
||||
"TotalSteps": 10,
|
||||
"SkillsUsed": [
|
||||
"create_front_plane_sketch",
|
||||
"create_new_part",
|
||||
"create_revolve_boss_mm",
|
||||
"draw_center_line_mm",
|
||||
"draw_line_mm"
|
||||
],
|
||||
"Errors": [],
|
||||
"Warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user