Method and apparatus for processing three-dimensional model slice paths based on 3D printing

By acquiring and connecting reference points on the slice contour lines in 3D printing, a smooth printing path is generated, which solves the problems of low path planning efficiency and model surface protrusion caused by small line segments, and achieves more efficient printing and better surface quality.

CN116373307BActive Publication Date: 2025-12-05SHAOXING FAST REAL ELECTRONICS TECH CO LTD

Patent Information

Application Number
CN202310133403.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-12-05
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In existing technologies, the excessive number of small line segments in the outline of 3D model slices leads to low path planning efficiency of 3D printers, and the laser frequently stops when it reaches the end of the line segment, affecting printing efficiency and model surface quality.

Method used

By acquiring the position information of the starting point of the printing path of the 3D printer, obtaining reference points on the slice outline line along the preset direction, determining the printing point to be printed based on the area enclosed between the starting point and the reference point, and generating the printing path by connecting smooth straight lines, the 3D printer is controlled to perform printing operations, reducing the number of line segments and the frequency of pauses.

Benefits of technology

It effectively reduces the frequency of 3D printer pauses during printing operations, improves printing efficiency and model surface quality, reduces algorithm complexity, and simplifies the printing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116373307B_ABST
    Figure CN116373307B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on 3D printing's three-dimensional model slice path processing method and device. Including: control 3D printer to starting point as starting point;Based on the region surrounded between starting point and reference point, determine the printing point to be printed that 3D printer needs to execute printing action during executing 3D printing job;Starting point and the printing point to be printed are sequentially connected by smooth straight line, generate printing path;Based on printing path control 3D printer executes 3D printing job and obtains target object, to effectively reduce the number of line segments of slice contour line of three-dimensional model forming target object, avoid 3D printer in printing job, in the pause frequency of line segment head, tail, simultaneously avoid the problem that 3D printing model surface protrusion is caused by long time scanning due to pause.In reducing pause frequency, printing is more smooth, improve printing efficiency, simultaneously also reduce algorithm complexity, help the simplification of algorithm.And effectively simplify the algorithm of 3D printer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of 3D printing technology, and more specifically, to a method and apparatus for processing slice paths of three-dimensional models based on 3D printing. Background Technology

[0002] Stereo lithography (SLA) 3D printing is a process that uses lasers to solidify slices of a 3D model of the target object along a planned printing path to create a 3D printed model. The primary reference data for planning the printing path is the original contour of the slices. To make the layer transitions smoother, slicing software often triangulates the model surface during the slicing process.

[0003] However, because the surface of the 3D model is triangulated, the slice edge will be composed of small line segments connected end to end to form the slice outline. The more refined the triangulation of the 3D model surface, the more small line segments there will be in the final slice outline. These small line segments will not disappear after offset and other operations. In the 3D printing process, the laser will solidify along these small line segments one by one.

[0004] Inevitably, the laser slows down and adjusts its path direction when it reaches the end of these line segments. This causes the laser to pause multiple times during the printing process, resulting in uneven energy distribution on the contour. In some areas, energy is concentrated and continues to solidify, causing abnormal bumps on the surface of the 3D printed model, affecting its appearance and surface properties. Secondly, existing contour processing methods are highly complex, which seriously affects the efficiency of subsequent path planning. Finally, too many small line segments also significantly reduce the printing speed, affecting printing efficiency.

[0005] There is currently no effective solution to the above problems. Summary of the Invention

[0006] The main objective of this invention is to provide a method and apparatus for processing the outline of a 3D model slice based on 3D printing, so as to at least solve the technical problem of low printer path planning efficiency caused by too many small line segments in the outline of the 3D model slice.

[0007] To achieve the above objectives, according to one aspect of the present invention, a method for processing the slice path of a three-dimensional model based on 3D printing is provided, comprising: acquiring the position information of the starting point of the printing path of the 3D printer when the 3D printer performs a printing operation, wherein the starting point is any point on the slice outline of the three-dimensional model of the target object to be printed; controlling the 3D printer to acquire reference points on the slice outline in a predetermined direction starting from the starting point; determining the printing points to be printed that need to be printed during the 3D printing operation based on the area enclosed between the starting point and the reference points; connecting the starting point and the printing points to be printed sequentially with smooth straight lines to generate a printing path; and controlling the 3D printer to perform a 3D printing operation based on the printing path to obtain the target object.

[0008] Furthermore, based on the area enclosed between the starting point and the reference point, the printing point to be printed is determined, including: according to the reference point, along a preset direction, two rays are drawn with the starting point as the vertex and the line connecting each reference point and the starting point as the angle bisector, wherein the minimum distance between the reference point and the corresponding two rays satisfies a preset value, which is determined according to the laser width of the 3D printer; based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point, the printing point to be printed is determined.

[0009] Furthermore, based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point, the print point to be printed is determined, including: determining whether the area enclosed by the current reference point and the reference points preceding the current reference point has an overlapping area; if so, determining whether the current reference point is located within the overlapping area along a preset direction; if the current reference point is determined to be located within the overlapping area, the previous reference point is determined to be a non-printing point and marked as a point to be deleted; if the current reference point is determined to be located outside the overlapping area, the previous reference point is determined to be a print point to be printed.

[0010] Furthermore, determining the print point to be printed based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point also includes: if it is determined that there is no overlapping area between the current reference point and the areas enclosed by the reference points before the current reference point, the previous reference point located at the current reference point is determined as the print point to be printed.

[0011] Furthermore, the method also includes: if the current reference point is determined to be the print point to be printed, taking the current reference point as the new starting point of the print path, and re-determining the print point to be printed from the remaining reference points along a preset direction.

[0012] Furthermore, based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point, the print point to be printed is determined, including: determining whether the area enclosed by the current reference point and the reference points preceding the current reference point has an overlapping area; if so, determining whether the current reference point is located within the overlapping area along a preset direction; if the current reference point is determined to be located within the overlapping area, the previous reference point is determined to be a non-printing point and marked as a point to be deleted; if the current reference point is determined to be located outside the overlapping area, the intersection of the vector between the previous reference point and the current reference point and the geometric center line of the overlapping area is determined to be the print point to be printed.

[0013] Furthermore, determining the print point to be printed based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point also includes: if it is determined that there is no overlapping area between the current reference point and the areas enclosed by the reference points before the current reference point, the intersection of the vector between the previous reference point and the current reference point and the geometric center line of the overlapping area formed by the vector between the previous reference point and the current reference point is the print point to be printed.

[0014] Furthermore, the method also includes: if the intersection of the geometric center lines of the current vector in the overlapping region is determined as the print point to be printed, the intersection of the geometric center lines of the current vector in the overlapping region is taken as the new starting point of the printing path, and the print point to be printed is re-determined from the remaining reference points along a preset direction.

[0015] Further, based on the area enclosed between the starting point and the reference point, the print point to be printed is determined, including: taking the starting point as the starting point and along a preset direction, obtaining the angle values ​​of the angles between the starting point and the adjacent reference points, as well as between the adjacent reference points; determining whether a reference point located between the adjacent vectors is a print point to be printed based on the angle values, wherein the reference points include points marked as to be deleted; if the angle value is determined to be greater than a preset angle value, the reference point located between the adjacent vectors is determined to be a print point to be printed.

[0016] Furthermore, the processing method also includes: taking the starting point as the starting point, along the preset direction, obtaining the magnitude of the vector between the starting point and the reference point adjacent to the starting point, as well as between the adjacent reference points; determining whether the magnitude is less than or equal to the preset value; if so, determining the corresponding reference point as the printing point to be printed.

[0017] According to another aspect of the present invention, a processing apparatus for a three-dimensional model slice contour path is also provided, comprising: a first acquisition unit for acquiring the position information of the starting point of the printing path of the 3D printer when the 3D printer performs a printing operation, wherein the starting point is any point on the slice contour line of the three-dimensional model of the target object to be printed; a second acquisition unit for controlling the 3D printer to acquire reference points on the slice contour line sequentially along a preset direction, starting from the starting point; a determination unit for determining the printing points to be printed that need to be printed during the 3D printing operation based on the area enclosed between the starting point and the reference points; a generation unit for sequentially connecting the starting point and the printing points to be printed with smooth straight lines to generate a printing path; and an execution unit for controlling the 3D printer to perform a 3D printing operation based on the printing path to obtain the target object.

[0018] According to another aspect of the present invention, a 3D printing system is also provided, including a 3D model slice contour path processing device based on 3D printing, wherein the 3D model slice contour optimization device is the aforementioned 3D model slice contour path processing device.

[0019] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, the device on which the computer-readable storage medium is located executes the above-described processing method for the outline path of a 3D model slice based on 3D printing.

[0020] According to another aspect of the invention, a processor is also provided for running a program, wherein the program executes the above-described processing method for the slice contour path of a 3D model based on 3D printing.

[0021] The technical solution of this application obtains the position information of the starting point of the 3D printer's printing needle and controls the printing needle to sequentially acquire reference points on the slice contour line along a preset direction, starting from the starting point. Based on the area enclosed between the starting point and the reference points, the printing points to be printed during the 3D printing operation are determined. The starting point and the printing points to be printed are sequentially connected by smooth straight lines to generate a printing path. Based on the printing path, the 3D printer is controlled to perform the 3D printing operation to obtain the target object. The path processing method of this application effectively reduces the number of line segments in the slice contour line of the 3D model of the target object, avoiding the frequency of pauses at the beginning and end of line segments during the printing operation, and preventing the problem of surface protrusions in the 3D printed model caused by long scanning times due to pauses. Reducing the frequency of pauses makes printing smoother, improves printing efficiency, and also reduces algorithm complexity, contributing to algorithm simplification. It also effectively simplifies the algorithm of the 3D printer. Attached Figure Description

[0022] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0023] Figure 1 This is a flowchart of an optional method for processing the outline of a 3D model slice based on 3D printing according to an embodiment of the present invention;

[0024] Figure 2 This is a structural block diagram of an optional three-dimensional model slice contour processing device according to an embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram of an optional method for processing the outline of a three-dimensional model slice according to an embodiment of the present invention;

[0026] Figure 4 This is a schematic diagram of an optional method for processing the outline of a three-dimensional model slice according to an embodiment of the present invention;

[0027] Figure 5 This is a schematic diagram of an optional method for processing the outline of a three-dimensional model slice according to an embodiment of the present invention;

[0028] Figure 6 This is a schematic diagram of the outline of a 3D model of a target object to be printed before processing, according to an embodiment of the present invention.

[0029] Figure 7 This is a schematic diagram of the outline of a 3D model of a target object to be printed, according to an embodiment of the present invention. Detailed Implementation

[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0032] According to embodiments of the present invention, in combination Figures 1 to 5 As shown, an embodiment of a method for processing slice paths of a 3D model based on 3D printing is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0033] Combination Figures 1 to 7 The image shows a method for processing slice paths of a 3D model based on 3D printing according to an embodiment of the present invention.

[0034] like Figure 1 As shown, the method includes the following steps:

[0035] Step S102: Obtain the position information of the starting point P0 of the 3D printer's printing path when the 3D printer performs the printing operation, wherein the starting point P0 is any point on the slice outline of the 3D model of the target object to be printed; Step S104: Control the 3D printer to obtain reference points on the slice outline in sequence along a preset direction, starting from the starting point P0; Step S106: Based on the area enclosed between the starting point P0 and the reference points, determine the printing points to be printed that need to be printed during the 3D printing operation; Step S108: Connect the starting point P0 and the printing points to be printed sequentially with smooth straight lines to generate the printing path; Step S1010: Control the 3D printer to perform the 3D printing operation based on the printing path to obtain the target object.

[0036] Through the above steps, using the technical solution of this embodiment, the position information of the starting point P0 of the 3D printer's printing path is obtained, and the printing path is controlled to sequentially obtain reference points on the slice contour line along a preset direction, starting from the starting point P0. Based on the area enclosed between the starting point P0 and the reference points, the printing points to be printed during the 3D printing operation are determined. The starting point P0 and the printing points to be printed are sequentially connected by smooth straight lines to generate the printing path. Based on the printing path, the 3D printer is controlled to perform the 3D printing operation to obtain the target object. The path processing method of this application effectively reduces the number of line segments in the slice contour line forming the 3D model of the target object, avoiding the frequency of pauses at the beginning and end of line segments during the printing operation, and also avoiding the problem of surface protrusions in the 3D printed model caused by long scanning times due to pauses. While reducing the frequency of pauses, printing becomes smoother, improving printing efficiency, and also reducing algorithm complexity, which helps to simplify the algorithm. It also effectively simplifies the algorithm of the 3D printer.

[0037] The method for determining the printable point based on the area enclosed between the starting point P0 and the reference point includes: Based on the reference point, along a preset direction, drawing two rays with the starting point P0 as the vertex and the line connecting each reference point and the starting point P0 as the angle bisector. The maximum distance between each reference point and its corresponding ray satisfies a preset value, determined based on the laser width of the 3D printer. The printable point is then determined based on each reference point and the area enclosed between the two rays and the starting point P0. This method allows for rapid determination of the printable point, minimizing laser pauses at the beginning and end of line segments, resulting in smoother printing and improved efficiency.

[0038] Specifically, based on each reference point and the area enclosed by the two rays corresponding to each reference point and the starting point P0, the printing point to be printed is determined. This includes: determining whether the area enclosed by the current reference point and the reference points preceding the current reference point overlaps; if so, determining whether the current reference point is located within the overlapping area along a preset direction; if so, determining the previous reference point as a non-printing point and marking it as a point to be deleted; if the current reference point is located outside the overlapping area, determining the previous reference point as the printing point to be printed. This method effectively prevents a large number of short line segments from appearing on the printing path. These line segments may cause multiple laser pauses during 3D printing, resulting in uneven energy distribution on the contour, concentrated energy in some areas, and continuous solidification, leading to abnormal protrusions on the surface of the 3D printed model.

[0039] Furthermore, based on each reference point and the region enclosed by the two rays corresponding to each reference point and the starting point P0, the print point to be printed is determined. This also includes: if it is determined that there is no overlap between the current reference point and the regions enclosed by the reference points preceding the current reference point, the previous reference point located at the current reference point is determined as the print point to be printed. This method can determine whether reference points can be ignored, effectively reducing the number of contour edge vertices and improving the efficiency of printing the slice contour lines of the target object.

[0040] Furthermore, the method also includes: if the current reference point is determined to be the print point to be printed, using the current reference point as the new starting point of the printing path, and along a preset direction, re-determining the print point to be printed from the remaining reference points. This method can accurately determine whether a reference point is the print point to be printed.

[0041] According to another embodiment of this application, based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point P0, the print point to be printed is determined, including: determining whether the area enclosed by the current reference point and the reference points preceding the current reference point has an overlapping area; if so, determining whether the current reference point is located within the overlapping area along a preset direction; if so, determining the previous reference point as a non-print point and marking it as a point to be deleted; if the current reference point is located outside the overlapping area, determining the intersection of the vector between the previous reference point and the current reference point and the geometric center line of the overlapping area as the print point to be printed. Wherein, as... Figure 4 As shown, the geometric center line is the angle bisector of the angle formed by the starting point O (equivalent to point P0 in the above embodiment) and the rays on both sides; this ray is the boundary line of the overlapping area. Using this embodiment, the technical solution can effectively reduce the number of line segments forming the slice contour lines of the target object's 3D model, avoiding the frequency of pauses at the beginning and end of line segments during the 3D printer's printing operation. It also avoids the problem of surface protrusions on the 3D printed model caused by prolonged scanning due to pauses. Reducing the frequency of pauses makes printing smoother, improving printing efficiency, and also reduces algorithm complexity, contributing to algorithm simplification. This effectively simplifies the 3D printer's algorithm.

[0042] In this embodiment, determining the printing point to be printed based on each reference point and the area enclosed between the two rays corresponding to each reference point and the starting point P0 further includes: if it is determined that there is no overlapping area between the current reference point and the areas enclosed by the reference points preceding the current reference point, determining the intersection point of the vector between the previous reference point and the current reference point and the geometric center line of the overlapping area formed by the previous reference point (e.g., ...). Figure 5The n points in the diagram are the print points to be printed. If the intersection of the geometric center lines of the current vector within the overlapping region is determined as the print point, then the new starting point of the printing path is established at that intersection point. Following a preset direction, the print points are re-determined from the remaining reference points. This method ensures that the final determined contour line is closer to the target object's contour line, improving the printing accuracy of 3D printing.

[0043] In another embodiment of this application, P0 is selected as the initial printing point, where D n It refers to P n to vector The distance between the two rays, D max Distance D n The threshold. (n≥1, and n is an integer); the printed point sequence is P0, P1, P2......P n .

[0044] Step 1: P0 is the initial printing point, and P1 and P2 are temporary printing points, forming a vector.

[0045] Step 2: Draw two rays L1 and L2 from P0 as endpoints. 1’ P1 and rays L1, L 1’ The distance is D max (D max That is, the aforementioned preset values), rays L1, L 1’ The enclosed area between them is (like Figure 3 Region A in the diagram); similarly, two rays L2 and L3 are drawn from P0 as endpoints. 2’ P2 and rays L2, L 2’ The distance is D max Rays L2 and L 2’ The enclosed area between them is (like Figure 3 (Region B in the text).

[0046] Step 3: 3.1 If the enclosed area and the enclosed area If there is no overlapping region, then P1 becomes the new P0, P n Decreasing to P n-1 P2 becomes the next print point to be confirmed, and Step 1, Step 2, and Step 3 are executed again.

[0047] 3.2. If the enclosed area and the enclosed area There are overlapping areas (like Figure 3If P2 falls within the overlapping region (region C), then... Make a judgment.

[0048] 3.3 If P2 falls into Then cancel the provisional print point P1, remove it from the path, and set P2 and P3 as provisional print points, with P2 as the next print point to be confirmed. Then re-execute Step 1, Step 2, and Step 3.

[0049] 3.4. If P2 does not fall into the subset, then P1 becomes the new P0, P n Decreasing to P n-1 P2 becomes the next print point to be confirmed, and Step 1, Step 2, and Step 3 are executed again.

[0050] Step 4: Except for the cancelled provisional print points, the other print points form a new print path. In this embodiment, D can be determined based on the user's path planning results. max When the user expects a more realistic path, D is preferred. max Smaller; if the user expects a simpler path, then D is preferred. max Larger. In SLA 3D printing, 1 / 5 of the laser width is preferred, but it can also be 1 / 6, 1 / 7, or other values ​​smaller than 1 / 5 of the laser width.

[0051] Further, based on the area enclosed between the starting point P0 and the reference point, determining the print point to be printed includes: taking the starting point P0 as the starting point and along a preset direction, obtaining the angle values ​​of the angles between the starting point P0 and the adjacent reference points, as well as between the adjacent reference points; determining whether a reference point located between the adjacent vectors is a print point to be printed based on the angle values, wherein the reference points include points marked as to be deleted; if the angle value is greater than a preset angle value, determining the reference point located between the adjacent vectors as a print point to be printed. In this embodiment, if the tentative print point P... n Two vectors If the included angle is greater than π / 2, then the provisional printing point P is considered to be... n It has contour features and cannot be canceled, even if P n Even if a region is confirmed to be canceled in the region enclosing algorithm, it should still be retained. Preferably, the angle determination is performed between the region enclosing algorithm and the vector magnitude length determination, which helps to preserve specific features of the contour and avoid the cancellation of specific features of the contour surface due to path optimization. The included angle can be π / 2, π / 4, π / 8, or other suitable angles.

[0052] In another embodiment of this application, if: Skip if necessary, otherwise keep p. n pn+1 Ignore other points between them. This method can ignore points with smaller spacing and retain points with larger spacing, effectively reducing the number of vertices on the contour edge as much as possible. Preferably, d max It can be D max .

[0053] Further, based on the area enclosed between the starting point P0 and the reference point, the print point to be printed is determined, including: taking the starting point P0 as the starting point, along a preset direction, obtaining the magnitude of the vectors between the starting point P0 and the adjacent reference points, and between adjacent reference points; determining whether the magnitude is less than or equal to a preset value; if so, the corresponding reference point is determined as the print point to be printed; otherwise, the corresponding reference point is determined as the print point to be printed. In this embodiment, if the vector... model Then cancel the provisional print point P. n Theoretically, performing this algorithm before the first region encirclement algorithm can effectively prevent a large number of short line segments from appearing on the printing path. These line segments may cause the laser to pause multiple times during the 3D printing process, resulting in uneven energy distribution on the contour, concentrated energy in some areas, and continuous solidification, leading to abnormal protrusions on the surface of the 3D printed model.

[0054] In another embodiment of this application, such as Figure 2 As shown, a processing device for the slice contour path of a three-dimensional model is also provided, including: a first acquisition unit 40, which acquires the position information of the starting point P0 of the printing path of the 3D printer when the 3D printer performs a printing operation, wherein the starting point P0 is any point on the slice contour line of the three-dimensional model of the target object to be printed; a second acquisition unit 42, which controls the 3D printer to acquire reference points on the slice contour line sequentially along a preset direction, starting from the starting point P0; a determination unit 44, which determines the printing points to be printed that need to be printed during the 3D printing operation based on the area enclosed between the starting point P0 and the reference points; a generation unit 46, which connects the starting point P0 and the printing points to be printed sequentially with smooth straight lines to generate a printing path; and an execution unit 48, which controls the 3D printer to perform a 3D printing operation based on the printing path to obtain the target object.

[0055] In another embodiment of this application, a 3D printing system is also provided, including a processing device for the outline path of a 3D model slice based on 3D printing, wherein the optimization device for the outline of the 3D model slice is the 3D model slice outline processing device in the above embodiment.

[0056] In another embodiment of this application, a computer-readable storage medium is also provided, which includes a stored program, wherein, when the program is running, it controls the device where the computer-readable storage medium is located to execute the processing method for the outline path of a 3D model slice based on 3D printing in the above embodiment.

[0057] In another embodiment of this application, a processor is also provided, which is used to run a program, wherein the program executes the processing method for the contour path of a 3D model slice based on 3D printing in the above embodiments.

[0058] In another embodiment of this application, another method of the region encirclement algorithm is: if P2 to P n-1 Both are in overlapping regions Inside, and P n-1 Not in overlapping regions Within the region encirclement algorithm, P is... n-1 As the new P0. In this embodiment, it will be... In overlapping areas The midpoint is designated as the new P0, and the provisional print point P2 is cancelled. n-1 This will make the print path smoother and closer to the shape before optimization. After path optimization, all P0s will be used as print points in the new path, and the lines connecting the P0s will form the new print path.

[0059] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0060] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0061] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0062] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0063] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0064] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method of processing a 3D printing-based three-dimensional model slice path, characterized by, The method comprises: acquiring position information of a starting point of a printing path of a 3D printer when the 3D printer performs a printing operation, wherein the starting point is an arbitrary point on a slice contour line of a three-dimensional model of a target object to be printed; controlling the 3D printer to acquire reference points on the slice contour line in a preset direction in sequence from the starting point as a starting point; determining, according to the reference points, two rays with the starting point as a vertex and a line connecting each reference point and the starting point as an angle bisector in the preset direction, wherein the maximum distance between the reference point and the corresponding two rays satisfies a preset value, and the preset value is determined according to the laser width of the 3D printer; determining the printing point to be printed based on each reference point and a region surrounded by the corresponding two rays of each reference point and the starting point; judging whether the region surrounded by the current reference point and each reference point before the current reference point has an overlapping region; if yes, judging whether the current reference point is located in the overlapping region in the preset direction, if it is determined that the current reference point is located in the overlapping region, determining that the reference point before the current reference point is a non-printing point, and marking the non-printing point as a point to be deleted, and if it is determined that the current reference point is located outside the overlapping region, determining that the reference point before the current reference point is the printing point to be printed; connecting the starting point and the printing point to be printed in sequence by a smooth straight line to generate the printing path; controlling the 3D printer to perform a 3D printing operation based on the printing path to obtain the target object.

2. The treatment method according to claim 1, characterized in that, The method further comprises: in a case where it is determined that the region surrounded by the current reference point and each reference point before the current reference point has no overlapping region, determining that the reference point before the current reference point is the printing point to be printed.

3. The treatment method according to claim 2, characterized in that, The method further comprises: in a case where it is determined that the current reference point is the printing point to be printed, taking the current reference point as a new starting point of the printing path, and re-determining the printing point to be printed from the remaining reference points in the preset direction.

4. The treatment method of claim 1, wherein The method further comprises: judging whether the region surrounded by the current reference point and each reference point before the current reference point has an overlapping region; If yes, it is determined whether the current reference point is located in the overlapping area along the preset direction, if it is determined that the current reference point is located in the overlapping area, it is determined that a previous reference point of the current reference point is a non-printing point, and the non-printing point is marked as a point to be deleted, if it is determined that the current reference point is located outside the overlapping area, it is determined that an intersection point of a vector of the previous reference point and the current reference point and a geometric center line of the overlapping area is the printing point to be printed.

5. The treatment method according to claim 4, characterized in that, The method for determining the printing point to be printed based on the reference points and the area surrounded by the two rays corresponding to each reference point and the starting point comprises the following steps: In the case that it is determined that the area surrounded by the current reference point and each reference point located before the current reference point has no overlapping area, it is determined that an intersection point of a vector of the previous reference point and the current reference point and a geometric center line of the overlapping area formed by the previous reference point is the printing point to be printed.

6. The processing method according to claim 5, characterized in that, The method further comprises: In the case that it is determined that the intersection point of the current vector and the geometric center line of the overlapping area is the printing point to be printed, the new starting point of the printing path is the intersection point of the current vector and the geometric center line of the overlapping area, and the printing point to be printed is re-determined from the remaining reference points along the preset direction.

7. The treatment method according to any one of claims 2 or 3, characterized in that, The method for determining the printing point to be printed based on the area surrounded by the starting point and the reference points comprises the following steps: The first obtaining unit obtains the position information of the starting point of the printing path of the 3D printer when the 3D printer performs the printing operation, wherein the starting point is an arbitrary point on the slice contour profile line of the three-dimensional model of the target object to be printed. The second obtaining unit controls the 3D printer to sequentially obtain the reference points on the slice contour profile line along the preset direction with the starting point as the starting point. ​ 8. The treatment method according to any one of claims 2 or 3, characterized in that, ​ ​ ​ ​ ​ 9. A processing device for three-dimensional model slice contour path, characterized in that, ​ ​ ​ The determining unit determines, according to the reference points, two rays with each reference point as a vertex and with a line connecting the reference point and the starting point as an angle bisector in the preset direction, wherein the maximum distance between the reference point and the corresponding two rays satisfies a preset value, and the preset value is determined according to the laser width of the 3D printer. The printing point is determined based on each reference point and an area surrounded by the corresponding two rays and the starting point. It is judged whether the area surrounded by the current reference point and each reference point before the current reference point has an overlapping area. If yes, it is judged whether the current reference point is located in the overlapping area in the preset direction. If it is determined that the current reference point is located in the overlapping area, a previous reference point of the current reference point is determined as a non-printing point, and the non-printing point is marked as a point to be deleted. If it is determined that the current reference point is located outside the overlapping area, the previous reference point of the current reference point is determined as the printing point. The generating unit generates the printing path by connecting the starting point and the printing point through a smooth straight line. The executing unit controls the 3D printer to perform a 3D printing operation based on the printing path, and obtains the target object.

10. A 3D printing system comprising a 3D printing based three-dimensional model slice contour path processing apparatus, characterized by, The three-dimensional model slice contour optimization device is the three-dimensional model slice contour path processing device in claim 9.

11. A computer readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein the computer readable storage medium controls the device to perform the three-dimensional model slice contour path processing method based on 3D printing in any one of claims 1 to 8 when the program is running.

12. A processor, comprising: The processor is used to run a program, wherein the processor executes the three-dimensional model slice contour path processing method based on 3D printing in any one of claims 1 to 8 when the program is running.

Citation Information

Patent Citations

  • Three-dimensional printing scanning method, readable storage medium and three-dimensional printing scanning control device

    CN108665493A

  • Printing path planning method and system and 3D printer

    CN112677489A

Cited By

  • 3D printing path processing method and device

    CN117183341A

  • 3D printing path processing method and apparatus

    CN117183341B

  • 3D printing path processing method and device

    CN117183342A