Workpiece cutting method, device, computer device, readable storage medium and product

CN117943620BActive Publication Date: 2026-10-09SPEEDBOT ROBOTICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311804826.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2026-10-09
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

[0002]在制造领域,工件切割下料是所有生产制造工序的第一步,切割工序会将钢板切割成多个工件后分拣到输送线上,以进行下道工序处理,在这个过程中,不可避免会存在钢板边框上翘、工件切割不透或者工件塌陷的情况,从而导致分拣的工件卡在钢板边框下面,影响工件的分拣

Benefits of technology

[0015] The aforementioned workpiece cutting method, apparatus, computer equipment, computer-readable storage medium, and computer program product first respond to a workpiece cutting command by acquiring a workpiece nesting diagram corresponding to the command; the workpiece nesting diagram contains the workpiece graphic corresponding to the workpiece to be cut. Next, based on the workpiece nesting diagram, the cutting space corresponding to the workpiece to be cut is determined, and thus, based on the cutting space, the cutting line corresponding to the workpiece to be cut is determined. Finally, based on the cutting line, the workpiece scrap between the workpieces to be cut and between the workpiece and the steel plate frame is cut to obtain the workpiece cutting result corresponding to the workpiece to be cut. In this way, the cutting line that meets the cutting conditions is automatically calculated based on the nesting diagram. Using this cutting line to cut the workpiece scrap enables automatic cutting of the workpiece scrap, reducing manual intervention and lowering the cutting risk of the cutting machine, which is beneficial for subsequent workpiece sorting. Therefore, the above method can effectively cut the scrap between workpieces, thereby improving the efficiency of subsequent workpiece sorting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117943620B_ABST
    Figure CN117943620B_ABST
Patent Text Reader

Abstract

The application relates to a workpiece cutting method and device, computer equipment, a readable storage medium and a product, and relates to the technical field of workpiece cutting. The method comprises the following steps: in response to a workpiece cutting instruction, a workpiece nesting drawing corresponding to the workpiece cutting instruction is acquired; the workpiece nesting drawing contains a workpiece pattern corresponding to a workpiece to be cut; a cuttable space corresponding to the workpiece to be cut is divided in the workpiece nesting drawing; a cutting line corresponding to the workpiece to be cut is determined according to the cuttable space; and the workpiece to be cut is subjected to workpiece cutting based on the cutting line, so that a workpiece cutting result corresponding to the workpiece to be cut is obtained. The method can improve the efficiency of subsequent workpiece sorting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of workpiece cutting technology, and in particular to a workpiece cutting method, apparatus, computer equipment, readable storage medium, and product. Background Technology

[0002] In the manufacturing industry, workpiece cutting is the first step in all production processes. The cutting process cuts steel plates into multiple workpieces and sorts them onto a conveyor line for the next process. In this process, it is inevitable that the steel plate edges will curl up, the workpieces will not be cut through, or the workpieces will collapse, which will cause the sorted workpieces to get stuck under the steel plate edges and affect the sorting of the workpieces.

[0003] To address this issue, the current practice is to manually sort parts that may get stuck under the steel plate frame based on the condition of the cut steel plate. However, this method not only increases labor costs but also reduces the efficiency of workpiece sorting. Summary of the Invention

[0004] Therefore, it is necessary to provide a workpiece cutting method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve workpiece sorting efficiency in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a workpiece cutting method. The method includes: in response to a workpiece cutting command, obtaining a workpiece nesting diagram corresponding to the workpiece cutting command; the workpiece nesting diagram containing a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cutable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0006] In one embodiment, dividing the cuttable space corresponding to the workpiece to be cut in the workpiece nesting diagram includes: extracting the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting diagram; determining the border data based on the border outline and determining the workpiece data based on the workpiece outline; obtaining the target space composed of the workpiece data and the border data, and using the target space as the cuttable space.

[0007] In one embodiment, determining the cutting line corresponding to the workpiece to be cut based on the cuttable space includes: obtaining the adjacent workpieces corresponding to the workpiece to be cut, and obtaining the adjacent borders corresponding to the workpiece to be cut; determining the contours of the adjacent workpieces based on the adjacent workpieces, and determining the contours of the adjacent borders based on the adjacent borders; and determining the cutting line corresponding to the workpiece to be cut based on the contours of the adjacent workpieces and the contours of the adjacent borders.

[0008] In one embodiment, determining the cutting line corresponding to the workpiece to be cut based on the adjacent workpiece contours and the adjacent border contours includes: obtaining an initial cutting space composed of the adjacent workpiece contours and the adjacent border contours; extracting the overlapping space between the initial cutting space and the cuttable space; and generating the cutting line corresponding to the workpiece to be cut in the overlapping space.

[0009] In one embodiment, the cutting line includes multiple candidate cutting lines. Generating a cutting line corresponding to the workpiece to be cut in the overlapping space includes: generating multiple candidate cutting lines in the overlapping space; obtaining preset cutting conditions; and selecting a target cutting line from the multiple candidate cutting lines based on the cutting conditions.

[0010] In one embodiment, the cutting conditions include cutting length conditions and cutting space conditions. Based on the cutting conditions, the target cutting line is selected from multiple candidate cutting lines, including: obtaining the cutting length corresponding to each of the multiple candidate cutting lines and the cutting space corresponding to each of the multiple candidate cutting lines; if the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, then the candidate cutting line is taken as the target cutting line.

[0011] Secondly, this application also provides a workpiece cutting apparatus. The apparatus includes: a nesting diagram acquisition module, used to acquire a workpiece nesting diagram corresponding to a workpiece cutting command in response to a workpiece cutting command; the workpiece nesting diagram contains a workpiece graphic corresponding to the workpiece to be cut; a cutting space determination module, used to divide the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; a cutting line determination module, used to determine the cutting line corresponding to the workpiece to be cut based on the cutable space; and a cutting module, used to cut the workpiece to be cut based on the cutting line to obtain the workpiece cutting result corresponding to the workpiece to be cut.

[0012] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: in response to a workpiece cutting command, obtaining a workpiece nesting diagram corresponding to the workpiece cutting command; the workpiece nesting diagram contains a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; determining the cutting line corresponding to the workpiece to be cut based on the cutable space; and performing workpiece cutting based on the cutting line to obtain the workpiece cutting result corresponding to the workpiece to be cut.

[0013] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps: in response to a workpiece cutting instruction, obtaining a workpiece nesting diagram corresponding to the workpiece cutting instruction; the workpiece nesting diagram includes a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cutable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0014] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps: in response to a workpiece cutting instruction, obtaining a workpiece nesting diagram corresponding to the workpiece cutting instruction; the workpiece nesting diagram containing a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cutable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0015] The aforementioned workpiece cutting method, apparatus, computer equipment, computer-readable storage medium, and computer program product first respond to a workpiece cutting command by acquiring a workpiece nesting diagram corresponding to the command; the workpiece nesting diagram contains the workpiece graphic corresponding to the workpiece to be cut. Next, based on the workpiece nesting diagram, the cutting space corresponding to the workpiece to be cut is determined, and thus, based on the cutting space, the cutting line corresponding to the workpiece to be cut is determined. Finally, based on the cutting line, the workpiece scrap between the workpieces to be cut and between the workpiece and the steel plate frame is cut to obtain the workpiece cutting result corresponding to the workpiece to be cut. In this way, the cutting line that meets the cutting conditions is automatically calculated based on the nesting diagram. Using this cutting line to cut the workpiece scrap enables automatic cutting of the workpiece scrap, reducing manual intervention and lowering the cutting risk of the cutting machine, which is beneficial for subsequent workpiece sorting. Therefore, the above method can effectively cut the scrap between workpieces, thereby improving the efficiency of subsequent workpiece sorting. Attached Figure Description

[0016] Figure 1 This is a schematic diagram illustrating an application scenario of the workpiece cutting method in one embodiment;

[0017] Figure 2 This is a flowchart illustrating a workpiece cutting method in one embodiment;

[0018] Figure 3 This is a schematic diagram of the workpiece nesting diagram in one embodiment;

[0019] Figure 4This is a flowchart illustrating the process of determining a cuttable space in one embodiment;

[0020] Figure 5 This is a flowchart illustrating the process of determining adjacent contours in one embodiment;

[0021] Figure 6 This is a schematic diagram of the process for obtaining the overlapping space in one embodiment;

[0022] Figure 7 This is a schematic diagram of the process for filtering cutting lines in one embodiment;

[0023] Figure 8 This is a schematic diagram of the specific process of a workpiece cutting method in one embodiment;

[0024] Figure 9 This is a schematic diagram of a cuttable space in one embodiment;

[0025] Figure 10 This is a schematic diagram of the cutting line in one embodiment;

[0026] Figure 11 This is a structural block diagram of a workpiece cutting device in one embodiment;

[0027] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0029] In the manufacturing industry, workpiece cutting is the first step in all production processes. The cutting process cuts steel plates into multiple workpieces, which are then sorted onto a conveyor line for further processing. During this process, it's inevitable that the steel plate edges may warp, the workpiece may not be cut completely through, or the workpiece may collapse. In subsequent automatic sorting, these workpieces can easily get stuck under the steel plate edges, causing the edges to shift and the workpiece to move, resulting in misalignment and automatic sorting failure. To address this, manual handling is typically used. This involves manually sorting workpieces that might be stuck under the steel plate edges based on the condition of the cut steel plate. However, manual handling of the cut steel plates not only increases labor costs and reduces production efficiency but also increases safety hazards. Besides manual handling, a cutting machine is often used to cut the steel plate scrap while cutting the workpiece. However, this method usually requires manually adding additional cutting lines to the steel plate edges so that the cutting machine can cut the edges simultaneously with the workpiece. This not only increases labor costs but also increases the risk of accidents during the cutting process.

[0030] The workpiece cutting method provided in this disclosure can be applied to, for example... Figure 1 The application environment shown includes a server 102 and a terminal 104, which communicate with each other. Specifically, when the server 102 receives a workpiece cutting instruction from the terminal 104, it first obtains the workpiece nesting diagram corresponding to the cutting instruction. This workpiece nesting diagram includes the workpiece graphic corresponding to the workpiece to be cut. Based on the workpiece nesting diagram, the server 102 calculates the cuttable space corresponding to the workpiece to be cut, and then calculates the cutting line of the workpiece to be cut within the cuttable space. Finally, the cutting line is used to cut the workpiece to be cut, obtaining the workpiece cutting result. In this way, the cutting line that meets the cutting conditions is automatically calculated based on the nesting diagram, and the workpiece waste is cut using the cutting line. This enables automatic cutting of workpiece waste, reducing manual intervention and the cutting risk of the cutting machine, which is beneficial to improving the efficiency of subsequent workpiece sorting. The server 102 can be implemented using a standalone server or a server cluster composed of multiple servers, and the terminal 104 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, and IoT devices.

[0031] In one embodiment, such as Figure 2 As shown, a workpiece cutting method is provided, which is applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps:

[0032] Step S202: In response to the workpiece cutting command, obtain the workpiece nesting diagram corresponding to the workpiece cutting command; the workpiece nesting diagram contains the workpiece graphic corresponding to the workpiece to be cut.

[0033] Nesting diagrams refer to the practice of placing multiple workpieces on the same drawing during the manufacturing process to facilitate centralized cutting or processing, such as... Figure 3 As shown, the workpiece graphic is generated proportionally based on the actual workpiece. The workpiece cutting command refers to the instruction to cut the workpiece.

[0034] Specifically, when the server receives a workpiece cutting instruction, it can first obtain the workpiece nesting diagram corresponding to the instruction. The workpiece nesting diagram contains workpiece graphics corresponding to multiple workpieces to be cut. Based on each workpiece graphic, the cutting line corresponding to each workpiece to be cut can be calculated, so as to use the cutting line to cut the workpiece to be cut.

[0035] Step S204: Divide the cuttable space corresponding to the workpiece to be cut in the workpiece nesting diagram.

[0036] The cuttable space can refer to the space in which the workpiece to be cut can be cut into workpiece scrap. It can include the cutting space between the workpiece to be cut and adjacent workpieces, and it can also include the cutting space between the workpiece to be cut and the steel plate frame.

[0037] Specifically, after the server obtains the workpiece nesting diagram, it can extract the border outline and the workpiece outline of each workpiece to be cut from the diagram. The final display form of the outline can be outline line segments, and a workpiece to be cut can have multiple outline line segments. Next, based on the workpiece outline, the server obtains the workpiece data of each workpiece to be cut, and the border data based on the border outline. Based on the workpiece data and the border data, the server calculates the target space, which is the cuttable space corresponding to the workpiece to be cut.

[0038] Step S206: Determine the cutting line corresponding to the workpiece to be cut based on the available cutting space.

[0039] The cutting line refers to the line segment used to cut the scrap material of the workpiece. Cutting lines can include those between workpieces and those between the workpiece and the steel plate frame. It's important to note that cutting lines can only exist on the scrap material between workpieces or between the workpiece and the steel plate frame. The cutting lines must meet preset cutting conditions to ensure the final workpiece cutting result meets requirements.

[0040] Specifically, after the server calculates the cuttable space of the workpiece to be cut, it needs to determine the cutting line within that space. For any workpiece contour of any workpiece to be cut, the adjacent workpieces and adjacent borders corresponding to that workpiece can be obtained first, thus obtaining the workpiece data of the adjacent workpieces and the border data of the adjacent borders. Then, the adjacent workpiece contour of the workpiece contour is found in the workpiece data of the adjacent workpieces, and the adjacent border contour of the workpiece contour is found in the border data of the adjacent borders. This workpiece contour, the adjacent workpiece contours, and the adjacent border contours are combined to form a cutting space, and a cutting line segment is obtained within this cutting space. By repeating this process, the cutting line segments corresponding to all workpiece contours of the workpiece to be cut can be obtained, thus obtaining the cutting lines corresponding to all workpiece contours of all workpieces to be cut in the workpiece nesting diagram.

[0041] Step S208: Based on the cutting line, perform workpiece cutting to obtain the workpiece cutting result corresponding to the workpiece to be cut.

[0042] The cutting line includes multiple candidate cutting lines, meaning a single workpiece can have multiple candidate cutting lines. To ensure the final workpiece cutting result meets expectations, the cutting lines can be filtered, i.e., the target cutting line that meets the cutting conditions can be selected. The target cutting line is any one of the multiple candidate cutting lines, and it is the line segment used to cut the workpiece scrap. The workpiece cutting result can represent the scrap cutting effect of the workpiece, such as whether the cut is complete, whether there are any incomplete cuts, and whether there is still a connection with the steel plate frame. The specific workpiece cutting result is not limited here and can be set according to the actual situation.

[0043] Specifically, after the server calculates multiple candidate cutting lines for each workpiece to be cut, it filters these candidate cutting lines according to pre-set cutting conditions to select the target cutting line that meets the cutting conditions. The target cutting line is then used to cut the workpiece waste to obtain the corresponding workpiece cutting result.

[0044] In this embodiment, firstly, in response to a workpiece cutting command, a workpiece nesting diagram corresponding to the command is obtained; the workpiece nesting diagram contains the workpiece graphic corresponding to the workpiece to be cut. Next, based on the workpiece nesting diagram, the cutting space corresponding to the workpiece to be cut is determined, and thus, based on the cutting space, the cutting line corresponding to the workpiece to be cut is determined. Finally, based on the cutting line, the workpiece scrap between the workpieces to be cut and between the workpiece and the steel plate frame is cut to obtain the workpiece cutting result corresponding to the workpiece to be cut. Thus, the cutting line that meets the cutting conditions is automatically calculated based on the nesting diagram. Using this cutting line to cut the workpiece scrap enables automatic cutting of the workpiece scrap, reducing manual intervention and lowering the cutting risk of the cutting machine, which is beneficial for subsequent workpiece sorting. Therefore, this embodiment can effectively cut the scrap between workpieces, thereby improving the efficiency of subsequent workpiece sorting.

[0045] In one embodiment, such as Figure 4 As shown, the cutable space corresponding to the workpiece to be cut is divided in the workpiece nesting diagram, including:

[0046] Step S402: Extract the outline of the frame and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting drawing.

[0047] Here, the border profile refers to the outline of the steel plate border on which the workpiece to be cut is located. The workpiece profile refers to the profile corresponding to the workpiece to be cut.

[0048] Specifically, since the workpiece nesting drawing contains the workpiece graphics corresponding to each workpiece to be cut, as well as the steel plate border graphics, the contour cutting of each workpiece graphic can be performed directly to obtain the workpiece contour corresponding to each workpiece to be cut, and the border contour can be directly obtained from the steel plate border graphics. Each workpiece to be cut can have multiple workpiece contours, and each steel plate can have multiple border contours.

[0049] Step S404: Determine border data based on border contour, and determine workpiece data based on workpiece contour.

[0050] Specifically, the border data is obtained by combining all the border contours, and the workpiece data is obtained by combining all the workpiece contours of the workpiece to be cut. It can be understood that the border data contains all the border contours, and the workpiece data includes all the workpiece contours of the workpiece to be cut. Furthermore, the border data contains all the contour line segments of the border, and the workpiece data includes all the contour line segments of the workpiece to be cut.

[0051] Step S406: Obtain the target space formed by the workpiece data and the border data, and use the target space as the cuttable space.

[0052] The target space refers to the space enclosed by the workpiece data and the border data. It can be understood that both the workpiece data and the border data include multiple contour lines, which can enclose a space.

[0053] Specifically, after obtaining the workpiece data and the border data, the space enclosed by the workpiece data and the border data is further obtained, and this space is used as the cuttable space of the workpiece to be cut.

[0054] In this embodiment, by extracting the workpiece contour and the border contour, workpiece data corresponding to the workpiece contour and border data corresponding to the border contour are obtained. The space formed by the workpiece data and the border data is then used as the cuttable space for the workpiece to be cut. This improves the accuracy of the cuttable space, facilitating the subsequent effective cutting of waste materials between workpieces, thereby improving the efficiency of subsequent workpiece sorting.

[0055] In one embodiment, such as Figure 5 As shown, based on the available space, the cutting line corresponding to the workpiece to be cut is determined, including:

[0056] Step S502: Obtain the adjacent workpieces corresponding to the workpiece to be cut, and obtain the adjacent borders corresponding to the workpiece to be cut.

[0057] Among them, adjacent workpieces refer to workpieces that are adjacent to the workpiece to be cut, and adjacent borders refer to borders that are adjacent to the workpiece to be cut.

[0058] Specifically, the server can first obtain the position of the workpiece to be cut, and then obtain the workpieces adjacent to the workpiece to be cut according to the positional relationship between the workpieces. The positional relationship between the workpieces can be pre-created, and the positions between each workpiece can be recorded. Similarly, the server can obtain the border adjacent to the workpiece to be cut according to the positional relationship between the workpiece and the border. The positional relationship between the workpiece and the border can be pre-created, and the positions between each workpiece and the border can be recorded.

[0059] Step S504: Determine the contour of adjacent workpieces based on adjacent workpieces, and determine the contour of adjacent borders based on adjacent borders.

[0060] Among them, the adjacent workpiece contour refers to the workpiece contour that is adjacent to the workpiece contour of the workpiece to be cut, and the adjacent border contour refers to the border contour that is adjacent to the workpiece contour of the workpiece to be cut.

[0061] Specifically, the server can first determine a certain workpiece outline in the workpiece to be cut. After obtaining the adjacent workpieces and adjacent borders, it can simultaneously obtain the workpiece data corresponding to the adjacent workpieces, i.e., the workpiece outline, and the border data corresponding to the adjacent borders, i.e., the border outline. In the workpiece outlines of the adjacent workpieces, find the outline that is adjacent to a certain workpiece outline in the workpiece to be cut, and in the border outlines of the adjacent borders, find the outline that is adjacent to a certain workpiece outline in the workpiece to be cut.

[0062] Step S506: Determine the cutting line corresponding to the workpiece to be cut based on the contours of adjacent workpieces and adjacent border contours.

[0063] Specifically, after the server obtains the contours of the adjacent workpieces and the adjacent borders corresponding to the workpiece to be cut, these contours can form a cutting space, in which the cutting line of the workpiece to be cut is determined.

[0064] In this embodiment, by obtaining the contours of adjacent workpieces adjacent to the workpiece to be cut, and the contours of the border adjacent to the workpiece to be cut, a cutting line is obtained in the space formed by these contours. This improves the accuracy of the cutting line and facilitates the effective cutting of waste between workpieces, thereby improving the efficiency of subsequent workpiece sorting.

[0065] In one embodiment, such as Figure 6 As shown, the cutting lines corresponding to the workpiece to be cut are determined based on the contours of adjacent workpieces and adjacent border contours, including:

[0066] Step S602: Obtain the initial cutting space composed of the contours of adjacent workpieces and the contours of adjacent borders.

[0067] The initial cutting space refers to the space formed by the outlines of adjacent workpieces and the outlines of adjacent borders. This space may have spatial intersection with the cuttable space, that is, spatial overlap. Therefore, the space needs to be processed to form a cutting space that does not intersect with the workpiece to be cut.

[0068] Step S604: Extract the overlapping space between the initial cutting space and the cuttable space.

[0069] Among them, the overlapping space refers to the space that overlaps between the initial cutting space and the cutable space.

[0070] Specifically, the space formed by the contours of adjacent workpieces and the contours of adjacent borders is taken as the initial cutting space. The intersection of the initial cutting space and the cuttable space is then calculated to obtain the overlapping space between the initial cutting space and the cuttable space.

[0071] Step S606: Generate the cutting line corresponding to the workpiece to be cut in the overlapping space.

[0072] Specifically, the overlapping space is the cutting space that does not intersect with the workpiece itself. Therefore, the workpiece waste is cut in this overlapping space, which means that a cutting line for cutting the workpiece waste is generated in this overlapping space. The cutting line can be generated using existing cutting line generation tools, or other methods can be used to generate the cutting line according to the actual situation. The specific cutting line generation method is not limited here.

[0073] In this embodiment, by generating a cutting line in a cutting space that does not intersect with the workpiece itself, the accuracy of the cutting line is effectively improved, which facilitates the subsequent effective cutting of waste between workpieces, thereby improving the efficiency of subsequent workpiece sorting.

[0074] In one embodiment, such as Figure 7 As shown, generating the cutting line corresponding to the workpiece to be cut in the overlapping space includes:

[0075] Step S702: Generate multiple candidate cutting lines in the overlapping space.

[0076] Step S704: Obtain preset cutting conditions, and select the target cutting line from multiple candidate cutting lines based on the cutting conditions.

[0077] Among them, the cutting conditions refer to the conditions that the cutting line must meet, which may include the cutting length conditions and the cutting space conditions. The cutting length conditions can refer to the conditions that the length of the cutting line needs to meet, and the cutting space conditions can refer to the space conditions that the cutting line can cut.

[0078] Specifically, the server can generate multiple candidate cutting lines in the overlapping space, obtain pre-created cutting length conditions and cutting space conditions, and select the target cutting line from the multiple candidate cutting lines based on the cutting length conditions and cutting space conditions. The target cutting line is the line segment for cutting the workpiece waste of the workpiece to be cut.

[0079] In one embodiment, the cutting lengths corresponding to multiple candidate cutting lines and the cutting spaces corresponding to multiple candidate cutting lines can be obtained. If the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, the current candidate cutting line is taken as the target cutting line. If either the cutting length condition or the cutting space condition is not met, or neither condition is met, the current candidate cutting line cannot be taken as the target cutting line.

[0080] In this embodiment, based on the cutting conditions, a target cutting line is selected from multiple candidate cutting lines to ensure that the target cutting line meets the conditions, thereby ensuring that the workpiece cutting result meets expectations, facilitating the effective cutting of waste between workpieces in the subsequent process, and thus improving the efficiency of subsequent workpiece sorting.

[0081] In one specific embodiment, such as Figure 8 As shown, the workpiece cutting method may include the following steps:

[0082] S1: Obtain nesting diagram data. That is, in response to the workpiece cutting command, the server obtains the nesting diagram data corresponding to the command. The nesting diagram contains workpiece graphics corresponding to multiple workpieces to be cut.

[0083] S2: Calculate workpiece data, border data, and cuttable space. That is, extract the border outline and the workpiece outline corresponding to the workpiece to be cut from the nesting diagram data; determine the border data based on the border outline; and determine the workpiece data based on the workpiece outline. Then, the target space formed by the workpiece data and the border data is used as the cuttable space corresponding to the workpiece to be cut. Figure 9 As shown, the black part is the workpiece to be cut, and the white part is the space that can be cut.

[0084] S3: Calculate the contours of adjacent workpieces and adjacent borders. That is, obtain the adjacent workpieces corresponding to the workpiece to be cut, and the adjacent borders corresponding to the workpiece to be cut, determine the contours of adjacent workpieces based on the adjacent workpieces, and determine the contours of adjacent borders based on the adjacent borders.

[0085] S4: Generate cutting lines. This involves obtaining the initial cutting space composed of the contours of adjacent workpieces and adjacent border contours, extracting the overlapping space (intersection) between the initial cutting space and the cuttable space, which is the cutting space independent of the workpiece itself. Cutting lines are then generated in this overlapping space. This process continues until all workpieces have corresponding cutting lines generated.

[0086] S5: Filter cutting lines that meet the cutting conditions. That is, for each workpiece to be cut, multiple candidate cutting lines are checked to see if they meet the cutting conditions, including cutting length and cutting space conditions. If both are met, they are used as the target cutting line for cutting the workpiece. The final cutting line filtering results are as follows: Figure 10 As shown, the black line segments represent cutting lines that meet the cutting conditions. It should be noted that the black line segments on the workpiece to be cut represent the workpiece outline, that is, which workpiece outline of the workpiece to be cut is connected to by the cutting line.

[0087] In this embodiment, the cutting line that meets the cutting conditions is automatically calculated based on the nesting diagram. Using the cutting line to cut the workpiece enables the automatic cutting off of workpiece waste. This reduces the degree of manual intervention and also reduces the cutting risk of the cutting machine, which is beneficial to the subsequent workpiece sorting. Therefore, this embodiment can effectively cut off the waste between workpieces, thereby improving the efficiency of subsequent workpiece sorting and contributing to the increase in production capacity.

[0088] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0089] Based on the same inventive concept, this application also provides a workpiece cutting apparatus for implementing the workpiece cutting method described above. The solution provided by this apparatus is similar to the solution described in the above method; therefore, the specific limitations in one or more workpiece cutting apparatus embodiments provided below can be found in the limitations of the workpiece cutting method described above, and will not be repeated here.

[0090] In one embodiment, such as Figure 11 As shown, a workpiece cutting device is provided, including: a nesting diagram acquisition module 1102, a cutting space determination module 1104, and a cutting line determination module 1106, wherein: the nesting diagram acquisition module 1102 is used to acquire a workpiece nesting diagram corresponding to the workpiece cutting command in response to the workpiece cutting command; the workpiece nesting diagram contains a workpiece graphic corresponding to the workpiece to be cut; the cutting space determination module 1104 is used to divide the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; the cutting line determination module 1106 is used to determine the cutting line corresponding to the workpiece to be cut based on the cutable space; and the cutting module 1108 is used to cut the workpiece to be cut based on the cutting line to obtain the workpiece cutting result corresponding to the workpiece to be cut.

[0091] In one embodiment, the cutting space determination module 1104 is further configured to: extract the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting diagram; determine the border data based on the border outline and determine the workpiece data based on the workpiece outline; obtain the target space composed of the workpiece data and the border data, and use the target space as the cuttable space.

[0092] In one embodiment, the cutting line determination module 1106 further includes: an adjacent data acquisition unit, used to acquire adjacent workpieces corresponding to the workpiece to be cut, and to acquire adjacent borders corresponding to the workpiece to be cut; an adjacent contour determination unit, used to determine the contours of adjacent workpieces based on adjacent workpieces, and to determine the contours of adjacent borders based on adjacent borders; and a cutting line determination unit, used to determine the cutting line corresponding to the workpiece to be cut based on the contours of adjacent workpieces and the contours of adjacent borders.

[0093] In one embodiment, the cutting line determination unit further includes: a space acquisition subunit for acquiring an initial cutting space composed of adjacent workpiece contours and adjacent border contours; a space extraction subunit for extracting the overlapping space between the initial cutting space and the cuttable space; and a cutting line generation subunit for generating the cutting line corresponding to the workpiece to be cut in the overlapping space.

[0094] In one embodiment, the cutting line generation subunit further includes: a candidate cutting line generation subunit, used to generate multiple candidate cutting lines in the overlapping space; and a cutting line selection unit, used to obtain preset cutting conditions and select a target cutting line from the multiple candidate cutting lines based on the cutting conditions.

[0095] In one embodiment, the cutting line selection unit is further configured to: obtain the cutting length corresponding to each of the multiple candidate cutting lines, and the cutting space corresponding to each of the multiple candidate cutting lines; if the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, then the candidate cutting line is selected as the target cutting line.

[0096] Each module in the aforementioned workpiece cutting device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0097] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores item recommendation data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a workpiece cutting method.

[0098] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0099] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: in response to a workpiece cutting instruction, obtaining a workpiece nesting diagram corresponding to the workpiece cutting instruction; the workpiece nesting diagram includes a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cutable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cutable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0100] In one embodiment, when the processor executes the computer program, it further performs the following steps: extracting the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting drawing; determining the border data based on the border outline and determining the workpiece data based on the workpiece outline; obtaining the target space composed of the workpiece data and the border data, and using the target space as the cuttable space.

[0101] In one embodiment, when the processor executes the computer program, it further implements the following steps: obtaining adjacent workpieces corresponding to the workpiece to be cut, and obtaining adjacent borders corresponding to the workpiece to be cut; determining the contours of adjacent workpieces based on adjacent workpieces, and determining the contours of adjacent borders based on adjacent borders; and determining the cutting line corresponding to the workpiece to be cut based on the contours of adjacent workpieces and the contours of adjacent borders.

[0102] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining an initial cutting space composed of adjacent workpiece contours and adjacent border contours; extracting the overlapping space between the initial cutting space and the cuttable space; and generating a cutting line corresponding to the workpiece to be cut in the overlapping space.

[0103] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating multiple candidate cutting lines in the overlapping space; obtaining preset cutting conditions; and selecting a target cutting line from the multiple candidate cutting lines based on the cutting conditions.

[0104] In one embodiment, when the processor executes the computer program, it further implements the following steps: obtaining the cutting length corresponding to each of the multiple candidate cutting lines, and the cutting space corresponding to each of the multiple candidate cutting lines; if the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, then the candidate cutting line is taken as the target cutting line.

[0105] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps: in response to a workpiece cutting instruction, obtaining a workpiece nesting diagram corresponding to the workpiece cutting instruction; the workpiece nesting diagram containing a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cuttable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cuttable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0106] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: extracting the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting drawing; determining the border data based on the border outline and determining the workpiece data based on the workpiece outline; obtaining the target space composed of the workpiece data and the border data, and using the target space as the cuttable space.

[0107] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: obtaining adjacent workpieces corresponding to the workpiece to be cut, and obtaining adjacent borders corresponding to the workpiece to be cut; determining the contours of adjacent workpieces based on adjacent workpieces, and determining the contours of adjacent borders based on adjacent borders; and determining the cutting line corresponding to the workpiece to be cut based on the contours of adjacent workpieces and the contours of adjacent borders.

[0108] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining an initial cutting space composed of adjacent workpiece contours and adjacent border contours; extracting the overlapping space between the initial cutting space and the cuttable space; and generating a cutting line corresponding to the workpiece to be cut in the overlapping space.

[0109] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating multiple candidate cutting lines in the overlapping space; obtaining preset cutting conditions; and selecting a target cutting line from the multiple candidate cutting lines based on the cutting conditions.

[0110] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the cutting length corresponding to each of the multiple candidate cutting lines, and the cutting space corresponding to each of the multiple candidate cutting lines; if the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, then the candidate cutting line is taken as the target cutting line.

[0111] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: in response to a workpiece cutting instruction, obtaining a workpiece nesting diagram corresponding to the workpiece cutting instruction; the workpiece nesting diagram containing a workpiece graphic corresponding to the workpiece to be cut; dividing the workpiece nesting diagram into a cuttable space corresponding to the workpiece to be cut; determining a cutting line corresponding to the workpiece to be cut based on the cuttable space; and performing workpiece cutting based on the cutting line to obtain a workpiece cutting result corresponding to the workpiece to be cut.

[0112] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: extracting the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting drawing; determining the border data based on the border outline and determining the workpiece data based on the workpiece outline; obtaining the target space composed of the workpiece data and the border data, and using the target space as the cuttable space.

[0113] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: obtaining adjacent workpieces corresponding to the workpiece to be cut, and obtaining adjacent borders corresponding to the workpiece to be cut; determining the contours of adjacent workpieces based on adjacent workpieces, and determining the contours of adjacent borders based on adjacent borders; and determining the cutting line corresponding to the workpiece to be cut based on the contours of adjacent workpieces and the contours of adjacent borders.

[0114] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining an initial cutting space composed of adjacent workpiece contours and adjacent border contours; extracting the overlapping space between the initial cutting space and the cuttable space; and generating a cutting line corresponding to the workpiece to be cut in the overlapping space.

[0115] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating multiple candidate cutting lines in the overlapping space; obtaining preset cutting conditions; and selecting a target cutting line from the multiple candidate cutting lines based on the cutting conditions.

[0116] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the cutting length corresponding to each of the multiple candidate cutting lines, and the cutting space corresponding to each of the multiple candidate cutting lines; if the cutting length meets the cutting length condition and the cutting space meets the cutting space condition, then the candidate cutting line is taken as the target cutting line.

[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0119] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0120] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A workpiece cutting method, characterized in that, The method includes: In response to a workpiece cutting command, a workpiece nesting diagram corresponding to the workpiece cutting command is obtained; the workpiece nesting diagram contains a workpiece graphic corresponding to the workpiece to be cut. Based on the workpiece nesting diagram, determine the workpiece data and border data, obtain the target space formed by the workpiece data and the border data, and use the target space as the cuttable space corresponding to the workpiece to be cut. Based on the cuttable space, determine the contours of adjacent workpieces and adjacent borders, and obtain the initial cutting space composed of the contours of adjacent workpieces and adjacent borders. Extract the overlapping space between the initial cutting space and the cuttable space; Multiple candidate cutting lines are generated in the overlapping space; Obtain preset cutting conditions, and select a target cutting line from a plurality of candidate cutting lines based on the cutting conditions; Based on the target cutting line, the workpiece to be cut is cut to obtain the workpiece cutting result corresponding to the workpiece to be cut.

2. The method according to claim 1, characterized in that, The step of determining workpiece data and border data based on the workpiece nesting diagram includes: Extract the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting diagram; Border data is determined based on the border contour, and workpiece data is determined based on the workpiece contour.

3. The method according to claim 1, characterized in that, The step of determining the contours of adjacent workpieces and adjacent borders based on the cuttable space includes: Obtain the adjacent workpieces corresponding to the workpiece to be cut, and obtain the adjacent borders corresponding to the workpiece to be cut; The contours of adjacent workpieces are determined based on the adjacent workpieces, and the contours of adjacent borders are determined based on the adjacent borders.

4. The method according to claim 1, characterized in that, The cutting conditions include cutting length conditions and cutting space conditions. The step of selecting a target cutting line from a plurality of candidate cutting lines based on the cutting conditions includes: Obtain the cutting length corresponding to each of the multiple candidate cutting lines, and the cutting space corresponding to each of the multiple candidate cutting lines; If the cutting length satisfies the cutting length condition and the cutting space satisfies the cutting space condition, then the candidate cutting line is taken as the target cutting line.

5. A workpiece cutting device, characterized in that, The apparatus is applicable to the method according to any one of claims 1 to 4, wherein the apparatus comprises: The nesting diagram acquisition module is used to acquire a workpiece nesting diagram corresponding to the workpiece cutting command in response to the workpiece cutting command; the workpiece nesting diagram contains a workpiece graphic corresponding to the workpiece to be cut. The cutting space determination module is used to divide the cuttable space corresponding to the workpiece to be cut in the workpiece nesting diagram. The cutting line determination module is used to determine the cutting line corresponding to the workpiece to be cut based on the cuttable space. The cutting module is used to cut the workpiece to be cut based on the cutting line, and obtain the workpiece cutting result corresponding to the workpiece to be cut.

6. The apparatus according to claim 5, characterized in that, The cutting space determination module is also used for: Extract the border outline and the workpiece outline corresponding to the workpiece to be cut from the workpiece nesting diagram; Border data is determined based on the border contour, and workpiece data is determined based on the workpiece contour.

7. The apparatus according to claim 5, characterized in that, The cutting line determination module is also used for: Obtain the adjacent workpieces corresponding to the workpiece to be cut, and obtain the adjacent borders corresponding to the workpiece to be cut; The contours of adjacent workpieces are determined based on the adjacent workpieces, and the contours of adjacent borders are determined based on the adjacent borders.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Plate cutting method and device, computer equipment and storage medium

    CN117215257A

  • Plate cutting device and method

    CN117260319A