Method for generating various groove tracks and normal lines of laser pipe cutting end face

By obtaining and calculating the end face profile and normal information of laser pipe cutting parts, combined with the set groove information, a variety of groove cutting trajectories and normals are generated, which solves the problem of diversity and accuracy of groove shapes in traditional laser pipe cutting equipment. It solves the problem of insufficient performance and achieves efficient cutting of various bevels.

CN118559221APending Publication Date: 2024-08-30WUHAN FARLEY PLASMA CUTTING SYS CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410677094.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Traditional laser pipe cutting equipment is difficult to meet the high requirements of modern industry for pipe processing, especially in terms of diversity and accuracy of groove shapes.

Method used

By selecting the end face contour trajectory of the part to be processed, the geometric information and normal information of the trajectory are obtained, and the groove information is set according to the actual process needs, and each sub-trajectory is traversed to calculate new trajectory and normal information, and a groove program is generated, which is suitable for Various bevel types such as front and back V bevels, front and back Y bevels and K bevels.

Benefits of technology

It realizes the generation of various bevel trajectories and normal lines on the end face of laser-cut pipes to meet different bevel requirements. It is suitable for pipe/steel parts. It converts ordinary straight cutting trajectories into various bevel cutting trajectories, which improves the efficiency of bevel cutting. accuracy and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118559221A
    Figure CN118559221A
Patent Text Reader

Abstract

A method for generating various groove tracks and normal lines of a laser pipe cutting end face comprises the steps that the track of an end face contour needing groove cutting in a to-be-machined part is selected, geometric information of the track is obtained, and set information at least comprises track feature point coordinate information and straight cutting normal line information corresponding to the track; normal information and part special process information after process adjustment; corresponding groove information is set according to actual process requirements; and traversing all sub-tracks of the selected contour, calculating new track and normal information of each track according to different groove requirements, and subsequently generating a groove program according to the new track and normal information. The method is suitable for various pipe / profile steel parts, and a common straight cutting track is converted into various groove cutting tracks. A groove cutting track and normal information are calculated according to the geometric information of the end face straight cutting track in combination with set groove information and used for generating a groove cutting program subsequently, and therefore the groove cutting requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of laser cutting, and in particular to a method for generating multiple groove trajectories and normal lines of a laser cut tube end face. Background Art

[0002] Laser tube cutting technology is a processing method that uses a high-energy laser beam to cut tubes or steel parts. Its working principle is to form a thin line on the surface of the tube or steel part through the laser beam, and to achieve precise cutting by moving the laser head. This method has the advantages of fast cutting speed, high precision, high cutting surface finish, no chips, and small material loss. Traditional tube cutting equipment and methods are insufficient in the diversity and accuracy of groove shapes, and it is difficult to meet the high requirements of modern industry for tube processing. Therefore, a method for generating multiple groove trajectories and normal lines on the end face of laser tube cutting is urgently needed to solve this problem. Summary of the invention

[0003] In view of the above problems, the present invention is proposed to provide a method for generating multiple groove trajectories and normal lines of the end face of a laser cut tube, which overcomes the above problems or at least partially solves the above problems.

[0004] In order to solve the above technical problems, the embodiments of the present application disclose a technical solution including:

[0005] In a first aspect, an embodiment of the present invention discloses a method for generating multiple groove trajectories and normal lines of a laser cut tube end face, comprising:

[0006] S100. Select the trajectory of the end face profile that needs beveling cutting in the part to be processed, and obtain the geometric information of the trajectory, wherein the set information includes at least the coordinate information of the trajectory feature points, the straight cutting normal information corresponding to the trajectory, the normal information after process adjustment, and the special process information of the part;

[0007] S200. According to the actual process requirements, corresponding groove information is set, wherein the groove information includes at least groove type, groove angle, and slope height;

[0008] S300. Traverse all sub-trajectories of the selected contour, calculate new trajectory and normal information for each trajectory according to different groove requirements, and subsequently generate a groove program based on the new trajectory and normal information.

[0009] Further, in S100, the trajectory of the end face contour that needs beveling cutting in the part to be processed is selected, and the geometric information of the trajectory is obtained. The specific method includes: selecting the end face contour Contour that needs beveling cutting in the part to be processed, recording the wall thickness Part_Thickness of the part and the geometric information of each sub-trajectory in the contour Contour, wherein the geometric information at least includes the trajectory type and the coordinates of the feature points; recording the original normal line information list corresponding to each discrete point in the contour Contour, recorded as OriNorLineList, wherein the elements in the list are P_V(pt,vec), wherein pt is the normal line corresponding to the contour Contour. The coordinate point in , vec represents the normal vector of the coordinate point; record whether the part needs special process requirements for anti-collision. When the part needs special process requirements for anti-collision, rotate the normal vector around the X-axis to adjust the part, and record the adjusted normal information list, recorded as R_NorLineList, the elements in the list are P_V (pt, vec), where pt is the coordinate point corresponding to the normal in the contour Contour, and vec represents the normal vector of the coordinate point; record whether the process shortening attribute is set for each sub-trajectory in the contour Contour. If the process shortening attribute is set, record the process shortening distance Shorten_L of the sub-trajectory.

[0010] Further, in S200, corresponding groove information is set according to actual process requirements, and the groove information at least includes groove type, groove angle, and bevel height; wherein the groove type includes positive and negative V groove, positive and negative Y groove, and K groove; when the groove type is positive and negative V groove, the positive and negative type of the groove is set to ZF_Type1, and the groove angle Ang1 is set; when the groove type is positive and negative Y groove, the positive and negative type of the groove is set to ZF_Type2, the groove angle Ang2 is set, and the bevel height H is set; when the groove type is K groove, the positive groove angle Ang_Z, the positive bevel height H_Z, the negative groove angle Ang_F, and the negative bevel height H_F are set.

[0011] Further, in S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative V groove, the specific method includes:

[0012] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0013] Calculate the trajectory translation distance Offset_X; when the groove type ZF_Type1 is a positive V slope, the calculation formula includes: Offset_X = Part_Thickness*tan(Ang1)*sidetype; where Part_Thickness is the wall thickness of the part, and Ang1 is the groove angle; when the groove type ZF_Type1 is a negative V slope, Offset_X = 0;

[0014] Traverse each sub-track edge_j of the selected contour Contour; according to the different types of sub-track edge_j, process them according to the first preset rule to generate the groove cutting track and normal line; after traversing all sub-tracks edge_j, construct the line information list newNorLineList_j according to the generated new normal line,

[0015] All normal elements in the normal information list are collected together to form a new normal information list to replace the original normal information list.

[0016] Further, in S300, the first preset rule includes: when the sub-track edge_j is a straight line type, recording the starting point Line_sta and the end point Line_end of the straight line; judging whether the process shortening attribute is added, if the process shortening is added, recording the shortening distance Shorten_L, extending the straight line along the direction from the starting point to the end point Shorten_L, keeping the starting point unchanged, and refreshing Line_end; if the process shortening is not added, keeping the starting point and the end point of the straight line unchanged;

[0017] Generate a new trajectory; translate the starting point and end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end, and establish a new linear trajectory newedge_j based on the new starting point and end point to replace the corresponding sub-trajectory in Contour;

[0018] Generate a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z;

[0019] Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList respectively, record them as Ori_Vec and R_Vec respectively, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes:

[0020] vec_i.x=cos(rot_Ang)*tan(Ang); vec_i.y=Ori_Vec.y;

[0021] vec_i.z=Ori_Vec.z; and normalize vec_i, count all pv_i to establish the normal information list newNorLineList_j.

[0022] Further, in S300, the first preset rule includes: when the sub-track edge_j is of arc type, recording the starting point Cir_sta, the middle point Cir_mid and the end point Cir_end of the arc;

[0023] Generate a new trajectory; translate the starting point, middle point and end point of the arc trajectory in the X direction by the distance Offset_X to obtain a new starting point new_Line_sta, new_Line_mid and end point new_Line_end; establish a new arc trajectory newedge_j according to the new starting point, middle point and end point, and replace the corresponding sub-trajectory in Contour;

[0024] Generate a new normal; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i);

[0025] Create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line;

[0026] When the sub-trajectory edge_j is a spline that is neither an arc nor a straight line, the specific steps include:

[0027] Discrete subtrajectory edge_j to obtain a series of point sets poslist;

[0028] Generate a new trajectory; translate all points in poslist by the distance Offset_X in the X direction to obtain a new discrete point set newposlist, and then establish a new spline trajectory newedge_j based on the new discrete point set to replace the corresponding sub-trajectory in Contour;

[0029] Generate a new normal; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line.

[0030] Further, in S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative Y groove, the specific method includes:

[0031] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0032] Calculate the track translation distance Offset_X; when the groove type is positive Y slope, the calculation formula includes:

[0033] Offset_X = H*tan(Ang2)*sidetype; where H is the height of the Y slope bevel, and Ang2 is the groove angle; when the groove type is reverse Y slope, Offset_X = -H*tan(Ang2)*sidetype;

[0034] Create a new groove cutting track and normal line; the Y groove needs to retain the original straight cutting track and normal line information, and then add the groove track and normal line information to it. The Y groove is the newly added groove track and normal line information. The specific methods include:

[0035] Create a NewedgeList list to store the newly added tracks, and create a normal information list NewNorLineList to store the new normal information;

[0036] Traverse each sub-track edge_j of the selected Contour; according to the different types of sub-track edge_j, process them according to the second preset rule to create a new groove cutting track and normal;

[0037] Add new tracks and normal information; create a NewedgeList list to store the new tracks, and create a normal information list NewNorLineList to store the new normal information; reassemble all the edges in NewedgeList into a new contour newContour in the order of addition; its corresponding normal information is NewNorLineList;

[0038] When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined;

[0039] When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

[0040] Further, the second preset rule is used to process and create a new groove cutting trajectory and normal line, and the second preset rule includes:

[0041] When edge_j is a straight line type, record the starting point Line_sta and the end point Line_end of the straight line;

[0042] Determine whether the process shortening attribute is added. If the process shortening is added, record the shortening distance Shorten_L, then extend the straight line from the starting point to the end point by Shorten_L, keep the starting point unchanged, and refresh Line_end; if the process shortening is not added, keep the starting point and end point of the straight line unchanged;

[0043] Create a new trajectory; translate the starting point and the end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end; create a new linear trajectory newedge_j according to the new starting point and end point, and add newedge_j to NewedgeList;

[0044] Create a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end of the straight line to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z;

[0045] Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList, respectively, record them as Ori_Vec and R_Vec, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes:

[0046] vec_i.x=cos(rot_Ang)*tan(Ang);

[0047] vec_i.y=Ori_Vec.y;vec_i.z=Ori_Vec.z;and normalize vec_i, add pv_i to NewNorLineList;

[0048] When edge_j is an arc type, record the arc's starting point Cir_sta, middle point Cir_mid, and end point Cir_end;

[0049] Create a new trajectory; translate the starting point, middle point and end point of the arc trajectory by the distance Offset_X in the X direction to obtain new starting points new_Line_sta, new_Line_mid and end point new_Line_end, then create a new arc trajectory newedge_j based on the new starting point, middle point and end point, and add newedge_j to NewedgeList;

[0050] Create a new normal line; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList;

[0051] When edge_j is neither an arc nor a straight line, discretize edge_j to get a series of point sets poslist;

[0052] Create a new trajectory; translate all points in poslist by Offset_X distance in the X direction to obtain a new discrete point set newposlist; then create a new spline trajectory newedge_j based on the new discrete point set, and add newedge_j to NewedgeList;

[0053] Generate a new normal, traverse each point pos_i in poslist, and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList.

[0054] Furthermore, after creating the newly added groove cutting trajectory and normal, the newly added trajectory and normal information will be added, and the specific method includes: recombining all the edges in NewedgeList into a new contour newContour according to the order of addition, and the corresponding normal information is NewNorLineList;

[0055] When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined;

[0056] When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

[0057] Furthermore, in S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a K groove, the specific method includes:

[0058] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0059] Calculate the track translation distance Offset_X; K groove requires two translations of the track, which are recorded as Offset_X_Z and Offset_X_F respectively; the calculation formulas include:

[0060] Offset_X_Z=H_Z*tan(Ang_Z)*sidetype;

[0061] Offset_X_F=-1*H_F*tan(Ang_F)*sidetype;

[0062] Among them, H_Z and H_F are the heights of the positive and negative bevels of the K groove, and Ang_Z and Ang_F are the positive and negative bevel angles;

[0063] Create K groove positive bevel cutting trajectory and normal; create a NewedgeList_Z list to store the newly added trajectory, create a normal information list NewNorLineList_Z to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_Z;

[0064] Create the K groove reverse bevel cutting trajectory and normal; create a NewedgeList_F list to store the newly added trajectory, create a normal information list NewNorLineList_F to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_F;

[0065] Add new tracks and normal information; recombine all edges in NewedgeList_Z into a new contour newContour_Z in the order of addition; its corresponding normal information is NewNorLineList_Z; recombine all edges in NewedgeList_F into a new contour newContour_F in the order of addition; its corresponding normal information is NewNorLineList_F; insert newContour_F in front of the original Contour and bind it; at the same time, add newContour_Z to the back of the original Contour and bind it, that is, first execute the reverse bevel groove, then execute the original straight cutting, and finally execute the positive bevel groove cutting, and finally combine them into K groove.

[0066] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0067] The embodiment of the present invention discloses a method for generating multiple groove trajectories and normal lines of the end face of a laser tube cutting, comprising: selecting the trajectory of the end face contour that needs groove cutting in the part to be processed, obtaining the geometric information of the trajectory, the set information at least includes the coordinate information of the trajectory feature points, the straight cutting normal information corresponding to the trajectory, the normal information after process adjustment and the special process information of the part; setting the corresponding groove information according to the actual process requirements, the groove information at least includes the groove type, groove angle, and bevel height; traversing all sub-trajectories of the selected contour, calculating the new trajectory and normal line information for each section of the trajectory according to different groove requirements, and subsequently generating the groove program according to the new trajectory and normal line information. The present invention is applicable to various pipe / steel parts, and converts ordinary straight cutting trajectories into various groove cutting trajectories. The groove cutting trajectory and normal line information are calculated according to the geometric information of the end face straight cutting trajectory combined with the set groove information, and are used to subsequently generate the groove cutting program, thereby meeting the groove cutting requirements.

[0068] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0070] Figure 1 This is a flow chart of a method for generating multiple groove trajectories and normal lines of a laser cut tube end face in Example 1 of the present invention;

[0071] Figure 2 This is a schematic diagram of the positive and negative V-groove parameter settings in Example 1 of the present invention;

[0072] Figure 3 Schematic diagram of the setting of the parameters of the positive and negative Y-grooves in Example 1 of the present invention;

[0073] Figure 4 This is a schematic diagram of K groove parameter settings in Example 1 of the present invention. DETAILED DESCRIPTION

[0074] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0075] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a method for generating multiple groove trajectories and normal lines of a laser cut tube end face.

[0076] Example 1

[0077] The present invention discloses a method for generating multiple groove trajectories and normal lines of a laser tube cutting end face, comprising:

[0078] S100. Select the trajectory of the end face profile that needs bevel cutting in the part to be processed, and obtain the geometric information of the trajectory, wherein the set information at least includes the coordinate information of the feature points of the trajectory, the straight cut normal information corresponding to the trajectory, the normal information after process adjustment and the special process information of the part; wherein the end face profile data of the part to be processed is obtained through CAD software or measuring equipment, which can be a two-dimensional profile drawing or a three-dimensional model data. Bevel cutting refers to the process of making the cutting surface and the material plane present a cutting angle lower than 90° in the cutting process, so as to facilitate the welding between the materials and increase the firmness of the welding.

[0079] In this embodiment S100, the trajectory of the end face contour that needs beveling cutting in the part to be processed is selected, and the geometric information of the trajectory is obtained. The specific method includes: selecting the end face contour Contour that needs beveling cutting in the part to be processed, recording the wall thickness Part_Thickness of the part and the geometric information of each sub-trajectory in the contour Contour, wherein the geometric information includes at least the trajectory type and the coordinates of the feature points; recording the original normal line information list corresponding to each discrete point in the contour Contour, recorded as OriNorLineList, wherein the elements in the list are P_V(pt,vec), wherein pt is the normal line corresponding to the contour Contour. The coordinate point in , vec represents the normal vector of the coordinate point; record whether the part needs special process requirements for anti-collision. When the part needs special process requirements for anti-collision, rotate the normal vector around the X-axis to adjust the part, and record the adjusted normal information list, recorded as R_NorLineList, the elements in the list are P_V (pt, vec), where pt is the coordinate point corresponding to the normal in the contour Contour, and vec represents the normal vector of the coordinate point; record whether the process shortening attribute is set for each sub-trajectory in the contour Contour. If the process shortening attribute is set, record the process shortening distance Shorten_L of the sub-trajectory.

[0080] S200. According to the actual process requirements, corresponding groove information is set, wherein the groove information includes at least groove type, groove angle, and slope height;

[0081] Specifically, Figure 2-4 As shown, in S200 of this embodiment, corresponding groove information is set according to actual process requirements, and the groove information at least includes groove type, groove angle, and bevel height; wherein the groove type includes positive and negative V groove, positive and negative Y groove, and K groove; when the groove type is positive and negative V groove, the positive and negative type of the groove is set to ZF_Type1, and the groove angle Ang1 is set; when the groove type is positive and negative Y groove, the positive and negative type of the groove is set to ZF_Type2, the groove angle Ang2 is set, and the bevel height H is set; when the groove type is K groove, the positive groove angle Ang_Z, the positive bevel height H_Z, the negative groove angle Ang_F, and the negative bevel height H_F are set.

[0082] S300. Traverse all sub-trajectories of the selected contour, calculate new trajectory and normal information for each trajectory according to different groove requirements, and subsequently generate a groove program based on the new trajectory and normal information.

[0083] In S300 of this embodiment, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative V groove, the specific method includes:

[0084] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0085] Calculate the trajectory translation distance Offset_X; when the groove type ZF_Type1 is a positive V slope, the calculation formula includes: Offset_X = Part_Thickness*tan(Ang1)*sidetype; where Part_Thickness is the wall thickness of the part, and Ang1 is the groove angle; when the groove type ZF_Type1 is a negative V slope, Offset_X = 0;

[0086] Traverse each sub-track edge_j of the selected contour Contour; according to the different types of sub-track edge_j, process them according to the first preset rule to generate the groove cutting track and normal line; after traversing all sub-tracks edge_j, construct the line information list newNorLineList_j according to the generated new normal line,

[0087] All normal elements in the normal information list are collected together to form a new normal information list to replace the original normal information list.

[0088] In some preferred embodiments, the first preset rule includes: when the sub-track edge_j is a straight line type, recording the starting point Line_sta and the end point Line_end of the straight line; judging whether the process shortening attribute is added, if the process shortening is added, recording the shortening distance Shorten_L, extending the straight line from the starting point to the end point by Shorten_L, keeping the starting point unchanged, and refreshing Line_end; if the process shortening is not added, keeping the starting point and the end point of the straight line unchanged;

[0089] Generate a new trajectory; translate the starting point and end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end, and establish a new linear trajectory newedge_j based on the new starting point and end point to replace the corresponding sub-trajectory in Contour;

[0090] Generate a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z;

[0091] Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList respectively, record them as Ori_Vec and R_Vec respectively, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes:

[0092] vec_i.x=cos(rot_Ang)*tan(Ang); vec_i.y=Ori_Vec.y;

[0093] vec_i.z=Ori_Vec.z; and normalize vec_i, count all pv_i to establish the normal information list newNorLineList_j.

[0094] In S300 of some preferred embodiments, the first preset rule further includes: when the sub-track edge_j is of arc type, recording the starting point Cir_sta, the middle point Cir_mid and the end point Cir_end of the arc;

[0095] Generate a new trajectory; translate the starting point, middle point and end point of the arc trajectory in the X direction by the distance Offset_X to obtain a new starting point new_Line_sta, new_Line_mid and end point new_Line_end; establish a new arc trajectory newedge_j according to the new starting point, middle point and end point, and replace the corresponding sub-trajectory in Contour;

[0096] Generate a new normal; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i);

[0097] Create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line;

[0098] When the sub-trajectory edge_j is a spline that is neither an arc nor a straight line, the specific steps include:

[0099] Discrete subtrajectory edge_j to obtain a series of point sets poslist;

[0100] Generate a new trajectory; translate all points in poslist by the distance Offset_X in the X direction to obtain a new discrete point set newposlist, and then establish a new spline trajectory newedge_j based on the new discrete point set to replace the corresponding sub-trajectory in Contour;

[0101] Generate a new normal; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line.

[0102] In S300 of this embodiment, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative Y groove, the specific method includes:

[0103] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0104] Calculate the track translation distance Offset_X; when the groove type is positive Y slope, the calculation formula includes:

[0105] Offset_X = H*tan(Ang2)*sidetype; where H is the height of the Y slope bevel, and Ang2 is the groove angle; when the groove type is reverse Y slope, Offset_X = -H*tan(Ang2)*sidetype;

[0106] Create a new groove cutting track and normal line; the Y groove needs to retain the original straight cutting track and normal line information, and then add the groove track and normal line information to it. The Y groove is the newly added groove track and normal line information. The specific methods include:

[0107] Create a NewedgeList list to store the newly added tracks, and create a normal information list NewNorLineList to store the new normal information;

[0108] Traverse each sub-track edge_j of the selected Contour; according to the different types of sub-track edge_j, process them according to the second preset rule to create a new groove cutting track and normal;

[0109] Add new tracks and normal information; create a NewedgeList list to store the new tracks, and create a normal information list NewNorLineList to store the new normal information; reassemble all the edges in NewedgeList into a new contour newContour in the order of addition; its corresponding normal information is NewNorLineList;

[0110] When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined;

[0111] When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

[0112] In some preferred embodiments, the process is performed according to a second preset rule to create a new groove cutting trajectory and normal line, and the second preset rule includes:

[0113] When edge_j is a straight line type, record the starting point Line_sta and the end point Line_end of the straight line;

[0114] Determine whether the process shortening attribute is added. If the process shortening is added, record the shortening distance Shorten_L, then extend the straight line from the starting point to the end point by Shorten_L, keep the starting point unchanged, and refresh Line_end; if the process shortening is not added, keep the starting point and end point of the straight line unchanged;

[0115] Create a new trajectory; translate the starting point and the end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end; create a new linear trajectory newedge_j according to the new starting point and end point, and add newedge_j to NewedgeList;

[0116] Create a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end of the straight line to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z;

[0117] Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList, respectively, record them as Ori_Vec and R_Vec, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes:

[0118] vec_i.x=cos(rot_Ang)*tan(Ang);

[0119] vec_i.y=Ori_Vec.y;vec_i.z=Ori_Vec.z;and normalize vec_i, add pv_i to NewNorLineList;

[0120] When edge_j is an arc type, record the arc's starting point Cir_sta, middle point Cir_mid, and end point Cir_end;

[0121] Create a new trajectory; translate the starting point, middle point and end point of the arc trajectory by the distance Offset_X in the X direction to obtain new starting points new_Line_sta, new_Line_mid and end point new_Line_end, then create a new arc trajectory newedge_j based on the new starting point, middle point and end point, and add newedge_j to NewedgeList;

[0122] Create a new normal line; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList;

[0123] When edge_j is neither an arc nor a straight line, discretize edge_j to get a series of point sets poslist;

[0124] Create a new trajectory; translate all points in poslist by Offset_X distance in the X direction to obtain a new discrete point set newposlist; then create a new spline trajectory newedge_j based on the new discrete point set, and add newedge_j to NewedgeList;

[0125] Generate a new normal, traverse each point pos_i in poslist, and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList.

[0126] In this embodiment, after creating the newly added groove cutting trajectory and normal, the newly added trajectory and normal information are also added, and the specific method includes: recombining all the edges in NewedgeList into a new contour newContour according to the order of addition, and the corresponding normal information is NewNorLineList;

[0127] When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined;

[0128] When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

[0129] In S300 of this embodiment, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a K groove, the specific method includes:

[0130] Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1;

[0131] Calculate the track translation distance Offset_X; K groove requires two translations of the track, which are recorded as Offset_X_Z and Offset_X_F respectively; the calculation formulas include:

[0132] Offset_X_Z=H_Z*tan(Ang_Z)*sidetype;

[0133] Offset_X_F=-1*H_F*tan(Ang_F)*sidetype;

[0134] Among them, H_Z and H_F are the heights of the positive and negative bevels of the K groove, and Ang_Z and Ang_F are the positive and negative bevel angles;

[0135] Create K groove positive bevel cutting trajectory and normal; create a NewedgeList_Z list to store the newly added trajectory, create a normal information list NewNorLineList_Z to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_Z;

[0136] Create the K groove reverse bevel cutting trajectory and normal; create a NewedgeList_F list to store the newly added trajectory, create a normal information list NewNorLineList_F to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_F;

[0137] Add new tracks and normal information; recombine all edges in NewedgeList_Z into a new contour newContour_Z in the order of addition; its corresponding normal information is NewNorLineList_Z; recombine all edges in NewedgeList_F into a new contour newContour_F in the order of addition; its corresponding normal information is NewNorLineList_F; insert newContour_F in front of the original Contour and bind it; at the same time, add newContour_Z to the back of the original Contour and bind it, that is, first execute the reverse bevel groove, then execute the original straight cutting, and finally execute the positive bevel groove cutting, and finally combine them into K groove.

[0138] The embodiment of the present invention discloses a method for generating multiple groove trajectories and normal lines of the end face of a laser tube cutting, comprising: selecting the trajectory of the end face contour that needs groove cutting in the part to be processed, obtaining the geometric information of the trajectory, the set information at least includes the coordinate information of the trajectory feature points, the straight cutting normal information corresponding to the trajectory, the normal information after process adjustment and the special process information of the part; setting the corresponding groove information according to the actual process requirements, the groove information at least includes the groove type, groove angle, and bevel height; traversing all sub-trajectories of the selected contour, calculating the new trajectory and normal line information for each section of the trajectory according to different groove requirements, and subsequently generating the groove program according to the new trajectory and normal line information. The present invention is applicable to various pipe / steel parts, and converts ordinary straight cutting trajectories into various groove cutting trajectories. The groove cutting trajectory and normal line information are calculated according to the geometric information of the end face straight cutting trajectory combined with the set groove information, and are used to subsequently generate the groove cutting program, thereby meeting the groove cutting requirements.

[0139] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

[0140] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

[0141] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.

[0142] The steps of the method or algorithm described in conjunction with the embodiments herein may be directly embodied as hardware, a software module executed by a processor, or a combination thereof. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The ASIC may be located in a user terminal. Of course, the processor and the storage medium may also be present in a user terminal as discrete components.

[0143] For software implementation, the techniques described in this application can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described in this application. These software codes can be stored in a memory unit and executed by a processor. The memory unit can be implemented within the processor or outside the processor. In the latter case, it is coupled to the processor in a communication manner via various means, which are well known in the art.

[0144] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

Claims

1. A method for generating multiple groove trajectories and normal lines of a laser cut tube end face, characterized in that: include: S100. Select the trajectory of the end face profile that needs beveling cutting in the part to be processed, and obtain the geometric information of the trajectory, wherein the set information includes at least the coordinate information of the trajectory feature points, the straight cutting normal information corresponding to the trajectory, the normal information after process adjustment, and the special process information of the part; S200. According to the actual process requirements, corresponding groove information is set, wherein the groove information includes at least groove type, groove angle, and slope height; S300. Traverse all sub-trajectories of the selected contour, calculate new trajectory and normal information for each trajectory according to different groove requirements, and subsequently generate a groove program based on the new trajectory and normal information.

2. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 1, characterized in that: In S100, the trajectory of the end face contour that needs beveling cutting in the part to be processed is selected, and the geometric information of the trajectory is obtained. The specific method includes: selecting the end face contour Contour that needs beveling cutting in the part to be processed, recording the wall thickness Part_Thickness of the part and the geometric information of each sub-trajectory in the contour Contour, wherein the geometric information at least includes the trajectory type and the coordinates of the feature points; recording the original normal line information list corresponding to each discrete point in the contour Contour, recorded as OriNorLineList, wherein the elements in the list are P_V(pt,vec), wherein pt is the normal line corresponding to the point in the contour Contour. Coordinate point, vec represents the normal vector of the coordinate point; record whether the part needs special process requirements for anti-collision. When the part needs special process requirements for anti-collision, rotate the normal vector around the X-axis to adjust the part, and record the adjusted normal information list, recorded as R_NorLineList, the elements in the list are P_V (pt, vec), where pt is the coordinate point corresponding to the normal in the contour Contour, and vec represents the normal vector of the coordinate point; record whether the process shortening attribute is set for each sub-trajectory in the contour Contour. If the process shortening attribute is set, record the process shortening distance Shorten_L of the sub-trajectory.

3. The method for generating multiple groove trajectories and normal lines of the end face of laser cutting tube according to claim 1, characterized in that: In S200, the corresponding groove information is set according to the actual process requirements, and the groove information at least includes the groove type, groove angle, and bevel height; wherein the groove type includes positive and negative V groove, positive and negative Y groove, and K groove; when the groove type is positive and negative V groove, the positive and negative type of the groove is set to ZF_Type1, and the groove angle Ang1 is set; when the groove type is positive and negative Y groove, the positive and negative type of the groove is set to ZF_Type2, the groove angle Ang2 is set, and the bevel height H is set; when the groove type is K groove, the positive groove angle Ang_Z, the positive bevel height H_Z, the negative groove angle Ang_F, and the negative bevel height H_F are set.

4. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 2, characterized in that: In S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative V groove, the specific method includes: Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1; Calculate the trajectory translation distance Offset_X; when the groove type ZF_Type1 is a positive V slope, the calculation formula includes: Offset_X = Part_Thickness*tan(Ang1)*sidetype; where Part_Thickness is the wall thickness of the part, and Ang1 is the groove angle; when the groove type ZF_Type1 is a negative V slope, Offset_X = 0; Traverse each sub-track edge_j of the selected contour Contour; according to the different types of sub-track edge_j, process them according to the first preset rule to generate the groove cutting track and normal line; after traversing all sub-tracks edge_j, construct the line information list newNorLineList_j according to the generated new normal line, All normal elements in the normal information list are collected together to form a new normal information list to replace the original normal information list.

5. The method for generating multiple groove trajectories and normal lines of the end face of a laser cut tube as claimed in claim 1, characterized in that: In S300, the first preset rule includes: when the sub-track edge_j is a straight line type, record the starting point Line_sta and the end point Line_end of the straight line; determine whether the process shortening attribute is added, if the process shortening is added, record the shortening distance Shorten_L, extend the straight line from the starting point to the end point Shorten_L, keep the starting point unchanged, and refresh Line_end; if the process shortening is not added, keep the starting point and end point of the straight line unchanged; Generate a new trajectory; translate the starting point and end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end, and establish a new linear trajectory newedge_j based on the new starting point and end point to replace the corresponding sub-trajectory in Contour; Generate a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z; Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList respectively, record them as Ori_Vec and R_Vec respectively, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes: vec_i.x=cos(rot_Ang)*tan(Ang); vec_i.y=Ori_Vec.y; vec_i.z=Ori_Vec.z; and normalize vec_i, count all pv_i to establish the normal information list newNorLineList_j.

6. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 5, characterized in that: In S300, the first preset rule further includes: when the sub-track edge_j is of arc type, recording the starting point Cir_sta, the middle point Cir_mid and the end point Cir_end of the arc; Generate a new trajectory; translate the starting point, middle point and end point of the arc trajectory in the X direction by the distance Offset_X to obtain a new starting point new_Line_sta, new_Line_mid and end point new_Line_end; establish a new arc trajectory newedge_j according to the new starting point, middle point and end point, and replace the corresponding sub-trajectory in Contour; Generate a new normal; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); Create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line; When the sub-trajectory edge_j is a spline that is neither an arc nor a straight line, the specific steps include: Discrete subtrajectory edge_j to obtain a series of point sets poslist; Generate a new trajectory; translate all points in poslist by the distance Offset_X in the X direction to obtain a new discrete point set newposlist, and then establish a new spline trajectory newedge_j based on the new discrete point set to replace the corresponding sub-trajectory in Contour; Generate a new normal; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); create a normal information list newNorLineList_j according to the method of creating a normal information list for a straight line.

7. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 2, characterized in that: In S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is a positive and negative Y groove, the specific method includes: Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1; Calculate the track translation distance Offset_X; when the groove type is positive Y slope, the calculation formula includes: Offset_X = H*tan(Ang2)*sidetype; where H is the height of the Y slope bevel, and Ang2 is the groove angle; when the groove type is reverse Y slope, Offset_X = -H*tan(Ang2)*sidetype; Create a new groove cutting track and normal line; the Y groove needs to retain the original straight cutting track and normal line information, and then add the groove track and normal line information to it. The Y groove is the newly added groove track and normal line information. The specific methods include: Create a NewedgeList list to store the newly added tracks, and create a normal information list NewNorLineList to store the new normal information; Traverse each sub-track edge_j of the selected Contour; according to the different types of sub-track edge_j, process them according to the second preset rule to create a new groove cutting track and normal; Add new tracks and normal information; create a NewedgeList list to store the new tracks, and create a normal information list NewNorLineList to store the new normal information; reassemble all the edges in NewedgeList into a new contour newContour in the order of addition; its corresponding normal information is NewNorLineList; When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined; When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

8. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 7, characterized in that: Processing is performed according to the second preset rule to create a new groove cutting trajectory and normal line, wherein the second preset rule includes: When edge_j is a straight line type, record the starting point Line_sta and the end point Line_end of the straight line; Determine whether the process shortening attribute is added. If the process shortening is added, record the shortening distance Shorten_L, then extend the straight line from the starting point to the end point by Shorten_L, keep the starting point unchanged, and refresh Line_end; if the process shortening is not added, keep the starting point and end point of the straight line unchanged; Create a new trajectory; translate the starting point and the end point of the linear trajectory by the distance Offset_X in the X direction to obtain a new starting point new_Line_sta and an end point new_Line_end; create a new linear trajectory newedge_j according to the new starting point and end point, and add newedge_j to NewedgeList; Create a new normal line; discretize the straight line formed by the starting point Line_sta and the end point Line_end of the straight line to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); set pt_i.x = pos_i.x + Offset_X; pt_i.y = pos_i.y; pt_i.z = pos_i.z; Find the normal vector corresponding to the point whose coordinate point is closest to pos_i in the elements of OriNorLineList and R_NorLineList, respectively, record them as Ori_Vec and R_Vec, calculate the angle rot_Ang between Ori_Vec and R_Vec; then calculate the new normal vector vec_i, the calculation method includes: vec_i.x=cos(rot_Ang)*tan(Ang); vec_i.y=Ori_Vec.y;vec_i.z=Ori_Vec.z;and normalize vec_i, add pv_i to NewNorLineList; When edge_j is an arc type, record the arc's starting point Cir_sta, middle point Cir_mid, and end point Cir_end; Create a new trajectory; translate the starting point, middle point and end point of the arc trajectory by the distance Offset_X in the X direction to obtain new starting points new_Line_sta, new_Line_mid and end point new_Line_end, then create a new arc trajectory newedge_j based on the new starting point, middle point and end point, and add newedge_j to NewedgeList; Create a new normal line; discretize the original arc to obtain a series of point sets poslist; traverse each point pos_i in poslist and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList; When edge_j is neither an arc nor a straight line, discretize edge_j to get a series of point sets poslist; Create a new trajectory; translate all points in poslist by Offset_X distance in the X direction to obtain a new discrete point set newposlist; then create a new spline trajectory newedge_j based on the new discrete point set, and add newedge_j to NewedgeList; Generate a new normal, traverse each point pos_i in poslist, and create a normal information element pv_i (pt_i, vec_i); and add pv_i to NewNorLineList.

9. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 7, characterized in that: When the new groove cutting trajectory and normal are created, the new trajectory and normal information are also added. The specific method includes: all the edges in NewedgeList are recombined into a new contour newContour according to the order of addition, and the corresponding normal information is NewNorLineList; When the groove type is positive Y slope, newContour is added to the back of the original Contour and bound, that is, the original straight cut is performed first and then the newly added groove cutting is performed, and finally a positive Y groove is combined; When the groove type is a reverse Y groove, the newContour is inserted in front of the original Contour and bound, that is, the newly added groove cutting is performed first, and then the original straight cutting is performed, and finally the reverse Y groove is combined.

10. A method for generating multiple groove trajectories and normal lines for laser tube cutting end surface according to claim 7, characterized in that: In S300, all sub-trajectories of the selected contour are traversed, and new trajectory and normal information are calculated for each segment of the trajectory according to different groove requirements. When the groove type is K groove, the specific method includes: Set the end face identifier sidetype. If the end face of the selected contour is located near the origin, sidetype=1; if the end face of the selected contour is located far from the origin, sidetype=-1; Calculate the track translation distance Offset_X; K groove requires two translations of the track, which are recorded as Offset_X_Z and Offset_X_F respectively; the calculation formulas include: Offset_X_Z=H_Z*tan(Ang_Z)*sidetype; Offset_X_F=-1*H_F*tan(Ang_F)*sidetype; Among them, H_Z and H_F are the heights of the positive and negative bevels of the K groove, and Ang_Z and Ang_F are the positive and negative bevel angles; Create K groove positive bevel cutting trajectory and normal; create a NewedgeList_Z list to store the newly added trajectory, create a normal information list NewNorLineList_Z to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_Z; Create the K groove reverse bevel cutting trajectory and normal; create a NewedgeList_F list to store the newly added trajectory, create a normal information list NewNorLineList_F to store the new normal information, process it according to the second preset rule, and replace the Offset_X with the corresponding Offset_X_F; Add new tracks and normal information; recombine all edges in NewedgeList_Z into a new contour newContour_Z in the order of addition; its corresponding normal information is NewNorLineList_Z; recombine all edges in NewedgeList_F into a new contour newContour_F in the order of addition; its corresponding normal information is NewNorLineList_F; insert newContour_F in front of the original Contour and bind it; at the same time, add newContour_Z to the back of the original Contour and bind it, that is, first execute the reverse bevel groove, then execute the original straight cutting, and finally execute the positive bevel groove cutting, and finally combine them into K groove.

Citation Information

Patent Citations

  • Friction type intersecting line cutting machine

    CN101698268A

  • Method and device for automatically generating groove cutting track, computer equipment and medium

    CN113751824A

  • Laser cutting method, device and equipment and storage medium

    CN114713973A

  • Laser cutting method, device and equipment for pipe with welding groove and storage medium

    CN115647600A

  • Self-adaptive compensation method and system for Y-shaped groove of plasma cutting intersecting branch pipe

    CN115922040A