Batch hole machining system and method based on NX secondary development

Through the batch hole processing system based on the second development of NX, automatic identification and processing of the pore symbol in the air components, the problem of low efficiency of traditional hole processing technology and inadequate identification of traditional hole processing technology have been solved. The demand for mass production.

CN119356219APending Publication Date: 2025-01-24CHENGDU ZHIYUAN ADVANCED MFG TECH RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411467871.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

Traditional hole processing technology is inefficient in the manufacturing of aviation parts, and the identification of the faces, oblique holes, through holes and deep holes of the ring is inaccurate, resulting in low product pass rate.

Method used

A batch hole processing system based on NX secondary development is adopted, including the underlying data interface module, hole feature recognition module and processing control module. By automatically identifying the hole features in the CAD model file, a processing task list is generated and the processing function of the NX software is called. Realize automatic processing operations.

Benefits of technology

It improves the processing efficiency and accuracy of the hole characteristics, reduces human errors in human costs and humanity in processing, and achieves automated production, accuracy improvement, flexibility and adaptability, high cost benefits, and quality control and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356219A_ABST
    Figure CN119356219A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of hole machining, and provides a batch hole machining system and method based on NX secondary development. A hole feature recognition module; and a processing control module. The method comprises the following steps: S1, importing a CAD model file into NX software; s2, identifying all hole features in the CAD model file through a secondary development tool of NX software; s3, respectively extracting parameters of each hole feature; s4, generating a machining path based on the parameter of each hole feature; s5, generating a machining program of each hole feature, and optimizing a machining sequence and a machining path through a Dijkstra algorithm; s6, outputting a final machining program of each hole feature; and S7, the final machining program is loaded into a machine tool control system to be executed. The method has the advantages of automatic production, accuracy improvement, high flexibility and adaptability, high cost effectiveness and quality control and traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hole processing, and in particular to a batch hole processing system and processing method based on NX secondary development. Background Art

[0002] In the aviation parts manufacturing industry, hole making is an important part of mechanical manufacturing. For aviation parts, there are many holes and many types on them, and it is too cumbersome and inefficient to select them individually. Traditional programming methods require engineers to manually select hundreds or thousands of holes, which is inefficient and subjective, and is prone to omission or misselection, greatly reducing the product qualification rate and making it difficult to meet the high requirements of modern manufacturing.

[0003] NX (Siemens NX) is an industrial design and manufacturing software. Its secondary development feature recognition involves automatically identifying features or geometric shapes in CAD files. In recent years, NX-based secondary development technology has made significant progress in the field of NX processing modules. Since the secondary development interface of Drill is not open to the outside world, the development of the hole-making module is particularly important. However, there are still some challenges in the secondary development of NX for hole feature recognition on aviation parts, such as inaccurate recognition of the face of the ring, oblique holes, through holes and deep holes. Summary of the invention

[0004] In view of the defects in the prior art, the purpose of the present invention is to provide a batch hole processing system and processing method based on NX secondary development, which can accurately identify the hole features of batch holes.

[0005] According to a first aspect of the present invention, there is provided a batch hole machining system based on NX secondary development, comprising:

[0006] A bottom layer data interface module, which is used to realize data interaction with NX software and receive data of CAD model files;

[0007] A hole feature recognition module, the hole feature recognition module is used to automatically recognize the hole features in the CAD model file and generate a processing task list;

[0008] A processing control module, wherein the processing control module calls the processing function of the NX software according to the processing task list to realize the automatic processing operation of the hole feature.

[0009] According to a second aspect of the present invention, there is provided a batch hole processing method based on NX secondary development, comprising the following steps:

[0010] S1. Import the CAD model file into NX software;

[0011] S2, identifying all hole features in the CAD model file through the secondary development tool of the NX software;

[0012] S3, respectively extracting parameters of each hole feature;

[0013] S4, generating a processing path based on the parameters of each hole feature;

[0014] S5, generating a machining program for each hole feature, and optimizing the machining sequence and the machining path by using a Dijkstra algorithm;

[0015] S6, outputting the final processing program of each hole feature;

[0016] S7, loading the final processing program into the machine tool control system for execution.

[0017] Further, in step S2, the secondary development tool of the NX software is NX Open;

[0018] The steps for hole feature recognition include:

[0019] S8, determining that the CAD model file format is supported by the NX software, and using the API of the NX software as a secondary development environment;

[0020] S9, importing the CAD model file format into the secondary development environment;

[0021] S10, selecting a suitable feature recognition algorithm according to requirements;

[0022] S11. Develop code to implement feature recognition function.

[0023] Furthermore, the hole feature recognition step further includes:

[0024] S12, verifying the result of feature recognition and optimizing the feature recognition algorithm;

[0025] S13. Integrate feature recognition capabilities into actual engineering design or manufacturing processes.

[0026] Further, in step S3, the parameters of the hole feature include diameter, depth and center position.

[0027] Further, in step S5, the Dijkstra algorithm is applicable to the case where the weights in the directed graph are non-negative, the vertex set of the directed graph is V, the edge set is E, each edge (u, v) has a non-negative weight w(u, v), and the optimization steps of the Dijkstra algorithm include:

[0028] S14. Create an empty distance list dist[] to store the estimated values of the shortest distances from the source vertex s to each vertex. In the initial state, set the distance of the source vertex s to 0 and the distances of other vertices to infinity. Create an empty predecessor node list prev[] to record the previous vertex on the shortest path to each vertex;

[0029] S15. After sorting all the distance lists dist[], add them to the priority queue. In the initial state, the source vertex s is added to the priority queue;

[0030] S16. Take out the vertex u with the shortest distance from the priority queue. For each adjacent vertex v of u, if dist[u] + w(u, v) < dist[v], then update dist[v] = dist[u] + w(u, v), and at the same time update prev[v] = u. After updating dist[v], add v to the priority queue. If v is already in the priority queue, then update its position in the priority queue;

[0031] S17. When the priority queue is not empty, repeat step S16;

[0032] S18. When the priority queue is empty, the Dijkstra algorithm ends. At this time, the shortest distances from the source vertex s to each vertex are stored in the distance list dist[], and the predecessor vertices of each vertex on the shortest path are stored in the predecessor node list prev[].

[0033] Furthermore, the optimization steps of the Dijkstra algorithm also include:

[0034] If it is necessary to find the shortest path from the source vertex s to the target vertex t, starting from the target vertex t, trace back along the predecessor node list prev[] until the source vertex s, then the shortest path can be reconstructed.

[0035] Furthermore, before step S6 starts, use the simulation tool Vericut of the NX software to verify and optimize the generated machining path.

[0036] Beneficial effects of the invention: The invention provides a batch hole processing system and processing method based on NX secondary development, which improves the processing efficiency and processing accuracy of hole features through automatic CAD model file recognition, processing path generation and processing program generation, while reducing labor costs and human errors in the processing process. Its advantages include automated production, improved accuracy, strong flexibility and adaptability, high cost-effectiveness, and quality control and traceability, so it can meet the production and processing needs of hole features on large quantities of aviation parts, and can also provide manufacturing companies with competitive advantages and opportunities for continuous improvement. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a schematic diagram of the process structure of the present invention. DETAILED DESCRIPTION

[0038] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0039] In this application, unless otherwise clearly specified and limited, the terms "connection" and "fixation" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0040] In the description of the present application, it should be understood that the terms "longitudinal", "lateral", "horizontal", "top", "bottom", "up", "down", "inside" and "outside" etc. indicating orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0041] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the present invention, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0042] According to a first aspect of the present invention, there is provided a batch hole processing system based on NX secondary development, comprising a bottom layer data interface module, a hole feature recognition module and a processing control module.

[0043] The underlying data interface module is used to realize data interaction with NX software and receive data from CAD model files;

[0044] The hole feature recognition module automatically recognizes hole features in CAD model files based on developed algorithms and rules, and generates a processing task list;

[0045] The processing control module calls the processing function of the NX software according to the processing task list to realize the automatic processing operation of the hole feature. The processing control module is preferably the Hole-making module of the NX software.

[0046] This system improves the Hole-making module of NX software, develops a new UI interface, and adds hole feature recognition technology to the component feature recognition technology. It can quickly and accurately identify and classify different types of holes and generate tool processing paths. It mainly solves the problems of low efficiency and complex operation of hole feature recognition in existing processing systems.

[0047] Through this system, operators do not need to manually set processing parameters one by one, which greatly improves processing efficiency and accuracy. This system is suitable for various mechanical processing fields and has high practical value and market application prospects. It is widely used in mechanical processing links in manufacturing industries such as aviation and automobiles.

[0048] According to a second aspect of the present invention, Figure 1 As shown, a batch hole processing method based on NX secondary development is provided, including the following steps:

[0049] S1. Data input and preparation: Import the CAD model file into NX software. Ensure that all design features in the CAD model file are correct and accurate, and determine the processing requirements, such as the diameter, depth, and position of the hole.

[0050] S2. Feature recognition: All hole features in the CAD model file are identified through the secondary development tools of NX software. The identification of hole features can be based on criteria such as geometric shape, specific size range, position relationship, etc.

[0051] S3. Hole feature parameter extraction: Extract the parameters of each hole feature separately. Extract the parameters of the identified hole features from the CAD model file, such as diameter, depth, center position, etc. These parameters will be used for subsequent machining path generation and control.

[0052] S4, machining path generation: Generate machining paths based on the parameters of each hole feature, taking into account machining path optimization, safety spacing and other machining conditions.

[0053] S5. Machining program generation and optimization: Generate a machining program for each hole feature, and optimize the machining sequence and machining path through the Dijkstra algorithm to improve machining efficiency and quality.

[0054] S6, post-processing output: Output the final machining program for each hole feature. It may also be necessary to generate machine tool control code (such as G code).

[0055] S7, Production and Monitoring: Load the final machining program into the machine tool control system for execution. Monitor the machining process to ensure that each hole feature is machined as expected.

[0056] In one embodiment, in step S2, the secondary development tool of NX software is NX Open.

[0057] The steps for hole feature recognition include:

[0058] S8. Make sure that the CAD model file format is supported by NX software and use the NX software API as the secondary development environment.

[0059] S9. Import the CAD model file format into the secondary development environment. This can be achieved through the API of the NX software, such as loading the CAD model file into the program for subsequent processing.

[0060] S10. Select the appropriate feature recognition algorithm according to the requirements. Common features include holes, bosses, grooves, edges and corners. In NX software, geometric analysis, surface fitting, voxel analysis and other technologies can be used to realize automatic recognition of hole features.

[0061] The feature recognition algorithm belongs to the existing technology, and the specific content will not be repeated here. The operator can just choose the appropriate one.

[0062] S11. Develop code to implement feature recognition. This involves writing programs to analyze CAD model files, identify specific geometric features, and mark or save their location, size, orientation, and other key information.

[0063] In one embodiment, the hole feature identification step further comprises:

[0064] S12. Verify the result of feature recognition and optimize the feature recognition algorithm to ensure the accuracy and completeness of recognition. Optimize the feature recognition algorithm according to the actual application to improve the efficiency and accuracy of recognition.

[0065] S13. Integrate feature recognition into actual engineering design or manufacturing processes. Test and verify the application effect of feature recognition in actual scenarios. In the actual development process, more details and specific customization requirements may be involved, such as processing complex surfaces and considering the complex structure of CAD model files. Therefore, there will be corresponding adjustments and optimization steps for specific application scenarios and requirements.

[0066] In one embodiment, in step S3 , the parameters of the hole feature include diameter, depth and center position.

[0067] In one embodiment, in step S5, the Dijkstra algorithm is a classic algorithm for solving the single-source shortest path problem, which is applicable to the case where the weights in a directed graph are non-negative. The vertex set of the directed graph is V, the edge set is E, and each edge (u, v) has a non-negative weight w(u, v). The optimization steps of the Dijkstra algorithm include:

[0068] S14. Create an empty distance list dist[] to store the estimated values of the shortest distances from the source vertex s to each vertex. In the initial state, set the distance of the source vertex s to 0, and the distances of other vertices to infinity (indicating the shortest paths not yet discovered). Create an empty predecessor node list prev[] to record the previous vertex on the shortest path to each vertex.

[0069] S15. After sorting all the distance lists dist[], add them to the priority queue. In the initial state, the source vertex s is added to the priority queue.

[0070] S16. Take out the vertex u with the shortest distance from the priority queue. For each adjacent vertex v of u, if the path through u to v is shorter than the currently known path, that is, dist[u] + w(u, v) < dist[v], then update dist[v] = dist[u] + w(u, v), and at the same time update prev[v] = u. After updating dist[v], add v to the priority queue. If v is already in the priority queue, then update its position in the priority queue;

[0071] S17. When the priority queue is not empty, repeat step S16.

[0072] S18. When the priority queue is empty, the Dijkstra algorithm ends. At this time, the shortest distances from the source vertex s to each vertex are stored in the distance list dist[], and the predecessor vertices of each vertex on the shortest path are stored in the predecessor node list prev[].

[0073] In one embodiment, the optimization steps of the Dijkstra algorithm further include:

[0074] If it is necessary to find the shortest path from the source vertex s to the target vertex t, starting from the target vertex t, trace back along the predecessor node list prev[] until reaching the source vertex s, then the shortest path can be reconstructed.

[0075] In one embodiment, before step S6 starts, use the simulation tool Vericut of NX software to verify and optimize the generated machining paths. Ensure that all machining paths will not cause collisions or other problems.

[0076] Advantages of the present invention:

[0077] 1. Automation and efficiency: This system can automatically identify hole features in CAD model files without manual identification and programming. Automated processing path generation and program generation make the processing process more efficient.

[0078] 2. Accuracy and consistency: This system ensures that the machining parameters of each hole feature can be accurately extracted and executed, reducing human errors. The machining path generation algorithm can optimize the path and improve the consistency of machining accuracy and surface quality.

[0079] 3. Flexibility and adaptability: It can be customized and adjusted according to different CAD model files and processing requirements. The system can handle complex geometric shapes and hole features, including multiple hole types and sizes.

[0080] 4. Reduce development time and cost: Rapidly realize the automation system through secondary development of NX software, saving the time cost of development and implementation. Reduce human resource requirements and reduce manual intervention and management costs in the processing process.

[0081] 5. Quality control and traceability: The automated processing can monitor and record processing data in real time, which is convenient for quality control and problem tracing. The processing procedures and parameters generated by the system are documented and traceable, which helps to continuously improve product quality.

[0082] In summary, the present invention significantly improves the traditional processing methods through the advantages of automation, improved precision, flexibility and cost-effectiveness. Therefore, it can meet the production and processing needs of hole features on large quantities of aviation parts, and can also provide manufacturing companies with competitive advantages and opportunities for continuous improvement, and has greater application potential and market competitiveness.

[0083] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention.

[0084] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A batch hole processing system based on NX secondary development, characterized by: include: A bottom layer data interface module, which is used to realize data interaction with NX software and receive data of CAD model files; A hole feature recognition module, the hole feature recognition module is used to automatically recognize the hole features in the CAD model file and generate a processing task list; A processing control module, wherein the processing control module calls the processing function of the NX software according to the processing task list to realize the automatic processing operation of the hole feature.

2. A batch hole processing method based on NX secondary development, applicable to the batch hole processing system based on NX secondary development according to claim 1, characterized in that: The following steps are involved: S1, importing the CAD model file into the NX software; S2, identifying all hole features in the CAD model file through the secondary development tool of the NX software; S3, respectively extracting parameters of each hole feature; S4, generating a processing path based on the parameters of each hole feature; S5, generating a machining program for each hole feature, and optimizing the machining sequence and the machining path by using a Dijkstra algorithm; S6, outputting the final processing program of each hole feature; S7, loading the final processing program into the machine tool control system for execution.

3. The batch hole processing method based on NX secondary development according to claim 2 is characterized in that: In step S2, the secondary development tool of the NX software is NX Open; The steps for hole feature recognition include: S8, determining that the CAD model file format is supported by the NX software, and using the API of the NX software as a secondary development environment; S9, importing the CAD model file format into the secondary development environment; S10, selecting a suitable feature recognition algorithm according to requirements; S11. Develop code to implement feature recognition function.

4. The batch hole processing method based on NX secondary development according to claim 3 is characterized in that: The hole feature recognition step further includes: S12, verifying the result of feature recognition and optimizing the feature recognition algorithm; S13. Integrate feature recognition capabilities into actual engineering design or manufacturing processes.

5. The batch hole processing method based on NX secondary development according to claim 2 is characterized in that: In step S3, the parameters of the hole feature include diameter, depth and center position.

6. The batch hole processing method based on NX secondary development according to claim 2 is characterized in that: In step S5, the Dijkstra algorithm is applicable to the case where the weights in the directed graph are non-negative. The vertex set of the directed graph is V, the edge set is E, and each edge (u, v) has a non-negative weight w(u, v). The optimization steps of the Dijkstra algorithm include: S14. Create an empty distance list dist[] to store the estimated value of the shortest distance from the source vertex s to each vertex. In the initial state, the distance of the source vertex s is set to 0, and the distances of other vertices are set to infinity. Create an empty predecessor node list prev[] to record the previous vertex on the shortest path to each vertex. S15, after sorting all the distance lists dist[], add them to the priority queue. In the initial state, the source vertex s is added to the priority queue; S16. Take out the vertex u with the shortest distance from the priority queue. For each adjacent vertex v of u, if dist[u] + w(u, v) < dist[v], then update dist[v] = dist[u] + w(u, v), and at the same time update prev[v] = u. After updating dist[v], add v to the priority queue. If v is already in the priority queue, then update its position in the priority queue; S17. When the priority queue is not empty, repeat step S16; S18. When the priority queue is empty, the Dijkstra algorithm ends. At this time, the shortest distances from the source vertex s to each vertex are stored in the distance list dist[], and the predecessor vertices of each vertex on the shortest path are stored in the predecessor node list prev[].

7. The batch hole processing method based on NX secondary development according to claim 6 is characterized in that: The optimization steps of the Dijkstra algorithm further include: If it is necessary to find the shortest path from the source vertex s to the target vertex t, starting from the target vertex t, trace back along the predecessor node list prev[] until the source vertex s, and the shortest path can be reconstructed.

8. The batch hole processing method based on NX secondary development according to claim 2 is characterized in that: Before step S6 starts, use the simulation tool Vericut of the NX software to verify and optimize the generated machining path.