A process for cutting an image
By performing vector graphics division, kerf compensation, and reference point determination on the laser-cut graphic, optimizing the cutting trajectory and setting laser processing parameters, the problem of machine damage caused by small graphics falling or lifting during laser cutting was solved, achieving high-quality cutting results and efficient processing.
Patent Information
- Application Number
- CN202511784497.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2045-12-01
AI Technical Summary
During laser cutting, choosing a workpiece located at the corner as the cutting starting point can easily cause small shapes to fall out of the seam or lift up, resulting in machine damage and affecting processing results and dimensional accuracy.
By acquiring the grid area covered by the cutting pattern of the material to be processed, the cutting pattern is divided into multiple vector graphics, kerf compensation is performed, the reference point and the light-off position are determined, the cutting trajectory is optimized, and laser processing parameters are set, including the scanning method and the cutting start point, to prevent burst holes or perforations caused by laser instability.
It effectively prevents burst holes or perforations caused by unstable cutting starting points, ensuring optimal cutting results and dimensional accuracy, and improving laser cutting efficiency.
Smart Images

Figure CN121236068B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of laser cutting technology, and particularly relates to a process for creating a cut image. Background Technology
[0002] Laser cutting utilizes a high-power laser beam to irradiate the material being cut. The irradiated portion of the material is heated and evaporated, forming a narrow kerf. During the cutting process, the kerf's position is controlled by manipulating the laser beam's cutting path, thus completing the laser cutting operation. However, laser cutting typically begins with a workpiece located at a corner, proceeding from top to bottom. Small patterns often appear during the entire cutting process, causing them to fall into the toothed cutter's slots and become difficult to find. In some cases, these patterns become stuck in the kerf and warp, easily colliding with the high-speed moving cutting head and damaging the machine, thus affecting the laser cutting's processing quality. Therefore, there is an urgent need to provide a method for creating cut images to solve the aforementioned technical problems. Summary of the Invention
[0003] In view of this, the present invention provides a process for manufacturing a cut image, which can prevent the cutting starting point from bursting or perforating due to laser instability, ensure the best cutting effect and meet the dimensional accuracy requirements of the material to be cut, and also improve the efficiency of laser cutting. The specific technical solution adopted is as follows.
[0004] This invention provides a method for fabricating a cut image, comprising the following steps:
[0005] Obtain the grid area covered by the cutting pattern of the material to be processed, and divide the cutting pattern into multiple vector graphics according to the grid area. Perform kerf compensation processing on each vector graphic to obtain the corresponding cutting trajectory. The vector graphic includes multiple primitives.
[0006] The attribute information of multiple graphic elements is obtained, and the reference point of the vector image is determined according to the attribute information of the graphic elements and the cutting trajectory. The attribute information of the graphic elements includes at least one of vertex, edge, included angle, total length, and bounding rectangle.
[0007] The off position on the primitive is determined based on the reference point, the included angle, and the vertex, and the path of the vector image is optimized based on the off position and the cutting trajectory to obtain the target cutting trajectory;
[0008] The laser processing parameters for the cutting pattern are set based on the target cutting trajectory and the material to be processed. The laser processing parameters include the scanning method and the cutting starting point. The scanning method includes linear group scanning and circular natural continuous cutting.
[0009] As a preferred embodiment of the above technical solution, kerf compensation processing is performed on each vector graphic to obtain the corresponding cutting trajectory, including:
[0010] Obtain the graphic dimensions of each vector graphic, and add guide lines based on the grid areas not covered by the vector graphic and the graphic dimensions;
[0011] The cutting trajectory is determined according to the processing kerf width of the guide line and the vector diagram, and the preset cutting rules include inner mold shrinkage cutting and outer mold expansion cutting.
[0012] As a preferred embodiment of the above technical solution, acquiring attribute information of multiple graphic elements and determining the reference point of the vector graphic based on the attribute information of the graphic elements and the cutting trajectory includes:
[0013] Obtain the vertices and edges of each primitive, and set the bounding rectangle corresponding to the primitive according to the vertex and edge lengths, wherein the bounding rectangle includes eight positioning points;
[0014] The reference point located within the vector diagram is determined based on the circumscribed rectangle, and the relative coordinates of each vertex are determined based on the reference point.
[0015] The included angle between two adjacent sides is determined based on the relative coordinates. When the included angle is less than or equal to a preset angle, the vertex corresponding to the included angle is marked as a cooling point.
[0016] The laser cutting off position and the laser on position are determined based on the total length of the primitive and the cooling point, wherein the laser off position is located between the laser on positions of each edge.
[0017] As a preferred embodiment of the above technical solution, the cutting trajectory is determined according to a preset cutting rule based on the kerf width of the guide line and the vector diagram, including:
[0018] When the vector graphic includes at least two graphic elements, the first graphic element located on the outermost edge of the vector graphic is cut using an outer model expansion cutting method to obtain the first cutting trajectory;
[0019] The second cutting trajectory is obtained by cutting the innermost second element located within the first element using an inner mold shrinking method;
[0020] Obtain the width and height dimensions of the outer rectangle of the first graphic element, and set the off position on the first graphic element corresponding to the smallest width and height dimension.
[0021] As a preferred embodiment of the above technical solution, the target cutting trajectory is obtained by path optimization of the vector graphic based on the off-light position and the cutting trajectory, including:
[0022] When the boundary distance between the graphics corresponding to the two vector graphics is less than a first preset distance, the two vector graphics are processed to share an edge, wherein the processing to share an edge includes sorting and combining the two graphics after deleting the duplicate lines between them.
[0023] When there are multiple characters or numbers in the cut graphic, if the inner and outer distance between the first graphic element and the second graphic element is less than or equal to the second preset distance, bridging processing is performed on the edges of the first graphic element and the second graphic element to obtain at least two bridging lines.
[0024] As a preferred embodiment of the above technical solution, a single graphic element is divided into multiple sub-graphic elements, and the multiple sub-graphic elements are input into a preset layer for curve segmentation processing.
[0025] Delete small graphics smaller than a preset size from among the multiple sub-graphics elements, wherein the small graphics are determined according to the width and height of the circumscribed rectangle;
[0026] Multiple non-closed sub-elements are merged, wherein the distance between the first or last point of the multiple non-closed sub-elements is less than a preset error.
[0027] As a preferred embodiment of the above technical solution, the laser processing parameters of the cutting pattern are set based on the target cutting trajectory and the material to be processed, including:
[0028] Obtain the sorting direction of the target cutting trajectory and the starting grid located in the grid area, and determine the reference point of the target cutting trajectory based on the sorting direction of the target cutting trajectory and the starting grid;
[0029] Obtain a single graphic within the starting grid closest to the reference point, select a set of candidate points for the single graphic, and determine the cutting starting point within the set of candidate points;
[0030] Based on the cutting starting point, the shortest path method is used to cut the graphic within the starting grid. After the graphic within the starting grid is cut, the vector graphics within multiple grids of the grid area are cut according to the sorting direction of the target cutting trajectory.
[0031] As a preferred embodiment of the above technical solution, the graphic within the starting grid is divided into multiple line segments, and the line segments on the same straight line are combined to obtain a straight scan line.
[0032] Connect the line segments on the graphic that are not within the starting grid with the line segments that are off;
[0033] The circular natural continuous cutting scanning method is used to end the cutting of the completed circle and enter the next processed circle on the tangent line.
[0034] As a preferred embodiment of the above technical solution, obtaining a single graphic within the starting grid closest to the reference point, selecting a set of candidate points for the single graphic, and determining the cutting starting point within the set of candidate points includes:
[0035] Obtain the shape of a single graphic within the starting grid closest to the reference point, and determine whether the single graphic is a closed graphic based on its shape;
[0036] If so, when it is determined that the starting grid does not contain other graphics, all the protrusions on the single graphic are obtained, and the protrusions with angle values less than the first preset angle threshold are used as the first candidate point set for the cutting starting point;
[0037] When the starting grid contains other graphics, all the concave points on the single graphic are obtained, and the concave points with angle values less than the second preset angle threshold are selected as the second set of candidate points for the cutting starting point.
[0038] As a preferred embodiment of the above technical solution, the graphic within the starting grid is cut using the shortest path method based on the cutting starting point, including:
[0039] Cut along the vector diagram corresponding to a single graphic within the grid based on the cutting starting point. Use the cutting endpoint of the single graphic as a secondary reference point and find the cutting starting point of other graphics according to the process of determining the cutting starting point in the candidate set. Continue cutting the cutting starting points of other graphics.
[0040] This invention provides a process for manufacturing a cut image. The method involves acquiring the grid area covered by the cut pattern of the material to be processed, dividing the cut pattern into multiple vector graphics based on the grid area, performing kerf compensation processing on each vector graphic to obtain the corresponding cutting trajectory, acquiring the attribute information of multiple graphic elements, determining the reference point of the vector graphic based on the attribute information and the cutting trajectory, determining the light-off position on the graphic element based on the reference point, included angle, and vertex, and optimizing the path of the vector graphic based on the light-off position and the cutting trajectory to obtain the target cutting trajectory. Based on the target cutting trajectory and the material to be processed, the laser processing parameters of the cut pattern are set. This method can prevent the cutting start point from experiencing burst holes or perforations due to laser instability, ensuring optimal cutting effect and dimensional accuracy of the material to be cut, and also improving laser cutting efficiency. Attached Figure Description
[0041] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 A flowchart of the process for fabricating a cut image provided by the present invention;
[0043] Figure 2 A flowchart for kerf compensation provided by the present invention;
[0044] Figure 3 A flowchart for setting laser processing parameters provided by the present invention;
[0045] Figure 4 A flowchart for setting the cutting start point provided by the present invention;
[0046] Figure 5 A schematic diagram of the kerf compensation provided by the present invention;
[0047] Figure 6 A schematic diagram illustrating the setting of the reference point provided by this invention;
[0048] Figure 7 A schematic diagram illustrating the cooling point settings provided by the present invention;
[0049] Figure 8 A schematic diagram illustrating the setting of the light-off position provided by the present invention;
[0050] Figure 9 These are schematic diagrams illustrating the bridging process of two graphics to be cut, provided by this invention. Detailed Implementation
[0051] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0052] See Figure 1 This invention provides a method for fabricating a cut image, comprising the following steps:
[0053] S1: Obtain the grid area covered by the cutting pattern of the material to be processed, and divide the cutting pattern into multiple vector graphics according to the grid area. Perform kerf compensation processing on each vector graphic to obtain the corresponding cutting trajectory. The vector graphic includes multiple graphic elements.
[0054] S2: Obtain attribute information of multiple graphic elements, and determine the reference point of the vector image based on the attribute information of the graphic elements and the cutting trajectory, wherein the attribute information of the graphic elements includes at least one of vertex, edge, included angle, total length, and bounding rectangle;
[0055] S3: Determine the off position on the primitive based on the reference point, the included angle and the vertex, and optimize the path of the vector image based on the off position and the cutting trajectory to obtain the target cutting trajectory;
[0056] S4: Based on the target cutting trajectory and the material to be processed, set the laser processing parameters of the cutting pattern, wherein the laser processing parameters include the scanning method and the cutting starting point, and the scanning method includes linear group scanning and circular natural continuous cutting.
[0057] In this embodiment, acquiring attribute information of multiple graphic elements and determining the reference point of the vector diagram based on the attribute information of the graphic elements and the cutting trajectory includes: acquiring the vertices and edges of each graphic element, and setting the circumscribed rectangle corresponding to the graphic element based on the vertex and edge length, wherein the circumscribed rectangle includes eight positioning points; determining the reference point located within the vector diagram based on the circumscribed rectangle, and determining the relative coordinates of each vertex based on the reference point; determining the included angle between two adjacent edges based on the relative coordinates, and when the included angle is less than or equal to a preset angle, marking the vertex corresponding to the included angle as a cooling point; determining the laser cutting off position and the laser cutting on position based on the total length of the graphic element and the cooling point, wherein the laser cutting off position is located between the laser cutting on positions of each edge.
[0058] The cooling point settings include two methods: one is based on quantity, dividing the graphic elements into a set number based on equal length, and then adding cooling points at regular intervals; the other is to automatically add cooling points based on angle, adding cooling points to any vertex position where the included angle is less than a set angle. The smaller the included angle, the greater the cooling rate. The longer the dwell time at this point, the more severe the heat impact. Therefore, it is necessary to turn off the light and blow air to cool down at this point (light-off position), such as... Figure 7 As shown, the marked point is located at an angle less than the set angle. Figure 7 (The green numerical markers in the image). Cooling points are set for heat dissipation. If the material being processed is metal, it can easily melt if it overheats, causing the kerf to deform. Cooling points are generally added at smaller angles. At corners, the speed is reduced to a slower rate to prevent heat accumulation. If melting occurs, the sharp corner cutting effect will generally not be achieved. Therefore, the laser is turned off and the movement is stopped, and only air is blown to cool the processed material. In other words, adding a cooling point to the primitive means turning off the laser at that location (light off position) – delaying the cooling point – turning the laser on (light on position).
[0059] In laser cutting, the kerf width is typically 0.1mm to 1mm. Adding a lead wire primarily aims to position the starting point of the process (cutting point) on unwanted material, preventing bursts or perforations caused by laser instability. It ensures a smooth transition between the lead wire and the starting position of the actual pattern (cutting pattern). Corners can lead to speed reduction. The lead wire length depends on the time it takes for the process to transition from acceleration to constant speed, ensuring a constant speed when cutting the actual element (acceleration and deceleration can cause laser power fluctuations). Most lead wires are straight lines; however, if the starting segment of the element is an arc, a curved lead wire is preferred to ensure a smooth transition from the lead wire to the actual element. Specifically, the guideline addition instructions include: You can choose to add either an incoming or outgoing guideline, as well as the guideline length and angle. You can also set whether to automatically set the internal / external tangent attributes of the graphic and automatically detect the validity of the guideline. Automatically identifying the appropriate angle automatically calculates the angle of the added guideline based on the graphic characteristics (from the tangent direction or perpendicular direction). Detecting incoming and outgoing guidelines allows you to set a safety distance for the guideline and modify guidelines that meet the conditions (detecting interference between the guideline and the graphic itself or other graphics). Modifying incoming and outgoing guidelines enters the modification mode, where you can drag the guideline endpoints to the desired position. Guidelines are used to stabilize speed and power, ensuring a uniform speed during graphic processing.
[0060] Specifically, without a leader line, place the starting point at the inflection point with the smaller included angle of the graphic. If a leader line is present, place the starting point in the middle of the long side of the graphic. Positioning in a relative coordinate system makes machining effective. A reference point for the graphic can be determined, and then the graphic to be processed (cutting graphic) can be moved under the laser head using this reference point. If the machine origin is in the upper left of the graphic, and the reference point is set in the lower right, the border will overflow if the distance between the current laser head and the machine origin is insufficient for the size of the graphic to be processed. In other words, if the first setting is outside the graphic, and the second setting is on the graphic, add a leader line at both positions and modify the starting point to the second position; if the first setting is on the graphic, directly modify the starting point to that position (the starting point cannot be modified for non-closed graphics). Setting graphic positioning points serves as various movement references (required during machining in floating coordinate systems and workpiece coordinate systems). You can directly specify the nine relative positions of the selected graphic as positioning points, or you can specify absolute positions as positioning points. Figure 6 The eight black dots within the grid are used primarily in a floating coordinate system. Therefore, it's best to set the positioning point (reference point) close to the origin; otherwise, it may exceed the area limit in a floating coordinate system. Modify the starting point to a node that will reduce speed; the smaller the angle, the greater the speed reduction. Modify the starting point to the vertex of a concave or convex corner, such as... Figure 6 As shown, all the points marked with numbers are suitable to be modified as starting points, with green point 5 as the reference point.
[0061] It should be noted that the target cutting trajectory also includes setting the number of micro-connections, the size of the micro-connections, and the closing mechanism. The micro-connection size is the interval at which light is not emitted; this is based on length. Increasing the number means adding micro-connections after the primitive is divided equally, while increasing the interval means turning off the light after each cutting trajectory of this length by the length of one micro-connection. Figure 8 As shown, the marked position is where the micro-connection is added. Figure 8 (The location corresponding to the green numbers in the middle). In other words, micro-connection adds tiny non-light-emitting cutting intervals to small graphics to prevent them from falling into the toothed slots and becoming difficult to find, or getting stuck and warped in some cases. This could easily cause the high-speed cutting head to collide with these warped graphics and damage the machine. Sealing settings are divided into notches and overcuts. Notches are similar in function to micro-connections, only adding small non-light-emitting intervals at the end of the graphic; overcuts are used to match the synchronization of movement and light emission, preventing the cut graphic from still being connected to the material being cut due to premature laser shut-off.
[0062] It should be understood that collision avoidance involves adding micro-connections to primitives. Even after a primitive is completely cut, it remains connected to the material as a whole, preventing it from falling off or warping due to falling. By acquiring the grid area covered by the cutting pattern of the material to be processed, and dividing the cutting pattern into multiple vector graphics based on the grid area, each vector graphic undergoes kerf compensation processing to obtain the corresponding cutting trajectory. The attribute information of multiple primitives is acquired, and the reference point of the vector graphic is determined based on the attribute information and the cutting trajectory. The light-off position on the primitive is determined based on the reference point, included angle, and vertices. The path of the vector graphic is optimized based on the light-off position and the cutting trajectory to obtain the target cutting trajectory. Based on the target cutting trajectory and the material to be processed, the laser processing parameters of the cutting pattern are set. This prevents the cutting start point from experiencing burst holes or perforations due to laser instability, ensuring optimal cutting effect and dimensional accuracy of the material to be cut, and also improving laser cutting efficiency.
[0063] See Figure 2 Each vector graphic is subjected to kerf compensation processing to obtain the corresponding cutting trajectory, including:
[0064] S10: Obtain the graphic size of each vector graphic, and add guide lines based on the grid area not covered by the vector graphic and the graphic size;
[0065] S11: Determine the cutting trajectory according to the processing kerf width of the guide line and the vector diagram according to the preset cutting rules, wherein the preset cutting rules include inner mold shrinkage cutting and outer mold expansion cutting.
[0066] In this embodiment, as Figure 5As shown, the cutting trajectory is determined according to the processing kerf width of the guide line and the vector graphic according to a preset cutting rule, including: when the vector graphic includes at least two graphic elements, the first graphic element located on the outermost edge of the vector graphic is cut using an outward expansion method to obtain a first cutting trajectory; the second graphic element located on the innermost edge of the first graphic element is cut using an inward contraction method to obtain a second cutting trajectory; the width and height dimensions of the outermost rectangular frame of the first graphic element are obtained, and the light-off position is set on the first graphic element corresponding to the smallest width and height dimension. Since the laser spot has a size, the cut kerf has a width. If it follows the cutting trajectory, the actual size of the graphic element will be lost, so compensation is required. For multiple nested graphic elements, in order to keep the size unchanged after cutting, the outermost graphic (first graphic element) needs to be expanded outward, and the innermost graphic (second graphic element) needs to be contracted inward. This ensures that the size of the effective area is correct. Therefore, there are outward expansion cutting and inward contraction cutting. Among them, inward and outward cutting are generally used in conjunction with guide lines and inward contraction and outward expansion. Figure 5 The green line in the diagram represents the cutting trajectory corresponding to the kerf compensation.
[0067] It should be noted that the path optimization of the vector graphic to obtain the target cutting trajectory based on the off-light position and the cutting trajectory includes: when the boundary distance between the corresponding graphics of two vector graphics is less than a first preset distance, the two vector graphics are processed to share edges, wherein the shared edge processing includes sorting and combining after deleting the duplicate lines between the two graphics; when there are multiple characters or numbers in the cutting graphics, if the inner and outer spacing between the first graphic element and the second graphic element is less than or equal to a second preset distance, bridging processing is performed on the edges of the first graphic element and the second graphic element to obtain at least two bridging lines. A single graphic element is divided into multiple sub-graphic elements, and the multiple sub-graphic elements are input into a preset layer for curve segmentation processing; small graphics smaller than a preset size are deleted from the multiple sub-graphic elements, wherein the small graphics are determined according to the width and height of the outer rectangle; multiple non-closed sub-graphic elements are merged, wherein the distance between the first point or the last point of the multiple non-closed sub-graphic elements is less than a preset error.
[0068] Specifically, when the cut graphic is composed of multiple identical vector graphics, a selected graphic is copied multiple times according to the set number of rows and columns. Then, these graphics of varying magnitudes are arranged in the corresponding positions according to the set spacing—this is array processing. When multiple selected graphics are grouped together, processing of these graphics is performed as a whole. For example, selecting and dragging a graphic will select and drag the group of graphics together. "Shared edges" and "Remove duplicate lines" are used to remove duplicate lines between graphics, ensuring that each line cutter only passes through the same point once. "Shared edges" involves additional sorting and grouping processing after removing duplicates, such as connecting the outermost border lines.
[0069] To prevent the text from spreading or being difficult to combine after cutting, when processing some text, independent modules are connected with lines of extremely small width. For example, for the character "qing" with the three dots of water radical, if the three dots are not connected to the "qing" part, the small dots may fall off after cutting, making it difficult to find and restore their relative positions. There are also some paper molds (such as the paper mold for painting numbers on the wall, where the number 0 consists of two rings. If cut directly inside, they will all fall off. Therefore, a bridge is added in the middle to separate the two rings into two closed semi - rings). For example, when a workpiece consists of multiple parts and it is not desired for them to scatter after cutting, they can be connected through "bridging". At the same time, this function can also reduce the number of perforations. Using the "bridging" function multiple times can also achieve the effect of "drawing all the graphics with one stroke". Bridging has two adjustable parameters: the maximum distance allowed for bridging graphics, that is, the maximum distance between adjacent curves and the bridging width; in other words, the bridging length to be set is determined by the actual application. Generally, some relatively concentrated primitive elements are bridged together, and those with a relatively large distance can be ignored; the width of the bridging line is determined according to the size of the primitive elements. The minimum width is ensured so that the material will not burn out due to too small width after cutting. The specific width needs to be determined according to the usage scenario, such as Figure 9 As shown, for aesthetic purposes, the width can be appropriately increased (the most common bridging is for the paper mold used to paint numbers on the wall or road. Bridging is done to ensure that all numbers can be displayed completely). Among them, Figure 9 In (a), it represents the original graph of the to - be - cut graph, and the parts corresponding to each number can be regarded as vector graphs. Figure 9 In (b), it represents the graph after cutting. The green arrow represents laser cutting, and the red arrow indicates that the inner part of such text is missing. Figure 9 In (c), it represents the graph after adding bridging. Figure 9 In (d), it represents the graph after cutting.
[0070] Specifically, splitting a single primitive element into multiple primitive elements (sub - primitive elements), a possible application is that different processing parameters are required for different curve segments on the previous single primitive element. The primitive element can be split into multiple ones and then placed on different layers for processing respectively. Deleting small graphics smaller than the set size in the selected primitive elements. These graphics are meaningless in cutting, too small to be processed or with poor effects. Combining multiple non - closed primitive elements. These primitive elements must have the distance between the starting point or ending point and the starting point or ending point of other primitive elements less than the set error; if such primitive elements are not combined, there will be a speed - reduction and pause process during the processing of each primitive element. Combining them allows for a one - time speed budget for processing.
[0071] Refer to Figure 3 and set the laser processing parameters of the cutting graph based on the target cutting trajectory and the to - be - processed material, including:
[0072] S20: Obtain the sorting direction of the target cutting trajectory and the starting grid located in the grid area, and determine the reference point of the target cutting trajectory according to the sorting direction of the target cutting trajectory and the starting grid;
[0073] S21: Obtain a single graphic within the starting grid closest to the reference point, select a set of candidate points for the single graphic, and determine the cutting starting point within the set of candidate points;
[0074] S22: Based on the cutting starting point, the shortest path method is used to cut the graphic within the starting grid. After the graphic within the starting grid is cut, the vector graphics within multiple grids of the grid area are cut according to the sorting direction of the target cutting trajectory.
[0075] In this embodiment, the graphic within the starting grid is divided into multiple line segments, and the line segments on the same straight line are combined to obtain a straight scanning line; the positions of line segments not in the graphic within the starting grid are connected by line segments with the light off; the circular natural continuous cutting scanning method is used so that the cutting from the finished circle to the next processed circle is on the tangent line. Straight line unidirectional group scanning is to form a scanning line by grouping line segments on the same straight line according to the set interval. When processing these scanning lines, only laser switching operation is performed so that the processing of line segments on the same straight line will not slow down; scanning can reduce the processing time (the internal sorting of the scanning line follows the direction set when the initial scanning is performed, and is not affected by path optimization). The starting position refers to the position where the cutting begins. For example, the upper left is the starting position for cutting the overall graphic. Subsequent graphics are sorted according to the nearest principle (finding the graphic closest to the current graphic's end point). If the length of a line segment in the graphic is less than this length, the graphic will not be scanned in a straight line.
[0076] It should be noted that scanning, also known as flying cut, is mainly used to generate flying scan lines. It is divided into straight line grouping scan and circular natural continuous cut. Straight line grouping scan mainly splits the selected graphic into line segments, and then combines the line segments on the same straight line to form a straight scan line. During processing, it is just a matter of moving in a straight line. On the scan line, the positions of the lines that were not originally on the graphic are connected by line segments that do not emit light. There will be no deceleration when processing the scan line at corners, thereby reducing processing time. Circular natural continuous cut is to ensure that the exit from the processed circle and the entry into the next processed circle are on the tangent line of the circle, so as to ensure that there is no deceleration during this idle movement. In order to maintain the tangent line exit and entry, it is necessary to increase the idle movement along the circular trajectory.
[0077] See Figure 4The process includes: acquiring a single graphic within the starting grid closest to the reference point; selecting a set of candidate points for the single graphic; and determining the cutting starting point within the set of candidate points.
[0078] S30: Obtain the shape of a single graphic within the starting grid closest to the reference point, and determine whether the single graphic is a closed graphic based on its shape;
[0079] S31: If so, when it is determined that the starting grid does not contain other graphics, obtain all the protrusions on the single graphic, and use the protrusions with angle values less than the first preset angle threshold as the first candidate point set for the cutting starting point;
[0080] S32: When the starting grid contains other graphics, obtain all the concave points on the single graphic, and select the concave points with angle values less than the second preset angle threshold as the second candidate point set for the cutting starting point.
[0081] In this embodiment, the shortest path method is used to cut the graphics within the starting grid based on the cutting starting point. This includes: cutting along the vector diagram corresponding to the individual graphics within the grid according to the cutting starting point; using the cutting endpoint of the individual graphics as a secondary reference point and searching for cutting starting points of other graphics according to the process of determining cutting starting points in the candidate set; and continuing to cut the cutting starting points of other graphics. The sorting direction of the cutting path (target cutting trajectory) is either left-right priority or up-down priority. Specifically, the sorting directions are: left-right-up-down, left-right-down-up, right-left-down-up, right-left-up-down, up-down-left-right, up-down-right-left, down-up-left-right, and down-up-right-left. Based on the selected sorting direction, the graphics within different grids are cut respectively. The starting grid is obtained according to the grid sorting direction, and a reference point is marked on the side of the starting grid. The reference point is used as the reference standard for selecting the cutting starting point. A convex point is a point whose rotation direction is consistent with the overall rotation direction of the individual graphics, and a concave point is a point whose rotation direction is inconsistent with the overall rotation direction of the individual graphics. All vertices of the individual graphics are obtained by analyzing the overall contour of the individual graphics.
[0082] It should be noted that, using the angle at the vertex position as a reference, an adaptive angle setting is added. Vertices with angles smaller than this setting are selected as potential cutting start points. Based on the difference between convex and concave points, a first preset angle threshold and a second preset angle threshold are defined. When selecting the cutting start point, points with excessively large angle values are avoided to prevent uneven cutting at the start of laser cutting. The graphics in the next grid are cut according to the set sorting direction. The graphics in the next grid are also cut using the same shortest path method. The cutting endpoint (sealing position) of the previous graphic is used as a new reference point to find the cutting start point for the corresponding graphic. The corresponding graphic continues to be cut along its contour based on the cutting start point until all graphics in all grids within the grid area have been cut.
[0083] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.
[0084] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0085] The above-described embodiments are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
Claims
1. A method for fabricating a sliced image, characterized in that, Includes the following steps: Obtain the grid area covered by the cutting pattern of the material to be processed, and divide the cutting pattern into multiple vector graphics according to the grid area. Perform kerf compensation processing on each vector graphic to obtain the corresponding cutting trajectory. The vector graphic includes multiple primitives. The attribute information of multiple graphic elements is obtained, and the reference point of the vector image is determined according to the attribute information of the graphic elements and the cutting trajectory. The attribute information of the graphic elements includes at least one of vertex, edge, included angle, total length, and bounding rectangle. The off position on the primitive is determined based on the reference point, the included angle, and the vertex, and the path of the vector image is optimized based on the off position and the cutting trajectory to obtain the target cutting trajectory; The laser processing parameters of the cutting pattern are set based on the target cutting trajectory and the material to be processed, wherein the laser processing parameters include the scanning method and the cutting starting point, and the scanning method includes linear group scanning and circular natural continuous cutting; Perform kerf compensation processing on each of the vector graphics to obtain the corresponding cutting trajectory, including: Obtain the graphic dimensions of each vector graphic, and add guide lines based on the grid areas not covered by the vector graphic and the graphic dimensions; The cutting trajectory is determined according to the processing kerf width of the guide line and the vector diagram and a preset cutting rule, wherein the preset cutting rule includes inner mold inward shrinkage cutting and outer mold outward expansion cutting; Acquiring attribute information of multiple graphic elements, and determining the reference point of the vector graphic based on the attribute information of the graphic elements and the cutting trajectory, including: Obtain the vertices and edges of each primitive, and set the bounding rectangle corresponding to the primitive according to the vertex and edge lengths, wherein the bounding rectangle includes eight positioning points; The reference point located within the vector diagram is determined based on the circumscribed rectangle, and the relative coordinates of each vertex are determined based on the reference point; The included angle between two adjacent sides is determined based on the relative coordinates. When the included angle is less than or equal to a preset angle, the vertex corresponding to the included angle is marked as a cooling point. The laser cutting off position and the laser on position are determined based on the total length of the primitive and the cooling point, wherein the laser off position is located between the laser on positions of each edge; The cutting trajectory is determined according to the processing kerf width of the guide line and the vector diagram, and in accordance with a preset cutting rule, including: When the vector graphic includes at least two graphic elements, the first graphic element located on the outermost edge of the vector graphic is cut using an outer model expansion cutting method to obtain the first cutting trajectory; The second cutting trajectory is obtained by cutting the innermost second element located within the first element using an inner mold shrinking method; Obtain the width and height dimensions of the bounding rectangle of the first graphic element, and set the off position on the first graphic element corresponding to the smallest width and height dimensions; The target cutting trajectory is obtained by optimizing the vector graphic based on the off-light position and the cutting trajectory, including: When the boundary distance between the graphics corresponding to the two vector graphics is less than a first preset distance, the two vector graphics are processed to share an edge, wherein the processing to share an edge includes sorting and combining the two graphics after deleting the duplicate lines between them. When there are multiple characters or numbers in the cut graphic, if the inner and outer distance between the first graphic element and the second graphic element is less than or equal to the second preset distance, bridging processing is performed on the edges of the first graphic element and the second graphic element to obtain at least two bridging lines. A single graphic element is divided into multiple sub-graphic elements, and these multiple sub-graphic elements are input into a preset layer for curve segmentation processing. Delete small graphics smaller than a preset size from among the multiple sub-graphics elements, wherein the small graphics are determined according to the width and height of the circumscribed rectangle; Multiple non-closed sub-elements are merged, wherein the distance between the first or last point of the multiple non-closed sub-elements is less than a preset error.
2. The method for fabricating a cut image according to claim 1, characterized in that, Based on the target cutting trajectory and the material to be processed, the laser processing parameters of the cutting pattern are set, including: Obtain the sorting direction of the target cutting trajectory and the starting grid located in the grid area, and determine the reference point of the target cutting trajectory based on the sorting direction of the target cutting trajectory and the starting grid; Obtain a single graphic within the starting grid closest to the reference point, select a set of candidate points for the single graphic, and determine the cutting starting point within the set of candidate points; Based on the cutting starting point, the shortest path method is used to cut the graphic within the starting grid. After the graphic within the starting grid is cut, the vector graphics within multiple grids of the grid area are cut according to the sorting direction of the target cutting trajectory.
3. The method for fabricating a cut image according to claim 2, characterized in that, Also includes: The graphic within the initial grid is divided into multiple line segments, and the line segments on the same straight line are combined to obtain a straight scan line; Connect the line segments on the graphic that are not within the starting grid with the line segments that are off; The circular natural continuous cutting scanning method is used to end the cutting of the completed circle and enter the next processed circle on the tangent line.
4. The method for fabricating a cut image according to claim 3, characterized in that, Obtain a single graphic within the starting grid closest to the reference point, select a set of candidate points for the single graphic, and determine the cutting starting point within the set of candidate points, including: Obtain the shape of a single graphic within the starting grid closest to the reference point, and determine whether the single graphic is a closed graphic based on its shape; If so, when it is determined that the starting grid does not contain other graphics, all the protrusions on the single graphic are obtained, and the protrusions with angle values less than the first preset angle threshold are taken as the first candidate point set for the cutting starting point; When the starting grid contains other graphics, all the concave points on the single graphic are obtained, and the concave points with angle values less than the second preset angle threshold are selected as the second set of candidate points for the cutting starting point.
5. The method for fabricating a cut image according to claim 4, characterized in that, Based on the cutting starting point, the graphic within the initial grid is cut using the shortest path method, including: Cut along the vector diagram corresponding to a single graphic within the grid based on the cutting starting point. Use the cutting endpoint of the single graphic as a secondary reference point and find the cutting starting point of other graphics according to the process of determining the cutting starting point in the candidate set. Continue cutting the cutting starting points of other graphics.
Citation Information
Patent Citations
Cutting control method and system based on cooling point, electronic equipment and medium
CN111390399A
Laser cutting path optimization method
CN118378775A
Laser cutting method, device and equipment and storage medium
CN120326173A