Heuristic rule-based complex curved surface part processing feature separation method and system

Through the feature separation method for complex curved surface parts based on heuristic rules, the problem of low efficiency and poor accuracy in the recognition of complex curved surface parts is solved, the accurate separation of feature models and the retention of position information are achieved, and the intelligent level of engineering design is improved.

CN118734026APending Publication Date: 2024-10-01SUZHOU QIANJI INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410668789.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing processing feature recognition technology for complex curved surface parts has problems such as low recognition efficiency, inaccuracy, and prone to misrecognition and missed recognition. Especially when processing complex curved surface parts, traditional methods are difficult to meet actual processing needs.

Method used

A feature separation method for complex curved surface parts based on heuristic rules is adopted. By checking and repairing the part model for legality, initializing surface edge attributes, identifying the starting surface and ending surface of feature search, and recursively searching adjacent surfaces to construct a feature quilt group, After filtering and removing duplicates, a set of feature models is obtained, and the part model is segmented based on the position information to achieve separation of feature models.

Benefits of technology

It improves the accuracy and efficiency of feature recognition, effectively handles complex surfaces, reduces the interference of feature recognition, achieves precise separation of feature models and retains position information, and improves the intelligent level of engineering design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734026A_ABST
    Figure CN118734026A_ABST
Patent Text Reader

Abstract

The invention provides a heuristic rule-based complex curved surface part machining feature separation method and system, and relates to the technical field of numerical control milling machining and manufacturing of complex curved surface parts. Identifying and marking a feature search starting surface and a feature search ending surface in the part model; constructing a feature surface group based on a feature search starting surface and a recursive search adjacent surface, forming a feature model after a boundary condition is met, and obtaining a feature model set after screening and de-weighting; and calculating and retaining position information of the feature model on the part model, and segmenting the original part model based on the position information to realize separation of the feature model on the part model. According to the method, the difficulty and scale of feature recognition are reduced, the accuracy and efficiency of subsequent feature recognition are improved, the method is suitable for being integrated into various feature recognition systems, and the intelligent level of engineering design is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of CNC milling machining and manufacturing of complex curved surface parts, and in particular to a method and system for separating machining features of complex curved surface parts based on heuristic rules. Background Art

[0002] With the rapid development of modern manufacturing, the machining accuracy and efficiency requirements for complex engineering parts such as aircraft engine turbine blades and casings are increasing. Such parts often contain a large number of complex surface structures such as quadratic surfaces and free-form surfaces. These surface features are crucial to the overall performance of the parts. Therefore, how to efficiently and accurately identify the machining features of these complex surface parts has become an urgent problem to be solved in the field of CNC machining.

[0003] As the basis of CNC programming, machining feature recognition technology mainly defines and identifies machinable feature objects from part drawings or 3D models, and then implements feature-based machining programming to improve the efficiency and quality of CNC machining. However, in practical applications, existing machining feature recognition technology faces many challenges when processing complex curved surface parts.

[0004] First, the processing features of complex curved surface parts are often diverse and irregular, which makes traditional classic feature recognition methods such as rule-based and graph-based methods incapable of processing such parts. These methods perform well in recognizing simple features, but when faced with complex features on complex curved surface parts, they often have problems such as low recognition efficiency, inaccurate recognition, non-recognition, misrecognition, and missed recognition.

[0005] Secondly, in order to reduce the interference of non-feature structures in complex curved parts on feature recognition, it is often necessary to segment the part model to remove the model faces that do not constitute features and separate the model faces that constitute features. However, the existing model segmentation methods mainly focus on a few simple features on some relatively simple parts, and their limitations are relatively large. When applied to complex engineering parts with a large number of complex curved surfaces, these methods often have poor separation effects and low separation success rates, making it difficult to meet the needs of actual processing.

[0006] In view of the above problems, the present invention aims to propose a novel method for separating machining features of complex curved surface parts. Summary of the invention

[0007] To this end, an embodiment of the present invention provides a method and system for separating the processing features of complex curved surface parts based on heuristic rules, which is used to solve the problems of low recognition efficiency, inaccuracy, easy misrecognition and missed recognition in the feature recognition of complex curved surface parts in the prior art.

[0008] In order to solve the above problems, an embodiment of the present invention provides a method for separating machining features of complex curved surface parts based on heuristic rules, the method comprising:

[0009] Step S1: Check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and at the same time identify and mark the feature search start and end faces in the part model;

[0010] Step S2: Based on the feature search starting face, recursively search the adjacent faces to build a feature face group, form a feature model after satisfying the boundary conditions, and obtain a feature model set after screening and removing duplicates;

[0011] Step S3: Processing the original part model according to the obtained feature model set, calculating and retaining the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segmenting the original part model based on the position information, separating the model face group corresponding to the feature model in the feature model set from the part model, and binding the position information of the feature model to achieve separation of the feature model on the part model;

[0012] The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

[0013] Preferably, in step S1, the part model is checked for legality, illegal topological surfaces are repaired, and the face edge properties of the part model are initialized, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and identifying and marking the feature search start and end surfaces in the part model, specifically including:

[0014] Step S11: Check the legitimacy of the part model and correct the illegal topological surfaces; if the automatic correction is not possible, the part model is handed over to manual processing;

[0015] Step S12: Traverse all common edges formed by the intersection of two different model faces on the part model, and perform the following steps for each set of adjacent faces and the common edges formed:

[0016] Step S121: Take points at equal distances on the common edge, and calculate the unit normal vectors and unit tangent vectors at these points;

[0017] Step S122: Calculate and record the convexity and concavity of the edge based on the calculated unit normal vector and unit tangent vector;

[0018] Step S123: determining the convexity and concavity of the edge based on the convexity and concavity of the edge;

[0019] Step S13: Based on the convexity and concavity of the edge, identify and mark the feature search start face and end face in the part model.

[0020] Preferably, in step S121, points are taken at equal distances on the common edge, and the unit normal vectors and unit tangent vectors at these points are calculated, which specifically includes:

[0021] The two adjacent model surfaces are called the first model surface and the second model surface, and their common edge is e, which is formed by the overlap of the edges on the first model surface and the second model surface; take n points equidistantly on the common edge e, traverse these points, and for any point p among them, and are the unit normal vectors of the first model surface and the second model surface at point p, pointing to the outside of the part model; is the unit tangent vector of the straight line corresponding to the common edge e at point p, and its direction is the positive direction of the edge of the first model surface corresponding to the common edge e;

[0022] Preferably, in step S122, based on the calculated unit normal vector and unit tangent vector, the convexity and concavity of the edge are calculated and recorded, specifically including:

[0023] The convexity and concavity of the edge at point p is Then there is Calculate the convexity and concavity of each point, denoted as The convexity and concavity of the common edge e and its corresponding edges belonging to two adjacent faces are Then there is Calculate and record The value of .

[0024] Preferably, in step S123, determining the convexity and concavity of the edge based on the convexity and concavity of the edge specifically includes:

[0025] when When , the common edge e and its corresponding two edges belonging to two adjacent faces are convex edges;

[0026] when When , the common edge e and its corresponding two edges belonging to two adjacent faces are concave edges;

[0027] when When there is a smooth transition of the common edge, take the midpoint p of the curve corresponding to the common edge e mid , point p mid The common unit normal vector at this point along two adjacent faces The direction of the point p is offset by a small distance, and the point p is obtained. ofs ; The curve corresponding to the common edge e is at point p midThe unit tangent vector at point p is in the positive direction of the edge of the first model surface corresponding to the common edge e; ofs Make it perpendicular to For a straight line l in the plane represented by the invention, when the straight line l has an intersection with the first model surface or the second model surface, the common edge e and its corresponding two edges belonging to the two adjacent surfaces are concave edges; when the straight line l has no intersection with either the first model surface or the second model surface, the common edge e and its corresponding two edges belonging to the two adjacent surfaces are convex edges.

[0028] Preferably, in step S13, based on the convexity and concavity of the edge, identifying and marking the feature search start face and end face in the part model specifically includes:

[0029] Determine the key model faces in the part model that can indicate the existence of features as the starting faces for feature search. For example, a cylindrical face can indicate the existence of a hole feature, and a rectangular plane can indicate the existence of a rectangular slot.

[0030] The model surface in the part model that can indicate the non-feature entity of the part is determined as the feature search termination surface; the model surface with multiple inner rings often contains processing feature models and is determined as the feature search termination surface; the large revolved surface without inner rings and whose revolving axis is colinear with the center of the part generally directly participates in the construction of the part entity and is determined as the feature search termination surface.

[0031] Preferably, in step S2, based on the feature search starting face, adjacent faces are recursively searched to construct a feature face group, a feature model is formed after the boundary conditions are met, and a feature model set is obtained after screening and deduplication, which specifically includes:

[0032] Step S21: adding the feature search starting surface determined in step S1 to an empty feature search starting surface set;

[0033] Step S22: creating an empty feature model set for storing feature face groups identified in subsequent search processes;

[0034] Step S23: traversing the model faces in the feature search starting face set one by one, and searching for a feature face group with each feature search starting face as a starting point;

[0035] Step S24: for each feature search starting face, create an empty feature face group set, and add the current feature search starting face to the set;

[0036] Step S25: Determine whether the outer boundary of the current feature face group set satisfies the boundary condition, if so, execute step S27, otherwise execute step S26; wherein the outer boundary is composed of the common edges between the faces in the current feature face group set and the adjacent non-feature faces, and the boundary condition is that the edges on the outer boundary have consistent convexity and concavity, or the outer boundary is entirely composed of the feature search termination face;

[0037] Step S26: recursively select a model face adjacent to the face in the current feature face set from the model faces in the part model that do not belong to the current feature face set in a breadth-first manner, add it to the feature face set, and execute step S25 until the boundary condition is met or no adjacent faces can be found.

[0038] Step S27: adding the model face group formed by combining the model faces in the current feature face group set as a feature face group to the feature model set;

[0039] Step S28: executing step S23 until all starting faces in the feature search starting face set are processed;

[0040] Step S29: traverse the feature model set, define feature discrimination rules according to the basic characteristics of the features, build a rule-based feature discrimination system, remove feature models that do not meet the rule requirements, and remove duplicate feature models.

[0041] The embodiment of the present invention further provides a complex surface part processing feature separation system based on heuristic rules, which is used to implement the complex surface part processing feature separation method based on heuristic rules described above, and specifically includes:

[0042] The part model preprocessing module is used to check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face and edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and identifying and marking the feature search start and end faces in the part model;

[0043] The feature model search module is used to search the starting face based on the feature, recursively search the adjacent faces to build a feature face group, form a feature model after the boundary conditions are met, and obtain a feature model set after screening and deduplication;

[0044] A feature model separation module is used to process the original part model according to the obtained feature model set, calculate and retain the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segment the original part model based on the position information, separate the model face group corresponding to the feature model in the feature model set from the part model, and bind the position information of the feature model to realize the separation of the feature model on the part model;

[0045] The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

[0046] An embodiment of the present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the above-mentioned heuristic rule-based complex surface part processing feature separation method.

[0047] An embodiment of the present invention further provides a computer storage medium storing a computer software product. The computer software product includes a number of instructions for enabling a computer device to execute the above-mentioned heuristic rule-based complex surface part processing feature separation method.

[0048] It can be seen from the above technical solutions that the present invention has the following beneficial effects:

[0049] (1) Improve the accuracy and efficiency of feature recognition: By checking and repairing the legitimacy of the part model, the data basis for subsequent feature recognition can be ensured to be accurate and reliable, thereby improving the accuracy of feature recognition. The feature separation method can quickly separate the processing feature model from the complex part model, reducing the scale and difficulty of subsequent feature recognition and improving the efficiency of feature recognition.

[0050] (2) Effective processing of complex curved surfaces: The present invention proposes an effective feature separation method specifically for engineering parts containing a large number of complex curved surfaces. By recursively searching adjacent faces to construct feature face groups, the feature recognition problem caused by complex curved surfaces can be well handled. This method reduces the interference of complex curved surfaces on feature recognition, making feature recognition more accurate and efficient.

[0051] (3) Preserving position information and achieving accurate separation: In the process of feature separation, the present invention not only considers the feature model itself, but also calculates and preserves the position information of the feature model on the part model, including the spatial position relationship and the topological information of the adjacent non-feature surfaces. The preservation of this position information makes the separation of the feature model more accurate, which is conducive to the subsequent further analysis and processing of the features.

[0052] (4) Modular design and easy integration: The feature separation method can be used as a pre-step for other feature recognition methods and combined with other feature recognition methods to form a complete feature recognition system. This modular design makes the present invention highly flexible and scalable, and can be easily integrated into various engineering design and manufacturing systems.

[0053] (5) Improve the level of intelligence in engineering design: Through automated feature recognition and separation, the level of intelligence in engineering design can be greatly improved, human intervention and errors can be reduced, and design efficiency and quality can be improved. At the same time, this method can also provide accurate data support for subsequent process planning, simulation analysis, and optimization, and promote the digitalization and intelligence of the entire engineering design and manufacturing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the implementation cases of the present invention or the technical solutions in the prior art, the following is a brief description of the drawings required for use in the embodiments. By referring to the drawings, the features and advantages of the present invention will be more clearly understood. The drawings are schematic and should not be understood as limiting the present invention in any way. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0055] Figure 1 A flowchart of a method for separating processing features of complex curved surface parts based on heuristic rules provided in an embodiment;

[0056] Figure 2 Schematic diagram of calculating a point and taking multiple points to calculate the convexity and concavity of an edge in an embodiment, where (a) is a point and (b) is multiple points.

[0057] Figure 3 Schematic diagram of judging the convexity and concavity of the common edge when the common edge has a smooth transition in the embodiment

[0058] Figure 4 It is a schematic diagram of a process of recursively adding model faces to a feature face group set in a breadth-first manner in an embodiment;

[0059] Figure 5 A block diagram of a complex surface part machining feature separation system based on heuristic rules provided in an embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] Embodiment 1

[0062] like Figure 1As shown, an embodiment of the present invention proposes a method for separating machining features of complex curved surface parts based on heuristic rules, the method comprising:

[0063] Step S1: Check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and at the same time identify and mark the feature search start and end faces in the part model;

[0064] Step S2: Based on the feature search starting face, recursively search the adjacent faces to build a feature face group, form a feature model after satisfying the boundary conditions, and obtain a feature model set after screening and removing duplicates;

[0065] Step S3: Processing the original part model according to the obtained feature model set, calculating and retaining the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segmenting the original part model based on the position information, separating the model face group corresponding to the feature model in the feature model set from the part model, and binding the position information of the feature model to achieve separation of the feature model on the part model;

[0066] The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

[0067] It can be seen from the above technical scheme that the present invention is a method for separating the processing features of complex surface parts based on heuristic rules. First, by checking the legitimacy of the part model and initializing the face edge attributes, the accuracy and stability of subsequent feature recognition are ensured. Secondly, based on the recursive search strategy of the feature search starting face, the feature face group can be effectively constructed and the feature model can be formed, which greatly simplifies the complexity of feature recognition. Finally, by accurately calculating and retaining the position information of the feature model on the part model, the accurate separation of the feature model on the part model is achieved, providing a clear data basis for subsequent feature recognition. This method not only reduces the difficulty and scale of feature recognition, but also significantly improves the accuracy and efficiency of feature recognition, providing an effective solution for the processing feature recognition of parts containing complex surfaces.

[0068] In this embodiment, in step S1, the part model is checked for legality, illegal topological surfaces are repaired, and the face edge properties of the part model are initialized, including calculating the convexity and concavity of the edges and judging the convexity and concavity of the edges, and at the same time, the feature search start and end surfaces in the part model are identified and marked.

[0069] The operator starts the software, imports the part model that needs to be separated, and sets the recognition range. The part model is then preprocessed to ensure the legitimacy and accuracy of the model, including:

[0070] Step S11: Check the legitimacy of the part model and correct the illegal topological surfaces; if the automatic correction is not possible, the part model is handed over to manual processing.

[0071] Step S12: Traverse all common edges formed by the intersection of two different model faces on the part model, and perform the following steps for each set of adjacent faces and the common edges formed:

[0072] Step S121: Take points at equal distances on the common edge and calculate the unit normal vector and unit tangent vector at these points.

[0073] Specifically, let the two adjacent model surfaces be the first model surface and the second model surface, and their common edge be e, which is formed by the overlap of the edges on the first model surface and the second model surface. Take n points equidistantly on the common edge e, traverse these points, and for any point p among them, and are the unit normal vectors of the first model surface and the second model surface at point p, pointing to the outside of the part model. It is the unit tangent vector of the straight line corresponding to the common edge e at point p, and its direction is the positive direction of the edge of the first model surface corresponding to the common edge e.

[0074] Step S122: Based on the calculated unit normal vector and unit tangent vector, calculate and record the convexity and concavity of the edge.

[0075] Specifically, Figure 2 As shown, the convexity and concavity of the edge at point p is Then there is Calculate the convexity and concavity of each point, denoted as The convexity and concavity of the common edge e and its corresponding edges belonging to two adjacent faces are Then there is Calculate and record The value of .

[0076] Step S123: Determine the convexity or concavity of the edge based on the convexity or concavity of the edge.

[0077] Specifically, when When , the common edge e and its corresponding two edges belonging to two adjacent faces are convex edges;

[0078] when When , the common edge e and its corresponding two edges belonging to two adjacent faces are concave edges;

[0079] when When , there is a smooth transition of the common edge, such as Figure 3 As shown, take the common side e corresponding to the midpoint p of the curve mid , point p mid The common unit normal vector at this point along two adjacent faces The direction of the point p is offset by a small distance, and the point p is obtained. ofs . The curve corresponding to the common edge e is at point p mid The unit tangent vector at , whose direction is the positive direction of the edge of the first model surface corresponding to the common edge e. ofs Make it perpendicular to The straight line l of the plane represented by the first model surface or the second model surface has an intersection point, and the common edge e and its corresponding two edges belonging to the two adjacent surfaces are concave edges. When the straight line l has no intersection point with the first model surface or the second model surface, the common edge e and its corresponding two edges belonging to the two adjacent surfaces are convex edges.

[0080] Step S13: Based on the convexity and concavity of the edge, identify and mark the feature search start face and end face in the part model.

[0081] Specifically, the key model surface in the part model that can indicate the existence of features is determined as the starting surface for feature search, such as a cylindrical surface that can indicate the existence of a hole feature, and a rectangular plane that can indicate the existence of a rectangular slot;

[0082] The model surface in the part model that can indicate the non-feature entity of the part is determined as the feature search termination surface; the model surface with multiple inner rings often contains processing feature models and is determined as the feature search termination surface; the large revolved surface without inner rings and whose revolving axis is colinear with the center of the part generally directly participates in the construction of the part entity and is determined as the feature search termination surface.

[0083] In this embodiment, in step S2, based on the feature search starting face, adjacent faces are recursively searched to construct a feature face group, a feature model is formed after the boundary conditions are met, and a feature model set is obtained after screening and deduplication, which specifically includes:

[0084] Step S21: adding the feature search starting surface determined in step S1 to an empty feature search starting surface set;

[0085] Step S22: creating an empty feature model set for storing feature face groups identified in subsequent search processes;

[0086] Step S23: traversing the model faces in the feature search starting face set one by one, and searching for a feature face group with each feature search starting face as a starting point;

[0087] Step S24: for each feature search starting face, create an empty feature face group set, and add the current feature search starting face to the set;

[0088] Step S25: Determine whether the outer boundary of the current feature face group set satisfies the boundary condition, if so, execute step S27, otherwise execute step S26; wherein the outer boundary is composed of the common edges between the faces in the current feature face group set and the adjacent non-feature faces, and the boundary condition is that the edges on the outer boundary have consistent convexity and concavity, or the outer boundary is entirely composed of feature search termination faces;

[0089] Step S26: Figure 4 As shown, from the model faces that do not belong to the current feature face group set in the part model, a model face adjacent to the face in the current feature face set is recursively selected in a breadth-first manner, and added to the feature face group set, and step S25 is executed until the boundary condition is met or no adjacent face can be found.

[0090] Step S27: adding the model face group formed by combining the model faces in the current feature face group set as a feature face group to the feature model set;

[0091] Step S28: executing step S23 until all starting faces in the feature search starting face set are processed;

[0092] Step S29: traverse the feature model set, define feature discrimination rules according to the basic characteristics of the features, build a rule-based feature discrimination system, remove feature models that do not meet the rule requirements, and remove duplicate feature models.

[0093] After the above steps, the feature model search is completed, and a feature model set containing all the identified feature models is obtained. These feature models will serve as the basis for subsequent processing and guide processing operations.

[0094] In this embodiment, in step S3, the original part model is processed according to the obtained feature model set, and the position information of the feature model on the part model is calculated and retained, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model. The original part model is segmented based on the position information, and the model face group corresponding to the feature model in the feature model set is separated from the part model, and the position information of the feature model is bound to achieve the separation of the feature model on the part model.

[0095] Furthermore, the separation results are fed back to the operator through a graphical interface for confirmation and modification. The confirmed feature separation results are input into the subsequent feature recognition step for further processing.

[0096] Embodiment 2

[0097] like Figure 5 As shown, the present invention provides a complex curved surface part processing feature separation system based on heuristic rules, which is used to implement the complex curved surface part processing feature separation method based on heuristic rules of the above-mentioned embodiment 1, and specifically includes:

[0098] The part model preprocessing module 100 is used to check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and identifying and marking the feature search start face and end face in the part model;

[0099] The feature model search module 200 is used to search the starting face based on the feature, recursively search the adjacent faces to build a feature face group, form a feature model after the boundary conditions are met, and obtain a feature model set after screening and removing duplicates;

[0100] The feature model separation module 300 is used to process the original part model according to the obtained feature model set, calculate and retain the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segment the original part model based on the position information, separate the model face group corresponding to the feature model in the feature model set from the part model, and bind the position information of the feature model to realize the separation of the feature model on the part model;

[0101] The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

[0102] A complex surface part processing feature separation system based on heuristic rules in this embodiment is used to implement the aforementioned complex surface part processing feature separation method based on heuristic rules. Therefore, the specific implementation method of the complex surface part processing feature separation system based on heuristic rules can be seen in the implementation example part of the complex surface part processing feature separation method based on heuristic rules in the previous text. For example, the part model preprocessing module 100, the feature model search module 200, and the feature model separation module 300 are respectively used to implement steps S1, S2, and S3 in the aforementioned complex surface part processing feature separation method based on heuristic rules. Therefore, its specific implementation method can refer to the description of the corresponding various partial embodiments. In order to avoid redundancy, it will not be repeated here.

[0103] Embodiment 3

[0104] An embodiment of the present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the above-mentioned heuristic rule-based complex surface part processing feature separation method.

[0105] Embodiment 4

[0106] An embodiment of the present invention further provides a computer storage medium storing a computer software product. The computer software product includes a number of instructions for enabling a computer device to execute the above-mentioned heuristic rule-based complex surface part processing feature separation method.

[0107] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0108] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0110] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.

Claims

1. A method for separating machining features of complex surface parts based on heuristic rules, characterized in that: include: Step S1: Check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and at the same time identify and mark the feature search start and end faces in the part model; Step S2: Based on the feature search starting face, recursively search the adjacent faces to build a feature face group, form a feature model after the boundary conditions are met, and obtain a feature model set after screening and deduplication; Step S3: Processing the original part model according to the obtained feature model set, calculating and retaining the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segmenting the original part model based on the position information, separating the model face group corresponding to the feature model in the feature model set from the part model, and binding the position information of the feature model to achieve separation of the feature model on the part model; The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

2. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 1 is characterized in that: In step S1, the part model is checked for legality, illegal topological surfaces are repaired, and the face edge properties of the part model are initialized, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and identifying and marking the feature search start and end surfaces in the part model, specifically including: Step S11: Check the legitimacy of the part model and correct the illegal topological surfaces; if the automatic correction is not possible, the part model is handed over to manual processing; Step S12: Traverse all common edges formed by the intersection of two different model faces on the part model, and perform the following steps for each set of adjacent faces and the common edges formed: Step S121: Take points at equal distances on the common edge, and calculate the unit normal vectors and unit tangent vectors at these points; Step S122: Based on the calculated unit normal vector and unit tangent vector, calculate and record the convexity and concavity of the edge; Step S123: determining the convexity and concavity of the edge based on the convexity and concavity of the edge; Step S13: Based on the convexity and concavity of the edge, identify and mark the feature search start face and end face in the part model.

3. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 2 is characterized in that: In step S121, points are taken at equal distances on the common edge, and the unit normal vectors and unit tangent vectors at these points are calculated, specifically including: The two adjacent model surfaces are called the first model surface and the second model surface, and their common edge is e, which is formed by the overlap of the edges on the first model surface and the second model surface; take n points equidistantly on the common edge e, traverse these points, and for any point p among them, and are the unit normal vectors of the first model surface and the second model surface at point p, pointing to the outside of the part model; It is the unit tangent vector of the straight line corresponding to the common edge e at point p, and its direction is the positive direction of the edge of the first model surface corresponding to the common edge e.

4. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 3 is characterized in that: In step S122, based on the calculated unit normal vector and unit tangent vector, the convexity and concavity of the edge are calculated and recorded, specifically including: The convexity and concavity of the edge at point p is Then there is Calculate the convexity and concavity of each point, denoted as The convexity and concavity of the common edge e and its corresponding edges belonging to two adjacent faces are Then there is Calculate and record The value of .

5. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 4 is characterized in that: In step S123, the convexity and concavity of the edge are determined based on the convexity and concavity of the edge, which specifically includes: when When , the common edge e and its corresponding two edges belonging to two adjacent faces are convex edges; when When , the common edge e and its corresponding two edges belonging to two adjacent faces are concave edges; when When there is a smooth transition of the common edge, take the midpoint p of the curve corresponding to the common edge e mid , point p mid The common unit normal vector at this point along two adjacent faces The direction of the point p is offset by a small distance, and the point p is obtained. ofs ; The curve corresponding to the common edge e is at point p mid The unit tangent vector at point p is in the positive direction of the edge of the first model surface corresponding to the common edge e; ofs Make it perpendicular to For a straight line l in the plane represented by the invention, when the straight line l has an intersection with the first model surface or the second model surface, the common edge e and its corresponding two edges belonging to the two adjacent surfaces are concave edges; when the straight line l has no intersection with either the first model surface or the second model surface, the common edge e and its corresponding two edges belonging to the two adjacent surfaces are convex edges.

6. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 2 is characterized in that: In step S13, based on the convexity and concavity of the edge, the feature search start face and the end face in the part model are identified and marked, specifically including: Determine the key model faces in the part model that can indicate the existence of features as the starting faces for feature search. For example, a cylindrical face can indicate the existence of a hole feature, and a rectangular plane can indicate the existence of a rectangular slot. The model surface in the part model that can indicate the non-feature entity of the part is determined as the feature search termination surface; the model surface with multiple inner rings often contains processing feature models and is determined as the feature search termination surface; the large revolved surface without inner rings and whose revolving axis is colinear with the center of the part generally directly participates in the construction of the part entity and is determined as the feature search termination surface.

7. The method for separating processing features of complex curved surface parts based on heuristic rules according to claim 1 is characterized in that: In step S2, based on the feature search starting face, adjacent faces are recursively searched to construct a feature face group, a feature model is formed after the boundary conditions are met, and a feature model set is obtained after screening and deduplication, which specifically includes: Step S21: adding the feature search starting surface determined in step S1 to an empty feature search starting surface set; Step S22: creating an empty feature model set for storing feature face groups identified in subsequent search processes; Step S23: traversing the model faces in the feature search starting face set one by one, and searching for a feature face group with each feature search starting face as a starting point; Step S24: for each feature search starting face, create an empty feature face group set, and add the current feature search starting face to the set; Step S25: Determine whether the outer boundary of the current feature face group set satisfies the boundary condition, if so, execute step S27, otherwise execute step S26; wherein the outer boundary is composed of the common edges between the faces in the current feature face group set and the adjacent non-feature faces, and the boundary condition is that the edges on the outer boundary have consistent convexity and concavity, or the outer boundary is entirely composed of feature search termination faces; Step S26: recursively select a model face adjacent to the face in the current feature face set from the model faces in the part model that do not belong to the current feature face set in a breadth-first manner, add it to the feature face set, and execute step S25 until the boundary condition is met or no adjacent faces can be found. Step S27: adding the model face group formed by combining the model faces in the current feature face group set as a feature face group to the feature model set; Step S28: executing step S23 until all starting faces in the feature search starting face set are processed; Step S29: traverse the feature model set, define feature discrimination rules according to the basic characteristics of the features, build a rule-based feature discrimination system, remove feature models that do not meet the rule requirements, and remove duplicate feature models.

8. A complex surface part processing feature separation system based on heuristic rules, characterized in that: The system is used to implement the complex surface part processing feature separation method based on heuristic rules according to any one of claims 1 to 7, specifically comprising: The part model preprocessing module is used to check the legitimacy of the part model, repair illegal topological surfaces, and initialize the face and edge properties of the part model, including calculating the convexity and concavity of the edge and judging the convexity and concavity of the edge, and identifying and marking the feature search start and end faces in the part model; The feature model search module is used to search the starting face based on the feature, recursively search the adjacent faces to build a feature face group, form a feature model after the boundary conditions are met, and obtain a feature model set after screening and deduplication; A feature model separation module is used to process the original part model according to the obtained feature model set, calculate and retain the position information of the feature model on the part model, including the spatial position relationship between the feature model and the part model, and the topological information of the non-feature surface adjacent to the feature model, segment the original part model based on the position information, separate the model face group corresponding to the feature model in the feature model set from the part model, and bind the position information of the feature model to realize the separation of the feature model on the part model; The faces in the part model that participate in forming the feature model are called feature faces, and the faces that do not participate in forming the feature model are called non-feature faces. A feature face group is composed of multiple feature faces, and a feature model is composed of multiple feature face groups.

9. An electronic device, characterized in that: The electronic device includes a processor, a memory and a bus system, the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the heuristic rule-based complex surface part processing feature separation method described in any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium stores a computer software product, and the computer software product includes a number of instructions for enabling a computer device to execute the heuristic rule-based complex surface part processing feature separation method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Special-shaped thin-wall part machining path identification method for laser cutting application

    CN121733055A