A processing method and device for automatically generating a high-energy beam three-dimensional processing path

Through the automated three-dimensional processing path generation method, the problem of tedious and incorrect selection of traditional high-energy beam cutting processing paths is solved, efficient and accurate processing path generation is achieved, processing quality and production efficiency are improved, and it is suitable for complex workpieces and reduces the cost of processing. production costs.

CN117055463BActive Publication Date: 2024-09-06ROUSHENGGANG INTELLIGENT TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311015921.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2024-09-06
Estimated Expiration
2043-08-14

AI Technical Summary

Technical Problem

Traditional high-energy beam cutting processing path selection relies on manual operation, which is cumbersome and prone to mis-selection, resulting in a decrease in processing quality, and may cause equipment damage, especially when processing complex workpieces.

Method used

A processing method for automatically generating high-energy beam three-dimensional processing paths is adopted. By selecting the initial surface, obtaining the connecting surface, calculating the angle between the normal vectors, forming a set of non-processed surfaces, generating a closed border and a set of processed surfaces, and automatically determining independent processing paths.

Benefits of technology

Significantly reduces the complexity of manual operations, improves processing efficiency and quality, is suitable for complex workpieces containing a large number of trivial surfaces, and reduces production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117055463B
    Figure CN117055463B
Patent Text Reader

Abstract

The present invention relates to the technical field of high-energy beam processing, and specifically to a processing method and device for automatically generating a high-energy beam three-dimensional processing path, including selecting a non-processed upper surface as an initial surface, creating a non-processed surface set including the initial surface; obtaining a surface connected to the outer boundary line of the initial surface to form a non-repeating connected surface set with the non-processed surface set; updating the non-processed surface set; obtaining all edges in the non-processed surface set in step S3 to form an edge set Edges and record the number of times each edge appears, taking out all closed frames in the edge set NewEdges to form a frame set; finding a processing surface that meets preset conditions and adding it to the corresponding processing surface set; traversing each closed frame in the closed frame set to obtain an independent processing path for the current workpiece. The present invention fully embodies the optimization of the three-dimensional complex path generation operation. By eliminating cumbersome manual operations, it has wide applicability and reduces production costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of high energy beam processing, and in particular to a processing method and device for automatically generating a high energy beam three-dimensional processing path. Background Art

[0002] High-energy beam cutting, including water jet, laser, plasma cutting, etc., is a flexible tool processing mode, and its technology has been widely used in many fields. However, when processing complex workpieces, the traditional high-energy beam cutting processing path selection method relies on manual operation. However, manual selection of processing paths through manual operation is an extremely tedious and complicated process, which requires a lot of time and energy to select the path; secondly, due to the errors in the import and export of CAD software, the processing path of the workpiece model may contain trivial and small surfaces, which are prone to omissions and errors during manual selection. Such omissions and misselections may lead to a serious decline in processing quality, and even cause adverse consequences such as damage to equipment.

[0003] Therefore, for complex workpieces with a large number of trivial surfaces in high-energy beam processing, a method for automatically obtaining the processing path is needed to simplify any processing surface in the processing path, select continuous processing surfaces through iterative calculation, and automatically obtain other processing surfaces in the processing path. Such a method can significantly reduce the workload of manual operation while ensuring processing efficiency and quality. Summary of the invention

[0004] The purpose of the present invention is to solve the above technical problems and to provide a method and device for automatically generating a high-energy beam three-dimensional machining path. The purpose of the present invention can be achieved through the following technical solutions:

[0005] A method for automatically generating a high-energy beam three-dimensional machining path comprises the following steps:

[0006] Step S1, selecting a non-machined upper surface matching a preset condition from all surfaces of the current workpiece as an initial surface, and creating a non-machined surface set including the initial surface;

[0007] Step S2, obtaining the surface connected to the outer boundary line of the initial surface to form a connected surface set that does not overlap with the non-processed surface set;

[0008] Step S3, updating the non-machined surface set, traversing the outer boundary line of each connecting surface and the initial surface, finding the geometric hard points with corresponding normal vectors on both the initial surface and the connecting surface, calculating the angle between the normal vectors of the geometric hard points on the initial surface and the connecting surface, when the angle is less than the preset tolerance value and the non-machined surface set does not contain the connecting surface, adding the connecting surface to the non-machined surface set, and repeating steps S2 and S3 with the connecting surface as the initial surface, until there is no angle less than the preset tolerance value and the non-machined surface set does not contain the connecting surface;

[0009] Step S4, obtaining all the edges in the non-machined surface set in step S3, forming an edge set Edges and recording the number of times each edge appears, forming an edge set NewEdges with the edges that appear only once, taking out all the closed borders in the edge set NewEdges according to the shared point rule, forming a border set, and sorting each closed border;

[0010] Step S5, traversing the closed frames in the frame set, and creating a corresponding processing surface set, for each edge of each closed frame, obtaining a surface set containing the edge, the surface set does not contain the surface contained in the non-processing surface set, and adding it to the corresponding processing surface set;

[0011] Step S6: The processing surface set corresponding to each closed frame is an independent processing path, and all independent processing paths of the current workpiece are obtained by traversing each closed frame in the closed frame set.

[0012] Further, step S1 includes:

[0013] Step S101, among all surfaces of the current workpiece, a non-machined upper surface that meets preset conditions is selected as an initial surface, and the preset conditions include a setting of shape or size;

[0014] Step S102, creating a non-machined surface set;

[0015] Step S103, adding the selected initial surface to the non-machined surface set.

[0016] Further, step S2 includes:

[0017] Step S201, obtaining all outer boundary lines of the initial surface and creating an outer boundary line set;

[0018] Step S202, obtaining the surface connected to the initial surface according to the outer boundary line, recording it as a connected surface, creating a connected surface set, traversing the connected surface of each outer boundary line in the outer boundary line set, and when there is no connected surface in the non-machined surface set, adding the connected surface to the connected surface set;

[0019] Further, step S3 includes:

[0020] Step S301, traverse each interfacing surface in the interfacing surface set, and find the outer boundary line of each interfacing surface that contacts the initial surface;

[0021] Step S302, traversing all geometric hard points on the outer boundary line, and selecting any geometric hard point from the geometric hard points that have corresponding normal vectors on the initial surface and the contact surface to perform calculation in step S303;

[0022] Step S303, calculating the angle between the two normal vectors, and when the angle is less than a preset tolerance value and the non-machined surface set does not include the connecting surface, adding the connecting surface to the non-machined surface set;

[0023] Step S304, taking the connecting surface as a new initial surface, and repeating steps S2 and S3 until no connecting surface is added to the non-machined surface set.

[0024] Further, step S4 includes:

[0025] Step S401, create an edge set Edges, traverse each face in the non-processing face set, add the edges contained in each face to the set Edges, and record the number of times each edge appears in the set Edges;

[0026] Step S402, filtering out the edges whose appearance times are 1 in the set Edges, and forming a new edge set NewEdges;

[0027] Step S403, traverse the edges in the edge set NewEdges, extract the closed borders that meet the shared point rule according to the shared point rule, form a border set, and sort the closed borders in the border set.

[0028] Further, step S5 includes:

[0029] Step S501, initializing an empty processing surface set to store and obtain all processing surfaces;

[0030] Step S502, traverse the closed borders in the border set, obtain each edge of each closed border, and add it to the edge set Edgesw;

[0031] Step S503, traverse the edges in the edge set Edgesw, obtain all faces containing the edges, and form a face set, which is recorded as a set Faces1;

[0032] Step S504, remove the faces not included in the processing face set from the Faces1 set to form a new face set, recorded as the Face set. When the processing face set does not include the faces in the Face set, the faces in the Face set are added to the processing face set.

[0033] A processing device for automatically generating a high-energy beam three-dimensional machining path, used to execute the above-mentioned processing method for automatically generating a high-energy beam three-dimensional machining path, comprising:

[0034] processor;

[0035] a memory for storing processor-executable instructions;

[0036] The processor is configured as:

[0037] Initialization processing: select a non-machined upper surface that matches the preset conditions from all surfaces of the current workpiece as the initial surface, and create a non-machined surface set including the initial surface;

[0038] Analysis of the contact surface and expansion of the non-machined surface set: traverse and analyze all the contact surfaces connected to the initial surface, and add the contact surfaces that meet the preset conditions to the non-machined surface set;

[0039] Constructing a closed border: pre-processing the non-machined surfaces in the non-machined surface set, obtaining the set of edges of all non-machined surfaces, and counting the number of times the edges appear, filtering out edges that meet the requirements, and forming a closed border through the shared point rule;

[0040] Processing surface generation: traverse each closed border and create a processing surface set, select the surface to be processed according to the preset conditions, and add it to the processing surface set;

[0041] The processing path is generated by treating the processing surface set corresponding to the closed frame as an independent processing path, traversing all closed frames, and obtaining all independent processing paths in the current workpiece.

[0042] Furthermore, the connecting surface analysis and the non-machined surface set expansion also include: obtaining all peripheral boundary lines of the initial surface and creating a peripheral boundary line set; obtaining the connecting surface connected to the initial surface according to the peripheral boundary line, creating a connecting surface set, traversing the connecting surface of each peripheral boundary line in the peripheral boundary line set, and when there is no connecting surface in the non-machined surface set, adding the connecting surface to the connecting surface set;

[0043] Furthermore, the construction of the closed border also includes traversing each connecting face in the connecting face set, and finding the outer boundary line that contacts the initial face for each connecting face; obtaining all geometric hard points on the outer boundary line, and the geometric hard points have corresponding normal vectors on the initial face and the connecting face; calculating the angle between the two normal vectors, and when the angle is less than a preset tolerance value and the non-machined face set does not contain the connecting face, adding the connecting face to the non-machined face set; using the connecting face as a new initial face, re-performing the connecting face analysis and non-machined face set expansion and closed border construction until no connecting faces are added to the non-machined face set.

[0044] Furthermore, the processing surface generation also includes traversing all closed frames and creating a corresponding processing surface set, and for each edge of each closed frame, finding a processing surface that meets preset conditions and adding it to the corresponding processing surface set.

[0045] Compared with the prior art, the present invention has at least one of the following technical effects:

[0046] The present invention provides a processing method and device for automatically generating a high-energy beam three-dimensional processing path for high-energy beam processing of complex workpieces containing a large number of trivial surfaces, which fully reflects the optimization requirements for the three-dimensional complex path generation operation. By eliminating cumbersome manual operations, the intelligent and efficient high-energy beam processing path is realized, which not only brings higher production efficiency to the manufacturing industry, but also improves the processing quality and portability of operation, has wide applicability and reduces production costs.

[0047] (1) Efficient automatic machining path generation. The device can identify the surface of the current workpiece and select other connected surfaces, reducing the complexity of manual selection of machining paths and improving machining efficiency.

[0048] (2) Improved processing accuracy: The present invention can ensure the optimization and accuracy of the processing path through repeated iterative calculations and the algorithm of continuous continuous surfaces, thereby obtaining higher processing quality;

[0049] (3) Wide applicability and reduced production costs. The present invention can easily process complex workpieces containing a large number of trivial surfaces, has wide applicability, and reduces production costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for describing the embodiment:

[0051] Figure 1 It is a flowchart of the steps of a processing method for automatically generating a high-energy beam three-dimensional processing path of the present invention;

[0052] Figure 2 It is a flow chart of the connection surface analysis and non-processing surface set expansion in a processing method for automatically generating a high-energy beam three-dimensional processing path of the present invention;

[0053] Figure 3 It is a flow chart of closed frame construction in a processing method for automatically generating a high-energy beam three-dimensional processing path according to the present invention;

[0054] Figure 4 The invention discloses a flow chart of processing path generation in a method for automatically generating a high-energy beam three-dimensional processing path. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the specific implementation methods described herein are only used to explain the present invention and are not used to limit the present invention.

[0056] Example 1

[0057] The present invention provides a processing method for automatically generating a high-energy beam three-dimensional processing path, please refer to Figure 1 , Figure 1 The flowchart of the processing method for automatically generating a high-energy beam three-dimensional processing path of the present invention includes the following steps:

[0058] Step S1, selecting a non-machined upper surface matching a preset condition from all surfaces of the current workpiece as an initial surface, and creating a non-machined surface set including the initial surface;

[0059] Step S2, obtaining the surface connected to the outer boundary line of the initial surface to form a connected surface set that does not overlap with the non-processed surface set;

[0060] Step S3, updating the non-machined surface set, traversing the outer boundary line of each connecting surface and the initial surface, finding the geometric hard points with corresponding normal vectors on both the initial surface and the connecting surface, calculating the angle between the normal vectors of the geometric hard points on the initial surface and the connecting surface, when the angle is less than the preset tolerance value and the non-machined surface set does not contain the connecting surface, adding the connecting surface to the non-machined surface set, and repeating steps S2 and S3 with the connecting surface as the initial surface, until there is no angle less than the preset tolerance value and the non-machined surface set does not contain the connecting surface;

[0061] Step S4, obtaining all the edges in the non-machined surface set in step S3, forming an edge set Edges and recording the number of times each edge appears, forming an edge set NewEdges with the edges that appear only once, taking out all the closed borders in the edge set NewEdges according to the shared point rule, forming a border set, and sorting each closed border;

[0062] Step S5, traverse the closed frames in the frame set, and create a corresponding processing surface set. For each edge of each closed frame, obtain a surface set containing the edge, the surface set does not contain the surface contained in the non-processing surface set, and add it to the corresponding processing surface set;

[0063] Step S6: The processing surface set corresponding to each closed frame is an independent processing path, and all independent processing paths of the current workpiece are obtained by traversing each closed frame in the closed frame set.

[0064] Specifically, the specific operation process of step S1 is as follows:

[0065] Step S101, among all the surfaces of the current workpiece, a non-machined upper surface that meets preset conditions is selected as an initial surface; the preset conditions include the setting of shape or size, such as a larger surface area, orientation, etc.;

[0066] Step S102, create a non-machined surface set

[0067] Step S103, adding the selected initial surface to the non-machined surface set.

[0068] Specifically, the specific operation process of step S2 is as follows:

[0069] Step S201, obtaining all outer boundary lines of the initial surface and creating an outer boundary line set;

[0070] Step S202, obtaining the surface connected to the initial surface according to the outer boundary line, recording it as a connected surface, creating a connected surface set, traversing the connected surface of each outer boundary line in the outer boundary line set, and when there is no connected surface in the non-machined surface set, adding the connected surface to the connected surface set;

[0071] Specifically, the specific operation process of step S3 is as follows:

[0072] Step S301, traverse each interfacing surface in the interfacing surface set, and find the outer boundary line of each interfacing surface that contacts the initial surface;

[0073] Step S302, traversing all geometric hard points on the outer boundary line, and selecting any geometric hard point from the geometric hard points that have corresponding normal vectors on the initial surface and the contact surface to perform calculation in step S303;

[0074] Step S303, calculating the angle between the two normal vectors, and when the angle is less than a preset tolerance value and the non-machined surface set does not include the connecting surface, adding the connecting surface to the non-machined surface set;

[0075] Step S304, taking the connecting surface as a new initial surface, and repeating steps S2 and S3 until no connecting surface is added to the non-machined surface set.

[0076] Specifically, the specific operation process of step S4 is as follows:

[0077] Step S401, create an edge set Edges, traverse each face in the non-processing face set, add the edges contained in each face to the set Edges, and record the number of times each edge appears in the set Edges;

[0078] Step S402, filtering out the edges whose appearance times are 1 in the set Edges, and forming a new edge set NewEdges;

[0079] Step S403, traverse the edges in the edge set NewEdges, extract the closed borders that meet the shared point rule according to the shared point rule, form a border set, and sort the closed borders in the border set.

[0080] Specifically, the specific operation process of step S5 is as follows:

[0081] Step S501, initializing an empty processing surface set to store and obtain all processing surfaces;

[0082] Step S502, traverse the closed borders in the border set, obtain each edge of each closed border, and add it to the edge set Edgesw;

[0083] Step S503, traverse the edges in the edge set Edgesw, obtain all faces containing the edges, and form a face set, which is recorded as a set Faces1;

[0084] Step S504, remove the faces not included in the processing face set from the Faces1 set to form a new face set, recorded as the Face set. When the processing face set does not include the faces in the Face set, the faces in the Face set are added to the processing face set.

[0085] Example 2

[0086] The present invention also provides a processing device for automatically generating a high-energy beam three-dimensional processing path, which is used to execute the above-mentioned processing method for automatically generating a high-energy beam three-dimensional processing path, comprising:

[0087] processor;

[0088] a memory for storing processor-executable instructions;

[0089] The processor is configured as:

[0090] Initialization processing: select a non-machined upper surface that matches the preset conditions from all surfaces of the current workpiece as the initial surface, and create a non-machined surface set including the initial surface;

[0091] Analysis of the contact surface and expansion of the non-machined surface set: traverse and analyze all the contact surfaces connected to the initial surface, and add the contact surfaces that meet the preset conditions to the non-machined surface set;

[0092] Constructing a closed border: pre-processing the non-machined surfaces in the non-machined surface set, obtaining the set of edges of all non-machined surfaces, and counting the number of times the edges appear, filtering out edges that meet the requirements, and forming a closed border through the shared point rule;

[0093] Processing surface generation: traverse each closed border and create a processing surface set, select the surface to be processed according to the preset conditions, and add it to the processing surface set;

[0094] The processing path is generated by treating the processing surface set corresponding to the closed frame as an independent processing path, traversing all closed frames, and obtaining all independent processing paths in the current workpiece.

[0095] Furthermore, the connecting surface analysis and the non-machined surface set expansion also include: obtaining all peripheral boundary lines of the initial surface and creating a peripheral boundary line set; obtaining the connecting surface connected to the initial surface according to the peripheral boundary line, creating a connecting surface set, traversing the connecting surface of each peripheral boundary line in the peripheral boundary line set, and when there is no connecting surface in the non-machined surface set, adding the connecting surface to the connecting surface set;

[0096] Furthermore, the construction of the closed border also includes traversing each connecting face in the connecting face set, and finding the outer boundary line that contacts the initial face for each connecting face; obtaining all geometric hard points on the outer boundary line, and the geometric hard points have corresponding normal vectors on the initial face and the connecting face; calculating the angle between the two normal vectors, and when the angle is less than a preset tolerance value and the non-machined face set does not contain the connecting face, adding the connecting face to the non-machined face set; using the connecting face as a new initial face, re-performing the connecting face analysis and non-machined face set expansion and closed border construction until no connecting faces are added to the non-machined face set.

[0097] Furthermore, the processing surface generation also includes traversing all closed frames and creating a corresponding processing surface set, and for each edge of each closed frame, finding a processing surface that meets preset conditions and adding it to the corresponding processing surface set.

[0098] Example 3

[0099] In order to help those skilled in the art understand the present invention, the process of the processing method for automatically generating a high-energy beam three-dimensional machining path of the present invention is described in detail below.

[0100] See also Figure 2 , Figure 2 This is a flowchart of the processing method for automatically generating a high-energy beam three-dimensional machining path of the present invention, the connection surface analysis and the non-machining surface set expansion, and the specific operations are as follows:

[0101] (1) Select any non-machined face in the current workpiece as the initial face, denoted as FaceA, and create a set of non-machined faces NonmachinedFaces, and add FaceA to the set NonmachinedFaces.

[0102] (2) Obtain the edge set EdgeSA of all outer frame boundary lines of the initial face FaceA.

[0103] (3) Select edge Edge1 in edge set EdgeSA in turn, obtain the face set Faces1 that contains edge Edge1, and remove the faces already stored in the set NonmachinedFaces.

[0104] (4) Take the faces FaceB in the set Faces1 in turn, obtain all the geometric hard points on the boundary line Edge1 where FaceB and FaceA meet, and form a point set Pts.

[0105] (5) Loop through the point set Pts to obtain the point P that satisfies the following conditions:

[0106] Point P is on face FaceA, take its normal vector Va;

[0107] Point P is on face FaceB, take its normal vector Vb.

[0108] (6) Calculate the angle angle between vector Va and vector Vb.

[0109] (7) When Angle is less than the preset tolerance value, the preset tolerance value is 60° by default and can be adjusted manually. When the non-machined face set NonmachinedFaces does not contain face FaceB, FaceB is added to the set NonmachinedFaces.

[0110] (8) Using FaceB as the initial face, repeat steps 2-7 until no FaceB that meets the conditions can be obtained.

[0111] See also Figure 3 , Figure 3 It is a flow chart of closed frame construction in a processing method for automatically generating a high-energy beam three-dimensional processing path according to the present invention.

[0112] (9) Create a set of edges, Edges, and record the number of times a single edge appears, starting from 1.

[0113] (10) Loop through the face FaceC in the NonmachinedFaces set, obtain all the edge sets EdgesC of FaceC, loop through the edge EdgeC in the edge set EdgesC, and determine whether Edges contains EdgeC: when the edge set Edges does not contain EdgeC, add EdgeC to the edge set Edges and record the number 1; when the edge set Edges contains EdgeC, obtain the number of times EdgeC has been currently recorded and modify it to new number = old number + 1.

[0114] (11) Filter all edges with a number of occurrences of 1 in the edge set Edges to form a new edge set NewEdges;

[0115] (12) According to the rule of shared points of edges, all closed borders in the edge set NewEdges are taken out to form the border set Wires, and the edges in each border are sorted.

[0116] See also Figure 4 , Figure 4 This is a flowchart of the processing path generation in the processing method of automatically generating a high-energy beam three-dimensional processing path of the present invention.

[0117] (13) Loop through the border set Wires to get the border Wires, create a set of machined faces MachinedFaces corresponding to the border Wires, and obtain the edge set Edgesw contained in the Wires.

[0118] (14) Loop through the edge set Edgesw to get edge Edge2, and obtain the face set Faces2 that contains edge Edge2;

[0119] (15) Remove the faces contained in the face set NonmachinedFaces from the face set Faces2 to obtain the machined face Face. If the MachinedFaces does not contain Face, place it in the MachinedFaces set.

[0120] (16) The machined face set MachinedFaces corresponding to each frame Wire is an independent machining path. Loop through all frames in the frame set Wires to obtain all machining paths for the current workpiece.

[0121] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, if these changes fall within the scope of the claims of the present invention and their equivalents, they still fall within the protection scope of the present invention.

Claims

1. A method for automatically generating a high-energy beam three-dimensional processing path, characterized in that: The steps include: Step S1, selecting a non-machined upper surface matching a preset condition from all surfaces of the current workpiece as an initial surface, and creating a non-machined surface set including the initial surface; Step S2, obtaining the surface connected to the outer boundary line of the initial surface to form a connected surface set that does not overlap with the non-processed surface set; Step S3, updating the non-machined surface set, traversing the outer boundary line where each of the connecting surfaces is connected to the initial surface, finding geometric hard points with corresponding normal vectors on both the initial surface and the connecting surface, calculating the angle between the normal vectors of the geometric hard points on the initial surface and the connecting surface, and when the angle is less than a preset tolerance value and the non-machined surface set does not include the connecting surface, adding the connecting surface to the non-machined surface set, and repeating steps S2 and S3 with the connecting surface as the initial surface until there is no match when the angle is less than a preset tolerance value and the non-machined surface set does not include the connecting surface; Step S4, obtaining the edges in the non-machined surface set in step S3, forming an edge set Edges and recording the number of times each edge appears, forming an edge set NewEdges with the edges that appear only once, taking out all closed borders in the edge set NewEdges according to the shared point rule, forming a border set, and sorting each closed border; Step S5, traversing the closed frames in the frame set, and creating a corresponding processing surface set, for each edge of each closed frame, obtaining a surface set containing the edge, the surface set excluding the surface contained in the non-processing surface set, and adding it to the corresponding processing surface set; Step S6: the processing surface set corresponding to each closed frame is an independent processing path, and all the independent processing paths of the current workpiece are obtained by traversing each closed frame in the closed frame set.

2. The method for automatically generating a high-energy beam three-dimensional machining path according to claim 1, characterized in that: The step S1 further comprises: Step S101, selecting a non-machined upper surface that meets a preset condition as the initial surface from among all surfaces of the current workpiece, wherein the preset condition includes a setting of a shape or a size; Step S102, creating a non-machined surface set; Step S103, adding the selected initial surface to the non-machined surface set.

3. The method for automatically generating a high-energy beam three-dimensional machining path according to claim 1, characterized in that: The step S2 further comprises: Step S201, obtaining all the outer boundary lines of the initial surface and creating an outer boundary line set; Step S202, according to the outer boundary line, obtain the surface connected to the initial surface, record it as a connecting surface, create a connecting surface set, traverse the connecting surface of each outer boundary line in the outer boundary line set, and when there is no connecting surface in the non-processing surface set, add the connecting surface to the connecting surface set.

4. The method for automatically generating a high-energy beam three-dimensional processing path according to claim 3, characterized in that: The step S3 further comprises: Step S301, traversing each of the contacting surfaces in the contacting surface set, and finding the outer boundary line in contact with the initial surface for each of the contacting surfaces; Step S302, traversing all geometric hard points on the outer boundary line, and selecting any one of the geometric hard points that have corresponding normal vectors on both the initial surface and the contact surface to perform calculation in step S303; Step S303, calculating the angle between the two normal vectors, and when the angle is smaller than a preset tolerance value and the non-machined surface set does not include the connecting surface, adding the connecting surface to the non-machined surface set; Step S304: taking the connecting surface as the new initial surface, and repeating steps S2 and S3 until no more connecting surfaces are added to the non-machined surface set.

5. The method for automatically generating a high-energy beam three-dimensional processing path according to claim 1, characterized in that: The step S4 further comprises: Step S401, creating an edge set Edges, traversing each face in the non-machined face set, adding the edges contained in each face to the set Edges, and recording the number of times each edge appears in the set Edges; Step S402, filtering out the edges whose appearance times are 1 in the set Edges, and forming a new set of edges NewEdges; Step S403, traverse the edges in the edge set NewEdges, extract the closed borders that meet the shared point rule according to the shared point rule, form the border set, and sort the closed borders in the border set.

6. The method for automatically generating a high-energy beam three-dimensional processing path according to claim 1, characterized in that: The step S5 further comprises: Step S501, initializing an empty processing surface set to store and obtain all the processing surfaces; Step S502, traversing the closed borders in the border set, obtaining each edge of each closed border, and adding the edges to the edge set Edgesw; Step S503, traverse the edges in the edge set Edgesw, obtain all the faces containing the edges, and form a face set, which is recorded as a set Faces1; Step S504, removing the faces included in the non-machined face set from the set Faces1 to form a new face set, recorded as the set Face; when the machined face set does not include the faces in the face set Face, the faces in the set Face are added to the machined face set.

7. A processing device for automatically generating a high-energy beam three-dimensional processing path, executing the processing method for automatically generating a high-energy beam three-dimensional processing path as claimed in any one of claims 1 to 6, characterized in that: include processor; a memory for storing instructions executable by the processor; The processor is configured to: Initialization processing, selecting a non-machined upper surface matching the preset conditions from all surfaces of the current workpiece as an initial surface, and creating a non-machined surface set including the initial surface; Analyzing the contact surfaces and expanding the non-machined surface set, traversing and analyzing all the contact surfaces connected to the initial surface, and adding the contact surfaces meeting the preset conditions to the non-machined surface set; Constructing a closed border, preprocessing the non-machined surfaces in the non-machined surface set, obtaining a set of edges of all the non-machined surfaces, counting the number of times the edges appear, screening out the edges that meet the requirements, and constructing the closed border through a shared point rule; Processing surface generation, traversing each of the closed borders, and creating a processing surface set, selecting the surface to be processed according to preset conditions; and adding it to the processing surface set; The processing path is generated by treating the processing surface set corresponding to the closed frame as an independent processing path, traversing all closed frames, and obtaining all independent processing paths in the current workpiece.

8. The processing device for automatically generating a high-energy beam three-dimensional processing path according to claim 7, characterized in that: The contact surface analysis and the non-machined surface set expansion further include: Obtain all outer boundary lines of the initial surface and create an outer boundary line set; obtain the interfacing surfaces connected to the initial surface according to the outer boundary lines, create an interfacing surface set, traverse the interfacing surfaces of each outer boundary line in the outer boundary line set, and when the interfacing surfaces are not in the non-machined surface set, add the interfacing surfaces to the interfacing surface set.

9. The processing device for automatically generating a high-energy beam three-dimensional processing path according to claim 8, characterized in that: The construction of the closed border further includes traversing each of the connecting faces in the connecting face set, and finding the outer boundary line in contact with the initial face for each of the connecting faces; obtaining all geometric hard points on the outer boundary line, and the geometric hard points have corresponding normal vectors on the initial face and the connecting face; calculating the angle between the two normal vectors, and when the angle is less than a preset tolerance value and the non-machined face set does not contain the connecting face, adding the connecting face to the non-machined face set; using the connecting face as the new initial face, re-performing connecting face analysis and the non-machined face set expansion and closed border construction until no connecting face is added to the non-machined face set.

10. The processing device for automatically generating a high-energy beam three-dimensional processing path according to claim 7, characterized in that: The processing surface generation further includes traversing all the closed frames and creating a corresponding processing surface set, and for each edge of each closed frame, finding a processing surface that meets preset conditions and adding it to the corresponding processing surface set.