Method and device for automatically generating non-standard part machining program

In the manufacturing of automated mechanical equipment, based on preset feature search rules and processing simulation technology, the processing procedures for non-standard parts are automatically generated, which solves the problems of long programming and debugging time and low accuracy of non-standard parts, and improves machining efficiency and accuracy sex.

CN119126687APending Publication Date: 2024-12-13SUZHOU HUAXING YUANCHUANG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411250994.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the field of automated machinery and equipment manufacturing, the programming and debugging process of non-standard parts takes a long time, and due to unconventional processing characteristics, reasonable processing procedures cannot be automatically generated, resulting in low generation efficiency and accuracy.

Method used

By searching the processing body model features of non-standard parts based on preset feature search rules, identifying feature types, and determining the required processing tool combination and operation through processing simulation, grouping and sorting to obtain processing operation groups, and generating processing of non-standard parts based on the processing process program.

Benefits of technology

It realizes automatic processing technology programming of non-standard parts without manual programming and debugging, significantly reducing programming and debugging time and improving the generation efficiency and accuracy of processing programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119126687A_ABST
    Figure CN119126687A_ABST
Patent Text Reader

Abstract

The invention provides a non-standard part machining program automatic generation method and device. The method comprises the steps that features of a machining body model of a non-standard part are searched based on a preset feature search rule to obtain to-be-machined features; identifying a feature type of the to-be-processed feature, and determining a required processing tool combination and a corresponding processing operation through processing simulation; and grouping and sorting the machining operations to obtain at least one machining operation group, determining a machining sequence of the machining operations in each machining operation group based on a preset machining sorting rule to obtain a machining flow, and generating a non-standard part machining program according to the machining flow. According to the method, the non-standard part machining program can be automatically generated, and the generation efficiency and accuracy of the non-standard part machining program are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of parts processing, and in particular to a method and device for automatically generating a non-standard parts processing program. Background Art

[0002] In the field of automated mechanical equipment manufacturing, there are many non-standard (quasi) parts designs, and processing is often based on individual parts rather than batch production, which often leads to urgent delivery of parts. The production cycle of individual parts processing is relatively long, mainly because the processing programming of non-standard parts does not have existing processing programs or a relatively mature programming process like standard parts. The programming and debugging process of non-standard parts processing programs takes a long time. The unconventional processing features of non-standard parts make it impossible to automatically generate reasonable processing programs, and manual intervention programming is required, resulting in low efficiency and accuracy in the generation of non-standard parts processing programs. Summary of the invention

[0003] One purpose of the present application is to provide a method for automatically generating a non-standard part processing program, automatically generating a non-standard part processing program, and improving the efficiency and accuracy of generating a non-standard part processing program. Another purpose of the present application is to provide a device for automatically generating a non-standard part processing program.

[0004] In order to achieve the above-mentioned purpose, the present application discloses, on the one hand, a method for automatically generating a non-standard part processing program, comprising:

[0005] Searching for features of the processing body model of the non-standard part based on a preset feature search rule to obtain features to be processed;

[0006] Identify the feature type of the feature to be processed, and determine the required processing tool combination and corresponding processing operation through processing simulation;

[0007] The processing operations are grouped and sorted to obtain at least one processing operation group, a processing sequence of the processing operations in each processing operation group is determined based on a preset processing sorting rule to obtain a processing flow, and a non-standard part processing program is generated according to the processing flow.

[0008] Optionally, the preset feature search rule includes multiple search directions and feature search priorities, and the step of searching the features of the processing body model of the non-standard part based on the preset feature search rule to obtain the features to be processed includes:

[0009] Searching the processing body model of the non-standard part according to the feature search priority along each of the search directions to obtain a plurality of feature search results;

[0010] A feature search result with an optimal feature combination is selected from the multiple feature search results as the feature to be processed.

[0011] Optionally, the feature type of the feature to be processed includes a strong feature, a weak feature and a combined feature, and the identifying the feature type of the feature to be processed and determining the required processing tool combination and the corresponding processing operation through processing simulation includes:

[0012] If the feature type is the strong feature, determining a first feature attribute of the strong feature, and obtaining a processing operation of the strong feature based on the first feature attribute and a processing rule corresponding to the strong feature;

[0013] If the feature type is the weak feature, determining a second feature attribute of the weak feature and a corresponding preliminary processing operation, and performing processing simulation on the preliminary processing operation to determine a corresponding processing operation;

[0014] If the feature type is the combined feature, all predefined features included in the combined feature are determined, and for each predefined feature, a third feature attribute and a corresponding preliminary processing operation are determined, and a processing simulation is performed on the preliminary processing operation to determine the corresponding processing operation.

[0015] Optionally, performing a processing simulation on the preliminary processing operation to determine a corresponding processing operation includes:

[0016] determining a range of available tools based on feature attributes corresponding to the preliminary machining operation;

[0017] Selecting a machining tool combination from the available tool range, generating a machining tool path for each machining tool combination through machining simulation, and determining an optimal machining tool combination;

[0018] A machining operation corresponding to the machining feature is obtained based on the optimal machining tool combination and the preliminary machining operation.

[0019] Optionally, determining the available tool range based on the feature attributes corresponding to the preliminary machining operation includes:

[0020] determining a tool type and tool diameter of a tool required for the preliminary machining operation;

[0021] Selecting a required preliminary tool range for each tool type based on the attribute value of the feature attribute corresponding to the preliminary machining operation;

[0022] In the preliminary tool range, the available tool range is determined by generating a machining tool path through machining simulation.

[0023] Optionally, determining the available tool range by generating a machining tool path through machining simulation in the preliminary tool range includes:

[0024] In the preliminary tool range, tools are selected in descending order of tool diameter as current tools to generate machining tool paths through machining simulation. If the machining tool paths cannot be generated, the next-order tool is selected as the current tool to regenerate the machining tool paths.

[0025] If the machining tool path can be generated, the first machining tool path length and the second machining tool path length of the current tool and the next sequential tool are obtained through machining simulation, and the maximum diameter tool in the available tool range is determined according to the first machining tool path length and the second machining tool path length;

[0026] The minimum fillet value of the machining feature is obtained from the feature attribute corresponding to the preliminary machining operation, and a fillet tool range is determined in the preliminary tool range based on the minimum fillet value. In the fillet tool range, tools are selected in order from large to small in diameter to generate machining tool paths through fillet machining simulation, and the tool that can generate the machining tool path is used as the minimum diameter tool in the available tool range.

[0027] Optionally, the selecting of a machining tool combination from the available tool range includes:

[0028] If the available tool range includes one or two machining tools, the one or two machining tools are regarded as a machining tool combination;

[0029] If the available tool range includes more than three tools, determining whether three machining tools are needed by machining simulation for the other tools in the available tool range except the tools with the largest and smallest diameters;

[0030] If not necessary, the tools with the largest and smallest tool diameters are used as a machining tool combination. If necessary, the tools with intermediate tool diameters in the available tool range are determined together with the tools with the largest and smallest tool diameters as a machining tool combination.

[0031] Optionally, grouping and sorting the processing operations to obtain at least one processing operation group includes:

[0032] Determining a processing procedure according to the geometric view of the processing body model and the features to be processed;

[0033] Determine a first dependency relationship between a coordinate system group of each processing step and a feature to be processed based on the processing steps, and obtain a second dependency relationship between the coordinate system group and the processing operation of the processing feature;

[0034] The processing operations are divided into corresponding coordinate system groups in combination with the first dependency relationship and the second dependency relationship to obtain at least one processing operation group.

[0035] Optionally, determining the processing sequence of the processing operations in each processing operation group based on a preset processing sorting rule to obtain a processing flow includes:

[0036] Extracting a processing field of each processing condition in a preset processing sorting rule, wherein the preset processing sorting rule includes a plurality of processing conditions sorted according to a screening priority, the processing conditions include a plurality of processing fields, and the processing fields match a field used to form a processing operation name;

[0037] According to the screening priority and the processing fields, the corresponding processing operations are matched from the processing operation group in sequence and sorted to obtain a processing order of the processing operations;

[0038] The processing sequence of the at least one processing operation group and the corresponding processing operations is determined to obtain the processing flow.

[0039] The present application also discloses a device for automatically generating a non-standard parts processing program, comprising:

[0040] A feature search module, used for searching the features of the processing body model of the non-standard part based on preset feature search rules to obtain features to be processed;

[0041] A machining operation configuration module, used to identify the feature type of the feature to be machined, and determine the required machining tool combination and the corresponding machining operation through machining simulation;

[0042] The processing operation sorting module is used to group and sort the processing operations to obtain at least one processing operation group, determine the processing order of the processing operations in each processing operation group based on preset processing sorting rules to obtain a processing flow, and generate a non-standard part processing program according to the processing flow.

[0043] The beneficial effects of the present invention are as follows:

[0044] The method for automatically generating a non-standard part processing program of the present application searches for the features of the processing body model of the non-standard part based on a preset feature search rule to obtain the features to be processed. For all the identified features to be processed, corresponding processing is performed according to the feature type of the features to be processed, and the processing operations corresponding to different feature types are determined in combination with the processing simulation method. In order to automatically generate a processing program, the present application groups and sorts the processing operations to obtain at least one processing operation group, and automatically determines the processing order of the processing operations in each processing operation group based on the preset processing sorting rules to obtain a processing flow, so that a non-standard part processing program can be generated according to the processing flow, and the automatic processing process programming of all processing features of non-standard parts is realized to obtain a processing program for non-standard parts. This automated programming process can obtain an optimized processing flow without manual programming and debugging, which can greatly reduce the time required for the programming and debugging process of the non-standard part processing program, and improve the efficiency and accuracy of the generation of non-standard part processing programs. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 It is a flowchart of a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0047] Figure 2 It is a flowchart of a specific embodiment S100 of the method for automatically generating a non-standard parts processing program of the present application;

[0048] Figure 3 It is a flowchart of determining the processing operation in a specific embodiment S200 of the method for automatically generating a processing program for non-standard parts of the present application;

[0049] Figure 4a and Figure 4b It is a schematic diagram of processing rules of a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0050] Figure 5 This is a flowchart of determining a machining tool in a specific embodiment S200 of the method for automatically generating a machining program for non-standard parts of the present application;

[0051] Figure 6 It is a flowchart of a specific embodiment S240 of the method for automatically generating a non-standard parts processing program of the present application;

[0052] Figure 7It is a flowchart of tool selection in a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0053] Figure 8 It is a flowchart of a specific embodiment S243 of the method for automatically generating a non-standard parts processing program of the present application;

[0054] Figure 9a to Figure 9c It is a schematic diagram of a cutting trajectory of a simulated tool in a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0055] Fig.10 It is a flowchart of a specific embodiment S250 of the method for automatically generating a non-standard parts processing program of the present application;

[0056] Fig.11 It is a flowchart of processing operation grouping of a specific embodiment S300 of the method for automatically generating a non-standard part processing program of the present application;

[0057] Fig.12 It is a schematic diagram of processing operation grouping in a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0058] Fig.13 It is a flowchart of the processing operation sequencing of the specific embodiment S300 of the method for automatically generating a processing program for non-standard parts of the present application;

[0059] Fig.14 It is a schematic diagram of setting processing sorting rules of a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0060] Fig.15 It is a schematic diagram of the processing operation sorting result of a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application;

[0061] Fig.16 It is a flowchart of a specific embodiment of the method for automatically generating a non-standard parts processing program of the present application, and a processing operation sequencing implementation procedure;

[0062] Fig.17 It is a structural diagram of a specific embodiment of the device for automatically generating a non-standard parts processing program of the present application;

[0063] Fig.18 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0065] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. It should also be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the items listed in association and all possible combinations, and includes these combinations. As used in the present specification and the appended claims, the term "if" can be interpreted as "when..." or "once" or "in response to determination" or "in response to detection" according to the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "once it is determined" or "in response to determination" or "once [described condition or event] is detected" or "in response to detection [described condition or event]" according to the context. In addition, in the description of the present application specification and the attached claims, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. The reference to "one embodiment" or "some embodiments" described in the present application specification means that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in the different parts of this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0066] In the prior art, CNC programming (CNC Machining), that is, CNC machining, refers to the use of CNC machining tools to process parts. CNC refers to the CNC machine tools that are programmed and controlled by CNC machining languages, usually G codes. The CNC machining G code language tells the CNC machine tool what kind of Cartesian position coordinates to use for the machining tool, and controls the feed speed and spindle speed of the tool, as well as the tool changer, coolant and other functions. CNC machining has great advantages over manual machining, such as the parts produced by CNC machining are very precise and repeatable. CNC machining can produce parts with complex shapes that cannot be completed by manual machining. CNC machining technology has now been widely promoted, and most machine shops have CNC machining capabilities. The most common CNC machining methods in typical machine shops are CNC milling, CNC turning and CNC EDM wire cutting (electric spark wire cutting). The tool for CNC milling is called a CNC milling machine or a CNC machining center. The lathe that performs CNC turning is called a CNC turning center. CNC machining G codes can be programmed manually, but usually machine shops use CAM (computer-aided manufacturing) software to automatically read CAD (computer-aided design) files and generate G-code programs to control CNC machine tools.

[0067] In the field of automated mechanical equipment manufacturing, for standard parts, there are usually existing processing programs or the programming process is relatively mature, and the generation of processing programs for standard parts does not take up too much time. However, for non-standard parts, processing is often mainly based on loose parts, and a set of processing programs needs to be set up separately and again for non-standard parts, so the programming and debugging process of non-standard parts processing programs takes a long time. In particular, the processing features of non-standard parts are not all conventional processing features that can be automatically identified in standard parts, and thus it is impossible to automatically generate processing operations and automatically program to obtain processing programs like conventional processing features. Manual intervention is required for separate programming and debugging, which takes a lot of time, and manual programming may also have problems such as program errors, resulting in the inability to guarantee the accuracy of the processing program. In summary, the unconventional processing features of non-standard parts make it impossible to automatically generate reasonable processing programs, and manual intervention programming is required, resulting in low efficiency and accuracy in the generation of non-standard parts processing programs.

[0068] Based on this, in order to improve the efficiency and accuracy of the generation of non-standard parts processing programs, this application provides a method and device for automatically generating non-standard parts processing programs, which realizes the automatic processing process programming of all processing features of non-standard parts to obtain the processing program of non-standard parts. This automated programming process can obtain an optimized processing flow without manual programming and debugging, which can greatly reduce the time required for the programming and debugging process of non-standard parts processing programs, and improve the efficiency and accuracy of non-standard parts processing program generation.

[0069] Figure 1This is a method for automatically generating a non-standard parts processing program provided by an embodiment of the present application. Figure 1 As shown, in this embodiment, the method includes:

[0070] S100: Searching for features of the processing body model of the non-standard part based on preset feature search rules to obtain features to be processed.

[0071] Among them, those skilled in the art can pre-set feature search rules, pre-store the preset feature search rules in the form of configuration files, and when performing feature search, call the configuration file and parse it to obtain the preset feature search rules, and search for the features of the processing body model according to the preset feature search rules. Feature information such as surfaces and lines corresponding to the features can be set in the feature search rules, and the purpose of obtaining the features to be processed by feature search is achieved by identifying the feature information on the processing body model and matching it with the features defined in the feature search rules. Of course, those skilled in the art can pre-set the specific content of the feature search rules according to actual needs, and this is not limited here.

[0072] S200: Identify the feature type of the feature to be processed, and determine the required processing tool combination and corresponding processing operation through processing simulation.

[0073] S300: Grouping and sorting the processing operations to obtain at least one processing operation group, determining the processing sequence of the processing operations in each processing operation group based on a preset processing sorting rule to obtain a processing flow, and generating a non-standard part processing program according to the processing flow.

[0074] Among them, the processing operations in each processing operation group are adjusted in processing order through processing sorting rules so that the adjusted processing flow can generate a processing program with higher processing efficiency and accuracy. Technical personnel in this field can preset the specific rule content of the processing sorting rules according to actual needs, which is not limited here.

[0075] The method for automatically generating a non-standard part processing program of the present application searches for the features of the processing body model of the non-standard part based on a preset feature search rule to obtain the features to be processed. For all the identified features to be processed, corresponding processing is performed according to the feature type of the features to be processed, and the processing operations corresponding to different feature types are determined in combination with the processing simulation method. In order to automatically generate a processing program, the present application groups and sorts the processing operations to obtain at least one processing operation group, and automatically determines the processing order of the processing operations in each processing operation group based on the preset processing sorting rules to obtain a processing flow, so that a non-standard part processing program can be generated according to the processing flow, and the automatic processing process programming of all processing features of non-standard parts is realized to obtain a processing program for non-standard parts. This automated programming process can obtain an optimized processing flow without manual programming and debugging, which can greatly reduce the time required for the programming and debugging process of the non-standard part processing program, and improve the efficiency and accuracy of the generation of non-standard part processing programs.

[0076] In an optional implementation, the preset feature search rule includes multiple search directions and feature search priorities, such as Figure 2 As shown, the S100 searches for the features of the processing body model of the non-standard part based on the preset feature search rule to obtain the features to be processed, including:

[0077] S110: searching the processing model of the non-standard part according to the feature search priority along each of the search directions to obtain a plurality of feature search results.

[0078] S120: Selecting a feature search result with an optimal feature combination from the multiple feature search results as the feature to be processed.

[0079] Specifically, in order to automatically obtain the optimal combination of features to be processed, the present application sets different feature search directions and feature search priorities, wherein different feature search directions can search for different combinations of features to be processed, and the number and type of features in the features to be processed have a certain influence on the part processing. Therefore, after obtaining multiple groups of features to be processed in different search directions, the present application can select the optimal group as the features to be processed according to the total number of features to be processed and the number of strong features, etc., which is conducive to the subsequent generation of efficient, accurate and economical processing programs. Among them, those skilled in the art can set the optimal judgment criteria for the feature combination according to actual needs, and the present application does not limit this.

[0080] In addition, in this optional implementation, features are set and searched in sequence according to the feature search priority. The feature search priority can be determined by setting the feature level according to the inclusion relationship between the features. For example, for first-order hole and second-order hole features, the second-order hole feature actually contains two connected first-order hole features, and the feature level of the second-order hole feature is higher than that of the first-order hole feature. Searching the second-order hole feature first can generate the second-order hole feature in one process without generating the processing operation of processing the first-order hole feature twice, which simplifies the processing process. Among them, the feature level can be set according to actual needs, and can also be obtained by identifying feature shapes and big data analysis. Those skilled in the art can set it according to needs, and this application does not limit this.

[0081] Among them, in the specific example, according to different process requirements, multiple search directions and feature search priorities of feature search rules can be preset in the form of configuration files. Feature search can be performed in a sequential manner according to the preset feature configuration file. The feature configuration file not only configures the attributes of the basic features but also configures the order of basic feature search, and clarifies the priority of basic feature search. For example, when performing feature search in NX, you can start from a point on the processing body model and search for features in two opposite directions to obtain multiple features in different search directions. In order to improve the accuracy and reliability of the search, a configuration file is used for management. In this way, the search parameters can be adjusted more flexibly, which is convenient for debugging the accuracy of the results. Because the types of features are diverse and there are priority considerations when searching, the use of configuration files can better meet the needs and make the process of searching features more efficient and reliable. The configuration file includes the feature search items to be executed and the feature type set for each search, that is, "course". The program will read the data parameters in each "course" item in sequence. Among them, "FeatureType" specifies the feature type to be searched, and "Direction" indicates the vector direction order during the search. Multiple direction feature searches will be spliced ​​with semicolons. "DirectionTolerance" indicates the directional accuracy during the search, and "Assigncolor" indicates whether to use color to distinguish features during the search. Each search will search the features in the set multiple times in each direction according to the set order, and then read the next "course" item to continue the search. Taking sheet metal processing as an example, the standard feature search order and types mainly include: waist-shaped second-order through grooves, arc-shaped waist-shaped second-order through grooves, waist-shaped through grooves, arc-shaped waist-shaped through grooves, rectangular through grooves, irregular closed through grooves, rectangular closed blind grooves, waist-shaped closed blind grooves, irregular closed blind grooves, U-shaped open grooves, rectangular open grooves, open area blind grooves, step grooves, grooves, circular grooves, open straight grooves, blind holes, through holes, second-order through holes, third-order through holes, etc.

[0082] In an optional embodiment, the feature types of the feature to be processed include strong features, weak features and combined features, such as Figure 3 As shown, the S200 identifies the feature type of the feature to be processed, and determines the required processing tool combination and the corresponding processing operation through processing simulation, including:

[0083] S210: If the feature type is the strong feature, determine a first feature attribute of the strong feature, and obtain a processing operation of the strong feature based on the first feature attribute and a processing rule corresponding to the strong feature.

[0084] S220: If the feature type is the weak feature, determine the second feature attribute of the weak feature and the corresponding preliminary processing operation, and perform processing simulation on the preliminary processing operation to determine the corresponding processing operation.

[0085] S230: If the feature type is the combined feature, determine all predefined features included in the combined feature, determine a third feature attribute and a corresponding preliminary processing operation for each predefined feature, and perform processing simulation on the preliminary processing operation to determine the corresponding processing operation.

[0086] Among them, the present application performs different processing operation generation methods for different feature types. For conventional strong features, their shapes and processing techniques are specific and clear, and can be directly obtained through the processing rules and feature attributes corresponding to the strong features. The processing rules can be pre-set according to the structural features of the strong features. In practical applications, the processing operations are directly generated according to the processing rules based on the feature type and the first feature attribute of the strong features. For example, Figure 4a and Figure 4b The processing rules for processing the countersunk hole from the front and back are shown respectively. Based on the first feature attributes such as the diameter and side wall size of the countersunk hole and the processing rules, a processing tool combination is selected according to the conditions of the processing rules to generate a processing operation, wherein the processing tool combination may include one or more tools. The tool diameter determination method of the strong feature can be set in advance in the processing rules. It is a conventional technology in this field and can be set according to actual needs, which will not be repeated here. Optionally, one or more processing rules can be set for each type of strong feature. After the processing operations are matched according to different processing rules, the best one is selected from the processing operations matched according to different processing rules as the final processing operation. Among them, the standard for the optimal judgment of the processing operation corresponding to different processing rules can be set by those skilled in the art according to actual needs, and this application does not limit this.

[0087] For weak features with irregular boundaries and feature types that are identified as combined features for non-standard parts, it is necessary to determine reasonable machining operations by generating tool paths through machining simulation. By using different machining operation generation methods for different feature types, the automatic generation of machining operations and machining programs for non-standard parts can be achieved, which can ensure the efficiency and accuracy of machining program generation.

[0088] Among them, the first feature attribute, the second feature attribute and the third feature attribute may include conventional structural attribute information of the feature to be processed, such as attribute information such as the feature surface shape, angle, size, etc. of the feature to be processed. Of course, in actual applications, the predefined features in strong features, weak features and combined features have different corresponding feature attributes depending on the feature type. Those skilled in the art can set the specific attribute information of the first feature attribute, the second feature attribute and the third feature attribute according to actual needs to generate corresponding processing operations, and this application does not limit this.

[0089] During feature search, all the features to be processed obtained by searching all the faces of the processing body model include the feature types of strong features that can determine the feature shape. The recognition of strong features is not affected by the structure or position, and the accuracy of the regional structure after the search is extremely high, for example, first-order blind holes, first-order through holes, second-order blind holes, second-order through holes..., sixth-order blind holes, sixth-order through holes, rectangular through grooves, rectangular blind grooves, waist-shaped through grooves, second-order waist-shaped blind grooves, waist-shaped blind grooves and "O"-shaped blind grooves. Weak features are processing features that may be affected by the region or structural position of the feature, and the search results may not be correct. The scope of weak features is all feature types except strong features to be searched according to the process configuration file, such as open U-shaped grooves, irregular open grooves, irregular closed grooves, and stepped grooves. The processing features specifically included in strong features and weak features can be set by technicians in this field according to needs in actual applications, and this application does not limit this.

[0090] In the process of performing feature search on the processing body model to obtain all the features to be processed of the non-standard part, strong features, weak features and combined features can be identified. Specifically, it includes: searching all the feature surfaces to be processed of the processing body model of the part to be processed, and determining whether there are non-standard feature surfaces in the feature surfaces to be processed. If the non-standard feature surfaces exist, the non-standard feature surfaces are divided into at least one feature surface group based on the positional relationship of the non-standard feature surfaces and the feature surface processing tool axis type. Based on the feature surface type of the non-standard feature surface in each feature surface group, the corresponding combined feature is determined, and the combined feature has a corresponding preset processing process. Based on the feature configuration file, the conventional features in the processing body model are searched, and the standard features and the combined features are used as the features to be processed.

[0091] It should be noted that all machining feature surfaces obtained by searching all surfaces of the machining body model include feature surfaces of conventional features whose feature types can be determined. For example, conventional features may include machining feature types such as slot features, hole features, and chamfers. All machining feature surfaces may also include non-standard feature surfaces whose feature types cannot be determined, that is, feature surfaces of machining features whose irregular shapes cannot determine the machining feature types.

[0092] The positional relationship between the non-standard feature surfaces can be determined by the edge contours of the non-standard feature surfaces. For example, if part of the edge contours of two non-standard feature surfaces overlap, the positional relationship between the two non-standard feature surfaces is adjacent.

[0093] Among them, optionally, the configuration information of the processing technology corresponding to all processing features in the combined feature can be set by setting a non-standard feature surface configuration file, etc. Then, after determining the combined feature corresponding to the non-standard feature surface, the processing technology required for each processing feature in the combined feature can be automatically analyzed and matched according to the configuration information in the non-standard feature surface configuration file, and then the processing program of the non-standard feature surface can be automatically programmed to realize the automatic generation of the overall processing program of the non-standard parts.

[0094] In this optional implementation, all feature faces in the non-standard features are first identified, and the non-standard feature faces are divided into at least one feature face group according to the positional relationship of the non-standard feature faces and the type of feature face machining tool axis. These feature face groups are then matched with predefined machining features to form a combined feature. At least one predefined machining feature included in the combined feature can be automatically matched with the corresponding machining process in a pre-configured manner during machining programming to obtain a machining program for the combined feature, thereby realizing the automatic identification of all machining features of non-standard parts and the programming of machining processes to obtain a machining program for non-standard parts. This automated programming process does not require manual programming and debugging, which can greatly reduce the time required for the programming and debugging process of the non-standard part machining program, and improve the efficiency and accuracy of the generation of the non-standard part machining program.

[0095] The determination of whether there is a non-standard feature surface in the feature surface to be processed can be achieved by the following steps: determining the projection pattern of the processing body model, stretching the projection pattern along the processing tool axis vector direction of the processing body model to obtain a stretched body. Identifying the top surface and the bottom surface in the processing body model, removing the top surface and the bottom surface in the feature surface to be processed to obtain a first processing feature. Determining the inner boundary surface and the outer boundary surface based on the interference state between the stretched body and the vertical feature surface in the first processing feature, removing the outer boundary surface in the first processing feature to obtain a second processing feature. Identifying and removing the feature surface corresponding to the preset strong feature in the second processing feature to obtain the non-standard feature surface.

[0096] Furthermore, in order to divide the features in non-standard parts into conventional features that can be accurately identified as much as possible. The present application determines the projection pattern of the entire processing body model, and the projection direction of the projection pattern is along the processing tool axis vector direction, and then the projection pattern is used as the basis to stretch along the processing tool axis vector direction to form a stretched body. Then the stretched body will overlap with some features in the processing body model, identify and remove the feature surface corresponding to the preset strong feature in the second processing feature to obtain the non-standard feature surface, and remove the outer boundary surface that can be independently processed to obtain the second processing feature.

[0097] Then, the strong features that do not need to be further determined in the second processing features are removed to obtain the non-standard feature surface that cannot be identified and classified in the non-standard parts. Among them, conventional features are divided into strong features and weak features.

[0098] Determining the inner boundary surface and the outer boundary surface based on the interference state between the stretched body and the vertical feature surface in the first processing feature may include: identifying all vertical surfaces in the stretched body. Offsetting the vertical surface by a preset displacement in a direction toward the inside of the stretched body to obtain an offset surface. After removing the through features inside the stretched body, performing interference check between the offset surface and the vertical feature surface to determine the inner boundary surface and the outer boundary surface.

[0099] Specifically, the vertical surface of the stretching body is offset by a preset displacement in the direction toward the interior of the stretching body, so that the vertical surface of the stretching body is separated from the inner boundary surface and the outer boundary surface and is no longer in a contact state. Wherein, when the vertical surface is offset in the direction toward the interior of the stretching body, the vertical surface of the stretching body is located inside the outer boundary surface of the processing body model, and the outer boundary surface of the processing body model can be obtained by detecting the vertical feature surface outside the stretching body. The vertical surface of the stretching body is also in a non-contact state with the inner boundary surface, but the position of the inner boundary surface is located inside the stretching body. Therefore, the vertical feature surface that is not in contact with the vertical surface of the stretching body in the internal area of ​​the stretching body is the inner boundary surface of the processing body model.

[0100] The identifying and removing the feature surface corresponding to the preset strong feature in the second processing feature to obtain the non-standard feature surface may include: segmenting the feature surface in the second processing feature based on the interference state between the vertical surface of the stretched body and the feature surface in the second processing feature to obtain the third processing feature. Determine whether there is a feature surface combination matching the preset strong feature in the third processing feature, and the feature surface combination includes a feature surface matching the preset strong feature or multiple feature surfaces matching the preset strong feature after connection. Remove all feature surfaces contained in the feature surface combination in the third processing feature.

[0101] It is understandable that based on the top surface, bottom surface, inner boundary surface and outer boundary surface in the processing body model of the stretching body identification, the top surface, bottom surface and outer boundary surface that do not need to be combined are removed from the feature surface to be processed to obtain the second processing feature. The feature surface of the strong feature that can be identified in the second processing feature can be directly removed to obtain the non-standard feature surface that needs to be combined to determine the processing feature. In this optional embodiment, in order to improve the recognition rate of the strong features in the feature surface, the interference line is determined by the interference state of the vertical surface of the stretching body and the processing body model, and the feature surface in the second processing feature is cut based on the interference line, and then the strong feature is identified, so that the cut feature surface can be combined to obtain more strong features, thereby reducing the number of non-standard feature surfaces that need to be combined to determine the processing features later, and simplifying the processing technology.

[0102] Specifically, if the vertical surface of the boundary of the stretching body contacts the surface of the machining body model, then the edge line where the vertical surface contacts the machining body model is the interference line that interferes with the feature surface. If the interference line is in the center of a feature surface, the corresponding feature surface can be cut with the interference line as the boundary, so that part of the feature surface after cutting has the opportunity to form a strong feature among conventional features with other feature surfaces. The strong feature can be directly identified and automatically programmed. After the splitting, the surface that does not belong to the strong feature needs to be divided into the feature surface group to determine the corresponding combined feature.

[0103] The method of dividing the non-standard feature surface into at least one feature surface group based on the positional relationship of the non-standard feature surface and the type of the feature surface machining tool axis may include: determining the feature surface type and the machining tool axis type of the non-standard feature surface. Using each of the inner boundary surfaces as the starting surface, the connected feature surfaces and the corresponding inner boundary surface are used together to form a first feature surface group through a connection area algorithm. All feature surfaces whose machining tool axis type is completely covered by the tool axis are divided into a second feature surface group through a connection area algorithm. All feature surfaces whose machining tool axis type is covered in the opposite direction of the tool axis are divided into a third feature surface group through a connection area algorithm.

[0104] Among them, if the positional relationship between non-standard feature faces is adjacent, the adjacent feature faces may be formed by a single processing technology. Therefore, the adjacent feature faces that can be formed by a single processing technology can be divided into a feature face group through the connection area algorithm, and the corresponding combined features are matched for the area formed by the feature face group, which can save process steps and improve processing efficiency.

[0105] The connected area algorithm can be implemented through the following steps: determine a feature surface as the starting surface of the current feature surface group, determine whether the starting surface has an adjacent target feature surface, if so, add the target feature surface to the current feature surface group, use the target feature surface as the starting surface to repeatedly determine whether there is an adjacent target feature surface, repeat the steps of if there is an adjacent target feature surface, add the target feature surface to the current feature surface group, use the target feature surface as the starting surface to determine whether there is an adjacent target feature surface until there are no adjacent target feature surfaces, and obtain all the feature surfaces contained in the current feature surface group.

[0106] The characteristic surface types include curved surfaces, chamfered surfaces, vertical surfaces and horizontal surfaces. Optionally, the characteristic surface type of each characteristic surface can be determined based on the change of the normal vector angle at different positions of the characteristic surface. For example, multiple points can be taken on the U line and V line of the characteristic surface to calculate the normal vector angle. If the normal vectors of the points on the U line are all fixed angles such as 45° or 135°, it is a plane surface, otherwise it is a curved surface, and then the chamfered surface, vertical surface or horizontal surface is determined according to the size of the fixed angle.

[0107] The machining tool axis type refers to the machining direction of the feature surface. The machining tool axis type of the feature surface can be determined according to the direction of the machining tool axis vector, including complete tool axis coverage and reverse tool axis coverage.

[0108] After the inner boundary surface is used as the starting surface to divide the non-standard feature surface into the first feature surface group through the connection area algorithm, the other non-standard feature surfaces except the first feature surface group are divided into the second feature surface group and the third feature surface group by the machining tool axis type through the connection area algorithm. The second feature surface group and the second feature surface group obtained by division are feature surface groups in the same region with the same machining direction, which can be used as combined features to match reasonable machining processes, optimize the machining process and flow of non-standard parts, and improve machining efficiency.

[0109] The determining of the corresponding combined features based on the feature surface type of the non-standard feature surface in each feature surface group includes: for each feature surface group, determining all predefined features included in the corresponding combined features through the following determination steps:

[0110] If the number of the chamfered surfaces is less than the number of feature surfaces of the feature surface group and the number of the curved surfaces is greater than 0, a cavity milling rough machining area machining feature is created.

[0111] If the number of the chamfered surfaces is less than the number of feature surfaces of the feature surface group and the number of the curved surfaces is equal to 0, a 2.5D bottom wall milling rough machining area machining feature is created.

[0112] If the number of feature faces of the chamfered face and the curved face is 0 and the number of the vertical face or the plane face is greater than 0, a 2.5D bottom wall milling finishing area machining feature is created.

[0113] If the number of the chamfered surfaces is greater than 0, a chamfering processing area processing feature corresponding to each of the chamfered surfaces is created.

[0114] If the number of the surfaces is greater than 0, a surface finishing area machining feature corresponding to each of the surfaces is created.

[0115] Specifically, in this optional implementation, the predefined features include five types of machining features that belong to the combined features: cavity milling rough machining area machining features, 2.5D bottom wall milling rough machining area machining features, 2.5D bottom wall milling finishing area machining features, chamfering area machining features and surface finishing area machining features. The combined features are given conventional properties of machining features, such as area, height difference, machining tool size, area range size and machining process. Then, the combined features corresponding to the subsequent non-standard feature surfaces can automatically match the corresponding machining process according to the configured conventional properties to realize the automatic generation of machining programs.

[0116] In an optional embodiment, if Figure 5 As shown, the S200 performs processing simulation on the preliminary processing operation to determine the corresponding processing operation includes:

[0117] S240: Determine an available tool range based on feature attributes corresponding to the preliminary machining operation.

[0118] S250: Select a machining tool combination from the available tool range, generate a machining tool path for each machining tool combination through machining simulation, and determine the optimal machining tool combination.

[0119] S260: Obtaining a machining operation corresponding to the machining feature based on the optimal machining tool combination and the preliminary machining operation.

[0120] Among them, when determining the machining operation, first select the available tool range according to the machining body model and the requirements of the machining operation, so that the tool range of the machining simulation can be quickly narrowed down and the calculation amount of the machining simulation can be reduced. Then, select all machining tool combinations that need machining simulation in the available tool range, and select the optimal machining tool combination through machining simulation to generate the final machining operation.

[0121] In an optional embodiment, if Figure 6 As shown, the S240 determines the available tool range based on the feature attributes corresponding to the preliminary machining operation, including:

[0122] S241: Determine the tool type and tool diameter of the tool required for the preliminary machining operation.

[0123] S242: Selecting a preliminary tool range for each tool type required based on the attribute value of the feature attribute corresponding to the preliminary machining operation.

[0124] S243: Determine the available tool range in the preliminary tool range by generating a machining tool path through machining simulation.

[0125] Specifically, it is understandable that the preliminary machining operation can be determined from all types of machining operations based on the feature to be machined, for example, the machining operation required for machining the feature to be machined is selected from the machining operations such as plane milling, filleting, chamfering and drilling as the preliminary machining operation. However, the information such as the machining tool used in the machining operation is not determined, and different tool sizes have a great influence on machining efficiency and economy. Therefore, based on the feature to be machined, the optimal machining tool and the specific implementation method of the machining operation can be selected through machining simulation to obtain a machining program with high efficiency and strong economy.

[0126] In a specific example, Figure 7 As shown, commonly used tool types and corresponding different tool diameters are usually defined in the loaded processing information or tool library. For example, commonly used milling cutters have diameters of 16, 12, 10, 8, 6, 4, 3, 2, and 1, and commonly used drills have diameters ranging from 20.0 to 0.15 mm. Chamfering tool diameters are 16, 10, 8, 6, and 3. However, tool diameters for machining parts of different sizes vary. First, the tool ranges that can be used for parts of different size ranges are screened.

[0127] In a specific example, the process configuration file can be preset to define the selection method of the preliminary tool range, read the part size range configuration in the process configuration file, first find the "PartType" node that matches the process type of the processing operation, and then judge the part size range of the child node. As shown in the figure 1, the kind attribute value in each size node represents the size of the plate, "600+" refers to parts with a length or width of more than 600, "300-600" refers to parts with a length or width of 300 to 600mm, "30-300" refers to parts with a length or width of 30 to 300mm, and "<30" ("<30" before the xml escape character) refers to parts with a length or width of less than 30mm. Different thicknesses are further classified under the size node, as shown in the figure 2, which means that the thickness is above 25mm, the roughing tool has a diameter of 16mm, the finishing tool has a diameter of 12mm, the maximum drill has a diameter of 12mm, and the maximum chamfering tool has a diameter of 8mm. As shown in the figure, the thickness is within 19-25mm, the roughing tool has a diameter of 16mm, the finishing tool has a diameter of 10mm, the maximum drill bit has a diameter of 12mm, and the maximum chamfering tool has a diameter of 8mm. As shown in the figure, the thickness is within 12-19mm, the roughing tool has a diameter of 12mm, the finishing tool has a diameter of 10mm, the maximum drill bit has a diameter of 12mm, and the maximum chamfering tool has a diameter of 8mm. As shown in the figure, the thickness is within 3mm, the roughing tool has a diameter of 6mm, the finishing tool has a diameter of 4mm, the maximum drill bit has a diameter of 12mm, and the maximum chamfering tool has a diameter of 8mm.

[0128] After finding the corresponding tool range setting, exclude the above commonly used roughing and finishing milling cutter ranges. If the length or width range is above 600mm and the thickness is within 12-19mm, the roughing cutter selection range is 12, 10, 8, 6, 4, 3, 2, 1, and the finishing cutter range is 10, 8, 6, 4, 3, 2, 1. For the maximum drill diameter of 12mm and the maximum chamfering cutter diameter of 8mm for drilling and pinning, this is determined by the processing operation.

[0129] In an optional embodiment, if Figure 8 As shown, the step S243 determines the available tool range in the preliminary tool range by generating a machining tool path through machining simulation, including:

[0130] S2431: Selecting tools in the preliminary tool range in descending order of tool diameter as the current tool to generate a machining tool path through machining simulation; if the machining tool path cannot be generated, using the next sequence tool as the current tool to regenerate the machining tool path.

[0131] S2432: If the machining tool path can be generated, the first machining tool path length and the second machining tool path length of the current tool and the next sequential tool are obtained through machining simulation respectively, and the maximum diameter tool in the available tool range is determined according to the first machining tool path length and the second machining tool path length.

[0132] S2433: Obtain the minimum fillet value of the machining feature from the feature attributes corresponding to the preliminary machining operation, determine the fillet tool range in the preliminary tool range based on the minimum fillet value, select tools in the fillet tool range in order from large to small in diameter, generate machining tool paths through fillet machining simulation, and use the tool that can generate the machining tool path as the minimum diameter tool in the available tool range.

[0133] Specifically, in order to obtain the available tool range, it is sufficient to determine the maximum and minimum diameter tools. When determining the maximum diameter tool, the tool path length of the first tool diameter (maximum diameter) in the rough machining tool range can be first calculated through machining simulation. If the first tool does not generate a tool path, then after removing the first tool diameter in the rough machining tool range, the subsequent tool diameters are judged in turn until the machining tool path is generated, and the tool path length is recorded as the first machining tool path length pathLength1. Then generate the tool path for the second tool of the first tool, and record the tool path length as the second machining tool path length pathLength2. Compare the ratio of pathLength1 to pathLength2 to determine the maximum diameter tool. For example, the tool path length of pathLength2 is more than 8 times that of pathLength1, and the coefficient of 8 times can be adjusted according to actual needs. The maximum tool diameter is the diameter of the next tool after the first tool diameter in the rough machining tool range, otherwise the first tool diameter is the first tool diameter in the rough machining tool range. For example, the original rough machining preliminary tool range is 10, 8, 6, 4, 3, 2, 1, and the simulated 10mm tool path is not generated. Figure 9a As shown, the available tool range is adjusted to 8, 6, 4, 3, 2, 1; the cutting tool path length of the simulated 8mm tool is 476.474, as shown Figure 9b As shown in the figure, the tool path length of the second tool with a diameter of 6 mm in the simulation range is 5127.804. Fig.9c As shown in the figure, the length of the second tool is 10.8 times that of the first tool, which is greater than 8 times the set value (5127.667 / 476.474). Therefore, the diameter of the first tool is excluded, and the diameter of the largest diameter tool is 6. The available tool range is adjusted to: 6, 4, 3, 2, 1.

[0134] When determining the minimum diameter tool path, obtain the minimum fillet value and ensure that there are at least two or more values ​​in the roughing tool range before making the following judgment. In the roughing tool range, a tool diameter that is approximately slightly larger or smaller than twice the minimum fillet value is encountered. If this diameter is larger than the minimum tool diameter in the range, a machining simulation judgment is made to generate the tool path. The cavity roughing strategy is used to set the parameter machining tool to the minimum diameter tool. The reference tool is used as the judgment tool, and the tool path is generated. If the tool path cannot be generated, the minimum diameter tool is used as this tool, and tools of types with a smaller diameter than this tool are removed from the roughing tool range. For example, for Fig.10 In the machining body model shown, the minimum fillet value is 5.0mm. The tool with a diameter of 10.0mm can be determined first. The tool with a diameter of 10.0mm cannot generate a tool path, and this tool is removed within the rough machining tool range.

[0135] This step is to quickly judge under the condition that the minimum radius value of the lower surface is twice the machining tool diameter. This is to make a loop judgment on the diameter value within the rough machining tool range in sequence when the minimum fillet value is unreliable. The machining tool is set to the last tool diameter (the smallest diameter tool) within the range, and the reference tool is the second-to-last tool diameter. It is judged whether the machining tool path can be generated. If it can, the loop is jumped out, and the minimum tool is the last tool diameter within the range. If not, the last tool diameter is removed within the range, and the loop judgment is continued until a tool path is generated, or the judgment value is exhausted and the loop judgment is exited.

[0136] In an optional embodiment, if Fig.10 As shown, the S250 selects a machining tool combination from the available tool range including:

[0137] S251: If the available tool range includes one or two machining tools, the one or two machining tools are regarded as a machining tool combination.

[0138] S252: If the available tool range includes more than three tools, determine whether three machining tools are needed by machining simulation for the other tools in the available tool range except the tools with the largest and smallest diameters;

[0139] S253: If not necessary, the tools with the largest and smallest tool diameters are used as a machining tool combination. If necessary, a tool with an intermediate tool diameter in the available tool range is determined together with the tools with the largest and smallest tool diameters as a machining tool combination.

[0140] Among them, when selecting a machining tool combination, if there are only one or two tools, a machining tool combination is directly formed. However, if there are more than three tools within the available tool range, it is necessary to further determine whether three tools are needed for machining, so as to combine the advantages of different tools, reduce the time required for machining, and improve machining efficiency. When making this step judgment, it is necessary to ensure that there are at least 3 values ​​within the rough machining tool range, and to perform a cyclic judgment on the intermediate values ​​except the first or last value. The "increase tool coefficient value" set for the corresponding process in the configuration file can be used for subsequent judgment.

[0141] In a specific example, all the middle values ​​in the rough machining tool range are cycled (when the number of tools is odd, the middle straight diameter is selected, and when the number of tools is even, any one of the two central diameters is selected, which can be set as needed), and the calculated total tool path length value of each diameter value and the judgment of increasing the tool coefficient value are recorded, among which the tool motion trajectory of the machining operation includes "tool movement trajectory", "feed motion trajectory", "cutting motion trajectory", etc. The tool path length value of this application refers to the length value of the cutting motion trajectory of the tool. Assume that the middle value in the roughing tool range is "currently judged diameter value" when looped, and the tool path length values ​​of the two machining operations are virtually calculated. The tool path length value 1 is set as: cavity roughing, the machining tool is "currently judged diameter value", the reference tool is the first tool in the roughing tool range, the tool path is calculated and generated, and the tool path length is "tool path length value 1"; the tool path length value 2 is set as: cavity roughing, the machining tool is the end tool in the roughing tool range, the reference tool is "currently judged diameter value", the tool path is calculated and generated, and the tool path length is "tool path length value 2"; the reserved data value "calculated total tool path length value" is "tool path length value 1" + "tool path length value 2". "Judgment of adding tool coefficient value" = ("tool path length value 1" / "currently judged diameter value" + tool path length value 2 / end tool in the roughing tool range) / 2.0.

[0142] Calculate the "reference roughing tool path length value", use cavity roughing, the machining tool is the end tool of the roughing tool range, the reference tool is the first tool of the roughing tool range, calculate and generate the tool path, and obtain the tool path length value.

[0143] The accumulated "tool track length value" and "judgment increase tool coefficient value" values ​​are judged. The "current judgment diameter value" and "reference rough machining tool track length value" corresponding to the minimum "tool track length value" are obtained for judgment. If the "reference rough machining tool track length value" / the minimum "tool track length value" is less than 2 times, or the "judgment increase tool coefficient value" is less than the "increase tool coefficient value", there is no three tools for processing together, otherwise three tools are required for processing together, and the tool diameter of the "second tool medium rough machining" is set.

[0144] When setting the processing tool, determine the number of tool diameter values ​​in the screened rough processing tool range. If there is only one, set it as follows: the first processing tool is the first tool in the rough processing tool range, the second processing tool is none, and the third processing tool is none.

[0145] If there is no setting value for "Roughing in the second tool", it is set as follows: the first machining tool is the first tool in the roughing tool range, the second machining tool is the last tool in the roughing tool range, and the third machining tool is none.

[0146] If "Roughing in the second tool" has a value, it is set as follows: the first machining tool is the first tool in the roughing tool range, the second machining tool is the "Roughing in the second tool" value, and the third machining tool is the last tool in the roughing tool range.

[0147] Of course, in practical applications, those skilled in the art may also determine a method for selecting a machining tool combination according to actual conditions, for example, by permutation and combination, etc., and this application does not limit this.

[0148] Among them, it should be noted that the roughing tool range value is used for the combined features: "Cavity Milling Roughing Area Processing Feature" (COMPOSITE_CAVITY_ROUGH_AREA) and "2.5D Bottom Wall Milling Roughing Area Processing Feature" (COMPOSITE_FLOOR_WALL_ROUGH_AREA). The principle of simulating the selection of machining tools for the combined feature: "2.5D Bottom Wall Milling Finishing Area Processing Feature" (COMPOSITE_FLOOR_WALL_FINISH_AREA) is roughly the same. The finishing tool range value can be set according to actual needs, and this application does not limit this.

[0149] In an optional embodiment, if Fig.11 As shown, the S300 groups and sorts the processing operations to obtain at least one processing operation group including:

[0150] S310: Determine a processing procedure according to the geometric view of the processing body model and the features to be processed;

[0151] S320: determining a first dependency relationship between a coordinate system group of each processing step and a feature to be processed based on the processing steps, and obtaining a second dependency relationship between the coordinate system group and the processing operation of the processing feature;

[0152] S330: Combining the first dependency relationship and the second dependency relationship, respectively divide the processing operations into corresponding coordinate system groups to obtain at least one processing operation group.

[0153] Specifically, the creation of machining operations for the features to be machined is done based on machining rules. Machining rules usually use multiple conditional expressions to judge a series of feature attributes to set the creation and parameters of machining operations. This includes the name of the machining operation, the type of machining operation, the tool used in the machining operation, the classification of machining methods used in the machining operation, and the tool path generation parameters of the machining operation. Different machining tools also have names, types, diameters, etc.

[0154] After creating machining operations, group the machining operations according to the part's geometric view, and sort the operations within each machining group. The program view includes four different types of views: program sequence view, tool sequence view, geometry structure view, and machining method view. After creating machining operations according to features, group and sort the parts reasonably, and finally use the structure order in the program view as the basis for the post-processing output of the part program.

[0155] In this optional embodiment, the structural processing of the program is based on the relationship between the part geometry and the processing coordinate system, with particular emphasis on the dependency between the processing coordinate system and the feature elements. Before creating the operation, by standardizing the processing rules, a complete dependency relationship can be established in the geometric structure view. Specifically, after the feature generates the processing operation, according to specific rules, it is ensured that each individual processing operation has a parent group of features to be processed, and each parent group of features to be processed corresponds to a processing coordinate system group, and each processing coordinate system has a parent group of parts of the processing body model. The setting of this structure will support the simultaneous generation of multiple processing body model processing programs and perform sorting operations. That is, the features to be processed in different directions can be determined according to the geometric view of the processing body model, and then the required processing procedures can be determined, and each processing procedure corresponds to a coordinate system group. According to the geometric relationship, the features to be processed processed by the processing procedure of each coordinate system group naturally depend on the coordinate system group, and then according to the dependency relationship between the features to be processed and the processing operation, the processing operation can be divided according to the coordinate system group to obtain at least one processing operation group, so that all processing operations in a processing operation group can be completed in one process, which conforms to the processing principle and is conducive to the generation of optimized and efficient processing programs.

[0156] In the specific implementation, in the program view, first create a corresponding program operation group according to the machining coordinate system group node under the geometry group of each part. Then check each sub-node in the machining coordinate system group level by level, and move all its machining operations to the corresponding program operation group to realize the grouping and sorting of machining instructions. The specific steps are as follows:

[0157] 1) Use the recursive tree list method to traverse all processing operation subnodes in the geometry view;

[0158] 2) If the node is a processing operation, recurse upward to the parent group and obtain the coordinate system group name of the processing operation. If there is no or it is empty, skip this node and perform error handling;

[0159] 3) Search for the program group with the corresponding coordinate system group name in the program view. If it does not exist, create a new group;

[0160] 4) Move the machining operation to the program group with the corresponding name in the program view.

[0161] Fig.12 The result view of grouping the machining operations is shown, from which the dependency between the machining body model, the coordinate system group, the features to be machined and the machining operations, as well as the division of the machining operation groups can be seen.

[0162] In an optional embodiment, if Fig.13 As shown, the S300 determines the processing sequence of the processing operations in each processing operation group based on the preset processing sorting rule to obtain the processing flow, including:

[0163] S340: extracting a processing field of each processing condition in a preset processing sorting rule, wherein the preset processing sorting rule includes a plurality of processing conditions sorted according to a screening priority, the processing condition includes a plurality of processing fields, and the processing fields match a field used to form a processing operation name;

[0164] S350: matching corresponding processing operations from the processing operation group according to the processing fields in sequence according to the screening priority and sorting them to obtain a processing order of the processing operations;

[0165] S360: Determine the at least one processing operation group and the processing sequence of the corresponding processing operations to obtain the processing flow.

[0166] Specifically, the machining operations created by each type of machining process rules are different. Similarly, the order of the programs will also affect the machining efficiency and economic cost of the execution of the machining program. For example, when machining plate parts, due to the thin thickness of the parts, the machining operations related to machining holes will be given priority. The relevant adjustment sequence needs to consider center drilling, drilling, milling other areas of the parts, and finally chamfering and deburring the holes. For thicker parts clamped in a vise, the milling area needs to be processed first, and then the hole machining program is processed in sequence. Fig.14 The processing ordering rules shown are used to order the processing operations. Fig.15 The sorting results are shown, and the processing conditions matched by the processing sorting rules are explained in Table 1. The processing flow is obtained to automatically generate the optimized processing program.

[0167] Table 1

[0168]

[0169] From the above example, it can be seen that for the 20 processing conditions in the processing sorting rule, the processing conditions numbered 1, 2, 19 and 20 are not matched successfully, and the processing conditions numbered 3 to 18 are matched and adaptively sorted according to the order of the processing conditions to obtain the processing flow after the processing operations are sorted.

[0170] In a specific example, the processing conditions of the processing sorting rules mainly involve the following processing fields:

[0171] 1) Tool field: Search conditions are set based on the character string contained in the tool description character string.

[0172] 2) Tool diameter (minimum): In machining operations, select tools that are greater than or equal to the set minimum tool diameter.

[0173] 3) Processing category: Search conditions are matched according to the set processing type.

[0174] 4) Operation field: Search conditions are based on the character string contained in the operation name string.

[0175] 5) Exclude field: Exclude operations based on the fact that the operation name string does not contain the set string.

[0176] 6) Processing method field: contains the set string in the processing method view group corresponding to the processing operation.

[0177] The sorting process needs to follow the following 8 procedures:

[0178] 1) For conditions with multiple parameters, they must be met at the same time to be considered a matching condition.

[0179] 2) The sorting order of the processing operations is to judge all the processing operations in the geometry group one by one based on the given conditions.

[0180] 3) First of all, the order of processing operations within the processing features must be followed, that is, judgment should be made from the ones that meet the screening requirements previously, and no skipping is allowed.

[0181] 4) Eligible machining operations need to be sorted from largest to smallest according to the tool diameter of the machining operation.

[0182] 5) Store the processing operations that meet the conditions into the List container that generates the processing flow.

[0183] 6) For processing operations that do not meet the conditions, apply the judgment of the next rule in sequence until all searches are completed.

[0184] 7) Finally, rearrange the order of processing operations according to the order in the List container.

[0185] 8) If the final processing operation is not matched, it will be placed at the end of the List container and a warning pre-processing will be performed to remind you to modify it.

[0186] Under the above 8 sorting rules, the specific implementation process of processing operation sorting is as follows: Fig.16 As shown, the processing operation sequencing method includes the following steps:

[0187] S1: Get the processing operations within the group;

[0188] S2: traverse the processing operations, obtain and collect feature groups from the processing operations, and obtain a feature group set;

[0189] S3: Create a mapping table container, where key: feature group value: processing operation list;

[0190] S4: traverse each processing feature set to obtain the processing operation of each feature and add it to the mapping table container;

[0191] S5: Establish a processing operation sorting set, loop through the sorting condition set, and if the element traversal node is End, execute S6, otherwise, execute S7;

[0192] S6: traverse the “processing operations in the group”, obtain the processing operations that are not included in the final “processing operation sorting set”, add the “processing operations that are not included” to the end of the “processing operation sorting set”, perform an alarm prompt operation on the “processing operations that are not included”, and the program is completed;

[0193] S7: Obtain condition data in a single condition node: (1) tool field, (2) tool diameter (minimum), (3) processing category, (4) operation field, (5) exclusion field, and (6) processing method field;

[0194] S8: Establish a collection container for qualified processing operations;

[0195] S9: traverse the feature group and processing operation list mapping table container;

[0196] S10: If the element traversal node is End, repeat S7-S9, otherwise, execute S11;

[0197] S11: Get the feature group (key), the feature processing operation set (value), and traverse the feature processing operation set;

[0198] S12: If the element traversal node is End, execute S13, otherwise, execute S11;

[0199] S13: re-sorting the "processing operation collection container that meets the conditions" according to the tool size, adding it to the "processing operation sorting set" according to the sorting result, and repeating S10;

[0200] S14: Obtain the processing operation to be determined, and determine whether the processing meets the rules of the current condition node;

[0201] S15: If yes, a processing operation collection container that meets the conditions is collected, and in the feature group and processing operation list mapping table container, this processing operation in the processing operation list is deleted, and S12 is repeated.

[0202] In an optional embodiment, before determining the processing order of the processing operations in each processing operation group based on preset processing sorting rules to obtain the processing flow, the corresponding clamping method can be matched based on the characteristic attributes of the features to be processed in each processing operation group, and the corresponding preset processing sorting rules can be determined based on the clamping method to set targeted processing rules for different clamping methods, thereby improving the accuracy of the generated processing program.

[0203] Based on the same principle, the present application also discloses a device for automatically generating a non-standard parts processing program. Fig.17 As shown, in this embodiment, the device includes a feature search module 11, a processing operation configuration module 12 and a processing operation sorting module 13.

[0204] The feature search module 11 is used to search the features of the processing body model of the non-standard part based on preset feature search rules to obtain the features to be processed.

[0205] The machining operation configuration module 12 is used to identify the feature type of the feature to be machined, and determine the required machining tool combination and the corresponding machining operation through machining simulation.

[0206] The processing operation sorting module 13 is used to group and sort the processing operations to obtain at least one processing operation group, determine the processing order of the processing operations in each processing operation group based on preset processing sorting rules to obtain a processing flow, and generate a non-standard part processing program according to the processing flow.

[0207] In an optional embodiment, the preset feature search rules include multiple search directions and feature search priorities, and the feature search module 11 is used to search the processing body model of the non-standard part along each search direction according to the feature search priority to obtain multiple feature search results; and select the feature search result with the best feature combination from the multiple feature search results as the feature to be processed.

[0208] In an optional embodiment, the feature type of the feature to be processed includes strong features, weak features and combined features, and the processing operation identification configuration module 12 is used to determine the first feature attribute of the strong feature if the feature type is the strong feature, and obtain the processing operation of the strong feature based on the first feature attribute and the processing rule corresponding to the strong feature; if the feature type is the weak feature, determine the second feature attribute of the weak feature and the corresponding preliminary processing operation, perform processing simulation on the preliminary processing operation to determine the corresponding processing operation; if the feature type is the combined feature, determine all predefined features included in the combined feature, for each predefined feature, determine the third feature attribute and the corresponding preliminary processing operation, and perform processing simulation on the preliminary processing operation to determine the corresponding processing operation.

[0209] In an optional embodiment, the processing operation configuration module 12 is used to determine the range of available tools based on the characteristic attributes corresponding to the preliminary processing operation; select a processing tool combination from the available tool range, generate a processing tool path for each processing tool combination through processing simulation, and determine the optimal processing tool combination; and obtain the processing operation corresponding to the processing feature based on the optimal processing tool combination and the preliminary processing operation.

[0210] In an optional embodiment, the machining operation configuration module 12 is used to determine the tool type and tool diameter of the tool required for the preliminary machining operation; select a preliminary tool range for each required tool type based on the attribute values ​​of the characteristic attributes corresponding to the preliminary machining operation; and determine the available tool range in the preliminary tool range by generating a machining tool path through machining simulation.

[0211] In an optional embodiment, the machining operation configuration module 12 is used to select tools in the preliminary tool range in order of tool diameter from large to small as the current tool to generate a machining tool track through machining simulation. If the machining tool track cannot be generated, the tool in the next sequence is used as the current tool to regenerate the machining tool track; if the machining tool track can be generated, the first machining tool track length and the second machining tool track length of the current tool and the next sequence tool are respectively obtained through machining simulation, and the maximum diameter tool in the available tool range is determined according to the first machining tool track length and the second machining tool track length; the minimum fillet value of the machining feature is obtained from the feature attribute corresponding to the preliminary machining operation, and the fillet tool range is determined in the preliminary tool range based on the minimum fillet value, and the tools in the fillet tool range are selected in order of tool diameter from large to small to generate the machining tool track through fillet machining simulation, and the tool that can generate the machining tool track is used as the minimum diameter tool in the available tool range.

[0212] In an optional embodiment, the processing operation configuration module 12 is used to, if the available tool range includes one or two processing tools, use the one or two processing tools as a processing tool combination; if the available tool range includes more than three tools, determine whether three processing tools are needed through processing simulation for the tools other than the tools with the largest and smallest diameters in the available tool range; if not needed, use the tools with the largest and smallest tool diameters as a processing tool combination; if needed, determine that the tools with intermediate tool diameters in the available tool range are used together with the tools with the largest and smallest tool diameters as a processing tool combination.

[0213] In an optional embodiment, the processing operation sorting module 13 is used to determine the processing procedures according to the geometric view of the processing body model and the features to be processed; based on the processing procedures, determine the first dependency relationship between the coordinate system group of each processing procedure and the features to be processed, and obtain the second dependency relationship between the coordinate system group and the processing operation of the processing feature; combine the first dependency relationship and the second dependency relationship to divide the processing operations into corresponding coordinate system groups to obtain at least one processing operation group.

[0214] In an optional embodiment, the processing operation sorting module 13 is used to extract the processing fields of each processing condition in the preset processing sorting rules, wherein the preset processing sorting rules include multiple processing conditions sorted according to the screening priority, the processing conditions include multiple processing fields, and the processing fields match the fields used to form the processing operation name; according to the screening priority, the corresponding processing operations are matched from the processing operation group in turn according to the processing fields and sorted to obtain the processing order of the processing operations; and the processing order of the at least one processing operation group and the corresponding processing operations is determined to obtain the processing flow.

[0215] In an optional embodiment, the processing operation sorting module 13 is further used to match the corresponding clamping method based on the feature attributes of the features to be processed in each processing operation group before determining the processing order of the processing operations in each processing operation group based on the preset processing sorting rules to obtain the processing flow; and determine the corresponding preset processing sorting rules based on the clamping method.

[0216] Since the principle of solving the problem by the device is similar to that of the above method, the implementation of the device can refer to the implementation of the method and will not be repeated here.

[0217] An embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0218] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0219] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer programs to produce the systems, devices, modules or units described in the above embodiments, which can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, and specifically, the computer device can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0220] In a typical example, the computer device specifically includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method executed by the client as described above is implemented; or, when the processor executes the program, the method executed by the server as described above is implemented.

[0221] Reference below Fig.18 , which shows a schematic diagram of the structure of a computer device 600 suitable for implementing an embodiment of the present application.

[0222] like Fig.18 As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0223] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal feedback device (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed as needed as the storage section 608.

[0224] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611.

[0225] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0226] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0227] 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 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These 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 The steps for the functions specified in one or more boxes.

[0228] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0229] 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 on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0230] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0231] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0232] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for automatically generating non-standard parts processing programs. It is characterized in that include: Searching for features of the processing body model of the non-standard part based on a preset feature search rule to obtain features to be processed; Identify the feature type of the feature to be processed, and determine the required processing tool combination and corresponding processing operation through processing simulation; The processing operations are grouped and sorted to obtain at least one processing operation group, a processing sequence of the processing operations in each processing operation group is determined based on a preset processing sorting rule to obtain a processing flow, and a non-standard part processing program is generated according to the processing flow.

2. The method for automatically generating a non-standard parts processing program according to claim 1, It is characterized in that The preset feature search rule includes multiple search directions and feature search priorities. The feature to be processed obtained by searching the feature of the processing body model of the non-standard part based on the preset feature search rule includes: Searching the processing body model of the non-standard part according to the feature search priority along each of the search directions to obtain a plurality of feature search results; A feature search result with an optimal feature combination is selected from the multiple feature search results as the feature to be processed.

3. The method for automatically generating a non-standard parts processing program according to claim 1, It is characterized in that The feature types of the features to be processed include strong features, weak features and combined features. The identifying the feature types of the features to be processed and determining the required processing tool combination and the corresponding processing operation through processing simulation include: If the feature type is the strong feature, determining a first feature attribute of the strong feature, and obtaining a processing operation of the strong feature based on the first feature attribute and a processing rule corresponding to the strong feature; If the feature type is the weak feature, determining a second feature attribute of the weak feature and a corresponding preliminary processing operation, and performing processing simulation on the preliminary processing operation to determine a corresponding processing operation; If the feature type is the combined feature, all predefined features included in the combined feature are determined, and for each predefined feature, a third feature attribute and a corresponding preliminary processing operation are determined, and a processing simulation is performed on the preliminary processing operation to determine the corresponding processing operation.

4. The method for automatically generating a non-standard parts processing program according to claim 3, It is characterized in that The performing processing simulation on the preliminary processing operation to determine the corresponding processing operation comprises: determining a range of available tools based on feature attributes corresponding to the preliminary machining operation; Selecting a machining tool combination from the available tool range, generating a machining tool path for each machining tool combination through machining simulation, and determining an optimal machining tool combination; A machining operation corresponding to the machining feature is obtained based on the optimal machining tool combination and the preliminary machining operation.

5. The method for automatically generating a non-standard parts processing program according to claim 4, It is characterized in that Determining the available tool range based on the feature attributes corresponding to the preliminary machining operation includes: determining a tool type and tool diameter of a tool required for the preliminary machining operation; Selecting a required preliminary tool range for each tool type based on the attribute value of the feature attribute corresponding to the preliminary machining operation; In the preliminary tool range, the available tool range is determined by generating a machining tool path through machining simulation.

6. The method for automatically generating a non-standard parts processing program according to claim 5, It is characterized in that The method of determining the available tool range in the preliminary tool range by generating a machining tool path through machining simulation includes: In the preliminary tool range, tools are selected in descending order of tool diameter as current tools to generate machining tool paths through machining simulation. If the machining tool paths cannot be generated, the next-order tool is selected as the current tool to regenerate the machining tool paths. If the machining tool path can be generated, the first machining tool path length and the second machining tool path length of the current tool and the next sequential tool are obtained through machining simulation, and the maximum diameter tool in the available tool range is determined according to the first machining tool path length and the second machining tool path length; The minimum fillet value of the machining feature is obtained from the feature attribute corresponding to the preliminary machining operation, and a fillet tool range is determined in the preliminary tool range based on the minimum fillet value. In the fillet tool range, tools are selected in order from large to small in diameter to generate machining tool paths through fillet machining simulation, and the tool that can generate the machining tool path is used as the minimum diameter tool in the available tool range.

7. The method for automatically generating a non-standard parts processing program according to claim 4, It is characterized in that The selecting of a machining tool combination within the available tool range comprises: If the available tool range includes one or two machining tools, the one or two machining tools are regarded as a machining tool combination; If the available tool range includes more than three tools, determining whether three machining tools are needed by machining simulation for the other tools in the available tool range except the tools with the largest and smallest diameters; If not necessary, the tools with the largest and smallest tool diameters are used as a machining tool combination. If necessary, the tools with intermediate tool diameters in the available tool range are determined together with the tools with the largest and smallest tool diameters as a machining tool combination.

8. The method for automatically generating a non-standard parts processing program according to claim 1, It is characterized in that The grouping and sorting of the processing operations to obtain at least one processing operation group comprises: Determining a processing procedure according to the geometric view of the processing body model and the features to be processed; Determine a first dependency relationship between a coordinate system group of each processing step and a feature to be processed based on the processing steps, and obtain a second dependency relationship between the coordinate system group and the processing operation of the processing feature; The processing operations are divided into corresponding coordinate system groups in combination with the first dependency relationship and the second dependency relationship to obtain at least one processing operation group.

9. The method for automatically generating a non-standard parts processing program according to claim 1, It is characterized in that The step of determining the processing sequence of the processing operations in each processing operation group based on the preset processing sorting rule to obtain the processing flow comprises: Extracting a processing field of each processing condition in a preset processing sorting rule, wherein the preset processing sorting rule includes a plurality of processing conditions sorted according to a screening priority, the processing conditions include a plurality of processing fields, and the processing fields match a field used to form a processing operation name; According to the screening priority and the processing fields, the corresponding processing operations are matched from the processing operation group in sequence and sorted to obtain a processing order of the processing operations; The processing sequence of the at least one processing operation group and the corresponding processing operations is determined to obtain the processing flow.

10. A device for automatically generating non-standard parts processing programs, It is characterized in that include: A feature search module, used for searching the features of the processing body model of the non-standard part based on preset feature search rules to obtain features to be processed; A machining operation configuration module, used to identify the feature type of the feature to be machined, and determine the required machining tool combination and the corresponding machining operation through machining simulation; The processing operation sorting module is used to group and sort the processing operations to obtain at least one processing operation group, determine the processing order of the processing operations in each processing operation group based on preset processing sorting rules to obtain a processing flow, and generate a non-standard part processing program according to the processing flow.

Citation Information

Cited By

  • Processing program sequence rapid pushing method and system

    CN121433111A