Method, device, electronic device and storage medium for generating process card of stamping process

By extracting the lower reference profile lines and segmentation results of the three-dimensional model to generate process cards, the problems of cumbersome production and wrong marking of existing stamping process cards are solved, and more efficient and accurate process card generation is achieved.

CN118468611BActive Publication Date: 2024-11-26DAJIE INTELLIGENT TECH (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410923416.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-26
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The production process of existing stamping process cards is cumbersome and prone to marking errors, and lacks effective automation solutions.

Method used

By obtaining the three-dimensional model, extracting the reference contour lines and processing them in segments, generating process contour lines and process areas, and automatically generating process cards based on these results. The feature recognition model is used to correct the preliminary segmentation results, reducing the intensity of manual labor and improving accuracy .

Benefits of technology

The process of making process cards is simplified, the accuracy and intuitiveness of process cards are improved, and the stamping process characteristics and parameters can be more effectively reflected, reducing the manual error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118468611B_ABST
    Figure CN118468611B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically discloses a method, device, electronic device and storage medium for generating a process card for a stamping process, wherein the method for generating a process card for a stamping process comprises the following steps: obtaining a three-dimensional model of a part for which a process card is to be generated; extracting a lower reference contour line of the three-dimensional model based on a stamping direction; obtaining a segmentation result of the lower reference contour line; generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line; generating a process card based on the process area, process parameters and the three-dimensional model; the method for generating a process card for a stamping process obtains a segmentation result based on the lower reference contour line, and then generates a process area on the three-dimensional model based on the segmentation result, thereby producing a process card containing a coverage range and corresponding process parameters that can intuitively reflect the stamping process characteristics corresponding to different processes that need to be processed, thereby effectively simplifying the production process of the process card for the stamping process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for generating a process card for a stamping process. Background Art

[0002] In the stamping process of the related art, workers need to make process cards to guide production.

[0003] The process card generally includes the part name, material, process type, dimensional parameters and the corresponding two-dimensional image of the part used to represent the corresponding process processing position and results.

[0004] Existing process cards can only be designed manually, especially the drawing of two-dimensional images in process cards requires repeated viewing and measurement of physical parts or corresponding three-dimensional models to add corresponding process annotations (including annotation position, process type, process parameters, etc.) in the corresponding two-dimensional images. This marking process is extremely cumbersome, and the manual marking of two-dimensional images based on three-dimensional images is prone to cause process card marking errors, which need to be repeatedly corrected.

[0005] There is currently no effective technical solution to the above problems. Summary of the invention

[0006] The purpose of this application is to provide a method, device, electronic equipment and storage medium for generating a process card for a stamping process, so as to simplify the process of making the process card.

[0007] In a first aspect, the present application provides a method for generating a process card for a stamping process, which is used to generate a process card for a stamping process, and the method comprises the following steps:

[0008] Obtain a three-dimensional model of the part for which a process card is to be generated;

[0009] Extracting a lower reference contour line of the three-dimensional model based on a punching direction;

[0010] Acquire a segmentation result of the lower reference contour line, wherein the segmentation result includes a process contour line determined by segmenting the lower reference contour line based on different stamping process features and a corresponding process type and process parameters;

[0011] Generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour lines;

[0012] The process card is generated based on the process area, process parameters and three-dimensional model.

[0013] The method for generating a process card for a stamping process of the present application obtains a segmentation result that can accurately reflect the distribution of stamping process characteristics and process parameters in the process card based on the lower reference contour line that can reflect the position and shape of the stamping processing, and then generates a process area on the three-dimensional model with the process contour line as the outer boundary, which can accurately reflect the coverage range of different processes. In this way, a process card is produced that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes. This effectively simplifies the production process of the process card for the stamping process and can more intuitively reflect the process requirements for producing corresponding parts.

[0014] In the method for generating a process card for a stamping process, the process contour line is determined by segmenting the lower reference contour line by selecting points or segments.

[0015] In this example, point selection segmentation can accurately obtain the appropriate process contour to generate a process card with high allocation accuracy; segment selection segmentation can adjust the segmentation benchmark according to the actual stamping processing accuracy to obtain a process card that matches the processing accuracy of the production equipment.

[0016] In the method for generating a process card for a stamping process, the segmentation result is obtained by manually correcting a preliminary segmentation result obtained based on the three-dimensional model based on a feature recognition model.

[0017] In this example, the segmentation results are obtained based on software analysis and manual correction processing, which can reduce the labor intensity of workers while ensuring that the accuracy of the segmentation results is high enough.

[0018] In the method for generating a process card for a stamping process, the feature recognition model includes a feature extraction model and a contour segmentation model, and the process of the feature recognition model obtaining a preliminary segmentation result according to the three-dimensional model includes:

[0019] Inputting the three-dimensional model into a pre-trained feature extraction model to generate a stamping feature distribution map representing the distribution of stamping process features of the three-dimensional model;

[0020] Based on a pre-trained contour segmentation model, the lower reference contour is segmented according to the stamping feature distribution map to obtain a preliminary process contour;

[0021] The preliminary process contour line is configured with a process type and process parameters based on the feature parameters of the stamping feature distribution map to determine a preliminary segmentation result.

[0022] In the method for generating a process card for a stamping process, the step of generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line comprises:

[0023] Obtaining area expansion parameters corresponding to different process types;

[0024] Process regions corresponding to different process types are generated on the surface of the three-dimensional model based on the region expansion parameters and the process contour lines.

[0025] The method for generating a process card for a stamping process, wherein the process area is generated on the upper surface of the three-dimensional model.

[0026] The method for generating a process card for a stamping process, wherein the step of generating the process card based on the process area, process parameters and three-dimensional model comprises:

[0027] A top view of a three-dimensional model with a process area and process parameters are input based on a preset process card template to form the process card.

[0028] In a second aspect, the present application further provides a process card generation device for a stamping process, which is used to generate a process card for a stamping process, and the device comprises:

[0029] A first acquisition module is used to acquire a three-dimensional model of a part for which a process card is to be generated;

[0030] An extraction module, used for extracting a lower reference contour line of the three-dimensional model based on a stamping direction;

[0031] A second acquisition module is used to acquire a segmentation result of the lower reference contour line, wherein the segmentation result includes a process contour line determined by segmenting the lower reference contour line based on different stamping process features and a corresponding process type and process parameters;

[0032] A first generating module, used for generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line;

[0033] The second generating module is used to generate the process card based on the process area, process parameters and three-dimensional model.

[0034] The process card generating device of the stamping process of the present application obtains the segmentation result that can accurately reflect the distribution of the stamping process characteristics and the process parameters in the process card based on the lower reference contour line that can reflect the stamping processing position and shape, and then generates a process area with the process contour line as the outer boundary on the three-dimensional model based on the segmentation result, which can accurately reflect the coverage range of different processes. In this way, a process card is produced that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes. The production process of the process card of the stamping process is effectively simplified, and the process requirements for producing corresponding parts can be more intuitively reflected.

[0035] In a third aspect, the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are executed.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the method provided in the first aspect are executed.

[0037] From the above, it can be seen that the present application provides a method, device, electronic device and storage medium for generating a process card for a stamping process, wherein the method for generating a process card for a stamping process obtains a segmentation result that can accurately reflect the distribution of stamping process characteristics and process parameters in the process card based on a lower reference contour line that can reflect the position and shape of the stamping process, and then generates a process area on a three-dimensional model with a process contour line as an outer boundary that can accurately reflect the coverage range of different processes based on the segmentation result, so as to produce a process card that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes, effectively simplifying the production process of the process card for the stamping process, and can more intuitively reflect the process requirements for producing corresponding parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a method for generating a process card for a stamping process provided in an embodiment of the present application.

[0039] Figure 2 A schematic structural diagram of a process card generating device for a stamping process provided in an embodiment of the present application.

[0040] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0041] Figure numerals: 201, first acquisition module; 202, extraction module; 203, second acquisition module; 204, first generation module; 205, second generation module; 301, processor; 302, memory; 303, communication bus. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0043] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0044] First, please refer to Figure 1 Some embodiments of the present application provide a method for generating a process card for a stamping process, which is used to generate a process card for a stamping process. The method includes the following steps:

[0045] S1. Obtain a three-dimensional model of a part for which a process card is to be generated;

[0046] S2, extracting the lower reference contour line of the three-dimensional model based on the stamping direction;

[0047] S3, obtaining a segmentation result of the lower reference contour line, the segmentation result including a process contour line determined by segmenting the lower reference contour line based on different stamping process features and a corresponding process type and process parameters;

[0048] S4, generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line;

[0049] S5. Generate a process card based on the process area, process parameters and three-dimensional model.

[0050] Specifically, the image with stamping process processing marks in the process card is a two-dimensional image. The process card generation method for the stamping process in the embodiment of the present application aims to provide a data processing means that can quickly mark and automatically generate a suitable process card based on the three-dimensional model of the part.

[0051] More specifically, the parts for which process cards are to be generated are parts that need to be formed by stamping, and the three-dimensional model of step S1 is a three-dimensional digital solid model of the parts that need to be formed by stamping, and its appearance structure can directly reflect the processing results of various stamping processes, so it can be used to make process cards; among them, the method for generating process cards for stamping processes in the embodiment of the present application is particularly suitable for making process cards for stamping processes for sheet metal parts.

[0052] More specifically, the three-dimensional model of the sheet metal part is in the form of a thin sheet, and the processing objects of the stamping process are generally distributed near the outer edge of the thin sheet-like part, such as forward flanging, side flanging, forward trimming, side trimming, combined trimming and flanging, punching, arrangement of waste knives and arrangement of positioning holes, etc. The two-dimensional image in the process card is designed to reflect the part shape as much as possible, so it is generally dominated by a top view. Therefore, the processing marks on the process card are generally distributed near the outer edge of the corresponding two-dimensional image. Therefore, the processing marks on the process card often use the outer reference contour line corresponding to the three-dimensional model as the marking object, among which the outer reference contour line of the thin plate-like three-dimensional model includes an upper reference contour line and a lower reference contour line; the stamping direction is the force direction of the punch of the stamping machine tool. In the stamping process, the lower reference contour line is located on the side of the upper reference contour line away from the punch, which can reflect the edge of the part. Along the position and shape after stamping, it can reflect the processing effect of the stamping process. During the actual stamping process, the parts formed by stamping are generally judged by the processing accuracy of the lower reference contour line. When the processing results of some stamping processes cannot be directly viewed directly from the top view (such as the flange processed toward the lower inner side of the part in the stamping direction), the two-dimensional image of the process card can be marked based on the lower reference contour line to add marks corresponding to the stamping process features that cannot be directly viewed on the surface of the two-dimensional image to represent the process. Among them, the marks of these parts can be marked in the form of local perspective, dotted line strokes, or local inverted colors on the two-dimensional image of the process card; therefore, in an embodiment of the present application, the lower reference contour line of the three-dimensional model can be used for process marking to accurately reflect the distribution of stamping process features and process parameters in the process card.

[0053] More specifically, different stamping processes will cause different stamping process features to be formed on the surface of the part, such as flanging, trimming, etc. Conversely, the stamping process features existing on the surface of the three-dimensional model of the part reflect the stamping process to be used to produce the part. Different stamping process features are scattered in the areas corresponding to different positions adjacent to the lower reference contour line. Therefore, the distribution of the stamping process can be represented based on the division of the lower reference contour line; in this embodiment of the application, the segmentation result obtained in step S3 can be a segmentation result generated by segmenting the lower reference contour line based on software analysis or manual analysis of the distribution of the stamping process features; the segmentation result obtained in step S3 uses multiple process contour lines generated by segmenting the lower reference contour line to characterize the distribution of the stamping process features and the corresponding processing properties; wherein, in the segmentation result, each process contour line is matched with a process type for characterizing the processing type used for the stamping process feature at that location and a process parameter required for characterizing the processing type to form the corresponding stamping process feature.

[0054] More specifically, since the segmentation results include the process contour line and the process type and process parameters that match the process contour line, the segmentation process of the lower reference contour line preferably includes: a process of segmenting the lower reference contour line based on the stamping process characteristics to obtain the process contour line and a process of marking the process type and process parameter matching of different process contour lines based on the stamping process characteristics.

[0055] More specifically, different stamping process features have different effects on the surface morphology of parts, especially the sizes of the areas affected by stamping process features of different process types vary greatly. In order to more accurately reflect the coverage of different processes on the process card, the process card generation method of the stamping process in the embodiment of the present application is based on the process contour line and its corresponding process type. On the surface of the three-dimensional model used to convert into a two-dimensional image in the process card, the corresponding process area is marked, so that the two-dimensional image in the process card subsequently acquired can intuitively reflect the coverage of the stamping process features that need to be processed corresponding to different processes; the process area is a marked area covered or divided on the surface of the three-dimensional model, which can be divided based on the area boundary or based on color filling, and is used to characterize the coverage of the stamping process features corresponding to different process contour lines; wherein the process area is preferably based on the corresponding process contour line, and is the area range generated by extending to the upper or lower surface of the three-dimensional model based on a preset width corresponding to the corresponding process type.

[0056] More specifically, after the process areas with process contour lines as boundary features are determined on the surface of the three-dimensional model, the process card generation method of the stamping process in the embodiment of the present application can produce a process card based on the three-dimensional model including each process area and the process parameters matching each process area, wherein the two-dimensional image in the process card is an image formed by projection extraction based on the three-dimensional model including each process area, and the parameter data about each stamping process in the process card is filled in by extracting the process parameters matching each process area.

[0057] The method for generating a process card for the stamping process in the embodiment of the present application obtains a segmentation result that can accurately reflect the distribution of stamping process characteristics and process parameters in the process card based on the lower reference contour line that can reflect the stamping processing position and shape, and then generates a process area on the three-dimensional model with the process contour line as the outer boundary, which can accurately reflect the coverage range of different processes. In this way, a process card is produced that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes. This effectively simplifies the production process of the process card for the stamping process and can more intuitively reflect the process requirements for producing corresponding parts.

[0058] In some preferred embodiments, the process contour line is determined by selecting points to segment or selecting segments to segment the reference contour line.

[0059] Specifically, point selection segmentation is a process of determining corresponding segmentation points on the lower reference contour line to divide the lower reference contour line into multiple process contour lines; wherein the segmentation points are determined based on the distribution of stamping process features, such as generating a segmentation point at the corresponding position of the lower reference contour line at the junction or center of two adjacent stamping process features, so as to gradually divide the lower reference contour line into multiple process contour lines, and match the process contour lines with corresponding process types and process parameters based on the stamping process features to obtain segmentation results.

[0060] More specifically, segmentation is a process of pre-dividing the lower reference contour line into multiple local line segments (which may be curve segments or straight line segments), and combining several local line segments into corresponding process contour lines according to stamping process features; wherein the combination of local line segments is determined based on the distribution of stamping process features. For example, if a stamping process feature continuously covers the areas corresponding to three local line segments, these local line segments are combined into a process contour line, and the process type and process parameters corresponding to the matching mark are given to the process contour line based on the stamping process feature to obtain the segmentation result.

[0061] More specifically, point selection segmentation can accurately obtain the appropriate process contour line to generate a process card with high allocation accuracy; segment selection segmentation can adjust the segmentation benchmark (such as the length of the local line segment) according to the actual stamping processing accuracy to obtain a process card that matches the processing accuracy of the production equipment.

[0062] In some preferred embodiments, the segmentation result is obtained by manually correcting a preliminary segmentation result obtained based on a feature recognition model according to a three-dimensional model, that is, the feature recognition model can output a preliminary segmentation result based on the three-dimensional model, and the segmentation result can be obtained by manually correcting the preliminary segmentation result.

[0063] Specifically, the segmentation results of step S3 are obtained based on software analysis and manual correction processing, which can reduce the labor intensity of workers while ensuring that the accuracy of the segmentation results is high enough; wherein, the feature recognition model is a pre-trained graphic recognition model, which is used to extract different stamping process features based on the appearance feature analysis of the three-dimensional model, and segment the distribution range of different stamping process features on the three-dimensional model. The image recognition model is preferably a neural network model, such as the ISS algorithm, SIFT algorithm, etc., which can be trained and acquired by means of machine learning, so it will not be elaborated here.

[0064] More specifically, in some embodiments, a preliminary segmentation result can be directly obtained by inputting the three-dimensional model and the lower reference contour line into a feature recognition model, that is, the feature recognition model can extract the stamping process features based on the three-dimensional model and segment the lower reference contour line based on the stamping process features to obtain the corresponding preliminary segmentation results; in other embodiments, a stamping feature distribution map that can reflect the distribution of stamping process features can be obtained by inputting the three-dimensional model into the feature recognition model, and then the lower reference contour line is segmented based on the stamping feature distribution map through a software algorithm or manually to obtain a preliminary segmentation result; the way the feature recognition model is used depends on the construction and training process of the model; wherein, the preliminary segmentation result includes at least a preliminary divided process contour line (that is, the preliminary process contour line described below) and a corresponding process type, and may also include process parameters matching the preliminary divided process contour line.

[0065] More specifically, the preliminary segmentation results obtained based on the feature recognition model may have certain deviations, such as inaccurate division positions of process contour lines, incorrect configurations of process types and process parameters, etc. Therefore, manual corrections are required to the preliminary segmentation results to obtain segmentation results that actually match the parts, thereby ensuring the accuracy of the data on the subsequent process cards.

[0066] More specifically, in some other implementations, the manually corrected segmentation results can be used as training data for subsequent training of the feature recognition model, so that the preliminary segmentation results generated by the feature recognition model are increasingly accurate.

[0067] In some preferred embodiments, the feature recognition model includes a feature extraction model and a contour segmentation model, and the process of the feature recognition model obtaining a preliminary segmentation result according to the three-dimensional model includes:

[0068] S31, inputting the three-dimensional model into a pre-trained feature extraction model to generate a stamping feature distribution map representing the distribution of stamping process features of the three-dimensional model;

[0069] S32, segmenting the reference contour line according to the stamping feature distribution map based on the pre-trained contour line segmentation model to obtain a preliminary process contour line;

[0070] S33. Based on the characteristic parameters of the stamping characteristic distribution map, the process type and process parameters are configured for the preliminary process contour line to determine the preliminary segmentation result.

[0071] Specifically, the feature recognition model in this embodiment is composed of a feature extraction model, a contour segmentation model and a data association algorithm, wherein step S31 uses the feature extraction model to perform feature analysis and extraction on the three-dimensional model to extract a stamping feature distribution map that can characterize the distribution of stamping process features on the three-dimensional model. Relatively speaking, the stamping features in different areas have corresponding process parameters, wherein the stamping feature distribution map can be a three-dimensional feature contour surface or a two-dimensional feature image; since the lower reference contour line is extracted from the three-dimensional model, the lower reference contour line can be converted into a contour line on the stamping feature distribution map, and step S32 uses the contour segmentation model on this basis to segment the lower reference contour line according to the distribution of stamping process features to obtain a preliminary process contour line; step S33 belongs to the data registration process, so a simple data association algorithm can be used to associate the process parameters and process type (feature parameters) extracted from the stamping feature distribution map with the corresponding preliminary process contour line.

[0072] In some preferred embodiments, the step of generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line includes:

[0073] S41, obtaining area expansion parameters corresponding to different process types;

[0074] S42 , generating process regions corresponding to different process types on the surface of the three-dimensional model based on the region expansion parameters and the process contour lines.

[0075] Specifically, based on the foregoing content, it can be known that the differences in process types between different stamping processes will cause the corresponding stamping process features to have different sizes of coverage. Therefore, the process card generation method of the stamping process in the embodiment of the present application determines the area extension parameters of different process contour lines based on different process types, that is, determines the range of extension required for the process area corresponding to the process contour line expansion generation, so as to accurately generate a process area on the three-dimensional model with the process contour line as the outer boundary, which can accurately reflect the coverage range of different processes.

[0076] More specifically, in an embodiment of the present application, in order to distinguish the differences between process areas of different process types, step S41 preferably also obtains color parameters corresponding to different process types, and step S42 generates process areas corresponding to different process types on the surface of the three-dimensional model based on the area extension parameters, color parameters and process contour lines, so as to intuitively reflect the process type corresponding to the process area through color differences.

[0077] In some preferred embodiments, the process area is generated at the upper surface of the three-dimensional model.

[0078] Specifically, since the two-dimensional image of the process card is mainly a top view, the extension direction of the process area is preferably the upper surface of the three-dimensional model to reduce the consumption of computing resources. The process area is distinguished by the process contour line as the outer boundary and can be directly used to guide stamping process processing.

[0079] In some preferred embodiments, the step of generating a process card based on the process area, process parameters and three-dimensional model includes:

[0080] S51 . Inputting a top view of a three-dimensional model with a process area and process parameters based on a preset process card template to form a process card.

[0081] Specifically, there may be one or more top views in a process card; in an embodiment in which there are multiple top views in a process card, different top views are used to display process areas corresponding to different process types, respectively, so as to clearly distinguish the distribution of process areas of different process types, so as to more clearly guide workers to complete the stamping process to produce parts.

[0082] Second, please refer to Figure 2 Some embodiments of the present application further provide a process card generation device for a stamping process, which is used to generate a process card for a stamping process, and the device includes:

[0083] The first acquisition module 201 is used to acquire a three-dimensional model of a part for which a process card is to be generated;

[0084] An extraction module 202, used to extract a lower reference contour line of the three-dimensional model based on the stamping direction;

[0085] The second acquisition module 203 is used to acquire the segmentation result of the lower reference contour line, the segmentation result includes the process contour line determined by segmenting the lower reference contour line based on different stamping process features and the corresponding process type and process parameters;

[0086] A first generating module 204, for generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line;

[0087] The second generating module 205 is used to generate a process card based on the process area, process parameters and the three-dimensional model.

[0088] The process card generating device for the stamping process in the embodiment of the present application obtains a segmentation result that can accurately reflect the distribution of stamping process characteristics and process parameters in the process card based on the lower reference contour line that can reflect the stamping processing position and shape, and then generates a process area with the process contour line as the outer boundary on the three-dimensional model based on the segmentation result, which can accurately reflect the coverage range of different processes. In this way, a process card is produced that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes. This effectively simplifies the production process of the process card for the stamping process and can more intuitively reflect the process requirements for producing corresponding parts.

[0089] In some preferred embodiments, the process card generating device for the stamping process of the embodiment of the present application is used to execute the process card generating method for the stamping process provided in the first aspect above.

[0090] Third, please refer to Figure 3 Some embodiments of the present application also provide a structural diagram of an electronic device. The present application provides an electronic device, including: a processor 301 and a memory 302. The processor 301 and the memory 302 are interconnected and communicate with each other through a communication bus 303 and / or other forms of connection mechanisms (not marked). The memory 302 stores computer-readable instructions executable by the processor 301. When the electronic device is running, the processor 301 executes the computer-readable instructions to execute the method in any optional implementation of the above embodiments.

[0091] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method in any optional implementation of the above embodiment is executed. The computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk.

[0092] In summary, the embodiments of the present application provide a method, device, electronic device and storage medium for generating a process card for a stamping process, wherein the method for generating a process card for a stamping process obtains a segmentation result that can accurately reflect the distribution of stamping process characteristics and process parameters in the process card based on a lower reference contour line that can reflect the position and shape of the stamping process, and then generates a process area on a three-dimensional model with the process contour line as the outer boundary, which can accurately reflect the coverage range of different processes, based on the segmentation result. In this way, a process card is produced that contains the coverage range and corresponding process parameters of the stamping process characteristics that can intuitively reflect the corresponding processing of different processes, which effectively simplifies the production process of the process card for the stamping process and can more intuitively reflect the process requirements for producing corresponding parts.

[0093] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0094] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0096] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

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

Claims

1. A method for generating a process card for a stamping process, for generating a process card for a stamping process, characterized in that: The method comprises the following steps: Obtain a three-dimensional model of the part for which a process card is to be generated; Extracting the lower reference contour line of the three-dimensional model based on the punching direction, wherein the outer reference contour line of the thin plate-shaped three-dimensional model includes an upper reference contour line and a lower reference contour line, the punching direction is the force direction of the punch of the punching machine, and during the punching process, the lower reference contour line is located on the side of the upper reference contour line away from the punch; Obtaining a segmentation result of the lower reference contour line, the segmentation result including a process contour line determined by segmenting the lower reference contour line based on different stamping process features and corresponding process types and process parameters, the segmentation result being obtained by manually correcting a preliminary segmentation result obtained from the three-dimensional model based on a feature recognition model; Generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour lines; Generate the process card based on the process area, process parameters and three-dimensional model; The feature recognition model includes a feature extraction model and a contour segmentation model. The process of the feature recognition model obtaining a preliminary segmentation result according to the three-dimensional model includes: Inputting the three-dimensional model into a pre-trained feature extraction model to generate a stamping feature distribution map representing the distribution of stamping process features of the three-dimensional model; Based on a pre-trained contour segmentation model, the lower reference contour is segmented according to the stamping feature distribution map to obtain a preliminary process contour; The preliminary process contour line is configured with a process type and process parameters based on the feature parameters of the stamping feature distribution map to determine a preliminary segmentation result.

2. The method for generating a process card for a stamping process according to claim 1, characterized in that: The process contour line is determined by selecting points to segment or selecting segments to segment the lower reference contour line.

3. The method for generating a process card for a stamping process according to claim 1, characterized in that: The step of generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line comprises: Obtaining area expansion parameters corresponding to different process types; Process regions corresponding to different process types are generated on the surface of the three-dimensional model based on the region expansion parameters and the process contour lines.

4. The method for generating a process card for a stamping process according to claim 1, characterized in that: The process area is generated at an upper surface of the three-dimensional model.

5. The method for generating a process card for a stamping process according to claim 1, characterized in that: The step of generating the process card based on the process area, process parameters and three-dimensional model comprises: A top view of a three-dimensional model with a process area and process parameters are input based on a preset process card template to form the process card.

6. A device for generating a process card for a stamping process, used for generating a process card for a stamping process, characterized in that: The device comprises: A first acquisition module is used to acquire a three-dimensional model of a part for which a process card is to be generated; An extraction module is used to extract a lower reference contour line of the three-dimensional model based on a punching direction, wherein the outer reference contour line of the thin plate-shaped three-dimensional model includes an upper reference contour line and a lower reference contour line, and the punching direction is a force application direction of a punch of a punching machine. During the punching process, the lower reference contour line is located on a side of the upper reference contour line away from the punch; A second acquisition module is used to obtain a segmentation result of the lower reference contour line, wherein the segmentation result includes a process contour line determined by segmenting the lower reference contour line based on different stamping process features and a corresponding process type and process parameter, wherein the segmentation result is obtained by manually correcting a preliminary segmentation result obtained according to the three-dimensional model based on a feature recognition model; A first generating module, used for generating process areas corresponding to different process types on the surface of the three-dimensional model based on the process contour line; A second generating module, used for generating the process card based on the process area, process parameters and three-dimensional model; The feature recognition model includes a feature extraction model and a contour segmentation model. The process of the feature recognition model obtaining a preliminary segmentation result according to the three-dimensional model includes: Inputting the three-dimensional model into a pre-trained feature extraction model to generate a stamping feature distribution map representing the distribution of stamping process features of the three-dimensional model; Based on a pre-trained contour segmentation model, the lower reference contour is segmented according to the stamping feature distribution map to obtain a preliminary process contour; The preliminary process contour line is configured with a process type and process parameters based on the feature parameters of the stamping feature distribution map to determine a preliminary segmentation result.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 5 are executed.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are executed.