Waste cutting method based on laser cutting machine system
By automatically generating cutting lines, using initialization parameters and optimization ray method, the problem of waste materials sticking to parts in laser cutting is solved, and the cutting efficiency and part quality are improved.
Patent Information
- Application Number
- CN202510907622.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-02
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-07-02
AI Technical Summary
In the existing laser cutting technology, after the workpiece is cut, the problem of waste materials and parts sticking is difficult to effectively solve, and the traditional grid cutting line treatment solution is inefficient and costly.
The method of automatically generating cutting lines is adopted. By setting initialization parameters and optimizing ray method, the horizontal and vertical cutting lines are automatically generated to ensure that the cutting lines match the part graphics, avoid too dense grids, and cut at the vertices of the parts to solve the adhesion problem.
Improve the efficiency and accuracy of cutting lines, ensure that the waste is completely separated from the parts, avoid the problems of increasing adhesion and cutting time in traditional methods, and ensure the quality of the parts.
Smart Images

Figure CN120409057A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of laser cutting, and particularly to a waste cutting method based on a laser cutting machine system. Background Art
[0002] Laser cutting is a processing method that uses a high-intensity focused laser beam as a heat source to melt, vaporize or burn materials, and blows away the molten or combusted materials with the help of auxiliary gases (such as oxygen, nitrogen, air or inert gases), thereby forming precise and narrow cuts on the materials. In the prior art, after the workpiece cutting is completed, whether it is through a robotic arm or manual picking, a problem is often encountered: since the parts are usually closed contours, when the parts are grabbed, the surrounding waste materials and the parts usually have some adhesions due to burrs and other reasons, resulting in dragging the waste materials when grabbing or being unable to grab the target part. Currently, according to experience and the situation of the sheet metal, some cutting lines are manually added to perform a grid cutting line treatment on the waste materials around the target workpiece, dividing the waste materials into multiple small pieces in order to reduce the adhesion between the waste materials and the workpiece when grabbing the workpiece. However, the effect of this grid cutting line treatment scheme is not ideal. The main reason is that there are often waste material small pieces connected to the target part on two or more sides after cutting, so the adhesion problem has not been fundamentally solved. In addition, when the grid is set too dense, although the adhesion may be reduced to a certain extent, it will significantly increase the processing time of laser cutting, reduce production efficiency, and increase production costs. Summary of the Invention
[0003] The purpose of the present invention is to solve the deficiencies existing in the prior art, and to propose a waste cutting method based on a laser cutting machine system.
[0004] To achieve the above purpose, the present invention adopts the following technical solutions: A waste cutting method based on a laser cutting machine system, comprising the following steps: S1: Set initialization parameters; The user inputs the master plate parameters, the minimum distance of the grid lines, and the grid density according to the actual sheet metal situation; S2: Initialize the part coordinates; Obtain the outer contour coordinates of all parts, and arrange the abscissa and ordinate in ascending order respectively to obtain the abscissa point set and the ordinate point set; S3: Obtain the horizontal and vertical cutting line coordinates; Obtain the set of abscissa points, starting from the first abscissa. Discard the abscissas whose distance is less than the minimum distance of the grid lines, and filter to obtain the first point set. Perform a secondary process on the first point set. Compare whether the difference between two adjacent abscissas exceeds twice the grid density. If it exceeds, insert the abscissa of the grid point at the midpoint of the two adjacent abscissas, add the midpoint of the two adjacent abscissas to the first point set, traverse and compare all abscissas, obtain the second point set, and obtain all the coordinates of the vertical cutting line. Process the set of ordinate points in the same way to obtain all the coordinates of the horizontal cutting line. S4: Generate horizontal and vertical cutting lines; According to the coordinates of the obtained horizontal cutting line and vertical cutting line, divide the grid on the master plate, and cut the grids that fall inside the outer contour of the part to obtain all the cutting lines.
[0005] Furthermore, it also includes: S21: Draw the part graphics; According to the master plate parameters, create a master plate in the laser cutting system, draw the part graphics in the master plate, or import the pre-completed design drawing into the master plate; S22: Obtain the outer contour coordinates of all parts; Obtain all the sides of the part graphics in the master plate, convert all the sides into line segments, obtain the coordinates of the two endpoints of the line segments, remove the duplicate point coordinates, and obtain the outer contour coordinates of the parts; S23: Obtain the set of abscissa points and the set of ordinate points; Arrange the abscissas and ordinates of the outer contour coordinates of the parts in ascending order respectively to obtain the set of abscissa points and the set of ordinate points.
[0006] Furthermore, step S22 is specifically: Obtain all the sides of the part graphics, judge the type of the side. If it is a straight line trajectory, directly convert the straight line trajectory into a line segment and obtain the coordinates of the two endpoints of the line segment; if it is a non-straight trajectory, discretize it into several line segments, obtain the coordinates of the two endpoints of the line segments, compare whether there are the same coordinates for all the line segment coordinates. If there are, remove the duplicate line segment endpoint coordinates and only retain one endpoint coordinate. After processing, obtain all the outer contour coordinates of the parts.
[0007] Furthermore, step S3 includes: S31: Filter the set of abscissa points to obtain the first point set; Obtain the set of abscissa points, set the first abscissa as the reference point, check the difference between the next abscissa and the reference point. If the difference is less than the minimum distance of the grid lines, discard the abscissa; if the difference is greater than or equal to the minimum distance of the grid lines, retain the abscissa, update the value of the retained abscissa as the reference point, continue to compare the subsequent coordinates, traverse all the abscissas in the set of abscissa points, and obtain the first point set; S32: Process the first point set for the second time to obtain the second point set; Traverse the first point set, calculate whether the difference between two adjacent abscissas exceeds twice the grid density. If it exceeds, add the value of 1 / 2 of the sum of the two abscissas to the first point set. Traverse and compare all abscissas to obtain the second point set and all the coordinates of the vertical cutting line; S33: Process the ordinate point set in the same way to obtain the second point set of the ordinate; Obtain the ordinate point set, and use the same processing logic as in steps S31 and S32 to obtain all the coordinates of the horizontal cutting line.
[0008] Further, step S4 specifically is: S41: Divide grids on the mother board; According to the abscissa points in the second point set obtained from the abscissa point set, generate multiple straight lines parallel to the y-axis on the mother board. According to the ordinate points in the second point set obtained from the ordinate point set, generate multiple straight lines parallel to the x-axis on the mother board; S42: Cut the grids that fall inside the outer contour of the part; Obtain the intersection points of the straight lines and the part graphics. Connect two adjacent intersection points into a line segment. Determine whether the points on the line segment are inside the part graphics by the ray method, determine the position relationship between the line segment and the part graphics, and cut the line segments inside the part graphics.
[0009] Further, step S42 includes: Select a straight line as the target straight line, obtain the intersection points of the target straight line and the part graphics on the mother board, connect two adjacent intersection points into a line segment, obtain the coordinates of the starting point and the ending point of the line segment as the points to be measured. First, use the starting point as the point to be measured, emit a ray in the positive x-axis direction, obtain the number of intersection points of the ray and the part graphics. If the number of intersection points is odd, the point to be measured is inside the part graphics. If the number of intersection points is even, the point to be measured is outside the part graphics. Use the ending point as the point to be measured in the same way, obtain the number of intersection points of the ending point and the ray emitted and the part graphics. If the starting point is outside the part graphics and the ending point is inside the part graphics, then determine that the line segment is inside the part graphics and delete the line segment where the point to be measured is located. Otherwise, retain the line segment where the point to be measured is located. Traverse all line segments to obtain the cut cutting line; Traverse all straight lines and delete the line segments inside the part graphics contour to obtain the final cutting line.
[0010] Further, it also includes: S421: According to the processing method of the cutting line of the custom part graphics boundary, retain or remove the line segments that coincide with the part graphics boundary; When setting the initialization parameters, also custom-set the processing method of the cutting line of the part graphics boundary, and the processing methods include retaining or removing; Obtain all the edges of the part graphics in the motherboard, convert all the edges into line segments, set the line segment where the point to be measured is located as the target line segment, compare whether the target line segment coincides with the line segments converted from all the edges. If they coincide, obtain a custom processing method to retain or remove the target line segment that coincides with the boundary of the part graphics; S422: Identify that the ray emitted by the point to be measured passes through the vertex of the part graphics, adjust the ray angle, and determine whether the point to be measured is inside or outside the part graphics; Obtain the coordinates of the intersection point of the ray of the point to be measured and the part graphics and the coordinates of the vertex of the part graphics, and compare whether they have the same coordinates. If so, the ray emitted by the point to be measured passes through the vertex of the part graphics. The initial ray direction is along the positive X-axis direction. When it is identified that it passes through the polygon vertex, adjust the ray direction, emit the ray by offsetting the perturbation angle, obtain the intersection point coordinates again, and perform the identification of whether it passes through the vertex. If it still passes through the vertex, repeat this process until it does not pass through the vertex of the part graphics. Then, through the ray method, according to the number of intersection points of the ray and the part graphics, obtain the internal and external relationship between the point to be measured and the part graphics, and cut or retain the line segment where the point to be measured is located; S423: Identify that the ray emitted by the point to be measured coincides with the edge of the part graphics, adjust the ray angle, and determine whether the point to be measured is inside or outside the part graphics; Convert all the edges of the part graphics into line segments, compare whether the line segments converted from all the edges coincide with the ray. If they coincide, it is identified that the ray emitted by the point to be measured coincides with the edge of the part graphics. Adjust the ray direction, emit the ray by offsetting the perturbation angle, and compare again whether the line segments converted from all the edges coincide with the ray. If there is still coincidence, repeat this process until the ray does not coincide with the edge of the part graphics. Then, through the ray method, according to the number of intersection points of the ray and the part graphics, obtain the internal and external relationship between the point to be measured and the part graphics, and cut or retain the line segment where the point to be measured is located.
[0011] Furthermore, the motherboard parameters include position and size.
[0012] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention automatically generates cutting lines without manual division of cutting lines, improves the cutting line efficiency, is simple and convenient to use, and is easy to operate; the obtained cutting lines can pass through the vertices of the parts as much as possible, and it is easier to hang materials at the vertices. After cutting here, the problem of adhesion between parts and waste materials is effectively solved.
[0013] (2) The present invention sets the initialization parameters according to the actual situation of the plate to ensure the density of the cutting lines, avoid too dense cutting grids, increase the cutting time, reduce the cutting efficiency, and increase the production cost. The waste cutting lines of the present invention match the contour of the part graphics to ensure the complete separation of the waste blocks and the parts, solve the problem of waste adhesion caused by traditional grid cutting, and avoid the problem that the traditional manual division of grid lines divides the waste into small pieces, resulting in the small pieces still adhering to the parts.
[0014] (3) The ray method of the present invention is optimized. After optimization, the ray method can correctly judge the positional relationship between a point and a graphic, and thus the positional relationship between a line segment and a graphic can also be correctly judged. This solves the following special cases: 1. The point is on the boundary of the polygon; 2. The ray emitted from the point passes through the vertex of the polygon; 3. The ray emitted from the point coincides with a certain side of the polygon and in the corresponding combined cases, the ray method cannot accurately judge the relationship between the point and the polygon, or misjudgment will occur. This ensures accurate judgment of the internal and external relationships, correctly cuts the cutting line, avoids misjudgment and damage to the cut parts, and guarantees the quality of the parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flowchart of the steps of a waste cutting method based on a laser cutting machine system according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0016] To further understand the purpose, structure, features and functions of the present invention, the following is a detailed description in conjunction with the embodiments.
[0017] As Figure 1 shown, a waste cutting method based on a laser cutting machine system includes the following steps: S1: Set initialization parameters; The user inputs the parameters of the master plate, the minimum distance of the grid lines, and the grid density, etc. according to the actual plate situation.
[0018] The parameters of the master plate include the position and size.
[0019] The processing method of the cutting line of the part graphic boundary is also customarily set, and the processing methods include retention or removal.
[0020] S2: Initialize the part coordinates; Obtain the coordinates of all the outer contours of the parts, and arrange the abscissas and ordinates in ascending order respectively to obtain the abscissa point set and the ordinate point set.
[0021] S21: Draw the part graphic; According to the parameters of the master plate, create a master plate in the laser cutting system, draw the part graphic in the master plate, or import the pre-completed CAD design drawing into the drawing master plate; S22: Obtain the coordinates of all the outer contours of the parts; The outer contour refers to the boundary trajectory of the part. Obtain all the sides of the part graphic in the master plate, convert all the sides into line segments, obtain the coordinates of the two endpoints of the line segments, remove the duplicate point coordinates, and obtain the coordinates of the outer contour of the part.
[0022] Specifically, it includes: obtaining all the edges of the part graph, determining the type of the edge. If it is a straight-line trajectory, directly convert the straight-line trajectory into a line segment and obtain the coordinates of the two endpoints of the line segment. If it is a non-straight trajectory, discretize it into several line segments, obtain the coordinates of the two endpoints of the line segment, and compare the coordinates of all line segments to check if there are the same coordinates. If so, remove the duplicate endpoint coordinates of the line segments and only retain one endpoint coordinate. After processing, obtain all the outer contour coordinates of the part. By converting the edges of the part into line segments and obtaining the contour points, the present invention ensures that the number of obtained contour point coordinates is controllable and guarantees the processing speed.
[0023] S23: Obtain the abscissa point set and the ordinate point set; Arrange the abscissas and ordinates of the outer contour coordinates of the part in ascending order respectively to obtain the abscissa point set and the ordinate point set.
[0024] S3: Obtain the horizontal and vertical cutting line coordinates; Obtain the abscissa point set, starting from the first abscissa. Discard the abscissas with a distance less than the minimum distance of the grid lines, that is, the abscissas that are relatively close. After filtering the abscissa point set, obtain the first point set. Perform secondary processing on the first point set. Compare whether the difference between two adjacent abscissas exceeds twice the grid density. If it exceeds, insert the abscissa of the grid point at the midpoint of the two adjacent abscissas and add the midpoint of the two adjacent abscissas to the first point set. Traverse and compare all abscissas to obtain the second point set and all the coordinates of the vertical cutting line. Similarly, obtain all the coordinates of the horizontal cutting line.
[0025] S31: Filter the abscissa point set to obtain the first point set; Obtain the abscissa point set, set the first abscissa as the reference point, check the difference between the next abscissa and the reference point. If the difference is less than the minimum distance of the grid lines, discard the abscissa; if the difference is greater than or equal to the minimum distance of the grid lines, retain the abscissa, update the value of the retained abscissa as the reference point, and continue to compare the subsequent coordinates. Traverse all the abscissas in the abscissa point set to obtain the first point set.
[0026] S32: Perform secondary processing on the first point set to obtain the second point set.
[0027] Traverse the first point set, calculate whether the difference between two adjacent abscissas exceeds twice the grid density. If it exceeds, add the value of 1 / 2 of the sum of the two abscissas to the first point set. Traverse and compare all abscissas to obtain the second point set and all the coordinates of the vertical cutting line; S33: Process the ordinate point set in the same way to obtain the second point set of the ordinates.
[0028] Obtain the set of vertical coordinate points, and use the same processing logic as in step S31 and step S32 to obtain the second set of vertical coordinates, and obtain all the coordinates of the horizontal cutting line.
[0029] S4: Generate horizontal and vertical cutting lines; According to the coordinates of the obtained horizontal cutting line and vertical cutting line, divide the grid on the master plate, and cut the grid that falls inside the outer contour of the part to obtain all the cutting lines.
[0030] The cutting lines obtained by this method can pass through the vertices of the part as much as possible, and it is easier to hang materials at the vertices. Cutting here is more helpful for solving the problem that the waste around and the part are usually adhered due to burrs and other reasons.
[0031] S41: Divide the grid on the master plate; According to the abscissa points in the second set obtained from the abscissa point set, generate multiple straight lines parallel to the y-axis on the master plate. According to the ordinate points in the second set obtained from the ordinate point set, generate multiple straight lines parallel to the x-axis on the master plate.
[0032] S42: Cut the grid that falls inside the outer contour of the part; The judgment method is optimized based on the traditional ray method. The straight line finds the intersection points with all the graphics within the range of the plate. The adjacent intersection points are connected into a line segment in pairs. The position relationship between the line segment and the graphics is judged by judging whether the points of the line segment are inside the closed graphics through the optimized ray method.
[0033] The ray method starts from the point to be measured and emits a "ray" in any direction, obtains the number of intersection points of this ray and the polygon boundary, and judges the position relationship of this point. Usually, the positive direction of the X-axis is selected as the direction.
[0034] Select a straight line as the target straight line, obtain the intersection points of the target straight line and the part graphics on the master plate, connect the adjacent intersection points into a line segment in pairs, and obtain the coordinates of the starting point and the ending point of the line segment as the points to be measured. First, use the starting point as the point to be measured, select the positive direction of the X-axis to emit a ray, and obtain the number of intersection points of the ray and the part graphics. If the number of intersection points is odd, the point to be measured is inside the part graphics. If the number of intersection points is even, the point to be measured is outside the part graphics. Use the ending point as the point to be measured in the same way, and obtain the number of intersection points of the ending point and the ray emitted and the part graphics. If the starting point is outside the part graphics and the ending point is inside the part graphics, then judge that the line segment is inside the part graphics and delete the line segment where the point to be measured is located. Otherwise, keep the line segment where the point to be measured is located. Traverse all the line segments to obtain the cut cutting lines. Traverse all the straight lines and delete the line segments inside the part graphics contour to obtain the final cutting lines.
[0035] Furthermore, it also includes special case processing: S421: According to the processing method of the cutting line based on the boundary of the custom part graphic, retain or remove the line segments that coincide with the part graphic boundary. Obtain all the sides of the part graphic in the mother board, convert all the sides into line segments, set the line segment where the point to be measured is located as the target line segment, compare whether the target line segment coincides with the line segments converted from all the sides. If they coincide, obtain the custom processing method to retain or remove the target line segment that coincides with the part graphic boundary. The processing methods for the points on the boundary will be different in different scenarios, and can be adjusted according to the requirements of different scenarios to ensure high flexibility and wide adaptability of this method to meet the market needs.
[0036] The method of converting all the sides into line segments is the same as that in step S22, that is, the straight-line trajectory is directly converted into a line segment, and the non-straight-line trajectory is discretely cut into several line segments.
[0037] S422: Identify that the ray emitted by the point to be measured passes through the vertex of the part graphic, adjust the ray angle, and judge whether the point to be measured is inside or outside the part graphic. Obtain the coordinates of the intersection point of the ray of the point to be measured and the part graphic and the coordinates of the vertex of the part graphic, and compare whether they have the same coordinates. If so, the ray emitted by the point to be measured passes through the vertex of the part graphic. The initial ray direction is along the positive X-axis direction. When it is identified that it passes through the polygon vertex, adjust the ray direction and emit the ray by offsetting the perturbation angle (perturb a very small angle). Obtain the intersection point coordinates again and perform the identification of whether it passes through the vertex. If it still passes through the vertex, repeat this process until it does not pass through the vertex of the part graphic. At this time, the correct internal and external relationship judgment can be obtained, and the line segment where the point to be measured is located is cropped or retained according to the internal and external relationship between the starting point and the ending point of the line segment.
[0038] S423: Identify that the ray emitted by the point to be measured coincides with the side of the part graphic, adjust the ray angle, and judge whether the point to be measured is inside or outside the part graphic.
[0039] Convert all the sides of the part graphic into line segments, compare whether the line segments converted from all the sides coincide with the ray. If they coincide, it is identified that the ray emitted by the point to be measured coincides with the side of the part graphic. With the same processing method as in S422, adjust the ray direction and emit the ray by offsetting the perturbation angle (perturb a very small angle). Compare again whether the line segments converted from all the sides coincide with the ray. If there is still a coincidence, repeat this process until the ray does not coincide with the side of the part graphic. According to the number of intersection points of the ray and the part graphic, obtain the correct internal and external relationship between the point to be measured and the part graphic, and crop or retain the line segment where the point to be measured is located.
[0040] The optimized ray method can correctly determine the positional relationship between a point and a graphic, and thus the positional relationship between a line segment and a graphic can also be correctly determined. It solves the problems in special cases: 1. The point is on the boundary of the polygon; 2. The ray emitted from the point passes through the vertex of the polygon; 3. The ray emitted from the point coincides with a certain side of the polygon and in corresponding composite cases, where the ray method cannot accurately determine the relationship between the point and the polygon, or misjudgment may occur, ensuring accurate determination of the internal and external relationships, correctly cutting the cutting line, avoiding misjudgment and damaging the cut parts, and ensuring the quality of the parts.
[0041] The present invention has been described by the above related embodiments. However, the above embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention fall within the scope of the patent protection of the present invention.
Claims
1. A waste cutting method based on a laser cutting machine system, characterized in that: It includes the following steps: S1: Set initialization parameters; The user inputs the parameters of the master plate, the minimum distance between grid lines, and the grid density according to the actual plate situation. S2: Initialize the part coordinates; Obtain the coordinates of all part outer contours, sort the abscissas and ordinates in ascending order respectively to obtain the abscissa point set and the ordinate point set. S3: Obtain the coordinates of the horizontal and vertical cutting lines; Obtain the abscissa point set, start from the first abscissa, discard the abscissas with a distance less than the minimum distance between grid lines, and filter to obtain the first point set; perform secondary processing on the first point set, compare whether the difference between adjacent two abscissas exceeds twice the grid density, if it exceeds, insert the abscissa of the grid point at the midpoint between the adjacent two abscissas, add the midpoint between the adjacent two abscissas to the first point set, traverse and compare all abscissas, obtain the second point set, and obtain all the coordinates of the vertical cutting line; process the ordinate point set in the same way to obtain all the coordinates of the horizontal cutting line. S4: Generate the horizontal and vertical cutting lines; According to the obtained coordinates of the horizontal and vertical cutting lines, divide the grid on the master plate, and cut the grids falling inside the part outer contour to obtain all the cutting lines.
2. The waste cutting method based on the laser cutting machine system according to claim 1, wherein: It also includes: S21: Draw the part graphics; According to the master plate parameters, create a master plate in the laser cutting system, draw the part graphics in the master plate, or import the pre-completed design drawing into the master plate. S22: Obtain the outer contour coordinates of all parts; Obtain all the edges of the part graphics in the master plate, convert all the edges into line segments, obtain the coordinates of the two endpoints of the line segments, remove the duplicate point coordinates, and obtain the outer contour coordinates of the parts. S23: Obtain the abscissa point set and the ordinate point set; Sort the abscissas and ordinates of the part outer contour coordinates in ascending order respectively to obtain the abscissa point set and the ordinate point set.
3. The waste cutting method based on the laser cutting machine system according to claim 2, wherein: Step S22 specifically is: Obtain all the edges of the part graphics, judge the type of the edge, if it is a straight line trajectory, directly convert the straight line trajectory into a line segment, and obtain the coordinates of the two endpoints of the line segment; If it is a non-straight trajectory, discretize it into several line segments, obtain the coordinates of the two endpoints of the line segment, compare whether there are the same coordinates for all the line segment coordinates, if there are, then remove the duplicate line segment endpoint coordinates, and only keep one endpoint coordinate. After processing, obtain the outer contour coordinates of all parts.
4. The waste cutting method based on a laser cutting machine system according to claim 1, wherein: Step S3 includes: S31: Filter the abscissa point set to obtain the first point set; Obtain the abscissa point set, set the first abscissa as the reference point, check the difference between the next abscissa and the reference point, if the difference is less than the minimum distance between grid lines, discard the abscissa; if the difference is greater than or equal to the minimum distance between grid lines, keep the abscissa, update the value of the kept abscissa as the reference point, continue to compare the subsequent coordinates, traverse all the abscissas in the abscissa point set, and obtain the first point set. S32: Perform secondary processing on the first point set to obtain the second point set; Traverse the first point set, calculate whether the difference between adjacent two abscissas exceeds twice the grid density, if it exceeds, add the value of 1 / 2 of the sum of the two abscissas to the first point set, traverse and compare all abscissas, obtain the second point set, and obtain all the coordinates of the vertical cutting line. S33: Process the set of vertical coordinate points in the same way to obtain the second set of vertical coordinates; Obtain the set of vertical coordinate points, and use the same processing logic as in steps S31 and S32 to obtain all the coordinates of the horizontal cutting line.
5. The waste cutting method based on a laser cutting machine system according to claim 2, characterized in that: Step S4 is specifically as follows: S41: Divide the grid on the mother board; According to the abscissa points in the second set obtained from the set of abscissa points, generate multiple straight lines parallel to the y-axis on the mother board. According to the ordinate points in the second set obtained from the set of ordinate points, generate multiple straight lines parallel to the x-axis on the mother board; S42: Cut the grids that fall inside the outer contour of the part; Obtain the intersection points of the straight lines and the part graphics. Connect two adjacent intersection points into a line segment. Use the ray method to determine whether the points on the line segment are inside the part graphics, determine the position relationship between the line segment and the part graphics, and cut the line segments inside the part graphics.
6. The waste cutting method based on a laser cutting machine system according to claim 5, characterized in that: Step S42 includes: Select a straight line as the target straight line, obtain the intersection points of the target straight line and the part graphics on the mother board, connect two adjacent intersection points into a line segment, obtain the coordinates of the starting point and the ending point of the line segment as the test points. First, use the starting point as the test point, select a ray in the positive direction of the X-axis to emit, obtain the number of intersection points of the ray and the part graphics. If the number of intersection points is odd, the test point is inside the part graphics; if the number of intersection points is even, the test point is outside the part graphics. Use the ending point as the test point in the same way, obtain the number of intersection points of the ending point and the ray emitted and the part graphics. If the starting point is outside the part graphics and the ending point is inside the part graphics, then judge that the line segment is inside the part graphics, delete the line segment where the test point is located, otherwise, retain the line segment where the test point is located. Traverse all line segments to obtain the cut-off line after cutting; Traverse all straight lines, delete the line segments inside the contour of the part graphics to obtain the final cut-off line.
7. The waste cutting method based on a laser cutting machine system according to claim 6, characterized in that: It also includes: S421: According to the processing method of the cutting line of the boundary of the custom part graphics, retain or remove the line segments that coincide with the boundary of the part graphics; When setting the initialization parameters, also customize the processing method of the cutting line of the boundary of the part graphics, and the processing methods include retention or removal; Obtain all the edges of the part graphics on the mother board, convert all the edges into line segments, set the line segment where the test point is located as the target line segment, compare the target line segment with the line segments converted from all the edges, if they coincide, obtain the customized processing method, and retain or remove the target line segment that coincides with the boundary of the part graphics; S422: Identify that the ray emitted by the test point passes through the vertex of the part graphics, adjust the ray angle, and judge whether the test point is inside or outside the part graphics; Obtain the coordinates of the intersection points of the rays emitted from the points to be measured and the part graph, as well as the coordinates of the vertices of the part graph, and compare whether they have the same coordinates. If so, the rays emitted from the points to be measured pass through the vertices of the part graph. The initial ray direction is along the positive X-axis direction. When it is recognized that the ray passes through a polygon vertex, adjust the ray direction and emit a ray with an offset perturbation angle. Obtain the intersection point coordinates again and perform the vertex passing recognition. If it still passes through the vertex, repeat this process until it does not pass through the vertices of the part graph. Then, through the ray method, according to the number of intersection points of the ray and the part graph, obtain the internal and external relationship between the point to be measured and the part graph, and cut or retain the line segment where the point to be measured is located. S423: Identify that the ray emitted from the point to be measured coincides with the edge of the part graph, adjust the ray angle, and determine whether the point to be measured is inside or outside the part graph. Convert all the edges of the part graph into line segments, and compare whether the line segments converted from all the edges coincide with the ray. If they coincide, it is recognized that the ray emitted from the point to be measured coincides with the edge of the part graph. Adjust the ray direction and emit a ray with an offset perturbation angle. Then compare again whether the line segments converted from all the edges coincide with the ray. If there is still a coincidence, repeat this process until the ray does not coincide with the edge of the part graph. Then, through the ray method, according to the number of intersection points of the ray and the part graph, obtain the internal and external relationship between the point to be measured and the part graph, and cut or retain the line segment where the point to be measured is located.
8. The waste cutting method based on a laser cutting machine system according to claim 1, characterized in that: The master plate parameters include position and size.
Citation Information
Patent Citations
Part detecting method
CN103759638A
Method and system for automatically extracting three-dimensional model of building, storage medium and equipment
CN114429530A
Method for cutting of materials using modulated laser beam that cut the material along a desired cutting path through application of laser pulses, comprises freely selecting the pulse length of the laser pulse
DE102009049750A1
A method for treating waste material comprising one or more oxidized metals
WO2018108801A1
Cited By
Method for automatically generating and optimizing crushed material line of cutting piece
CN121745646A