Method, device, terminal equipment and storage medium for laser cutting of same-surface graphics
Patent Information
- Application Number
- CN202211335750.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-10-28
AI Technical Summary
Existing galvanometer scanning laser cutting systems are inefficient when cutting large-size graphics and are prone to problems such as overlap, gaps, and misalignment.
The coordinate system for laser cutting is established by calculating the circumscribed rectangle of the same-surface graphics. Based on the preset fixed cutting domain and graphics position coordinates, the graphics are traversed to establish the processing area, and different cutting domains are used for cutting to avoid unnecessary graphics cropping.
It achieves efficient and accurate laser cutting, avoids gaps and misalignment, improves processing efficiency and reduces blank areas.
Smart Images

Figure CN115582633B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser cutting technology, and in particular to a method, device, terminal equipment and storage medium for laser cutting same-plane graphics. Background Art
[0002] Existing galvanometer-scanning laser cutting systems are limited by the specifications of the F-Theta field mirror and the galvanometer angle, limiting the size of the graphics they can cut. When the actual graphics exceed the effective range of the galvanometer scanning, the graphics are grid-cut into several smaller graphics. These smaller graphics are then spliced together according to corresponding positions on the grid to create the original image, achieving the task of cutting the entire image. This post-cutting and splicing approach suffers from low processing efficiency and can lead to overlaps, gaps, and misalignment at the spliced edges, making it a major pain point in the laser cutting industry.
[0003] Therefore, how to use laser to efficiently and accurately cut graphics on the same surface is a problem that needs to be solved urgently. Summary of the Invention
[0004] The main purpose of this application is to provide a method, device, terminal equipment and storage medium for laser cutting of same-surface graphics, aiming to solve the current urgent problem of how to use laser to efficiently and accurately cut same-surface graphics.
[0005] To achieve the above objectives, the present application provides a method for laser cutting same-plane graphics, which is applied in the field of laser cutting technology. The method for laser cutting same-plane graphics comprises the following steps:
[0006] Obtaining the same-plane graphics to be cut, wherein the same-plane graphics include a plurality of graphics on the same plane and corresponding position coordinates on the plane;
[0007] Calculating the circumscribed rectangle of the same-plane graphic and establishing a laser cutting coordinate system based on the circumscribed rectangle;
[0008] According to the coordinate system of the laser cutting, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, the plurality of graphics on the same surface are traversed to establish a processing area for the graphics on the same surface;
[0009] The processing area of the same surface pattern is cut by laser.
[0010] Optionally, the preset fixed cutting domain includes a first cutting domain and a second cutting domain, the processing area includes a planning area and an expansion area, and the step of traversing the multiple graphics on the same surface according to the coordinate system of the laser cutting, the preset fixed cutting domain, the multiple graphics on the same surface, and the corresponding surface position coordinates to establish the processing area of the graphics on the same surface includes:
[0011] Traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the first cutting domain;
[0012] When traversing to a first figure covered by the first cutting area, allocating the first figure and the coordinates corresponding to the coordinate system to the planning area;
[0013] According to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the second cutting domain, traverse the graphics on the same surface that are not assigned to the planned area;
[0014] When the second graphic covered by the second cutting area is traversed, the second graphic and the coordinates corresponding to the coordinate system are allocated to the expanded area.
[0015] Optionally, the step of traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding surface position coordinates to establish the processing area of the graphics on the same surface further includes:
[0016] According to the laser cutting coordinate system and the first cutting domain, the graphics on the same surface that are not allocated to the processing area are gridded into a plurality of sub-graphics;
[0017] determining in sequence whether there is a cutting pattern in the plurality of sub-patterns;
[0018] The sub-graphics having the cutting graphics and the coordinates corresponding to the coordinate system are allocated to the processing area.
[0019] Optionally, the step of calculating the circumscribed rectangle of the same-plane graphic and establishing a coordinate system for laser cutting according to the circumscribed rectangle includes:
[0020] Calculate the circumscribed rectangle of the same-plane figure;
[0021] The upper left corner of the circumscribed rectangle is used as the starting point of the coordinate system for laser cutting the same-plane graphics, the rightward ray along the upper boundary of the circumscribed rectangle is the horizontal coordinate of the coordinate system, and the downward ray along the circumscribed rectangle is the vertical coordinate of the coordinate system.
[0022] Optionally, the step of traversing the plurality of graphics on the same surface according to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding surface position coordinates, and a preset fixed cutting area includes:
[0023] Based on the on-surface position coordinates corresponding to the plurality of graphics on the same surface, traverse the plurality of graphics on the same surface along the abscissa direction of the laser cutting coordinate system according to the length of the fixed cutting area until reaching the right boundary of the circumscribed rectangle;
[0024] Move the width of the fixed cutting area along the vertical coordinate direction of the laser cutting coordinate system, repeat the steps of traversing the multiple graphics on the same surface according to the length of the fixed cutting area based on the surface position coordinates corresponding to the multiple graphics on the same surface along the horizontal coordinate direction of the laser cutting coordinate system until reaching the right boundary of the circumscribed rectangle, until the circumscribed rectangle of the graphics on the same surface is traversed.
[0025] Optionally, the second cutting area is an area obtained by expanding the first cutting area outward in horizontal directions by a preset length in left and right directions and in vertical directions by a preset width in top and bottom directions.
[0026] The present application also proposes a device for laser cutting same-plane graphics, characterized in that the device for laser cutting same-plane graphics comprises:
[0027] Same-plane acquisition module: acquires the same-plane graphics to be cut, which include several graphics on the same plane and the corresponding position coordinates on the plane;
[0028] Coordinate establishment module: calculates the circumscribed rectangle of the same-plane graphics and establishes a coordinate system for laser cutting based on the circumscribed rectangle;
[0029] An area establishment module: traverses the plurality of graphics on the same surface according to the coordinate system of the laser cutting, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and establishes a processing area for the plurality of graphics on the same surface;
[0030] Laser cutting module: cutting the processing area of the same surface pattern by laser.
[0031] The implementation case of this application also proposes a terminal device, characterized in that the terminal device includes a memory, a processor, and a program for laser cutting same-surface graphics stored in the memory and runnable on the processor, and the program for laser cutting same-surface graphics, when executed by the processor, implements the steps of the method for laser cutting same-surface graphics.
[0032] The implementation case of this application also proposes a storage medium, characterized in that a program for laser cutting same-plane graphics is stored on the storage medium, and when the program for laser cutting same-plane graphics is executed by a processor, the steps of the method for laser cutting same-plane graphics are implemented.
[0033] This application proposes a method, apparatus, terminal device, and storage medium for laser cutting coplanar graphics. The method involves obtaining coplanar graphics to be cut, the coplanar graphics comprising multiple coplanar graphics and corresponding on-surface position coordinates; calculating the circumscribed rectangle of the coplanar graphics and establishing a laser cutting coordinate system based on the circumscribed rectangle; traversing the coplanar graphics based on the laser cutting coordinate system, a preset fixed cutting domain, and the coplanar graphics and corresponding on-surface position coordinates to establish a processing area for the coplanar graphics; and laser cutting the processing area for the coplanar graphics. Based on this application, multiple coplanar graphics can be cut using a preset fixed cutting domain based on their size, ensuring that the graphics are completely cut by the laser to the greatest extent possible, avoiding unnecessary graphic cropping operations and preventing gaps or misalignment during the cutting process. Because the processing area is generated based on the actual distribution of the graphics, some blank areas are reduced compared to the original gridding process, thereby improving processing efficiency. This achieves the effect of efficiently and accurately cutting coplanar graphics using a laser without the need for gridding the entire coplanar graphics. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a schematic diagram of the functional modules of the terminal device of the device for laser cutting the same-surface pattern in this application;
[0035] Figure 2 This is a flow chart of a first exemplary embodiment of a method for laser cutting same-plane patterns according to the present application;
[0036] Figure 3 This is a flow chart of a second exemplary embodiment of the method for laser cutting same-plane patterns of the present application;
[0037] Figure 4 This is a flow chart of a third exemplary embodiment of the method for laser cutting same-plane patterns of the present application;
[0038] Figure 5 This is a flow chart of a fourth exemplary embodiment of the method for laser cutting same-plane patterns of the present application;
[0039] Figure 6 This is a flow chart of a fifth exemplary embodiment of the method for laser cutting same-plane patterns of the present application.
[0040] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific implementation cases described herein are only used to explain the present application and are not used to limit the present application.
[0042] The main solution of the embodiment of the present application is to obtain the same-plane graphics to be cut, wherein the same-plane graphics include graphics and coordinates corresponding to the coordinate system; calculate the circumscribed rectangle of the same-plane graphics, and establish a coordinate system for laser cutting based on the circumscribed rectangle; traverse the several graphics on the same plane according to the coordinate system of laser cutting, the preset fixed cutting domain, and the several graphics on the same plane and the corresponding surface position coordinates, and establish a processing area for the graphics on the same plane; and cut the processing area of the graphics on the same plane by laser. Based on this solution, by cutting the graphics in the same-plane graphics using different cutting domains according to their size, the graphics are completely cut by the laser to the greatest extent, avoiding unnecessary graphics cropping operations, and no gaps or misalignment problems will occur during the cutting process. Since the processing area is established according to the actual distribution of the graphics, some blank areas are reduced compared to the original grid processing, thereby improving processing efficiency. The effect of efficiently and accurately cutting the same-plane graphics by laser is achieved without the need for grid processing of the entire same-plane graphics.
[0043] Specifically, refer to Figure 1 , Figure 1 This is a functional module diagram of the terminal device to which the apparatus for laser cutting same-plane patterns in this application belongs. The apparatus for laser cutting same-plane patterns is based on the terminal device and can cut patterns on the same plane using different cutting zones based on size, thereby achieving efficient and accurate laser cutting of same-plane patterns. It can be hosted on the terminal device in the form of hardware or software.
[0044] In this embodiment, the terminal device to which the apparatus for laser cutting same-plane patterns belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .
[0045] The memory 130 stores an operating system and a program for laser cutting coplanar graphics. The device for laser cutting coplanar graphics can obtain coplanar graphics to be cut, the coplanar graphics including the graphics and coordinates corresponding to the coordinate system; calculate the circumscribed rectangle of the coplanar graphics and establish a laser cutting coordinate system based on the circumscribed rectangle; establish a processing area for the coplanar graphics based on the laser cutting coordinate system, a preset fixed cutting area, and several coplanar graphics and their corresponding surface position coordinates; and store information such as the processing area of the coplanar graphics by laser cutting in the memory 130. The output module 110 can be a display screen, etc. The communication module 140 can include a WIFI module, a mobile communication module, and a Bluetooth module, etc., and communicates with an external device or server through the communication module 140.
[0046] The program for laser cutting the same-plane graphics in the memory 130 implements the following steps when the program for laser cutting the same-plane graphics is executed by the processor:
[0047] Obtaining the same-plane graphics to be cut, wherein the same-plane graphics include a plurality of graphics on the same plane and corresponding position coordinates on the plane;
[0048] Calculating the circumscribed rectangle of the same-plane graphic and establishing a laser cutting coordinate system based on the circumscribed rectangle;
[0049] According to the coordinate system of the laser cutting, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, the plurality of graphics on the same surface are traversed to establish a processing area for the graphics on the same surface;
[0050] The processing area of the same surface pattern is cut by laser.
[0051] Furthermore, the preset fixed cutting area includes a first cutting area and a second cutting area, the processing area includes a planning area and an expansion area, the second cutting area is an area obtained by expanding the first cutting area in the horizontal and left directions by a preset length and in the vertical and upper directions by a preset width, and the program for laser cutting the same-plane graphics in the memory 130 is further implemented by the processor when executed:
[0052] Traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the first cutting domain;
[0053] When traversing to a first figure covered by the first cutting area, allocating the first figure and the coordinates corresponding to the coordinate system to the planning area;
[0054] According to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the second cutting domain, traverse the graphics on the same surface that are not assigned to the planned area;
[0055] When the second graphic covered by the second cutting area is traversed, the second graphic and the coordinates corresponding to the coordinate system are allocated to the expanded area.
[0056] Furthermore, when the program for laser cutting the same-plane graphics in the memory 130 is executed by the processor, the following steps are also implemented:
[0057] According to the laser cutting coordinate system and the first cutting domain, the graphics on the same surface that are not allocated to the processing area are gridded into a plurality of sub-graphics;
[0058] determining in sequence whether there is a cutting pattern in the plurality of sub-patterns;
[0059] The sub-graphics having the cutting graphics and the coordinates corresponding to the coordinate system are allocated to the processing area.
[0060] Furthermore, when the program for laser cutting the same-plane graphics in the memory 130 is executed by the processor, the following steps are also implemented:
[0061] Calculate the circumscribed rectangle of the same-plane figure;
[0062] The upper left corner of the circumscribed rectangle is used as the starting point of the coordinate system for laser cutting the same-plane graphics, the rightward ray along the upper boundary of the circumscribed rectangle is the horizontal coordinate of the coordinate system, and the downward ray along the circumscribed rectangle is the vertical coordinate of the coordinate system.
[0063] Furthermore, when the program for laser cutting the same-plane graphics in the memory 130 is executed by the processor, the following steps are also implemented:
[0064] Based on the on-surface position coordinates corresponding to the plurality of graphics on the same surface, traverse the plurality of graphics on the same surface along the abscissa direction of the laser cutting coordinate system according to the length of the fixed cutting area until reaching the right boundary of the circumscribed rectangle;
[0065] Move the width of the fixed cutting area along the vertical coordinate direction of the laser cutting coordinate system, repeat the steps of traversing the multiple graphics on the same surface according to the length of the fixed cutting area based on the surface position coordinates corresponding to the multiple graphics on the same surface along the horizontal coordinate direction of the laser cutting coordinate system until reaching the right boundary of the circumscribed rectangle, until the circumscribed rectangle of the graphics on the same surface is traversed.
[0066] Based on the above terminal device architecture but not limited to the above architecture, an embodiment of the method of the present application is proposed.
[0067] Reference Figure 2 , Figure 2 The figure is a flow chart of a first exemplary embodiment of a method for laser cutting same-plane patterns. The method for laser cutting same-plane patterns comprises:
[0068] Step S110, obtaining a same-plane graphic to be cut, wherein the same-plane graphic includes a graphic and coordinates corresponding to the coordinate system;
[0069] Specifically, the same-surface graphics to be cut include the position coordinates of the graphics. The laser cutting system can search for the graphics according to the position coordinates of the graphics to be cut. Each time the same-surface graphics are cut, they can be one side or multiple sides, depending on the actual situation.
[0070] Step S120, calculating the circumscribed rectangle of the same-plane graphic, and establishing a laser cutting coordinate system based on the circumscribed rectangle;
[0071] Specifically, the circumscribed rectangle of the same-plane figure is determined based on the outer boundary of the same-plane figure, and the upper left corner of the circumscribed rectangle is used as the starting point of the coordinate system for laser cutting the same-plane figure. The rightward ray along the upper boundary of the circumscribed rectangle is the horizontal coordinate of the coordinate system, and the downward ray along the circumscribed rectangle is the vertical coordinate of the coordinate system.
[0072] Step S130, traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, a preset fixed cutting area, the plurality of graphics on the same surface and corresponding position coordinates on the surface, and establishing a processing area for the plurality of graphics on the same surface;
[0073] Specifically, according to the coordinate system of the laser cutting, the several graphics on the same surface and the corresponding surface position coordinates, and the fixed cutting domain, the graphics in the graphics on the same surface are traversed, the preset fixed cutting domain includes a first cutting domain and a second cutting domain, and the processing area includes a planning area and an expansion area; when traversing to the first graphic that can be covered by the first cutting domain, the first graphic and the coordinates corresponding to the coordinate system are assigned to the planning area; when traversing to the second graphic covered by the second cutting domain, the second graphic and the coordinates corresponding to the coordinate system are assigned to the expansion area; according to the first cutting domain, the graphics in the graphics on the same surface that are not assigned to the processing area are gridded into several sub-graphics; it is judged in turn whether there are cutting graphics in the several sub-graphics; the sub-graphics with cutting graphics and the coordinates corresponding to the coordinate system are assigned to the processing area.
[0074] Step S140: cutting the processing area of the same-surface pattern by laser.
[0075] Specifically, the graphics of the processing area are obtained by traversing the coordinate system in sequence, so compared with the original grid processing, some blank cutting areas are reduced, which can improve the processing efficiency. The position of the graphics to be cut on the same surface can be quickly determined through the graphics in the processing area and the coordinates of the corresponding coordinate system.
[0076] This embodiment uses the above-mentioned scheme, specifically by obtaining the same-surface graphics to be cut, the same-surface graphics including the graphics and the coordinates corresponding to the coordinate system; calculating the circumscribed rectangle of the same-surface graphics, and establishing a coordinate system for laser cutting based on the circumscribed rectangle; traversing the same-surface graphics based on the laser cutting coordinate system, the preset fixed cutting domain, and the several same-surface graphics and the corresponding surface position coordinates, to establish a processing area for the same-surface graphics; and cutting the processing area of the same-surface graphics by laser. Based on this scheme, by cutting the graphics in the same-surface graphics using the preset fixed cutting domain according to their sizes, the graphics are completely cut by the laser to the greatest extent possible, avoiding unnecessary graphics cropping operations, and no gaps or misalignments will occur during the cutting process. Since the processing area is established according to the actual distribution of the graphics, some blank areas are reduced compared to the original grid processing, thereby improving processing efficiency.
[0077] Further, refer to Figure 3 , Figure 3 This is a flow chart of a second exemplary embodiment of a method for laser cutting same-plane graphics, wherein the preset fixed cutting domain includes a first cutting domain and a second cutting domain, and the processing area includes a planning area and an expansion area. The steps of traversing the same-plane graphics based on the laser cutting coordinate system, the preset fixed cutting domain, and the same-plane graphics and corresponding surface position coordinates to establish the processing area for the same-plane graphics include:
[0078] Step S1301, traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the plurality of graphics on the same surface and the corresponding surface position coordinates, and the first cutting domain;
[0079] Specifically, based on the surface position coordinates corresponding to the several graphics on the same surface, the several graphics on the same surface are traversed along the horizontal coordinate direction of the laser cutting coordinate system according to the length of the first cutting domain until the right boundary of the circumscribed rectangle is reached; the width of the first cutting domain is moved along the vertical coordinate direction of the laser cutting coordinate system, and the steps of traversing the several graphics on the same surface according to the length of the first cutting domain based on the surface position coordinates corresponding to the several graphics on the same surface along the horizontal coordinate direction of the laser cutting coordinate system until the right boundary of the circumscribed rectangle is reached are repeated, until the circumscribed rectangle of the graphics on the same surface is traversed.
[0080] Step S1302: when a first graphic covered by the first cutting area is traversed, the first graphic and the coordinates corresponding to the coordinate system are allocated to the planning area;
[0081] Specifically, by searching for the graphics in the same-surface graphics and traversing them in sequence, when a graphic that can be covered by the first cutting domain is traversed, it means that this graphic does not need to be divided into various parts for cutting but the cutting of the complete graphic can be achieved. The graphics that meet the above conditions and the coordinates of the coordinate system established in the corresponding step S120 are added to the planning area in sequence, so that the position can be directly obtained from the planning area and the cutting graphic can be determined.
[0082] Step S1303, traversing the graphics on the same surface that are not assigned to the planned area according to the laser cutting coordinate system, the graphics on the same surface and the corresponding position coordinates of the surface, and the second cutting domain;
[0083] Specifically, the second cutting area is an area obtained by expanding the first cutting area outward by a preset length in the horizontal and left directions and a preset width in the vertical and upper directions; based on the surface position coordinates corresponding to the multiple graphics on the same surface, along the horizontal coordinate direction of the laser cutting coordinate system, traverse the multiple graphics on the same surface according to the length of the second cutting area until reaching the right boundary of the circumscribed rectangle; move the width of the second cutting area along the vertical coordinate direction of the laser cutting coordinate system, repeat the step of traversing the graphics on the same surface that are not assigned to the planned area according to the length of the second cutting area based on the surface position coordinates corresponding to the multiple graphics on the same surface, along the horizontal coordinate direction of the laser cutting coordinate system, until reaching the right boundary of the circumscribed rectangle, and traverse the graphics on the same surface that are not assigned to the planned area.
[0084] Step S1304: when traversing to a second graphic covered by the second cutting area, assigning the second graphic and the coordinates corresponding to the coordinate system to the expanded area.
[0085] Specifically, the plurality of graphics on the same surface that are not assigned to the planned area are traversed. If a second graphic that can be covered by the second cutting area is encountered, it indicates that the second graphic does not need to be divided into parts for cutting, but can be cut as a whole. The preset expansion area is the area obtained by expanding the second cutting area horizontally by a preset length on the left and right sides, and vertically by a preset width on the top and bottom sides. The second graphics that meet the above conditions and the coordinates of the corresponding coordinate system established in step S120 are sequentially added to the expansion area, so that the position can be directly obtained from the expansion area to determine the cutting shape.
[0086] This embodiment adopts the above scheme, specifically through the preset fixed cutting domain including the first cutting domain and the second cutting domain, the processing area including the planning area and the expansion area, and traverses the several graphics on the same surface according to the coordinate system of the laser cutting, the several graphics on the same surface and the corresponding surface position coordinates, and the first cutting domain; when traversing to the first graphic covered by the first cutting domain, the first graphic and the coordinates corresponding to the coordinate system are allocated to the planning area; according to the coordinate system of the laser cutting, the several graphics on the same surface and the corresponding surface position coordinates, and the second cutting domain, traverses the graphics on the same surface that are not allocated to the planning area; when traversing to the second graphic covered by the second cutting domain, the second graphic and the coordinates corresponding to the coordinate system are allocated to the expansion area. Based on this solution, a search and traversal is performed based on several graphics on the same surface and the corresponding position coordinates on the surface. By judging whether the preset fixed cutting area can cover several graphics on the same surface, it is determined whether the graphics that meet the conditions and the corresponding laser cutting coordinates should be added to the processing area. This avoids unnecessary graphic segmentation operations, ensures the integrity of the image as much as possible, and improves the efficiency of laser cutting of graphics on the same surface.
[0087] Further, refer to Figure 4 , Figure 4 This is a flow chart of a third exemplary embodiment of a method for laser cutting same-plane graphics, wherein the step of traversing the same-plane graphics based on the laser cutting coordinate system, a preset fixed cutting area, and the same-plane graphics and corresponding on-surface position coordinates to establish a processing area for the same-plane graphics further includes:
[0088] Step S1305 , gridding the graphics on the same surface that are not assigned to the processing area into a plurality of sub-graphics according to the laser cutting coordinate system and the first cutting region;
[0089] Specifically, when the graphics in the same-plane graphics cannot be covered by the fixed cutting area, the unassigned graphics need to be gridded and divided into multiple graphics with the same size as the first cutting area according to the coordinate system of laser cutting.
[0090] Step S1306, determining in sequence whether there is a cutting pattern in the plurality of sub-patterns;
[0091] Specifically, a scanning device provided with the laser device is used to determine whether there are lines in the plurality of sub-patterns, thereby screening out non-blank area patterns as cutting patterns.
[0092] Step S1307: Allocate the sub-graphics with the cutting graphics and the coordinates corresponding to the coordinate system to the processing area.
[0093] Specifically, a plurality of graphics in the non-blank area are allocated to the processing area to facilitate subsequent unified cutting processing.
[0094] This embodiment utilizes the above-described solution, specifically by gridding the graphics on the same surface that are not assigned to the processing area into a plurality of sub-graphics based on the laser cutting coordinate system and the first cutting zone; sequentially determining whether any of the sub-graphics contain cutting patterns; and assigning the sub-graphics containing cutting patterns and their corresponding coordinates in the coordinate system to the processing area. This solution, by gridding the graphics not assigned to the processing area, ensures that all graphics on the same surface can be laser cut, preventing the problem of missing cutting patterns.
[0095] Further, refer to Figure 5 , Figure 5 This is a flow chart of a fourth exemplary embodiment of a method for laser cutting coplanar graphics, wherein the steps of calculating the circumscribed rectangle of the coplanar graphics and establishing a coordinate system for laser cutting based on the circumscribed rectangle include:
[0096] Step S1201, calculating the circumscribed rectangle of the same-plane graphic;
[0097] Step S1202: The upper left corner of the circumscribed rectangle is used as the starting point of the coordinate system for laser cutting the same-plane graphic. The rightward ray along the upper boundary of the circumscribed rectangle is the horizontal coordinate of the coordinate system, and the downward ray along the circumscribed rectangle is the vertical coordinate of the coordinate system.
[0098] This embodiment utilizes the above-described solution, specifically by calculating the circumscribed rectangle of the coplanar figure; using the upper left corner of the circumscribed rectangle as the starting point of the coordinate system for laser cutting the coplanar figure; a ray extending rightward along the upper boundary of the circumscribed rectangle as the abscissa of the coordinate system; and a ray extending downward along the circumscribed rectangle as the ordinate of the coordinate system. This solution establishes a coordinate system for laser cutting, paving the way for determining the coordinates of the cuttable figures on the coplanar figure when cutting according to a preset fixed cutting area.
[0099] Further, refer to Figure 6 , Figure 6 This is a flow chart of a fifth exemplary embodiment of a method for laser cutting graphics on the same surface, wherein the step of traversing the graphics on the same surface according to the coordinate system of the laser cutting, the graphics on the same surface and the corresponding surface position coordinates, and a preset fixed cutting area includes:
[0100] Step S13011, based on the on-surface position coordinates corresponding to the plurality of graphics on the same surface, traverse the plurality of graphics on the same surface along the abscissa direction of the laser cutting coordinate system according to the length of the fixed cutting region until reaching the right boundary of the circumscribed rectangle;
[0101] Specifically, for example, the upper left and lower right coordinates of the circumscribed rectangle of a cut same-plane figure are (L, T, R, B), the width is W, and the height is H. With point P (L, T) as the upper left corner, the width is w, and the height is h as the fixed cutting domain size, search for the figure to the right. Compare the first figure found with the fixed cutting domain size. If the figure can be covered by the fixed cutting domain, the upper left and lower right coordinates of the first planned area are (x1, T, x1 + w, Th). Add the figure and the corresponding coordinates of the laser coordinate system to the processing area. Then, using (x1 + w, T) as the starting point, continue searching to the right until there is no figure on the right and the search ends.
[0102] Step S13012, move the width of the fixed cutting area along the vertical coordinate direction of the coordinate system of the laser cutting, repeat the step of traversing the several graphics on the same surface according to the length of the fixed cutting area based on the surface position coordinates corresponding to the several graphics on the same surface, along the horizontal coordinate direction of the coordinate system of the laser cutting, until reaching the right boundary of the circumscribed rectangle, until the circumscribed rectangle of the graphics on the same surface is traversed.
[0103] Specifically, point P is moved downward by a fixed cutting area height h. That is, a search area is established with (L, Th) as the upper left corner, width w, and height h. The graphics are searched to the right according to the steps described in Section 2 and added to the processing area. Point P is repeatedly moved downward by the search height h. Each time it is moved, the steps described in step S13011 are repeated to search to the right until point P moves to the lower boundary of the circumscribed rectangle of all cutting graphics. In this way, all cutting graphics are added to the planning area or the expansion area. Finally, the graphics and corresponding coordinates of the planning area or the expansion area are used as the processing area.
[0104] This embodiment uses the above-mentioned scheme, specifically by traversing the several graphics on the same surface according to the length of the fixed cutting domain along the horizontal coordinate direction of the laser cutting coordinate system based on the surface position coordinates corresponding to the several graphics on the same surface until the right boundary of the circumscribed rectangle is reached; moving the length of the fixed cutting domain along the vertical coordinate direction, repeating the steps of traversing the several graphics on the same surface according to the length of the fixed cutting domain along the horizontal coordinate direction of the laser cutting coordinate system until the right boundary of the circumscribed rectangle is reached, until the circumscribed rectangle of the graphics on the same surface is completely traversed. Based on this scheme, through this traversal method, several graphics on the same surface are traversed in sequence, ensuring that the processing area can be established according to the actual distribution of the graphics during traversal. Compared with gridding processing of graphics on the same surface, some blank areas are reduced, which can improve processing efficiency.
[0105] In addition, the present application also proposes a device for laser cutting same-plane graphics, characterized in that the device for laser cutting same-plane graphics includes:
[0106] Same-plane acquisition module: acquires the same-plane graphics to be cut, the same-plane graphics including the graphics and the corresponding position coordinates on the surface;
[0107] Coordinate establishment module: calculates the circumscribed rectangle of the same-plane graphics and establishes a coordinate system for laser cutting based on the circumscribed rectangle;
[0108] An area establishment module: traverses the plurality of graphics on the same surface according to the coordinate system of the laser cutting, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and establishes a processing area for the plurality of graphics on the same surface;
[0109] Laser cutting module: cutting the processing area of the same surface pattern by laser.
[0110] In addition, the implementation case of this application also proposes a terminal device, characterized in that the terminal device includes a memory, a processor, and a program for laser cutting same-surface graphics stored on the memory and runnable on the processor, and the program for laser cutting same-surface graphics implements the steps of the method for laser cutting same-surface graphics when executed by the processor.
[0111] Since the program for laser cutting the same-plane graphics adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0112] In addition, the implementation case of this application also proposes a storage medium, characterized in that a program for laser cutting same-plane graphics is stored on the storage medium, and when the program for laser cutting same-plane graphics is executed by the processor, the steps of the method for laser cutting same-plane graphics are implemented.
[0113] Since the program for laser cutting the same-plane graphics adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0114] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0115] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as mentioned above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.
[0117] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for laser cutting a same-surface pattern, characterized in that: The method for laser cutting same-plane graphics comprises the following steps: Obtaining the same-plane graphics to be cut, wherein the same-plane graphics include a plurality of graphics on the same plane and corresponding position coordinates on the plane; Calculating the circumscribed rectangle of the same-plane graphic and establishing a laser cutting coordinate system based on the circumscribed rectangle; According to the coordinate system of the laser cutting, the preset fixed cutting area, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, the plurality of graphics on the same surface are traversed to establish a processing area for the graphics on the same surface; Cutting the processing area of the same surface pattern by laser; The preset fixed cutting domain includes a first cutting domain and a second cutting domain, and the processing area includes a planning area and an expansion area; the step of traversing the plurality of graphics on the same surface according to the coordinate system of the laser cutting, the preset fixed cutting domain, the plurality of graphics on the same surface and the corresponding surface position coordinates to establish the processing area of the graphics on the same surface includes: Traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the first cutting domain; When traversing to a first figure covered by the first cutting area, allocating the first figure and the coordinates corresponding to the coordinate system to the planning area; According to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and the second cutting domain, traverse the graphics on the same surface that are not assigned to the planned area; When the second graphic covered by the second cutting area is traversed, the second graphic and the coordinates corresponding to the coordinate system are allocated to the expanded area.
2. The method for laser cutting same-plane graphics according to claim 1, characterized in that: The step of traversing the plurality of graphics on the same surface according to the laser cutting coordinate system, the preset fixed cutting area, the plurality of graphics and the corresponding surface position coordinates to establish the processing area of the plurality of graphics on the same surface also includes: According to the laser cutting coordinate system and the first cutting domain, the graphics on the same surface that are not allocated to the processing area are gridded into a plurality of sub-graphics; determining in sequence whether there is a cutting pattern in the plurality of sub-patterns; The sub-graphics having the cutting graphics and the coordinates corresponding to the coordinate system are allocated to the processing area.
3. The method for laser cutting same-plane graphics according to claim 1, characterized in that: The step of traversing the plurality of graphics on the same surface according to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding position coordinates on the surface, and a preset fixed cutting area includes: Based on the on-surface position coordinates corresponding to the plurality of graphics on the same surface, traverse the plurality of graphics on the same surface along the abscissa direction of the laser cutting coordinate system according to the length of the fixed cutting area until reaching the right boundary of the circumscribed rectangle; Move the width of the fixed cutting area along the vertical coordinate direction of the laser cutting coordinate system, repeat the steps of traversing the multiple graphics on the same surface according to the length of the fixed cutting area based on the surface position coordinates corresponding to the multiple graphics on the same surface along the horizontal coordinate direction of the laser cutting coordinate system until reaching the right boundary of the circumscribed rectangle, until the circumscribed rectangle of the graphics on the same surface is traversed.
4. The method for laser cutting same-plane graphics according to claim 1, characterized in that: The second cutting area is an area obtained by expanding the first cutting area in horizontal directions by a preset length in the left and right directions and in vertical directions by a preset width in the up and down directions.
5. The method for laser cutting same-plane graphics according to claim 1, characterized in that: The step of calculating the circumscribed rectangle of the same-plane graphic and establishing a coordinate system for laser cutting according to the circumscribed rectangle includes: Calculate the circumscribed rectangle of the same-plane figure; The upper left corner of the circumscribed rectangle is used as the starting point of the coordinate system for laser cutting the same-plane graphics, the rightward ray along the upper boundary of the circumscribed rectangle is the horizontal coordinate of the coordinate system, and the downward ray along the circumscribed rectangle is the vertical coordinate of the coordinate system.
6. A device for laser cutting same-surface graphics, characterized in that: The device for laser cutting the same-surface graphics comprises: Same-plane acquisition module: acquires the same-plane graphics to be cut, the same-plane graphics including the graphics and the corresponding position coordinates on the surface; Coordinate establishment module: calculates the circumscribed rectangle of the same-plane graphics and establishes a coordinate system for laser cutting based on the circumscribed rectangle; Area establishment module: according to the coordinate system of the laser cutting, the preset fixed cutting domain and the several graphics on the same surface and the corresponding surface position coordinates, traverse the several graphics on the same surface to establish the processing area of the graphics on the same surface; the area establishment module is also used for the preset fixed cutting domain to include the first cutting domain and the second cutting domain, and the processing area includes the planning area and the expansion area; the step of traversing the several graphics on the same surface according to the coordinate system of the laser cutting, the preset fixed cutting domain and the several graphics on the same surface and the corresponding surface position coordinates to establish the processing area of the graphics on the same surface includes: according to the laser cutting The coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding surface position coordinates, and the first cutting domain are used to traverse the plurality of graphics on the same surface; when traversing to the first graphic covered by the first cutting domain, the first graphic and the coordinates corresponding to the coordinate system are allocated to the planning area; according to the coordinate system of the laser cutting, the plurality of graphics on the same surface and the corresponding surface position coordinates, and the second cutting domain, the graphics of the plurality of graphics on the same surface that are not allocated to the planning area are traversed; when traversing to the second graphic covered by the second cutting domain, the second graphic and the coordinates corresponding to the coordinate system are allocated to the outward expansion area; Laser cutting module: cutting the processing area of the same surface pattern by laser.
7. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a program for laser cutting same-plane graphics stored in the memory and runnable on the processor. When the program is executed by the processor, the steps of the method for laser cutting same-plane graphics as described in any one of claims 1-5 are implemented.
8. A storage medium, characterized in that: The storage medium stores a program for laser cutting same-plane graphics, and when the program for laser cutting same-plane graphics is executed by the processor, the steps of the method for laser cutting same-plane graphics as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Laser cutting compensation method and device for nonlinear deformation and storage medium
CN112388185A