| Industrial modeling software is developing towards intelligence and automation.In3 D modeling software NX,it is difficult to quickly select a large number of similar edge shape regions,so the degree of modeling automation needs to be improved.In order to solve this problem,the search and mapping algorithm of edge region is designed,and the corresponding software system is implemented,which provides a set of solutions for the operation of similar edge regions in the design of NX modeling.The main work is divided into algorithm design and software implementation.(1)The core algorithms of the edge region recognition system are designed,which are the edge region search and mapping algorithm respectively.The edge region search algorithm first extracts the features of the edge region,then reconstructs the edge region and the part into the attribute adjacency graph,and uses the subgraph isomorphism algorithm to search.The edge region mapping algorithm makes the edges in the edge region to be searched and the edges in the similar edge regions complete one-to-one mapping.The error of mapping scheme is measured by calculating the spatial rotation angle of mapping scheme,and the mapping scheme with minimum error is selected to meet the spatial consistency requirement of edge mapping.(2)A software system is developed in NX to realize the function of identifying similar edge regions in the model.The system is tested and its effectiveness is verified.At the same time,in Logic Editor,a subsystem of NX used for algorithm modeling,the function of searching similar edge regions is added to improve the ability of automated modeling design.The method based on graph matching can well solve the problem of finding similar edge regions in NX,and the edge mapping algorithm can effectively solve the edgemapping spatial inconsistency problem of multiple similar edge regions.The developed software system can satisfy all the function and performance requirements and has certain practical value. |