[go: up one dir, main page]

CN119024769A - Automatic programming method and device for non-standard parts processing - Google Patents

Automatic programming method and device for non-standard parts processing Download PDF

Info

Publication number
CN119024769A
CN119024769A CN202411146549.1A CN202411146549A CN119024769A CN 119024769 A CN119024769 A CN 119024769A CN 202411146549 A CN202411146549 A CN 202411146549A CN 119024769 A CN119024769 A CN 119024769A
Authority
CN
China
Prior art keywords
processing
machining
body model
processed
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411146549.1A
Other languages
Chinese (zh)
Inventor
刘自成
何慕姣
刘海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202411146549.1A priority Critical patent/CN119024769A/en
Publication of CN119024769A publication Critical patent/CN119024769A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32161Object oriented control, programming

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

本申请提供一种非标零件加工自动化编程方法及装置,所述方法包括:获取待加工非标零件的图档信息,从所述图档信息中读取加工体模型和加工文件,确定待加工非标零件后进行加工检查;若所述加工检查通过,对所述加工体模型进行特征搜索得到所述非标零件的所有待加工特征,根据所述待加工特征匹配对应的加工工艺过程;根据所述加工体模型确定所有加工工艺过程的加工等级,基于加工模板匹配每个加工工艺过程的加工流程,基于所述加工等级和所述加工工艺过程对应的加工流程形成加工流程组,对所述加工流程组进行编程得到加工程序以根据所述加工程序进行非标零件加工。本申请可提高非标准零件的编程和加工效率。

The present application provides a method and device for automatic programming of non-standard parts processing, the method comprising: obtaining the drawing information of the non-standard parts to be processed, reading the processing body model and processing files from the drawing information, and performing processing inspection after determining the non-standard parts to be processed; if the processing inspection passes, performing feature search on the processing body model to obtain all the features to be processed of the non-standard parts, and matching the corresponding processing process according to the features to be processed; determining the processing level of all processing processes according to the processing body model, matching the processing flow of each processing process based on the processing template, forming a processing flow group based on the processing level and the processing flow corresponding to the processing process, and programming the processing flow group to obtain a processing program to process non-standard parts according to the processing program. The present application can improve the programming and processing efficiency of non-standard parts.

Description

Automatic programming method and device for nonstandard part machining
Technical Field
The application belongs to the field of part processing, and particularly relates to an automatic programming method and device for nonstandard part processing.
Background
In the field of automated mechanical equipment manufacturing, nonstandard (standard) parts are designed more, parts are often mainly processed, batch production is not mainly processed, and emergency in part production exchange is often caused. The production cycle of parts processing of parts is longer, mainly the processing programming of nonstandard parts can not be like standard parts has the existing processing procedure or programming process is more mature, the programming debugging process of nonstandard parts processing procedure needs longer time, and different technicians use different technological modes and cutting parameter data for processing technology and procedure lack standard or unification, and then influence production efficiency.
Disclosure of Invention
The application aims to provide an automatic programming method for nonstandard part processing, which improves the programming and processing efficiency of nonstandard parts. It is another object of the present application to provide an automatic programming device for non-standard part machining.
In order to achieve the above object, one aspect of the present application discloses an automatic programming method for nonstandard part processing, comprising:
Acquiring drawing information of a nonstandard part to be processed, reading a processing body model and a processing file from the drawing information, wherein the processing file comprises processing information of the nonstandard part to be processed, opening the processing body model, and performing processing inspection on the processing body model of the nonstandard part to be processed after determining the nonstandard part to be processed;
If the machining inspection passes, carrying out feature search on the machining body model to obtain all the to-be-machined features of the nonstandard part, and matching corresponding machining technological processes according to the to-be-machined features;
Determining machining grades of all machining processes according to the machining body model, matching machining processes of each machining process based on a machining template, forming a machining process group based on the machining grades and the machining processes corresponding to the machining processes, and programming the machining process group to obtain a machining program so as to machine non-standard parts according to the machining program.
Optionally, before acquiring the drawing information of the nonstandard part to be processed, the method further comprises the following steps:
Acquiring a bill of materials of non-standard parts, determining the non-standard parts to be processed according to the bill of materials, extracting processing information of the non-standard parts to be processed from the bill of materials, and generating an xml-format processing file according to the processing information;
and acquiring a processing body model of the nonstandard part, and storing the processing file in the xml format, the corresponding processing body model and the corresponding processing body model as drawing file information.
Optionally, the performing machining inspection on the machining body model of the nonstandard part to be machined includes:
Detecting whether a specific position mark exists in a processed body model of the nonstandard part to be processed;
if not, detecting whether the size and the angle of the minimum cube coating the processing body model accord with the preset conditions;
if not, adjusting the position and the angle of the processing body model.
Optionally, detecting whether the size and angle of the smallest cube coating the processing body model are consistent with preset conditions; if not, adjusting the position and angle of the processing body model comprises:
Detecting whether the length, width and height of the processing body model are respectively overlapped with a basic coordinate system, and if not, adjusting the position and angle of the processing body model to enable the length, width and height of the minimum cube to be respectively overlapped with the corresponding axis of the basic coordinate system;
If so, detecting the preset feature processing quantity of the processing surface corresponding to each surface of the minimum cube, determining whether the processing surface with the largest preset feature processing quantity corresponds to the specific axis direction of the basic coordinate system, and if not, adjusting the orientation of the processing body model.
And the step of searching the characteristics of the processing body model to obtain all the characteristics to be processed of the nonstandard part comprises the following steps:
Searching all feature surfaces to be processed of a processing body model of a part to be processed, and determining whether nonstandard feature surfaces exist in the feature surfaces to be processed;
If the nonstandard characteristic surface exists, dividing the nonstandard characteristic surface into at least one characteristic surface group based on the position relation of the nonstandard characteristic surface and the type of a characteristic surface machining cutter shaft;
Based on the feature surface type of the nonstandard feature surface in each feature surface group, determining a corresponding combined machining feature as the feature to be machined, wherein the combined machining feature has a corresponding preset machining process;
and searching conventional features in the processing body model based on a feature configuration file, and taking the standard features and the combined processing features as the features to be processed.
Optionally, the determining the processing grade of all processing procedures according to the processing body model includes:
determining a first processing priority for all processing bodies in the processing body model;
determining a second processing priority of all the features to be processed in each processing body;
And obtaining the machining grades of all machining processes of the machining body model based on the first machining priority, the second machining priority and the dependence relationship between the machining body and the feature to be machined.
Optionally, the processing flow of each processing technology process based on the processing template matching comprises the following steps:
matching basic processing flows of each processing technology process based on the processing template;
and matching and determining a clamping mode corresponding to the machining process according to the machining information of the machining body model and the attribute value of the machining process and a preset clamping mode.
Optionally, the drawing information includes a plurality of nonstandard parts to be processed, and the programming the processing flow set to obtain the processing program includes:
Determining the size of a blank and the size of the blank required by each nonstandard part to be processed;
typesetting the nonstandard parts to be processed on the blank based on the blank sizes required by all nonstandard parts to be processed and the blank sizes;
And generating the processing program based on the processing position of the non-standard part to be processed on the blank after typesetting.
The application also discloses an automatic programming device for nonstandard part processing, which comprises:
The task reading module is used for acquiring drawing information of the nonstandard part to be processed, reading a processing body model and a processing file from the drawing information, wherein the processing file comprises processing information of the nonstandard part to be processed, opening the processing body model, and performing processing inspection on the processing body model of the nonstandard part to be processed after the nonstandard part to be processed is determined;
The process matching module is used for carrying out feature search on the processing body model to obtain all the features to be processed of the nonstandard part if the processing inspection passes, and matching the corresponding processing process according to the features to be processed;
And the machining programming module is used for determining the machining grade of all machining processes according to the machining body model, matching the machining flow of each machining process based on a machining template, forming a machining flow group based on the machining grade and the machining flow corresponding to the machining process, and programming the machining flow group to obtain a machining program so as to machine the nonstandard part according to the machining program.
The beneficial effects of the invention are as follows:
The automatic programming method for non-standard part machining can automatically acquire the drawing information of the non-standard part to be machined, read the machining body model and the machining file from the drawing information, open the machining body model, automatically identify the non-standard part to be machined in the machining body model and perform machining inspection on the machining body model of the non-standard part to be machined. The application further carries out feature search on the processing body model to obtain all the features to be processed of the nonstandard part, and the corresponding processing technological process is matched according to the features to be processed; determining machining grades of all machining processes according to the machining body model, matching machining processes of each machining process based on a machining template, forming a machining process group based on the machining grades and the machining processes corresponding to the machining processes, and programming the machining process group to obtain a machining program so as to machine non-standard parts according to the machining program. Therefore, the application can realize the acquisition and inspection of the processing body model and processing information of the nonstandard part, the characteristic search, the matching of the processing technology, the setting of the processing flow and the automatic programming process of the full-automatic nonstandard part generated by the processing program, improve the programming and processing efficiency of the nonstandard part and shorten the production cycle of the nonstandard part.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of an automated programming method for non-standard part tooling of the present application;
FIG. 2 is a flowchart of an embodiment S000 of the non-standard part manufacturing automated programming method of the present application;
FIG. 3 is a schematic diagram of an interactive interface for an embodiment of the automated programming method for non-standard part manufacturing of the present application;
FIG. 4 is a flowchart of an embodiment S100 of the non-standard part manufacturing automated programming method of the present application;
FIG. 5 is a flowchart of an embodiment S120 of the non-standard part manufacturing automated programming method of the present application;
FIG. 6 is a flowchart of an embodiment S200 of the non-standard part manufacturing automated programming method of the present application;
FIG. 7 is a flowchart of an exemplary embodiment of an automated non-standard part manufacturing programming method S300 for determining manufacturing grades for all manufacturing processes;
FIG. 8 is a schematic diagram showing the sequence of the process flow of an embodiment of the automated programming method for non-standard part machining in accordance with the present application;
FIG. 9 is a schematic diagram of a program set of an embodiment of the automated non-standard part manufacturing programming method of the present application;
FIG. 10 is a flowchart of a matching process flow for an embodiment S300 of the automated non-standard part manufacturing programming method of the present application;
FIG. 11 is a schematic diagram of process flow matching for an embodiment of the automated programming method for non-standard part processing of the present application;
FIG. 12 is a flowchart of a matching process flow for an embodiment S500 of the automated non-standard part manufacturing programming method of the present application;
FIG. 13 is a flowchart of an embodiment S600 of the non-standard part manufacturing automated programming method of the present application;
FIG. 14 is a flowchart of an embodiment S300 of the non-standard part manufacturing automated programming method of the present application;
FIG. 15 is a schematic view of a process recipe for an exemplary embodiment of an automated non-standard part manufacturing programming method of the present application;
FIG. 16 is a flow chart of a specific example of an automated non-standard part tooling programming method of the present application;
FIG. 17 is a block diagram of an embodiment of an automated programming apparatus for non-standard part tooling of the present application;
fig. 18 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the prior art, CNC programming machining (CNC MACHINING), i.e., numerical control machining, refers to machining of parts with a numerical control machining tool. CNC index machines are programmed with a numerical control machining language, typically G-codes. The numerical control machining G code language tells the numerical control machine what Cartesian position coordinates are adopted for a machining cutter, and controls the feeding speed of the cutter, the rotating speed of a main shaft, a tool changer, a coolant and other functions. Numerical control machining has great advantages over manual machining, such as the fact that parts produced by numerical control machining are very accurate and repeatable. Numerical control machining can produce parts with complex shapes that cannot be finished by manual machining. Numerical control machining technology is currently widely popularized, most machining workshops have numerical control machining capability, and the most common numerical control machining modes in typical machining workshops are numerical control milling, numerical control turning and numerical control EDM wire cutting (wire electric discharge machining). The numerical control milling tool is called a numerical control milling machine or a numerical control machining center. The lathe for numerical control turning is called a numerical control turning center. The numerical control machining G-code can be programmed manually, but typically, a machining shop uses CAM (computer aided manufacturing) software to automatically read CAD (computer aided design) files and generate G-code programs to control a numerical control machine tool.
In the field of automated mechanical equipment manufacturing, existing machining programs or programming processes are often mature for standard parts, and the machining programs of standard parts do not take too much time to generate. However, for non-standard parts, the processing is often mainly performed by using parts, and a set of processing program is required to be set independently and newly aiming at the non-standard parts, so that the programming and debugging process of the non-standard part processing program needs longer time, the production period of the non-standard parts is longer, and different technicians use different process modes and cutting parameter data, so that the processing technology and the program lack standards or unification, and further the production efficiency is influenced.
Based on the method and the device, in order to improve the programming and processing efficiency of the nonstandard part, the application provides an automatic programming method and device for processing the nonstandard part, which realize the acquisition and inspection of a processing body model and processing information of the nonstandard part, the characteristic search, the matching of a processing technology, the setting of a processing flow and the automatic programming process of the fully-automatic nonstandard part generated by a processing program, improve the programming and processing efficiency of the nonstandard part and shorten the production cycle of the nonstandard part.
FIG. 1 is a schematic diagram of an automatic programming method for nonstandard part processing according to an embodiment of the application. As shown in fig. 1, in this embodiment, the method includes:
s100: and acquiring drawing information of the nonstandard part to be processed, reading a processing body model and a processing file from the drawing information, wherein the processing file comprises processing information of the nonstandard part to be processed, opening the processing body model, and performing processing inspection on the processing body model of the nonstandard part to be processed after determining the nonstandard part to be processed.
S200: and if the processing inspection passes, carrying out feature search on the processing body model to obtain all the features to be processed of the nonstandard part, and matching corresponding processing technological processes according to the features to be processed.
S300: determining machining grades of all machining processes according to the machining body model, matching machining processes of each machining process based on a machining template, forming a machining process group based on the machining grades and the machining processes corresponding to the machining processes, and programming the machining process group to obtain a machining program so as to machine non-standard parts according to the machining program.
The automatic programming method for nonstandard part machining can automatically acquire the drawing information of the nonstandard part to be machined, reads the machining body model and the machining file from the drawing information, calls the three-dimensional modeling software to open the machining body model, automatically identifies the nonstandard part to be machined in the machining body model, and performs machining inspection on the machining body model of the nonstandard part to be machined. The application further carries out feature search on the processing body model to obtain all the features to be processed of the nonstandard part, and the corresponding processing technological process is matched according to the features to be processed; determining machining grades of all machining processes according to the machining body model, matching machining processes of each machining process based on a machining template, forming a machining process group based on the machining grades and the machining processes corresponding to the machining processes, and programming the machining process group to obtain a machining program so as to machine non-standard parts according to the machining program. Therefore, the application can realize the acquisition and inspection of the processing body model and processing information of the nonstandard part, the characteristic search, the matching of the processing technology, the setting of the processing flow and the automatic programming process of the full-automatic nonstandard part generated by the processing program, improve the programming and processing efficiency of the nonstandard part and shorten the production cycle of the nonstandard part.
In an alternative embodiment, as shown in fig. 2, the method further includes S000 before acquiring the drawing information of the nonstandard part to be processed:
S010: and acquiring a bill of materials of the nonstandard parts, determining the nonstandard parts to be processed according to the bill of materials, extracting processing information of the nonstandard parts to be processed from the bill of materials, and generating an xml-format processing file according to the processing information.
S020: and acquiring a processing body model of the nonstandard part, and storing the processing file in the xml format and the corresponding processing body model as drawing file information.
In the optional implementation mode, the method can automatically acquire the bill of materials of the nonstandard parts, identify the processing information of the nonstandard parts to be processed from the bill of materials, and convert the processing information into the processing file in the xml format, so that automatic reading and processing information importing in subsequent processing are facilitated. Meanwhile, the nonstandard part is usually obtained by modeling by a designer through three-dimensional modeling software (such as NX) according to the design pattern of the nonstandard part, and the application can automatically acquire the processing body model of the nonstandard part and store the processing file and the processing body model in an xml format as drawing file information. In the subsequent programming process, the drawing information can be directly read, and the associated processing file and the processing body model are simultaneously read.
In a specific example, the process information is obtained according to a process task bill of materials (BOM table) issued by the production schedule. The BOM table uses an Excel electronic form, and the automatic programming device (software) can read the data in the BOM table and filter out non-milling parts. Further extracting production and processing key data to obtain processing information, wherein the processing information can comprise the number of part drawing files, the number of parts to be processed, the material quality of the parts, the basic length, width and height dimensions, whether special processing requirements exist or not, and the like. After the key processing information is acquired, a processing task is generated through a program of an automatic programming device, and the corresponding processing information is stored. A new folder may be created and the process information stored in xml file format may be written into the folder for use in subsequent processes.
In specific use, a machining BOM list can be obtained through an enterprise PLM system, an Excel electronic table is derived, and information such as the number of part drawing files, the number of parts to be machined, the material quality of the parts, the basic length, width and height dimensions, whether special machining requirements exist or not is confirmed; the machining process is classified according to the material, length, width and height and the part type automatically, and the turning and sheet metal parts are filtered, so that only the milling workpiece is reserved; confirming and adjusting the processing technology; automatically downloading the data information of the image file, packaging the data information into a folder task package, and storing the task item information in an xml file format; importing the processing task, and uploading a drawing file, a program and a processing process list to an enterprise MES manufacturing system after finishing the processing task.
Optionally, the automatic programming device of the application can comprise an interactive interface capable of interacting with a user, and the relevant information of the processing task is displayed to the user through the interactive interface and is allowed to be modified through the interactive interface. In a specific example, when the whole operation flow of automatic programming of nonstandard part machining is started, the software interaction interface operation is used for performing task processing, and after a user needs to preset a machining task, the software performs batch processing. The interface is designed in the style of FIG. 3, where region 1 is a toolbar region containing some default settings for adding or deleting individual tasks, importing and exporting task lists, typesetting composition tooling settings, and materials processes. The area 2 is a preview area of the loading task, and the area is presented in the form of list items, wherein each item comprises a task name of a part, a thumbnail image of the part, a basic size, a selected processing technique method, the number of the produced and processed parts and the processed execution process of the current part. Region 3 is a setup attribute for a single part, which may be set by a default profile and which may be modified in detail by user fine tuning. The method mainly comprises the following steps: design the processing technology mode of the parts, the material quality of the parts, the fine adjustment of the size of the blank, the sequential adjustment of the processing direction and the like.
Each processing task is presented in a task list view, and processing information of task parts can be intuitively displayed in the task view, wherein the processing information comprises a thumbnail, a basic size, a selected processing technique method, the number of production processing parts and the processed execution process state of the current parts. The information needs to be checked before processing tasks, and the part attribute setting area can be switched to the current drawing editing interface when the current item is edited. The modified data of the parameters of the editing interface are stored in the attribute of the part drawing file. When the process is modified, the cutting grade rate of the matching database in the subsequent programming process is affected, the processing mode is modified, the sequence of searching processing characteristic types is affected, a processing program specific to the formulated process is generated, for example, blanks used for processing are modified, the size of a given blank in a default configuration file can be modified, the processing sequence set in the default configuration file is adjusted in the modification custom processing process, the sequence of the processing direction is usually adjusted by a vice clamping process, and non-characteristic process type programs such as top plane rough finish machining and the like are manually added.
When the batch programming task is started, the processing file in the xml format needs to be opened, and processing information recorded in the xml processing file is imported at the same time. Tasks can be added or deleted again through the function keys, and the task adding can be completed by opening the drawing file information. For example, the part design software is usually Solid Works, when the engineering drawing is issued, an x_t format file can be used as a transfer file for storage, so that the compatibility of drawing information is higher, and other standard formats, such as sldprt drawing formats of Solid Works, step standard formats, prt formats of NX and the like, are supported, and specific drawing formats are configured according to requirements, so that the application is not limited.
In an alternative embodiment, as shown in fig. 4, the step S100 of performing a machining inspection on the machined body model of the nonstandard part to be machined includes:
s110: and detecting whether a specific position mark exists in the machined body model of the nonstandard part to be machined.
S120: if not, detecting whether the size and angle of the minimum cube coating the processing body model accord with preset conditions, and if not, adjusting the position and angle of the processing body model.
When the machining body model of the nonstandard part to be machined is machined and checked after the nonstandard part to be machined is determined, the machining initialization information is checked again for each newly added task, whether the machining drawing file is correctly available is checked, and meanwhile machining information of the nonstandard part in the task list is updated. The checking process is to open and convert the drawing through NX, check whether the assembly drawing is in the assembly state, if yes, report the mistake; if the only part body is included in the traverse loading drawing, the target processing body is defaulted, if the only part body is included, if a plurality of part bodies are included, whether the processing body with the specific specification is included is checked, and if the target processing body is not obtained finally, error processing is reported.
In this alternative embodiment, if a specific position mark such as a model placement direction exists in the machined body model, the machining program generation is performed using the designer default placement direction without adjusting the position and angle of the machined body model. If the specific position mark does not exist, detecting the position, angle and other information of the processing body model, and when the size of the minimum cube coating the processing body model does not accord with the preset condition, adjusting the position and angle of the processing body model so as to facilitate the subsequent generation of the processing technology and the processing flow, reduce the processing difficulty and improve the processing efficiency.
It should be noted that the preset conditions may be specific positions, specific angles, specific machining surfaces, a relation with a preset basic coordinate system, and the like, and those skilled in the art may set the preset conditions according to actual situations, which is not limited in the present application.
In an alternative embodiment, as shown in fig. 5, the step S120 is to detect whether the size and angle of the smallest cube covering the machined body model are consistent with preset conditions; if not, adjusting the position and angle of the processing body model comprises:
S121: and detecting whether the length, width and height of the processing body model are respectively overlapped with the basic coordinate system, and if not, adjusting the position and angle of the processing body model to enable the length, width and height of the minimum cube to be respectively overlapped with the corresponding axis of the basic coordinate system.
S122: if so, detecting the preset feature processing quantity of the processing surface corresponding to each surface of the minimum cube, determining whether the processing surface with the largest preset feature processing quantity corresponds to the specific axis direction of the basic coordinate system, and if not, adjusting the orientation of the processing body model.
The position relation between the processing body model and the basic coordinate system is adjusted so as to facilitate the generation of a processing program, the processing characteristic quantity of each direction of the processing body model is analyzed to be used for adjusting the setting direction of the processing body model, and the position and the angle of the processing body model can be beneficial to simplifying the processing technology and the processing flow, so that a better processing technological flow is generated.
In a specific example, selecting one or more process task items may begin a batch process. Conventionally, the drawing file information of batch processing tasks is loaded after the parts are loaded for the first time, and if the drawing file information is read without initial record information, the drawing file information can also automatically execute default process information of the system (comprising acquisition of data such as processing information, processing body model and the like) in real time in the batch processing process. Under the condition that the processing body is found and only one processing body exists, the minimum space rectangular surrounding size of the valued part is calculated, the part body is rearranged, the length size of the rearranged part is aligned to an absolute coordinate system according to the rectangular surrounding size, and the alignment modes are X to be the longest side, Y to be the shortest to be the Z direction. The picture file executing the plate process can carry out priority processing face judgment on the front and back faces of the parts, and mainly prevents the patterns which can be processed from the top face at one time from being processed twice, and the clamping times are wasted to influence the overall processing time. The specific protection mode is as follows: judging the number of plane grooves, blind holes and stepped holes contained in Z+ (vectors 0,0 and 1) and Z- (vectors 0,0 and-1) directions of the cutter shaft, and if the most planes are not in the Z+ direction, rotating the cutter body by 180 degrees. Optionally, after the processing body is placed in an alignment coordinate system, part display screenshot can be performed on the NX interface, and the thumbnail is updated into the task list interface table, so that automatic update of task information is realized.
In an alternative embodiment, the method further comprises, after determining the nonstandard part to be machined, after:
s400: and acquiring actual parameters of the nonstandard part to be processed in the processing body model, and updating the processing information in the processing file according to the actual parameters.
Specifically, in order to ensure the accuracy of the machining process and the machining program of the nonstandard part to be machined, in this alternative embodiment, after the nonstandard part to be machined is identified, the obtained machining body model is subjected to size detection to obtain the actual parameters of the nonstandard part to be machined, and the existing machining information is updated, for example, the machining information read in the drawing information is updated after the machining information of the length, width, height, size and the like of the actual nonstandard part to be machined is identified, so that the accuracy of the machining information of the nonstandard part to be machined is ensured.
And updating the information of the processing body through the steps after the processing body is obtained, updating the length, width, height and size of the part and the volume of the part, if the single part body is in an uninitialized state, carrying out alignment coordinate system placement on the part body, carrying out part display screenshot on an NX interface after placement, and updating the thumbnail into a task list interface table.
In an alternative embodiment, the method further includes S500, prior to performing a feature search on the machined body model:
S510: and detecting whether a plurality of to-be-processed features belonging to the same processing step exist in all to-be-processed features, and if so, determining the plurality of to-be-processed features as a group of conflict features.
S520: a pre-correction feature is provided on the machined body model corresponding to at least one feature to be machined in the set of conflicting features.
Specifically, it is understood that the same processing feature means that the same feature to be processed exists in the features to be processed, and the feature types and the predetermined size parameters of the features to be processed are the same, for example, when the two feature types are hole features of holes and the predetermined size is the hole diameter, if the hole diameters of the hole features are the same, the hole features with the same hole diameter are the features to be processed with the same processing feature, and the features can be processed by the same tool. On the basis, if the features to be processed with the same processing features are also arranged on the same straight line, the processing can be completed in one processing process through the same cutter. Thus, when searching for features, a plurality of features to be machined, which are identical in machining features and are located on the same machining tool path, may be mistaken for the same intermittent feature to be machined, and may be formed through one process step. However, in actual program operation, due to limitations in cutter size and displacement, the cutter cannot mill two hole features at the same time, which can result in cutter damage or incorrect part formation.
In practical application, a person skilled in the art may set a determination rule and a determination manner of a tool path, which are the same as those of the machining feature, according to an actual requirement, and may be able to identify a collision feature in the feature to be machined, which is not limited in the present application.
Of course, in other embodiments, the designer may also set conflict identification marks at least one of the conflicting features for identification of subsequent conflicting features when constructing a machined body model of the part to be machined. When the feature is searched, when the conflict identification mark is obtained through identification, all the features to be processed in a group of conflict features are determined, and the features at the conflict identification mark or other positions of the features to be processed are modified to obtain an optimized model.
When the conflict features are searched, a pre-correction feature can be set at least one feature to be processed in a group of conflict features, a plurality of features to be processed with the same processing features in the group of conflict features are distinguished, the processing program is prevented from being generated as the same feature during processing programming, and error generation of the processing program is prevented.
According to the application, the plurality of features to be processed are structurally distinguished in a mode of setting the pre-correction features, the feature searching program is not required to be modified, and an accurate processing program can be obtained through the existing feature searching and program automatic generation method. Of course, in practical applications, the person skilled in the art may modify the feature to be processed by other ways to distinguish the feature to be processed from a set of conflicting features, which the present application is not limited to.
Alternatively, the pre-correction feature may be a blind hole. Through setting up the pre-correction characteristic of blind hole, can adjust the processing parameter of cutter in the machining procedure, make the depth of cutter processing longer than the length of hole, then the setting up of blind hole both can distinguish conflict characteristic, also can be in the in-process of hole processing through the natural removal of machining procedure, need not other aftertreatment procedure, improves part machining efficiency. In a specific example, for two identical hole features in a set of conflicting features that are on the same straight line, a pre-correction feature of a blind hole may be provided at an end of one of the hole features that is adjacent to the other hole feature, the pre-correction feature of the blind hole being naturally removed during hole machining by setting tool machining parameters.
In an alternative embodiment, as shown in fig. 6, the step S200 of searching the feature of the machined body model to obtain all the features to be machined of the nonstandard part includes:
s210: searching all feature surfaces to be processed of a processing body model of a part to be processed, and determining whether nonstandard feature surfaces exist in the feature surfaces to be processed.
It should be noted that, all the machined feature surfaces obtained by searching all the surfaces of the machined body model include feature surfaces of conventional features capable of determining feature types, for example, the conventional features may include machined feature types such as groove features, hole features, and chamfers. Non-standard feature faces, which cannot determine non-standard features of a feature type, i.e., feature faces of machined features whose shape is irregular, may also be included in all machined feature faces.
S220: and if the nonstandard characteristic surface exists, dividing the nonstandard characteristic surface into at least one characteristic surface group based on the position relation of the nonstandard characteristic surface and the type of a characteristic surface machining cutter shaft.
It should be noted that, the positional relationship between the non-standard feature surfaces may be determined by the edge profiles of the non-standard feature surfaces, for example, if the partial edge profiles of the two non-standard feature surfaces overlap, the positional relationship of the two non-standard feature surfaces is adjacent.
S230: and determining corresponding combined machining features based on the feature surface types of the non-standard feature surfaces in each feature surface group, wherein the combined machining features have corresponding preset machining processes.
S240: and searching conventional features in the processing body model based on a feature configuration file, and taking the standard features and the combined processing features as the features to be processed.
Optionally, configuration information of the processing technology corresponding to all the processing features in the combined processing features can be set by setting non-standard feature surface configuration files and other forms. After the combined machining features corresponding to the nonstandard feature surfaces are determined, the machining process required by each machining feature in the combined machining features can be automatically analyzed and matched according to the configuration information in the nonstandard feature surface configuration file, and then the machining program of the nonstandard feature surfaces is automatically programmed, so that the automatic generation of the whole machining program of the nonstandard part is realized.
In the alternative embodiment, firstly, all feature surfaces in the nonstandard feature are identified, the nonstandard feature surfaces are divided into at least one feature surface group according to the position relation of the nonstandard feature surfaces and the type of a feature surface machining cutter shaft, the feature surface groups are matched with the predefined machining features to form combined machining features, at least one predefined machining feature included in the combined machining features can be automatically matched with corresponding machining processes in a pre-configured mode when machining programming to obtain a machining program of the combined machining features, and the automatic identification of all the machining features of the nonstandard part and the machining process programming to obtain the machining program of the nonstandard part are realized. The automatic programming process does not need artificial programming and debugging, so that the time required by the programming and debugging process of the nonstandard part machining program can be greatly reduced, and the efficiency and the accuracy of generating the nonstandard part machining program are improved.
The determining whether the nonstandard feature surface exists in the feature surface to be processed can be achieved through the following steps: and determining a projection pattern of the processing body model, and stretching the projection pattern along the direction of a processing cutter shaft vector of the processing body model to obtain a stretched body. And identifying the top surface and the bottom surface in the machined body model, and removing the top surface and the bottom surface in the feature surface to be machined to obtain a first machined feature. And determining an inner side boundary surface and an outer side boundary surface based on the interference state of the stretching body and the vertical characteristic surface in the first processing characteristic, and removing the outer side boundary surface in the first processing characteristic to obtain a second processing characteristic. And identifying and removing the characteristic surface corresponding to the preset strong characteristic in the second processing characteristic to obtain the nonstandard characteristic surface.
Further, in order to divide the features in non-standard parts as much as possible into conventional features that can be accurately identified. The application determines the projection pattern of the whole processing body model, wherein the projection direction of the projection pattern is along the direction of the processing cutter shaft vector, and then the projection pattern is used as the basis to stretch along the direction of the processing cutter shaft vector to form a stretching body. And the tensile body is overlapped with part of the characteristics in the machined body model, the characteristic surface corresponding to the preset strong characteristic in the second machined characteristic is identified and removed to obtain the nonstandard characteristic surface, and the outer side boundary surface which can be independently machined is removed to obtain the second machined characteristic.
And then, removing strong features in the second processing features without further determining the feature types to obtain non-standard feature faces which cannot be identified and classified in the non-standard parts. It should be noted that, the conventional features may be classified into strong features and weak features, and the recognition of the strong features is not affected by the structure or the position, and the accuracy of the searched area structure is extremely high, for example, features such as a first-order blind hole, a first-order through hole, a second-order blind hole, a second-order through hole … …, a sixth-order blind hole, a sixth-order through hole, a rectangular through slot, a rectangular blind slot, a waist-shaped through slot, a second-order waist-shaped blind slot, a waist-shaped blind slot, and an "O" shaped blind slot. Weak features are features that may be affected by the region or structure location where the feature is located and the search results are not necessarily correctly processed. The range of weak features is all feature types to be searched according to the process profile, except for strong features, such as open U-shaped slots, irregular open slots, irregular closed slots, stepped slots. The processing features specifically included in the strong features and the weak features may be set by those skilled in the art according to the needs in practical applications, and the present application is not limited thereto.
The determining the inner and outer boundary surfaces based on the interference state of the tensile body with the vertical feature surface in the first machined feature may include: all vertical faces in the tensile body are identified. And shifting the vertical surface by a preset displacement along the direction facing the inside of the stretching body to obtain a shifting surface. And after removing the through feature in the stretching body, performing interference inspection on the offset surface and the vertical feature surface to determine the inner boundary surface and the outer boundary surface.
Specifically, the vertical surface of the stretching body is offset by a preset displacement along the direction facing the inside of the stretching body, so that the vertical surface of the stretching body is separated from the inner side boundary surface and the outer side boundary surface and is not in contact any more. And when the vertical surface is deviated in the direction facing the inside of the stretching body, the vertical surface of the stretching body is positioned in the outside boundary surface of the processing body model, and the outside boundary surface of the processing body model can be obtained by detecting the vertical characteristic surface outside the stretching body. The vertical surface of the tensile body and the inner boundary surface are also in a non-contact state, but the position of the inner boundary surface is located inside the tensile body, so that the vertical characteristic surface which is not in contact with the vertical surface of the tensile body in the inner region of the tensile body is detected as the inner boundary surface of the processed body model.
The identifying and removing the feature surface corresponding to the preset strong feature in the second processing feature to obtain the nonstandard feature surface may include: and dividing the characteristic surface in the second processing characteristic based on the interference state of the vertical surface of the stretching body and the characteristic surface in the second processing characteristic to obtain a third processing characteristic. And determining whether a feature surface combination matched with a preset strong feature exists in the third processing feature, wherein the feature surface combination comprises a feature surface matched with the preset strong feature or a plurality of feature surfaces matched with the preset strong feature after connection. And removing all the feature surfaces contained in the feature surface combination in the third processing feature.
It is understood that the top, bottom, inner and outer boundary surfaces in the working body model are identified based on the tensile body, and that the top, bottom and outer boundary surfaces, which need not be combined, are removed from the feature surface to be worked to obtain the second working feature. The feature faces of the strong features which can be identified in the second machined features can be directly removed to obtain nonstandard feature faces which need to be combined to determine the machined features. In this alternative embodiment, in order to improve the recognition rate of the strong features in the feature surfaces, the interference line is determined by the interference state of the vertical surface of the stretching body and the processing body model, and after the feature surfaces in the second processing features are cut based on the interference line, the recognition of the strong features is performed, so that the cut feature surfaces can be combined to obtain more strong features, the number of non-standard feature surfaces requiring the combination to determine the processing features in the following steps is reduced, and the processing technology is simplified.
Specifically, when the vertical surface of the boundary of the stretching body is in contact with the surface of the processing body model, the edge line of the vertical surface, which is in contact with the processing body model, is an interference line interfering with the feature surface, a plurality of interference lines are positioned in the center of one feature surface, and the interference line can be used as the boundary to cut the corresponding feature surface, so that part of the cut feature surface has the opportunity to form strong features in the conventional features with other feature surfaces, the strong features can be directly identified and automatically programmed, and the split surface which does not belong to the strong features needs to be divided into the feature surface group to determine the corresponding combined processing features.
The dividing the nonstandard feature surface into at least one feature surface group based on the position relation of the nonstandard feature surface and the feature surface machining cutter shaft type may include: and determining the type of the characteristic surface and the type of the machining cutter shaft of the nonstandard characteristic surface. And forming a first characteristic surface group by taking each inner side boundary surface as a starting surface and using the connected characteristic surfaces and the corresponding inner side boundary surfaces together through a connection area algorithm. And dividing all the characteristic surfaces of the machined cutter shaft, which are completely covered by the cutter shaft, into a second characteristic surface group through a connection area algorithm. All the characteristic surfaces of which the machining cutter shaft is covered in the reverse direction of the cutter shaft are divided into a third characteristic surface group through a connection area algorithm.
If the positional relationship between the non-standard feature surfaces is adjacent, the adjacent feature surfaces may be formed by a single processing process. Therefore, the adjacent characteristic faces which can be formed by one-time processing technology can be divided into one characteristic face group through a connection area algorithm, and the corresponding combined processing characteristics are matched aiming at the areas formed by the characteristic face group, so that the processing steps can be saved, and the processing efficiency can be improved.
The connection region algorithm may be implemented by: determining whether a feature surface is an initial surface of a current feature surface group, determining whether the initial surface has an adjacent target feature surface, if so, adding the target feature surface into the current feature surface group, repeatedly determining whether the target feature surface is adjacent or not by taking the target feature surface as the initial surface, and repeatedly adding the target feature surface into the current feature surface group if the target feature surface is adjacent, and determining whether the target feature surface is adjacent or not by taking the target feature surface as the initial surface until the target feature surface is not adjacent, thereby obtaining all the feature surfaces contained in the current feature surface group.
Wherein the characteristic surface types include curved surfaces, chamfer surfaces, vertical surfaces and horizontal surfaces. Alternatively, the feature surface type of each feature surface may be determined based on the variation of the normal vector angle at different locations of the feature surface,
For example, the normal vector angle can be calculated by taking a plurality of points on the U line and the V line of the characteristic surface, the normal vector of the points on the U line is a plane surface with fixed angles of 45 degrees or 135 degrees, or is a curved surface, and then the chamfer surface, the vertical surface or the horizontal surface is determined according to the fixed angles.
The machining cutter shaft type refers to the machining direction of the characteristic surface, and the machining cutter shaft type of the characteristic surface can be determined according to the direction of the machining cutter shaft vector, and comprises the types of cutter shaft complete coverage, cutter shaft reverse direction coverage and the like.
After the non-standard characteristic surfaces are divided into a first characteristic surface group by a connection area algorithm by taking the inner boundary surface as a starting surface, the other non-standard characteristic surfaces except the first characteristic surface group are sequentially divided into a second characteristic surface group and a third characteristic surface group by the connection area algorithm by taking the type of a processing cutter shaft as a distinction. The second characteristic surface group and the second characteristic surface group obtained by dividing are regional characteristic surface groups with the same processing direction, and can be used as a combined processing characteristic matching reasonable processing technology, so that the processing technology and the flow of nonstandard parts are optimized, and the processing efficiency is improved.
The determining the corresponding combined processing feature based on the feature surface type of the nonstandard feature surface in each feature surface group comprises: for each feature face group, determining all of the machining features included in the corresponding combined machining feature by the following determination steps:
If the number of chamfer faces is smaller than the number of characteristic faces of the characteristic face group and the number of curved faces is larger than 0, creating a cavity milling rough machining area machining feature.
If the number of chamfer faces is smaller than the number of characteristic faces of the characteristic face group and the number of curved faces is equal to 0, creating 2.5D bottom wall milling rough machining area machining features.
If the number of feature surfaces of the chamfer surface and the curved surface is 0 and the number of vertical surfaces or the number of planes is greater than 0, creating a 2.5D bottom wall milling finish area machining feature.
If the number of the chamfer faces is larger than 0, creating a chamfer machining area machining feature corresponding to each chamfer face.
If the number of the curved surfaces is greater than 0, creating a curved surface finish machining area machining feature corresponding to each curved surface.
Specifically, in this alternative embodiment, five classes of processing features belonging to the combined processing features are predefined: the machining characteristics of the cavity milling rough machining area, the machining characteristics of the 2.5D bottom wall milling finish machining area, the machining characteristics of the chamfer machining area and the machining characteristics of the curved surface finish machining area. Conventional attributes of the machining features, such as area, height drop, machining tool size, area range size, machining process, etc., are imparted to the combined machining features. The combined machining features corresponding to the follow-up nonstandard feature surfaces can be automatically matched with the corresponding machining processes according to the configured conventional attributes, and automatic generation of machining programs is achieved.
In an alternative embodiment, as shown in fig. 7, the determining the processing grade of all the processing procedures according to the processing body model in S300 includes:
S311: a first processing priority is determined for all processed bodies in the processed body model.
S312: and determining second processing priorities of all the features to be processed in each processing body.
S313: and obtaining the machining grades of all machining processes of the machining body model based on the first machining priority, the second machining priority and the dependence relationship between the machining body and the feature to be machined.
After identifying the features to be processed and matching the corresponding processing technologies, all the processing technologies need to be arranged according to the association of the processing bodies so as to obtain an optimized processing technological process. In a specific example, before generating the programs, the process sequence needs to be adjusted for each set of programs in the program view. As shown in fig. 8, the process sequence strategy used in this example is: the parent group of the machining process (machining operation) is a machining feature, the parent group of the machining feature is a machining coordinate system, and the parent group of the machining coordinate system is a part geometry. The machining bodies and the features to be machined of the same level are required to be respectively ordered according to a preset first machining priority and a preset second machining priority. The coordinate system set of each processing body can directly reflect the processing procedure steps and can be used as a judging standard of the processing priority to determine the first processing priority of all the current processing bodies.
In determining a second machining priority of all the features to be machined in each of the machining bodies, performing a collection sub-item machining process in a coordinate system, creating a program group of the same coordinate system name in a program view, and moving a program subset of the same coordinate system to the program group, in such a way that the procedures in the plurality of workpieces are also consolidated. At this time, the program group arrangement is completed, then the program processing strategies are ordered, the sequence of the processing strategies is also related to the processing technology, for example, the plate processing needs to be preferentially drilled, and the vice clamping needs to be drilled after the milling rough processing is completed. As shown in fig. 9, the program set ordering is performed according to an ordering pattern for each process configuration. And during sorting, reading the fields in each 'SeekSection' item for matching, and storing the processing operation objects meeting the matching conditions into a List linked List. If the processing operation object is not eligible, the matching will continue with the next "SeekSection" item. After all the items are matched, the sequence of the program set is modified according to the sequence of the List chain table. Parameters in "SeekSection" include a tool description name field, a minimum tool diameter, a machining operation object type field, a machining operation object name field, an excluded (without) machining operation object name field, a machining method set field, and the like. The interface shown in fig. 3 may be used to add, modify or debug configuration files, and the corresponding configuration files may be automatically saved after the setup is completed.
In an alternative embodiment, as shown in fig. 10, the step S300 of matching the processing flow of each processing procedure based on the processing template includes:
S321: the basic process flow of each process is matched based on the process template.
S322: and matching and determining a clamping mode corresponding to the machining process according to the machining information of the machining body model and the attribute value of the machining process and a preset clamping mode.
And obtaining a basic processing flow of the nonstandard part to be processed according to the processing technology matched with the nonstandard part to be processed and the processing flow of the processing technology defined in the processing template. For example, the current processing technology includes five processing processes of processing flow configuration of micropore (high-speed machine glue process), large plate (single lock pressing plate process), plate (typesetting glue process), plate (typesetting sucker process), and single part vice clamping, so as to generate processing program corresponding to the processing flow.
In a specific example, the correspondence between the machining process and the machining flow may be set in a machining file attribute, which is information of a recording operation execution parameter value stored inside the drawing file. Each operation of the programming task management changes these properties and the program running process and state are recorded therein. "AutoCamFindFeatureConfig" is the search type defined in the configuration file used in specifying the search feature; "AutoCamFixtureType" designates the clamping mode used in the process; "AutoCamGenerateToolPath" refers to whether a calculated tool path is generated; "AutoCamLinkItem" refers to the identification of the item (C++ object pointer to string) that is bound to the task management list; "AutoCamMaterial" refers to the material of the currently processed body; "AutoCamMaterialLibref" refers to the library number corresponding to the material of the current processing body; "AutoCamMultiWorkpiece" refers to whether the current drawing contains multiple processing objects; "AutoCamOptimizeWorkpiece" refers to whether the current tooling is optimized; "AutoCamPartClassify" refers to whether the current tooling is simplified; "AutoCamPartInIt" refers to whether the current drawing is initialized; "AutoCamPartWorkpiece" is the Handle value of the current drawing processing body; "AutoCamPostConfig" is a post-processing method for specifying the post-use after the generation of the program; "AutoCamReportTemplate" refers to the process inventory format that is created after the specified creation program; "AutoCamTechnologyConfig" refers to the process type of the current drawing according to the feature generation program; "AutoCamWorkpieceSizeHigh" is the height of the working body; "AutoCamWorkpieceSizeLength" is the length of the current working body; "AutoCamWorkpieceSizeWide" is the current process body height and width; "AutoCamWorkpieceSizeVolume" is the volume of the current working body.
Before entering the process module, a process template is loaded that matches the definition in the initialization profile. The loaded template contains the processing flow of the process mode, so that the later modification and maintenance can be facilitated, and the programming code creation operation is reduced. For example, for a machining template of a drilling machining process, a machine tool view contains the number of bits of a tool rest of the machining tool and a fixed tool, a geometric view contains the structural relation between a machining body and a machining coordinate system, and a method view contains a drilling machining mode group used by the corresponding process.
When the processing flow corresponding to the template matching processing technology is passed, the data segment matched with the matching technology name can be read in the processing template, the data name value of the 'MillGeometryName' segment is read, according to the name, the geometric body setting group is obtained by traversing the template view structure, and the processing body and the defined blank size are set for the group. The "MachiningProcess" item data is read in turn, defining the coordinate system names and settings required in each process. And acquiring a coordinate system matrix value and an azimuth mode, and finally calculating the size of an enclosing block of the processing body and setting a processing coordinate system. If the current drawing file contains a plurality of processed objects, the same number of geometric structures need to be copied in advance, and then circulation setting is carried out in multiple times.
Specifically, aiming at the feature to be processed of the current task, the processing flow of the processing technology automatically sets processing parameters when the template is loaded. In fig. 11, the editor corresponds to three processing conditions, wherein 1 is a different processing type, 2 is a different processing material, 3 is a different processing method, and processing parameters can be input only if the three conditions are completely matched, and if the matching is not met, the user is prompted to input related type parameters. When the parameters are set, the program also adjusts the NX part operation parameter values, for example, in a cylindrical hole milling strategy, the cutting width set by calling the API function is the axial distance, the program can be automatically adjusted to be the radial step distance, and when the drilling processing is carried out, the cutting depth parameter is automatically changed to be the step value of gradually drilling, and the like.
In this embodiment, the clamping manner corresponding to the machining process is defined according to the machining rules (MACHINING KNOWLEDGE) in MKE (Machining Knowledge Editor), and the feature process rule base is often required to satisfy multiple machining process manners at the same time. For example, four clamping modes are defined in the configuration during the processing of the plate. The method comprises the following steps of: the clamping device comprises a 'CNCCLAMPSNC' pressing plate mode, a 'Glue' gluing mode, a 'VacuumTable' vacuum chuck mode and a 'BenchVise' vice clamping mode. Wherein the vacuum chuck is used for preventing the surface of the magnetic disk from being damaged by over-cutting of a processing cutter or over-deep processing in processing to cause air leakage. The method comprises the steps of judging different clamping modes in the MKE, and generating different processing operations after matching. The clamping mode attribute is set before the part drawing is batched, and the rule in the MEK editor is called when the characteristic creation process is executed. The through hole processing modes are defined into 4 processing modes, namely drilling and punching during front processing, drilling and punching during non-front processing, drilling and punching during front processing and drilling and punching during non-front processing. When the machining operation is executed, the characteristic axial quantity is compared with the characteristic axial quantity, and the characteristic axial quantity is compared with the clamping mode attribute value in the drawing. Only if both satisfy the condition will the relevant machining program operation be created.
In an alternative embodiment, as shown in fig. 12, the method further includes S500, prior to programming the set of process flows:
S510: and adjusting the sequence of the processing technological processes in the processing flow group to form a plurality of alternative groups.
S520: simulating the processing process of each alternative group to determine the optimal alternative group as the processing flow group.
Specifically, the order of generating the machining programs is performed in the order of machining processes of the machining program group. Sequential generation is because most machining operations rely on process blanks (IPWs). After each processing operation program is generated, the batch processing program can check the working procedure state, if the working procedure is blank, the system can automatically delete the program, and the relevance among geometric bodies is checked to ensure the whole readability and prevent the error of the program.
In this alternative embodiment, in order to obtain an optimal machining process set, improve machining efficiency, reduce cost, a plurality of alternative sets may be formed in different sequences of machining processes, machining data such as machining time and cost of each alternative set may be determined by simulating a machining track of each alternative set, and an optimal alternative set may be selected as a machining process set according to the machining data of all the alternative sets. The selection manner of the optimal candidate set can be determined by a person skilled in the art according to actual requirements in practical application, and the application is not limited thereto.
In an alternative embodiment, as shown in fig. 13, the method further includes S600:
s610: and detecting whether repeated tool serial numbers exist in all machining tool serial numbers in the machining program.
S620: and if yes, recoding the repeated cutter serial numbers.
It will be appreciated that prior art tool serial number setting errors may cause serious problems, and in order to solve this problem, in this alternative embodiment, the stationary tool number is already set in advance when loading the preset machining program. The tool stock capacity of each machine tool corresponds to the number of tool holders in the machine tool, and the tool number value in each tool is inherited by the tool holder ID. The non-fixed cutter is required to be set, the invalid cutter path is required to be checked before the cutters are arranged, and the cutter holder occupied by the invalid cutter is removed. Traversing all machining operations, intensively setting a cutter number, collecting used cutter objects, and sequentially moving the cutter objects into a blank cutter holder. The machining operation will then inherit the blade number, length compensation number and radius compensation number in the holder. And traversing the machining operation again, setting a single non-repeated compensation number for the machining operation requiring radius compensation, so that a machining cutter can process different areas to have different compensation numbers, the purpose of recoding the repeated cutter serial numbers is realized, and the debugging during machining is convenient. Typically each offset number starts accumulating ten times the tool number, which begins in one program set and the other set counts again.
In an alternative embodiment, as shown in fig. 14, the S300 drawing information includes a plurality of nonstandard parts to be processed, and the programming the processing flow set to obtain the processing program includes:
s331: determining the size of a blank and the size of the blank required by each nonstandard part to be processed;
S332: typesetting the nonstandard parts to be processed on the blank based on the blank sizes required by all nonstandard parts to be processed and the blank sizes;
S333: and generating the processing program based on the processing position of the non-standard part to be processed on the blank after typesetting.
During processing programming, the same parts are not programmed repeatedly after typesetting, so that later program editing is facilitated, and software background calculation time can be reduced. If the automatic typesetting processing function of the parts can be set before the programmed batch processing task is imported, the coordinate change position of each copied part can be recorded in the typesetting drawing file at the same time, and the coordinate change position can store the related array and rotating coordinate attribute values. And (3) automatically searching array information by the program until the post-processing is performed in the procedure, performing corresponding array operation on the program, performing the post-processing, reserving the related information of the array after the post-processing is completed, and performing editing operation on related parameters later. When the post-processing is started, the program traverses all program groups, and an NC code file is generated based on the name of each program group. The type of NC code file generated depends on the type of post-processing set at the time of initializing the drawing file attribute. After finishing the post-processing, the program deletes the processing operation of the relevant array and restores it to the "initial finished" state at the end of programming. For details of the array post-processing interface function and related setting methods, please refer to the following "related operations and property settings of the array part post-processing function".
Typesetting operation is mainly used for plate processing. The execution of the component typesetting operation is set before batch execution, and the aim is to perform relevant matching processing on the processing items, store the processing items as a merging drawing file after finishing, and add the merging drawing file into a task list. When the typesetting function is executed, the program automatically groups the loaded image files, the groups are divided according to the plate processing technology, and each group contains parts with the same thickness and the same material. The size specification of the blank plate needs to be determined, and the existing specification can be directly selected in the configuration library, and a new specification can be added. And selecting the parts needing typesetting from the part list with matched material thickness. The list contains thumbnail images, sizes, and pieces of parts. It should be noted that the results after typesetting need to be roughly evaluated when selecting parts. At the same time, confirming the remaining default parameters in the parameter dialog: left side edge distance width of the discharging starting material (clamping by using a pressing plate needs to be left wide), starting top width and part spacing (the spacing is larger than the maximum distance by using a cutter, otherwise, the workpiece beside the workpiece is cut when the contour is circularly milled and blanked). And starting to execute a typesetting program, wherein the program executes optimal splicing by using a 'NESTINGSETTINGS' nesting algorithm according to the provided drawing and parameters, and stores a new typesetting result into a temporary file. And opening the result file for analysis, wherein the layout file is an assembly structure, an assembly coordinate system of each part element is obtained, a non-assembly file is reestablished according to the coordinate system, the part graph is copied to a new file, and the part graph is moved to the center of the file. At this time, the information of the multi-part coordinate system array is required to be set, the coordinate system position of more than one identical graph is recorded into an attribute 'AutoCamTransfromGroups', the attribute value is finally programmed once in the batch processing process, and the array post-processing is automatically carried out on the parts. At this time, the execution of the single typesetting is completed, and whether modification is required or not is confirmed according to the presented automatic typesetting result, and whether the result is added to the batch processing task is confirmed.
In an alternative embodiment, the application also has the function of automatically exporting the processing technology report list. The automatic export process report is executed after the post-processing procedure is completed, and can be automatically regenerated after the programming drawing is edited again later. In a specific example, when the program is executed, information of each machining operation in the corresponding program group is acquired, wherein the minimum Z value in the machining operation is obtained by reading the content after generating a CLS (tool path track) file, and other information is acquired by using an API provided by NX. After the information is acquired, the corresponding processing body is acquired according to the operation in the program group, CAD drawing is carried out on the processing body, the clamping size and the part size are marked, and the alignment mode of the parts in the current working procedure is acquired and stored after screenshot. The batch processing program can also judge whether partial information is wrong, such as that a certain machining operation is not finished, a blank tool path exists in the machining operation, a tool number is not specified, a radius compensation number of finish machining is not specified, a using coordinate system of a program group is inconsistent, and the like. The process of generating after the information and the picture are acquired can be performed by using threads, and the batch processing calculation time occupation can not be influenced. The process list of each procedure can be generated in the same Excel file, so that the whole related file is convenient to archive, store and manage. In fig. 15, the 1 area is basic information of the current procedure, the 2 area is a clamping thumbnail of a machined part, the 3 area is a strategy sequence chart of a machining program, the strategy sequence chart further comprises tool setting and related machining parameters, the 4 area is a tool list applied to the procedure, the tool lists are sequentially arranged by tool numbers and further comprise tool compensation values occupied by the current tool, the 5 area is a table of other procedures, clicking different working tables can display a process list of the corresponding procedure, the 6 area is a file path position stored by the current procedure, and a two-dimensional code is scanned by using a code scanning gun, so that the procedure is convenient to transmit.
It should be noted that, in practical application, the configuration files such as the process, the feature, etc. of the present application may be configured by a person skilled in the art according to practical situations, and may implement the corresponding information association preset function. The information to be configured may be set in one configuration file, or may be split into a plurality of configuration files such as a feature configuration file and a process configuration file, which is not limited in the present application.
The application is further illustrated by the following specific example. As shown in fig. 16, in this specific example, after the non-standard part machining automation programming method of the present application is started by the non-standard part machining automation programming device in the form of software, the programming automation batch process is started, which comprises the following steps:
(1) The part manufacturing information is obtained from a PLM (Product Life-CYCLE MANAGEMENT) system to generate a processing batch task package, which may contain processing tasks for a plurality of parts. Wherein the PLM system stores data including information from projects, parts, products, documents, requirements, engineering change orders, and quality workflows for managing all information and flows at each step of a product or service lifecycle within an enterprise.
(2) Loading a processing task package, converting the image file information, automatically searching a processing body in the component, and acquiring basic processing information of a processing body model.
(3) And executing the first task, automatically matching a default machining process and correcting a machining body model.
(4) And (3) performing body and surface optimization on the processed body model, performing processing inspection on the processed body, processing conflict features, and adding pre-correction features.
(5) Initializing processing information and setting processing related attributes for the processing part drawing file. The initialization is performed by a single or a plurality of image files, parameter fine adjustment can be performed, settings can be saved after adjustment, the settings can be directly read in subsequent batch task cycles, and the initialization step is skipped.
(6) And (3) managing operation programming tasks, and modifying and confirming automatic process judgment.
(7) And matching the processing technology related data according to the user configuration file, and importing a processing program drawing template.
(8) And matching the processing technology related data according to the configuration file, and importing a processing program drawing template.
(9) And reading configuration information of the configuration file, and searching for the feature to be processed according to the feature searching priority in the configuration information.
(10) The features are fused and matched with predefined machining features, and the predefined machining features correspond to default machining processes.
(11) Different machining processes generate a characteristic machining program matched with clamping.
(12) And arranging the processing sequences of different processes in a processing program sequencing operation interface.
(13) And setting a machining cutter sequence number, and automatically distinguishing fixed cutter numbers from compensation numbers which are prevented from being repeated in the same working procedure.
(14) And automatically setting processing parameters, such as rotating speed, feeding rate, cutting width and cutting depth.
(15) Generating a machining program, and generating a tool path by machining operation.
(16) And (5) post-processing the processing program, and if the process is accompanied with typesetting processing mode, automatically performing program array processing according to attribute setting.
(17) And automatically exporting a processing technology report list.
(18) Uploading the drawing, program, and process recipe to the MES manufacturing system (Manufacturing Execution System). The MES manufacturing system, namely a manufacturing enterprise production process execution system, is a set of production informatization management system facing a workshop execution layer of the manufacturing enterprise. The MES can provide management modules for enterprises, such as manufacturing data management, planning and scheduling management, production scheduling management, inventory management, quality management, human resource management, work center/equipment management, tool fixture management, purchasing management, cost management, project signboard management, production process control, bottom-layer data integration analysis, upper-layer data integration decomposition and the like, and a solid, reliable, comprehensive and feasible manufacturing collaborative management platform is created for the enterprises.
If the residual task exists, repeating the steps (3) - (18), and if the residual task does not exist, completing task package batch processing, and ending the program.
Based on the same principle, the application also discloses an automatic programming device for nonstandard part processing. As shown in fig. 17, in this embodiment, the apparatus includes a task reading module 11, a process matching module 12, and a process programming module 13.
The task reading module 11 is configured to obtain drawing information of a nonstandard part to be machined, read a machining body model and a machining file from the drawing information, where the machining file includes machining information of the nonstandard part to be machined, open the machining body model, and perform machining inspection on the machining body model of the nonstandard part to be machined after determining the nonstandard part to be machined.
The process matching module 12 is configured to perform feature search on the machined body model to obtain all features to be machined of the nonstandard part if the machining inspection passes, and match a corresponding machining process according to the features to be machined.
The machining programming module 13 is configured to determine machining levels of all machining processes according to the machining body model, match machining processes of each machining process based on a machining template, form a machining process group based on the machining levels and the machining processes corresponding to the machining processes, and program the machining process group to obtain a machining program to machine non-standard parts according to the machining program.
In an alternative embodiment, the task reading module 11 is further configured to obtain a bill of materials of the nonstandard part before obtaining the drawing information of the nonstandard part to be processed, determine the nonstandard part to be processed according to the bill of materials, extract the processing information of the nonstandard part to be processed from the bill of materials, and generate a processing file in xml format according to the processing information; and acquiring a processing body model of the nonstandard part, and storing the processing file in the xml format, the corresponding processing body model and the corresponding processing body model as drawing file information.
In an alternative embodiment, the task reading module 11 is further configured to detect whether a specific position mark exists in the machined body model of the nonstandard part to be machined; if not, detecting whether the size and the angle of the minimum cube coating the processing body model accord with the preset conditions; if not, adjusting the position and the angle of the processing body model.
In an alternative embodiment, the task reading module 11 is further configured to detect whether the length, width and height of the processing body model respectively overlap with a basic coordinate system, and if not, adjust the position and angle of the processing body model so that the length, width and height of the minimum cube respectively overlap with a corresponding axis of the basic coordinate system;
If so, detecting the preset feature processing quantity of the processing surface corresponding to each surface of the minimum cube, determining whether the processing surface with the largest preset feature processing quantity corresponds to the specific axis direction of the basic coordinate system, and if not, adjusting the orientation of the processing body model.
In an alternative embodiment, the task reading module 11 is further configured to obtain actual parameters of the nonstandard part to be machined in the machining body model after determining the nonstandard part to be machined, and update the machining information in the machining file according to the actual parameters.
In an alternative embodiment, the process matching module 12 is configured to determine all of the processed bodies in the processed body model; retrieving basic features in each processing body based on a preset feature configuration file; and fusing all the retrieved basic features based on a preset fusion rule to obtain the features to be processed.
In an alternative embodiment, the machining programming module 13 is configured to determine a first machining priority for all machining bodies in the machining body model; determining a second processing priority of all the features to be processed in each processing body; and obtaining the machining grades of all machining processes of the machining body model based on the first machining priority, the second machining priority and the dependence relationship between the machining body and the feature to be machined.
In an alternative embodiment, the process matching module 12 is configured to retrieve the base features in each of the processing volumes in a plurality of different directions based on a preset feature profile.
In an alternative embodiment, the machining programming module 13 matches the basic machining flow of each machining process based on a machining template; and matching and determining a clamping mode corresponding to the machining process according to the machining information of the machining body model and the attribute value of the machining process and a preset clamping mode.
In an alternative embodiment, the process programming module 13 is further configured to, prior to programming the set of process flows: adjusting the sequence of the processing technological process in the processing flow group to form a plurality of alternative groups; simulating the processing process of each alternative group to determine the optimal alternative group as the processing flow group.
In an alternative embodiment, the machining programming module 13 is further configured to detect whether there is a duplicate tool number for all machining tool numbers in the machining program; and if yes, recoding the repeated cutter serial numbers.
In an alternative embodiment, the drawing information includes a plurality of nonstandard parts to be processed, and the processing programming module 13 is further configured to determine a size of a blank and a size of the blank required for each nonstandard part to be processed; typesetting the nonstandard parts to be processed on the blank based on the blank sizes required by all nonstandard parts to be processed and the blank sizes; and generating the processing program based on the processing position of the non-standard part to be processed on the blank after typesetting.
Since the principle of the device for solving the problem is similar to that of the above method, the implementation of the device can be referred to the implementation of the method, and will not be described herein.
The embodiment of the application also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described method.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program for producing a system, apparatus, module, or unit as set forth in the above embodiments, and may be embodied in a computer chip or entity, or in an article of manufacture having some function. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, 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.
In a typical example, the computer apparatus includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a method performed by a client as described above when executing the program or implementing a method performed by a server as described above when executing the program.
Referring now to FIG. 18, there is illustrated a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present application.
As shown in fig. 18, the computer apparatus 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data required for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback device (LCD), and the like, and a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 606 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on drive 610 as needed, so that a computer program read therefrom is mounted as needed as storage section 608.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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 disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transitorymedia), such as modulated data signals and carrier waves.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element. In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. An automated programming method for nonstandard part processing, comprising:
Acquiring drawing information of a nonstandard part to be processed, reading a processing body model and a processing file from the drawing information, wherein the processing file comprises processing information of the nonstandard part to be processed, opening the processing body model, and performing processing inspection on the processing body model of the nonstandard part to be processed after determining the nonstandard part to be processed;
If the machining inspection passes, carrying out feature search on the machining body model to obtain all the to-be-machined features of the nonstandard part, and matching corresponding machining technological processes according to the to-be-machined features;
Determining machining grades of all machining processes according to the machining body model, matching machining processes of each machining process based on a machining template, forming a machining process group based on the machining grades and the machining processes corresponding to the machining processes, and programming the machining process group to obtain a machining program so as to machine non-standard parts according to the machining program.
2. The automated non-standard part tooling programming method of claim 1, further comprising, prior to obtaining the drawing information for the non-standard part to be machined:
Acquiring a bill of materials of non-standard parts, determining the non-standard parts to be processed according to the bill of materials, extracting processing information of the non-standard parts to be processed from the bill of materials, and generating an xml-format processing file according to the processing information;
and acquiring a processing body model of the nonstandard part, and storing the processing file in the xml format, the corresponding processing body model and the corresponding processing body model as drawing file information.
3. The automated non-standard part tooling programming method of claim 1, wherein the tooling inspection of the tooling body model of the non-standard part to be machined comprises:
Detecting whether a specific position mark exists in a processed body model of the nonstandard part to be processed;
if not, detecting whether the size and the angle of the minimum cube coating the processing body model accord with the preset conditions;
if not, adjusting the position and the angle of the processing body model.
4. The automated non-standard part tooling programming method of claim 3, wherein the detecting of whether the dimensions and angles of the smallest cubes encasing the tooling body model are consistent with preset conditions; if not, adjusting the position and angle of the processing body model comprises:
Detecting whether the length, width and height of the processing body model are respectively overlapped with a basic coordinate system, and if not, adjusting the position and angle of the processing body model to enable the length, width and height of the minimum cube to be respectively overlapped with the corresponding axis of the basic coordinate system;
If so, detecting the preset feature processing quantity of the processing surface corresponding to each surface of the minimum cube, determining whether the processing surface with the largest preset feature processing quantity corresponds to the specific axis direction of the basic coordinate system, and if not, adjusting the orientation of the processing body model.
5. The automated non-standard part tooling programming method of claim 1, further comprising, prior to feature searching the tooling body model:
detecting whether a plurality of to-be-processed features belonging to the same processing step exist in all to-be-processed features, and if so, determining the plurality of to-be-processed features as a group of conflict features;
A pre-correction feature is provided on the machined body model corresponding to at least one feature to be machined in the set of conflicting features.
6. The automated programming method for nonstandard part machining according to claim 1, wherein the performing feature search on the machined body model to obtain all to-be-machined features of the nonstandard part comprises:
Searching all feature surfaces to be processed of a processing body model of a part to be processed, and determining whether nonstandard feature surfaces exist in the feature surfaces to be processed;
If the nonstandard characteristic surface exists, dividing the nonstandard characteristic surface into at least one characteristic surface group based on the position relation of the nonstandard characteristic surface and the type of a characteristic surface machining cutter shaft;
Based on the feature surface type of the nonstandard feature surface in each feature surface group, determining a corresponding combined machining feature as the feature to be machined, wherein the combined machining feature has a corresponding preset machining process;
and searching conventional features in the processing body model based on a feature configuration file, and taking the standard features and the combined processing features as the features to be processed.
7. The automated non-standard part tooling programming method of claim 1, wherein the determining tooling levels for all tooling processes from the tooling body model comprises:
determining a first processing priority for all processing bodies in the processing body model;
determining a second processing priority of all the features to be processed in each processing body;
And obtaining the machining grades of all machining processes of the machining body model based on the first machining priority, the second machining priority and the dependence relationship between the machining body and the feature to be machined.
8. The automated non-standard part tooling programming method of claim 1, wherein the tooling flow for matching each tooling process based on tooling templates comprises:
matching basic processing flows of each processing technology process based on the processing template;
and matching and determining a clamping mode corresponding to the machining process according to the machining information of the machining body model and the attribute value of the machining process and a preset clamping mode.
9. The automated non-standard part tooling programming method of claim 1, wherein the drawing information comprises a plurality of non-standard parts to be machined, and wherein programming the set of tooling processes to obtain a tooling program comprises:
Determining the size of a blank and the size of the blank required by each nonstandard part to be processed;
typesetting the nonstandard parts to be processed on the blank based on the blank sizes required by all nonstandard parts to be processed and the blank sizes;
And generating the processing program based on the processing position of the non-standard part to be processed on the blank after typesetting.
10. An automated non-standard part machining programming device, comprising:
The task reading module is used for acquiring drawing information of the nonstandard part to be processed, reading a processing body model and a processing file from the drawing information, wherein the processing file comprises processing information of the nonstandard part to be processed, opening the processing body model, and performing processing inspection on the processing body model of the nonstandard part to be processed after the nonstandard part to be processed is determined;
The process matching module is used for carrying out feature search on the processing body model to obtain all the features to be processed of the nonstandard part if the processing inspection passes, and matching the corresponding processing process according to the features to be processed;
And the machining programming module is used for determining the machining grade of all machining processes according to the machining body model, matching the machining flow of each machining process based on a machining template, forming a machining flow group based on the machining grade and the machining flow corresponding to the machining process, and programming the machining flow group to obtain a machining program so as to machine the nonstandard part according to the machining program.
CN202411146549.1A 2024-08-20 2024-08-20 Automatic programming method and device for non-standard parts processing Pending CN119024769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411146549.1A CN119024769A (en) 2024-08-20 2024-08-20 Automatic programming method and device for non-standard parts processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411146549.1A CN119024769A (en) 2024-08-20 2024-08-20 Automatic programming method and device for non-standard parts processing

Publications (1)

Publication Number Publication Date
CN119024769A true CN119024769A (en) 2024-11-26

Family

ID=93526543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411146549.1A Pending CN119024769A (en) 2024-08-20 2024-08-20 Automatic programming method and device for non-standard parts processing

Country Status (1)

Country Link
CN (1) CN119024769A (en)

Similar Documents

Publication Publication Date Title
US12346338B2 (en) Systems and methods for searching a machining knowledge database
US10466681B1 (en) Systems and methods for machining knowledge reuse
EP0503642B1 (en) Method and apparatus for solids-based machining
EP0879674B1 (en) Generation of measurement program in nc machining and machining management based on the measurement program
US20030130758A1 (en) Design support apparatus and method
HK1008101B (en) Method and apparatus for solids-based machining
CN104793560A (en) Method and system for generating a trajectory
CN102799144A (en) Numerical control processing program transplanting method based on characteristics
CN113939782B (en) Manufacturing process design method and manufacturing process design system
US20200201284A1 (en) Method and system for automatic generation of computer-aided manufacturing instructions
CN116224902B (en) Intelligent tool changing decision control system
CN104375463A (en) Part machining method for automatically obtaining dimensional tolerance
JP4165404B2 (en) Optimization device, control program generation device, program
Sarma et al. Rapid product realization from detail design
CN119024769A (en) Automatic programming method and device for non-standard parts processing
KR101289296B1 (en) System and method for managing cam data
Attila IGES-based CAD model post processing module of a Setup and Fixture Planning System for box-shaped parts
Xiang et al. A generative feature-based CAPP/CNC system for hydraulic manifold blocks
CN116305929B (en) Numerical control machining simulation method, device, equipment and storage medium
US20240019848A1 (en) System and method for developing a numerical control manufacturing program
JPH0916657A (en) Method of creating intermediate structure shape design data and method of tool path data
CN113743754B (en) Automatic positioning method of tightening tools based on TC system
US20240069522A1 (en) Systems and methods to automate cnc programming
CN119126687A (en) Method and device for automatically generating non-standard parts processing program
CN119717690A (en) Machining simulation verification method, machining simulation verification device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination