DXF file classification method and system
By obtaining the key manufacturing parameters of the DXF file of sheet metal product production task list and design drawings, matching and classification, the inefficiency and error problems caused by manual verification in the existing technology are solved, and the automatic classification of DXF files is realized, and the efficiency and accuracy of laser laying typesetting are improved.
Patent Information
- Application Number
- CN202510420020.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-08-19
AI Technical Summary
In the prior art, the laser feeding process in the field of sheet metal processing and manufacturing requires manual verification of production task orders and DXF drawings, resulting in inefficiency and prone to human errors, affecting production efficiency and accuracy.
By obtaining the key manufacturing parameters of the DXF file of sheet metal product production task list and design drawings, matching and classification, using the VBA macro plug-in and Winform window to realize the automatic classification of DXF files, and generating folder structures of material, board thickness and quantity.
It realizes the automatic classification of sheet metal DXF files, improves the efficiency and accuracy of laser laying and layout, reduces human errors, and simplifies the operation process.
Smart Images

Figure CN120508540A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent processing technology, and in particular to a DXF file classification method and system. Background Art
[0002] In sheet metal fabrication, laser blanking is the first step in the production process, and its daily output is crucial to the smooth operation of the entire production line. Therefore, improving the efficiency of laser blanking has always been a key focus of optimization in this process. High-efficiency laser blanking not only speeds up production but also lays a solid foundation for subsequent processes.
[0003] However, the current laser blanking process requires manual verification of production orders and confirmation of relevant parameters in each sheet metal DXF (Drawing Exchange Format) drawing during laser blanking layout. This process is not only time-consuming and labor-intensive, but also greatly increases the risk of human error.
[0004] Therefore, there is an urgent need for a DXF file classification method and system to solve the above problems. Summary of the Invention
[0005] In view of the problems existing in the prior art, the present invention provides a DXF file classification method and system.
[0006] The present invention provides a DXF file classification method, comprising: Obtaining a sheet metal product production order and multiple sheet metal part design drawing DXF files, wherein the sheet metal product production order and multiple sheet metal part design drawing DXF files are obtained based on computer-aided design drawing files corresponding to the target sheet metal product; Acquire multiple first key manufacturing parameters and multiple second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; and the multiple second key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; According to the key manufacturing parameter matching results, the plurality of sheet metal design drawing DXF files are classified to obtain a DXF file classification result corresponding to the target sheet metal product.
[0007] According to a DXF file classification method provided by the present invention, the method of obtaining a plurality of first key manufacturing parameters and a plurality of second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result includes: Identifying all specification data of each sheet metal part in the sheet metal product production order, and using the identified material parameters and plate thickness parameters as the first key manufacturing parameters corresponding to each sheet metal part in the sheet metal product production order; parsing sheet metal part specification data for each sheet metal part design drawing DXF file, and using the material parameters and plate thickness parameters obtained from the parsing as the second key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; Based on the same material parameters and plate thickness parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
[0008] According to a DXF file classification method provided by the present invention, the first key manufacturing parameter also includes the sheet metal quantity parameter corresponding to all sheet metal parts in the sheet metal product production order; the second key manufacturing parameter also includes the sheet metal quantity parameter corresponding to all sheet metal design drawing DXF files; The matching of the first key manufacturing parameter and the second key manufacturing parameter based on the same material parameter and plate thickness parameter to obtain the key manufacturing parameter matching result includes: Based on the same material parameters, plate thickness parameters, and sheet metal part quantity parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
[0009] According to a DXF file classification method provided by the present invention, before classifying the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product, the method further includes: Based on the key manufacturing parameter matching results, a fool-proofing check is performed on the plurality of sheet metal design drawing DXF files. If the sheet metal quantity parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are different, a DXF file missing prompt message is generated; If the material parameters and plate thickness parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are not matched successfully, a DXF file error prompt message is generated.
[0010] According to a DXF file classification method provided by the present invention, the multiple sheet metal design drawing DXF files are classified according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product, including: When it is determined that there is a one-to-one matching relationship between each of the first key manufacturing parameters and each of the second key manufacturing parameters in the key manufacturing parameter matching results, the sheet metal design drawing DXF files with the same material parameters, plate thickness parameters and sheet metal quantity parameters are divided into DXF files of the same type to obtain the DXF file classification results.
[0011] According to a DXF file classification method provided by the present invention, obtaining a sheet metal product production order and a plurality of sheet metal design drawing DXF files includes: Based on the DXF file import window constructed by the Winform control, the sheet metal product production task order and multiple sheet metal design drawing DXF files are obtained.
[0012] The present invention also provides a DXF file classification system, comprising: An interactive module is used to obtain a sheet metal product production task order and a plurality of sheet metal part design drawing DXF files, wherein the sheet metal product production task order and the plurality of sheet metal part design drawing DXF files are obtained based on computer-aided design drawing files corresponding to the target sheet metal product; a data processing module, configured to obtain a plurality of first key manufacturing parameters and a plurality of second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the plurality of first key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; and the plurality of second key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; The classification module is used to classify the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the above-mentioned DXF file classification methods is implemented.
[0014] The present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements any of the above-mentioned DXF file classification methods.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned DXF file classification methods.
[0016] The DXF file classification method and system provided by the present invention extract and match the first key manufacturing parameter in the production task order with the second key manufacturing parameter in the DXF file to form a matching result, and then batch classify the DXF files according to the matching result to obtain the DXF file classification results of the target sheet metal product, thereby realizing the automated classification of sheet metal DXF files and improving the efficiency of laser blanking and typesetting. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 A schematic diagram of the flow of the DXF file classification method provided by the present invention; Figure 2 A schematic diagram of the structure of the DXF file classification system provided by the present invention; Figure 3 This is a schematic structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0019] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0020] Existing laser cutting and typesetting work mainly relies on manual operation. Workers are required to check the dozens or even hundreds of sheet metal parts involved in the production task order one by one, classify them according to their material and plate thickness, and select the corresponding DXF files from the massive files; then, they need to select these classified DXF files one by one in the cutting and typesetting software, and manually enter the required quantity of each sheet metal part to finally complete the typesetting.
[0021] From an efficiency perspective, workers need to manually review production orders, confirm the material, thickness, and quantity of each sheet metal part one by one, and then classify the DXF files accordingly. In terms of accuracy, because this process is highly manual, the risk of error is extremely high. During the manual verification process, long periods of repetitive operations can easily cause worker fatigue. If workers lose focus, they may misread the material, thickness, or quantity information on the order, leading to incorrect DXF file classification. This process is not only cumbersome and repetitive, but also prone to omissions or quantity input errors when faced with a wide variety of sheet metal parts, affecting typesetting efficiency and accuracy.
[0022] In response to the problems existing in the above-mentioned prior art, the present invention provides a DXF file classification method. The method can use VBA (Visual Basic for Applications) to develop a corresponding macro plug-in, and by designing a Winform window, after the user runs the macro plug-in, selects the production task order and the DXF folder to be classified, and clicks Start to classify the DXF files in batches. The batch classification of sheet metal DXF files is realized, and the sheet metal material, plate thickness and required quantity can be intuitively displayed in the form of folder names, which is convenient for typesetters to directly select the corresponding files.
[0023] Figure 1 The flowchart of the DXF file classification method provided by the present invention is as follows: Figure 1 As shown, the present invention provides a DXF file classification method, comprising: Step 101 : Obtain a sheet metal product production order and multiple sheet metal component design drawing DXF files, wherein the sheet metal product production order and multiple sheet metal component design drawing DXF files are obtained based on computer-aided design (CAD) drawing files corresponding to the target sheet metal product.
[0024] In this invention, the sheet metal product production order and multiple sheet metal design drawing DXF files are obtained based on the computer-aided design drawing file corresponding to the target sheet metal product. This computer-aided design drawing file contains the complete design information of the target sheet metal product. Then, the production order and multiple DXF files are constructed from the computer-aided design drawing file to facilitate subsequent production and processing. In this invention, sheet metal production orders are crucial documents in the production process, detailing various information about the sheet metal products to be produced, such as product name, specifications, quantity, and delivery date. Multiple sheet metal design drawing DXF files are digital representations of the sheet metal designs, containing detailed information such as the shape, size, and material. They serve as the foundation for subsequent production, processing, and inspection.
[0025] Step 102: Acquire multiple first key manufacturing parameters and multiple second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production task order; and the multiple second key manufacturing parameters are the key manufacturing parameters corresponding to each of the sheet metal part design drawing DXF files.
[0026] In the present invention, in the manufacturing process of sheet metal products, in order to ensure the accuracy and efficiency of production, it is necessary to obtain and match key manufacturing parameters, involving two sets of key manufacturing parameters: The first group consists of multiple key manufacturing parameters, which are derived from the sheet metal production order. The sheet metal production order details the key manufacturing information for each sheet metal component in the target sheet metal product. For example, these key manufacturing parameters might include the material (e.g., stainless steel, aluminum alloy), thickness (e.g., 1mm, 2mm), and required quantity.
[0027] The second group consists of multiple secondary critical manufacturing parameters, which correspond to the DXF files of each sheet metal part's design drawings. As a digital representation of the sheet metal part design, the DXF file also contains key manufacturing information, such as material and thickness (determined during the design phase and reflected in the drawings). These parameters are determined by the design department based on product functionality and performance requirements and serve as specifications that the production department must follow during processing and manufacturing.
[0028] Furthermore, the first key manufacturing parameter and the second key manufacturing parameter are matched. The purpose of matching is to ensure that the requirements in the production order are consistent with the information in the design drawing, so as to avoid errors and waste in the production process. For example, if the production order requires a sheet metal part to be made of stainless steel, 2mm thick, and 100 pieces, then in the design drawing DXF file, the material, thickness and other parameters of the sheet metal part should also correspond to it. Through matching, the key manufacturing parameter matching results can be obtained. In addition to classifying DXF files, this matching result can also be used to guide subsequent production work to ensure that the produced sheet metal products meet the design requirements. For example, if inconsistencies are found in the matching results, it is necessary to communicate with the design department or production department in a timely manner to make necessary adjustments or corrections.
[0029] Step 103 : Classify the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching result to obtain a DXF file classification result corresponding to the target sheet metal product.
[0030] In this invention, the acquisition and matching of key manufacturing parameters has been completed, resulting in a key manufacturing parameter matching result. This key manufacturing parameter matching result is essentially a comparison table or mapping relationship that clearly defines how the key manufacturing parameters in the production order (such as sheet metal material, thickness, quantity, etc.) correspond to the corresponding parameters in the design drawing DXF file. This key manufacturing parameter matching result is then used to classify multiple sheet metal design drawing DXF files. The purpose of classification is to group sheet metal design drawings with the same or similar manufacturing requirements into one category for subsequent production, processing, and management.
[0031] Specifically, based on the key manufacturing parameter matching results, the key manufacturing parameters corresponding to each DXF file are identified, as well as which requirements in the production order these parameters correspond to. Then, based on key manufacturing parameters such as material and plate thickness, the DXF files are classified. For example, all sheet metal design drawings requiring stainless steel material and 2mm plate thickness can be classified into one category. This process can be implemented through automated software tools, which can significantly improve efficiency and accuracy. Finally, the DXF file classification results corresponding to the target sheet metal product are obtained. In the present invention, the DXF file classification results can be a file directory structure, a database record or a classification report, which can clearly show the category to which each DXF file belongs, and how these categories correspond to the requirements in the production order. By classifying sheet metal design drawing DXF files, sheet metal design drawing DXF files can be managed and used more efficiently, improving production efficiency and accuracy.
[0032] The DXF file classification method provided by the present invention extracts and matches the first key manufacturing parameter in the production task order with the second key manufacturing parameter in the DXF file to form a matching result, and then batch classifies the DXF files according to the matching result to obtain the DXF file classification results of the target sheet metal product, thereby realizing the automatic classification of sheet metal DXF files and improving the efficiency of laser blanking and typesetting.
[0033] Based on the above embodiment, the step of obtaining a plurality of first key manufacturing parameters and a plurality of second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result includes: Identifying all specification data of each sheet metal part in the sheet metal product production order, and using the identified material parameters and plate thickness parameters as the first key manufacturing parameters corresponding to each sheet metal part in the sheet metal product production order; parsing sheet metal part specification data for each sheet metal part design drawing DXF file, and using the material parameters and plate thickness parameters obtained from the parsing as the second key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; Based on the same material parameters and plate thickness parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
[0034] In this invention, all specification data for each sheet metal part in a sheet metal production order is identified. This step extracts key manufacturing information for each sheet metal part from the production order. The identified material and thickness parameters are used as the first key manufacturing parameters for the sheet metal part in the production order.
[0035] At the same time, the sheet metal part specifications are parsed from the DXF files of the sheet metal design drawings. As a digital representation of the sheet metal design, DXF files contain detailed specifications of the sheet metal parts. By parsing these files, the material parameters and thickness parameters of each sheet metal part can be extracted. These parsed parameters are used as the second key manufacturing parameters corresponding to the sheet metal part design DXF file.
[0036] Finally, based on the same material and plate thickness parameters, the first key manufacturing parameter (from the production order) is matched with the second key manufacturing parameter (from the DXF file) to ensure that the requirements in the production order are consistent with the information in the design drawing. In this invention, the matching process involves comparison and verification to ensure that the material and plate thickness information in the two sets of parameters are completely consistent. After the matching is completed, the result is the key manufacturing parameter matching result, which shows the corresponding relationship between the production order and the design drawing.
[0037] Based on the above embodiment, the first key manufacturing parameter further includes the sheet metal quantity parameter corresponding to all sheet metal parts in the sheet metal product production order; the second key manufacturing parameter further includes the sheet metal quantity parameter corresponding to all sheet metal design drawing DXF files; The matching of the first key manufacturing parameter and the second key manufacturing parameter based on the same material parameter and plate thickness parameter to obtain the key manufacturing parameter matching result includes: Based on the same material parameters, plate thickness parameters, and sheet metal part quantity parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
[0038] In this invention, the first key manufacturing parameter includes not only the material and thickness parameters of each sheet metal component in the sheet metal product production order, but also the quantity parameter. In addition to specifying the material and thickness of each sheet metal component, the production order also details the required quantity. Using the quantity parameter as one of the key manufacturing parameters makes the subsequent classification and layout process more accurate and efficient.
[0039] Similarly, the second key manufacturing parameter has been expanded to include the sheet metal quantity parameter for all sheet metal design drawing DXF files. The design quantity of each sheet metal part is also implicitly or explicitly noted in the design drawing DXF file (usually reflected through annotations in the drawing or file name, or inferred from the drawing content during parsing).
[0040] Furthermore, DXF files with the same material parameters and plate thickness parameters are divided into the same folder, and then according to the sheet metal quantity parameters, DXF files with the same material parameters, plate thickness parameters and sheet metal quantity parameters are divided into the same secondary folder, thereby reducing the number of cutting and layout operations. This is because sheet metal parts with the same material, plate thickness and quantity can be laid out and cut at one time, improving production efficiency and accuracy.
[0041] Based on the above embodiment, before classifying the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product, the method further includes: Based on the key manufacturing parameter matching results, a fool-proofing check is performed on the plurality of sheet metal design drawing DXF files. If the sheet metal quantity parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are different, a DXF file missing prompt message is generated; If the material parameters and plate thickness parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are not matched successfully, a DXF file error prompt message is generated.
[0042] In the present invention, a corresponding fool-proofing detection mechanism is constructed to ensure the stable operation and classification accuracy of the macro plug-in. After the user terminal imports the DXF file, a fool-proofing detection is performed on multiple sheet metal design drawing DXF files.
[0043] Specifically, if the quantity parameter of a sheet metal part in the production order is found to be different from the corresponding quantity parameter in the design drawing DXF file, it may indicate that the DXF file is missing or the quantity is incorrectly marked. In this case, a DXF file missing prompt message is generated to clearly inform the user of the missing file name and guide the user to complete the file in a timely manner.
[0044] If the material and thickness parameters of a sheet metal part in the production order do not match the corresponding parameters in the design drawing DXF file, it may indicate a DXF file error or inconsistent parameter annotation. For example, if the plate thickness and material in the DXF file do not match the production order, a DXF file error message will be generated and a pop-up window will be sent to the user to help the user quickly locate the problem and correct it, avoiding classification errors caused by data errors and ensuring the accuracy and reliability of the entire automatic classification process.
[0045] The present invention can timely discover and handle possible problems in DXF files through the above-constructed fool-proof detection mechanism, ensuring the smooth progress of production tasks; at the same time, the generated prompt information also provides clear guidance for operators to quickly locate and solve problems.
[0046] Based on the above embodiment, the multiple sheet metal design drawing DXF files are classified according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product, including: When it is determined that there is a one-to-one matching relationship between each of the first key manufacturing parameters and each of the second key manufacturing parameters in the key manufacturing parameter matching results, the sheet metal design drawing DXF files with the same material parameters, plate thickness parameters and sheet metal quantity parameters are divided into DXF files of the same type to obtain the DXF file classification results.
[0047] In this method, after confirming that no abnormalities were detected during the foolproofing process, DXF files are sorted into corresponding folders based on key information such as the sheet metal part's material, thickness, and quantity. During the sorting process, sheet metal parts are named according to their material and thickness, and corresponding folders are automatically created, making it easier for users to find and use them later. This allows for efficient and accurate DXF file sorting, significantly improving the efficiency of laser cutting and typesetting.
[0048] In the present invention, a macro plug-in constructed based on the DXF file classification method provided by the present invention can automatically record the material, thickness and quantity information of each sheet metal part in the production task order, match it to each DXF file through data processing, and classify DXFs of the same material and thickness into the same folder; then, a secondary classification is performed according to different quantities, so that DXFs of the same quantity are further classified into secondary folders to complete the classification work. There is no need for typesetters to manually divide and record the quantity, and the classification work of a large number of DXF files can be completed in a very short time, thereby improving the efficiency of sheet metal cutting and typesetting.
[0049] Based on the above embodiment, the step of obtaining a sheet metal product production order and multiple sheet metal part design drawing DXF files includes: Based on the DXF file import window constructed by the Winform control, the sheet metal product production task order and multiple sheet metal design drawing DXF files are obtained.
[0050] In this invention, a WinForm control window is used as the user interface, with corresponding buttons and file path display areas for importing DXF files and production orders. During operation, the user can import production orders and DXF files containing sheet metal drawings through the WinForm control window, improving the user experience and work efficiency.
[0051] The DXF file classification system provided by the present invention is described below. The DXF file classification system described below and the DXF file classification method described above can be referenced to each other.
[0052] Figure 2 The schematic diagram of the structure of the DXF file classification system provided by the present invention is as follows: Figure 2 As shown, the present invention provides a DXF file classification system, including an interaction module 201, a data processing module 202 and a classification module 203, wherein the interaction module 201 is used to obtain a sheet metal product production task order and multiple sheet metal design drawing DXF files, wherein the sheet metal product production task order and the multiple sheet metal design drawing DXF files are obtained based on the computer-aided design drawing files corresponding to the target sheet metal product; the data processing module 202 is used to obtain multiple first key manufacturing parameters and multiple second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production task order; the multiple second key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal design drawing DXF file; the classification module 203 is used to classify the multiple sheet metal design drawing DXF files according to the key manufacturing parameter matching result to obtain a DXF file classification result corresponding to the target sheet metal product.
[0053] The DXF file classification system provided by the present invention extracts and matches the first key manufacturing parameter in the production task order with the second key manufacturing parameter in the DXF file to form a matching result, and then batch classifies the DXF files according to the matching result to obtain the DXF file classification results of the target sheet metal product, thereby realizing the automatic classification of sheet metal DXF files and improving the efficiency of laser blanking and typesetting.
[0054] The system provided in the embodiment of the present invention is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for the specific process and detailed content, which will not be repeated here.
[0055] Figure 3 A schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3 As shown, the electronic device may include: a processor (Processor) 301, a communication interface (Communications Interface) 302, a memory (Memory) 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304. The processor 301 can call the logic instructions in the memory 303 to execute the DXF file classification method, which includes: obtaining a sheet metal product production task order and multiple sheet metal design drawing DXF files, wherein the sheet metal product production task order and the multiple sheet metal design drawing DXF files are obtained based on the computer-aided design drawing files corresponding to the target sheet metal product; obtaining multiple first key manufacturing parameters and multiple second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production task order; the multiple second key manufacturing parameters are the key manufacturing parameters corresponding to each of the sheet metal design drawing DXF files; according to the key manufacturing parameter matching result, classify the multiple sheet metal design drawing DXF files to obtain a DXF file classification result corresponding to the target sheet metal product.
[0056] Furthermore, the logic instructions in the aforementioned memory 303 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0057] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the DXF file classification method provided by the above methods, the method including: obtaining a sheet metal product production order and multiple sheet metal design drawing DXF files, wherein the sheet metal product production order and the multiple sheet metal design drawing DXF files are obtained based on the computer-aided design drawing files corresponding to the target sheet metal product; obtaining multiple first key manufacturing parameters and multiple second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; the multiple second key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal design drawing DXF file; according to the key manufacturing parameter matching result, classifying the multiple sheet metal design drawing DXF files to obtain a DXF file classification result corresponding to the target sheet metal product.
[0058] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the DXF file classification method provided in the above-mentioned embodiments, the method comprising: obtaining a sheet metal product production order and multiple sheet metal design drawing DXF files, wherein the sheet metal product production order and the multiple sheet metal design drawing DXF files are obtained based on the computer-aided design drawing files corresponding to the target sheet metal product; obtaining multiple first key manufacturing parameters and multiple second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; the multiple second key manufacturing parameters are the key manufacturing parameters corresponding to each sheet metal design drawing DXF file; according to the key manufacturing parameter matching result, classifying the multiple sheet metal design drawing DXF files to obtain a DXF file classification result corresponding to the target sheet metal product.
[0059] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0060] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A DXF file classification method, characterized in that: include: Obtaining a sheet metal product production order and multiple sheet metal part design drawing DXF files, wherein the sheet metal product production order and multiple sheet metal part design drawing DXF files are obtained based on computer-aided design drawing files corresponding to the target sheet metal product; Acquire multiple first key manufacturing parameters and multiple second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the multiple first key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; and the multiple second key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; According to the key manufacturing parameter matching results, the plurality of sheet metal design drawing DXF files are classified to obtain a DXF file classification result corresponding to the target sheet metal product.
2. The DXF file classification method according to claim 1, characterized in that: The acquiring of a plurality of first key manufacturing parameters and a plurality of second key manufacturing parameters, and matching each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, includes: Identifying all specification data of each sheet metal part in the sheet metal product production order, and using the identified material parameters and plate thickness parameters as the first key manufacturing parameters corresponding to each sheet metal part in the sheet metal product production order; parsing sheet metal part specification data for each sheet metal part design drawing DXF file, and using the material parameters and plate thickness parameters obtained from the parsing as the second key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; Based on the same material parameters and plate thickness parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
3. The DXF file classification method according to claim 2, characterized in that: The first key manufacturing parameter also includes the sheet metal quantity parameter corresponding to all sheet metal parts in the sheet metal product production order; the second key manufacturing parameter also includes the sheet metal quantity parameter corresponding to all sheet metal design drawing DXF files; The matching of the first key manufacturing parameter and the second key manufacturing parameter based on the same material parameter and plate thickness parameter to obtain the key manufacturing parameter matching result includes: Based on the same material parameters, plate thickness parameters, and sheet metal part quantity parameters, the first key manufacturing parameter and the second key manufacturing parameter are matched to obtain the key manufacturing parameter matching result.
4. The DXF file classification method according to claim 2 or 3, characterized in that: Before classifying the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product, the method further includes: Based on the key manufacturing parameter matching results, a fool-proofing check is performed on the plurality of sheet metal design drawing DXF files. If the sheet metal quantity parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are different, a DXF file missing prompt message is generated; If the material parameters and plate thickness parameters corresponding to the first key manufacturing parameter and the second key manufacturing parameter are not matched successfully, a DXF file error prompt message is generated.
5. The DXF file classification method according to claim 4, characterized in that: The step of classifying the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product includes: When it is determined that there is a one-to-one matching relationship between each of the first key manufacturing parameters and each of the second key manufacturing parameters in the key manufacturing parameter matching results, the sheet metal design drawing DXF files with the same material parameters, plate thickness parameters and sheet metal quantity parameters are divided into DXF files of the same type to obtain the DXF file classification results.
6. The DXF file classification method according to claim 1, characterized in that: The acquisition of sheet metal product production order and multiple sheet metal design drawing DXF files includes: Based on the DXF file import window constructed by the Winform control, the sheet metal product production task order and multiple sheet metal design drawing DXF files are obtained.
7. A DXF file classification system, characterized in that: include: An interactive module is used to obtain a sheet metal product production task order and a plurality of sheet metal part design drawing DXF files, wherein the sheet metal product production task order and the plurality of sheet metal part design drawing DXF files are obtained based on computer-aided design drawing files corresponding to the target sheet metal product; a data processing module, configured to obtain a plurality of first key manufacturing parameters and a plurality of second key manufacturing parameters, and match each of the first key manufacturing parameters with each of the second key manufacturing parameters to obtain a key manufacturing parameter matching result, wherein the plurality of first key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part in the target sheet metal product in the sheet metal product production order; and the plurality of second key manufacturing parameters are key manufacturing parameters corresponding to each sheet metal part design drawing DXF file; The classification module is used to classify the plurality of sheet metal design drawing DXF files according to the key manufacturing parameter matching results to obtain the DXF file classification results corresponding to the target sheet metal product.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the DXF file classification method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the DXF file classification method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the DXF file classification method according to any one of claims 1 to 6 is implemented.