Photocuring printing method and device, electronic equipment and storage medium

By identifying and curing working pixels with a difference greater than or equal to the preset number of layers or working pixels without non-working pixels in the opposite direction during the photopolymerization printing process, the model distortion problem caused by overexposure is solved, and the accuracy of photopolymerization printing is improved.

CN121018941APending Publication Date: 2025-11-28SUZHOU FLASHFORGE 3D TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511250394.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-03
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

Overexposure during the photopolymerization printing process leads to model distortion and reduces the accuracy of model printing.

Method used

By determining multiple first slice images of the target model, identifying and solidifying working pixels with a difference greater than or equal to the preset number of layers or working pixels without non-working pixels in the opposite direction, overexposure to non-working pixels is avoided, and appropriate optomechanical power is used for photocuring printing.

Benefits of technology

This method avoids distortion and misalignment of 3D solid models obtained through photopolymerization printing, thus improving printing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121018941A_ABST
    Figure CN121018941A_ABST
Patent Text Reader

Abstract

The invention discloses a photocuring printing method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a plurality of first slice images of a target model, wherein the plurality of first slice images are obtained by cutting the target model layer by layer along the vertical direction of the printing direction; determining a first pixel in each first slice image, the first pixel being a working pixel and a difference value between a slice ordinal number of the first pixel and a slice ordinal number of a second pixel being greater than or equal to a first layer number, or the first pixel being a working pixel and having no corresponding second pixel, the second pixel is a non-working pixel closest to the first pixel in the direction opposite to the printing direction; and performing photocuring printing on the first pixels in each first slice image based on the first layer number to generate a three-dimensional entity model corresponding to the target model. According to the scheme, the three-dimensional solid model obtained through printing can be prevented from being distorted and distorted, and the accuracy of photocuring printing is improved.
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 in particular to a photopolymerization printing method, apparatus, electronic device, and storage medium. Background Technology

[0002] In the process of photopolymerization printing, the geometric slices of the model need to be rasterized to extract the working pixels from the slice images. Then, an optical engine is used to cure the working pixels. The optical engine consists of a laser array, which can precisely cure each pixel in the slice image, thereby obtaining a single-layer slice of the model.

[0003] In the photopolymerization printing process, an overexposure strategy is used to enhance the model's strength and prevent delamination due to weak adhesion between adjacent layers. However, this overexposure strategy can lead to distortion and misalignment of the printed model, reducing its accuracy. Summary of the Invention

[0004] This invention provides a photopolymerization printing method, apparatus, electronic device, and storage medium to solve the problem that overexposure during the photopolymerization printing process can cause distortion and misalignment of the printed model.

[0005] According to one aspect of the present invention, a photopolymerization printing method is provided, the method comprising:

[0006] Multiple first slice images of the target model are determined. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice image consists of working pixels and non-working pixels. Working pixels are pixels that are photopolymerized and non-working pixels are pixels that are not photopolymerized.

[0007] The first pixel in each first slice image is determined. The first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number. Alternatively, the first pixel is a working pixel and there is no corresponding second pixel. The second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction. The first layer number is a preset over-curing layer number.

[0008] Based on the first layer, the first pixel in each first slice image is photopolymerized and printed to generate the three-dimensional solid model corresponding to the target model.

[0009] According to another aspect of the present invention, a photopolymerization printing apparatus is provided, the apparatus comprising:

[0010] The first determining module is used to determine multiple first slice images of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice image consists of working pixels and non-working pixels. The working pixels are pixels that are photopolymerized and the non-working pixels are pixels that are not photopolymerized.

[0011] The second determining module is used to determine the first pixel in each first slice image, wherein the first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number, or the first pixel is a working pixel and there is no corresponding second pixel, the second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction, and the first layer number is a preset over-curing layer number.

[0012] The first printing module is used to perform photopolymerization printing on the first pixel in each first slice image based on the first layer number to generate a three-dimensional solid model corresponding to the target model.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the photopolymerization printing method of any embodiment of the present invention.

[0015] According to another aspect of the present invention, a computer-readable storage medium is provided that stores computer instructions for causing a processor to execute and implement the photopolymerization printing method of any embodiment of the present invention.

[0016] The technical solution of this invention determines multiple first slice images of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. These multiple first slice images are obtained by cutting the target model layer by layer along the perpendicular direction of the printing direction. A first pixel is determined in each first slice image; this first pixel is a working pixel, and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number, or the first pixel is a working pixel and there is no corresponding second pixel. Based on the first layer number, photopolymerization printing is performed on the first pixels in each first slice image to generate a three-dimensional solid model corresponding to the target model. This achieves the determination of the first pixel to be photopolymerized in each first slice image of the target model by the first layer number, and the photopolymerization printing is performed on the first pixel based on the first layer number. This ensures that the first pixel and the working pixels between the first and second pixels are solidified, while avoiding over-solidification to the second pixel, which is a non-working pixel. This prevents distortion and aberration in the three-dimensional solid model obtained by photopolymerization printing, improving the accuracy of photopolymerization printing.

[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart of a photopolymerization printing method provided in an embodiment of the present invention;

[0020] Figure 2 This is a schematic diagram of pixels at the same position in multiple first slice images provided in an embodiment of the present invention;

[0021] Figure 3 A flowchart of another photopolymerization printing method provided in an embodiment of the present invention;

[0022] Figure 4 This is a schematic diagram of a longitudinal section corresponding to multiple first slice images provided in an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of the longitudinal section corresponding to the marking information of multiple first slice images provided in an embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of the structure of a photopolymerization printing device provided in an embodiment of the present invention;

[0025] Figure 7 This is a schematic diagram of an electronic device implementing a photopolymerization printing method, provided as an embodiment of the present invention. Detailed Implementation

[0026] 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 of the present invention. 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.

[0027] 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.

[0028] Figure 1 This is a flowchart illustrating a photopolymerization printing method provided in an embodiment of the present invention. This embodiment is applicable to the photopolymerization printing of three-dimensional digital models. The method can be executed by a photopolymerization printing device, which can be implemented in hardware and / or software and configured in an electronic device implementing the photopolymerization printing method. Figure 1 As shown, the photopolymerization printing method includes:

[0029] S101. Determine multiple first slice images of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice image consists of working pixels and non-working pixels. The working pixels are the pixels that are photopolymerized and the non-working pixels are the pixels that are not photopolymerized.

[0030] Photopolymerization printing refers to the process of solidifying liquid photosensitive resin layer by layer using a light source, based on the principle of photopolymerization, to create a three-dimensional solid model. A three-dimensional digital model is a digital virtual medium capable of expressing the shape, structure, texture, and related attributes of a three-dimensional object. Three-dimensional digital models can be constructed using computer technology.

[0031] The printing direction in photopolymer printing can refer to the direction of the model's height during the printing process. The perpendicular direction of the printing direction can refer to a plane direction perpendicular to the model's height. Layer-by-layer cutting refers to the process of continuously cutting the target model into multiple cross-sections according to a preset printing layer height. The preset printing layer height can refer to the pre-set vertical distance between two adjacent cross-sections. Layer-by-layer cutting can be used to represent a target model in layers.

[0032] Multiple first slice images can include a digital projection of the target model's cross-section at each layer's printing height. Each first slice image consists of working pixels and non-working pixels, ensuring that the working pixels in the multiple first slice images can be used to fully represent the target model. Working pixels have non-zero grayscale values. Non-working pixels have zero grayscale values.

[0033] As an optional implementation of this invention, determining multiple first slice images of a target model includes: acquiring multiple model slices of the target model, wherein the multiple model slices are obtained by cutting the target model layer by layer along the perpendicular direction of the printing direction; and rasterizing each model slice to obtain multiple first slice images.

[0034] Here, a model slice can refer to a cross-section obtained after cutting the target model layer by layer. Multiple model slices can include cross-sections of the target model at each layer's printing height. Rasterization can refer to the process of converting vector graphics into a raster image composed of discrete pixels.

[0035] Specifically, the target model can be layered using slicing software based on a preset printing layer height to obtain multiple model slices. Then, the geometric representation of each model slice can be rasterized to obtain a first slice image for each slice, thus resulting in multiple first slice images. The geometric representation of the model slice can consist of an ordered array of vertices.

[0036] S102. Determine the first pixel in each first slice image. The first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number. Alternatively, the first pixel is a working pixel and there is no corresponding second pixel. The second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction. The first layer number is a preset over-curing layer number.

[0037] The slice number of a pixel can refer to the slice number of the first slice image to which it belongs. The slice number of the first slice image can refer to the sequence number of the first slice image in the printing order after the target model is cut layer by layer along the direction perpendicular to the printing direction. The direction in which the slice numbers increase sequentially corresponds to the printing direction of the photopolymerization printing. The number of over-cured layers can refer to the number of first slice images that can be synchronously cured in a single exposure operation for multiple first slice images of the target model. The number of first layers can be used to prevent poor adhesion between adjacent layers when printing the target model. For example, the number of first layers can be set to 2. The position of the first pixel in its corresponding first slice image is the same as the position of the second pixel in its corresponding first slice image. Pixels between the first and second pixels are considered working pixels.

[0038] Specifically, for multiple first slice images, pixels at the same position in each first slice image can be grouped into a pixel set. Each pixel in the pixel set is associated with a slice index, and the opposite direction of the printing direction is the direction in which the slice indices decrease sequentially. Furthermore, based on the first layer number, the first pixel in each pixel set can be determined, thereby obtaining the first pixel in each first slice image.

[0039] For example, refer to Figure 2 For the 11 first slice images of the target model, the pixel set of the target model can be represented as: {[1,1],[1,2],[0,3],[0,4],[1,5],[1,6],[1,7],[0,8],[1,9],[1,10],[0,11]}. In the pixel set [a,b], a = 1 indicates a working pixel, a = 0 indicates a non-working pixel, and b represents the slice number of the pixel. Furthermore, the working pixels with slice numbers 1 and 2 are located above the printing platform, and there are no non-working pixels in the opposite direction of the printing direction for the working pixels with slice numbers 1 and 2. Therefore, the working pixels with slice numbers 1 and 2 are the first pixels. When the first layer number is 2, for the working pixels of slice numbers 5, 6, and 7, there is a non-working pixel of slice number 4 in the opposite direction of the printing direction. Based on the difference between the slice numbers and the first layer number, the non-working pixel of slice number 4 can be used as the second pixel, thus determining the working pixels of slice numbers 6 and 7 as the first pixel. Similarly, for the working pixels of slice numbers 9 and 10, there is a non-working pixel of slice number 8 in the opposite direction of the printing direction. Based on the difference between the slice numbers and the first layer number, the non-working pixel of slice number 8 can be used as the second pixel, thus determining the working pixel of slice number 10 as the first pixel.

[0040] S103. Based on the first layer, perform photopolymerization printing on the first pixel in each first slice image to generate a three-dimensional solid model corresponding to the target model.

[0041] Specifically, when performing photopolymerization printing on the first pixel based on the first layer, it is possible to solidify the first pixel and the working pixels between the first and second pixels, while avoiding over-solidification to the second pixel. Therefore, performing photopolymerization printing on the first pixel of each first slice image based on the first layer can avoid distortion and aberration of the resulting 3D solid model, improving the accuracy of printing the target model.

[0042] As an optional implementation of the present invention, a three-dimensional solid model corresponding to the target model is generated by photocuring and printing the first pixels in each first slice image based on the first layer number. This includes: determining the first power of the optical engine based on the first layer number, wherein the first power is used to cure the resin to the first layer number when the optical engine cures the resin; and generating the three-dimensional solid model corresponding to the target model by photocuring and printing the first pixels in each first slice image based on the first power.

[0043] The optical engine can be used to provide a light beam of specific wavelength and energy to selectively cure liquid photosensitive resin. Specifically, when photocuring printing the first pixel in each first slice image, the power of the optical engine is controlled to a first power, so that the first pixel and the working pixels between the first pixel and the second pixel are cured synchronously.

[0044] As an optional implementation of the present invention, before performing photopolymerization printing on the first pixels in each first slice image based on the first layer number to generate the three-dimensional solid model corresponding to the target model, the method further includes: determining the fifth pixel in each first slice image, wherein the fifth pixel is a working pixel and there are no adjacent working pixels of the fifth pixel along the printing direction, the difference between the slice number of the fifth pixel and the slice number of the sixth pixel is less than the first layer number, and the sixth pixel is the non-working pixel that is closest to the fifth pixel in the opposite direction of the printing direction.

[0045] Specifically, based on the first layer, the fifth pixel in each pixel set can be determined, thus obtaining the fifth pixel in each first slice image. For example, refer to... Figure 2For the pixel set: {[1,1],[1,2],[0,3],[0,4],[1,5],[1,6],[1,7],[0,8],[1,9],[1,10],[0,11]}. When the first layer number is 3, for the working pixels of slice numbers 5, 6, and 7, there is a non-working pixel of slice number 4 in the opposite direction of the printing direction. Based on the difference between the slice numbers and the first layer number, the non-working pixel of slice number 4 can be used as the second pixel, thus determining the working pixel of slice number 7 as the first pixel; furthermore, for the working pixels of slice numbers 9 and 10, there is a non-working pixel of slice number 8 in the opposite direction of the printing direction, and the working pixel of slice number 10 has no adjacent working pixels along the printing direction. Based on the difference between the slice numbers and the first layer number, the non-working pixel of slice number 8 can be used as the sixth pixel, thus determining the working pixel of slice number 10 as the fifth pixel.

[0046] Correspondingly, the printing process of the 3D solid model corresponding to the target model includes: performing photopolymerization printing on the first pixel of each first slice image based on the first layer, and performing photopolymerization printing on the fifth pixel of each first slice image based on the second layer to generate the 3D solid model corresponding to the target model. The second layer is used to solidify the fifth pixel and the working pixels between the fifth and sixth pixels during photopolymerization printing, and to avoid over-solidification to the sixth pixel. Performing photopolymerization printing on the fifth pixel of each first slice image based on the second layer avoids missing pixels when only the first pixel is photopolymerized.

[0047] Optionally, when performing photopolymerization printing on the fifth pixel of each first slice image based on the second layer number, the power of the photomechanical engine is controlled to a second power, so that the fifth pixel and the working pixels between the fifth and sixth pixels are cured synchronously. The second power is used to cure the resin to a second layer number when the photomechanical engine cures the resin. The second power is less than the first power.

[0048] Optionally, when the number of working pixels between the fifth and sixth pixels is less than a preset number, photopolymerization printing is not performed on the fifth pixel and the working pixels between the fifth and sixth pixels, simplifying the photopolymerization printing operation. The preset number is less than the first layer number. When the number of working pixels between the fifth and sixth pixels is not less than the preset number, the seventh pixel is determined based on the first layer number and the sixth pixel. The seventh pixel is the pixel located after the fifth pixel in the printing direction, and the difference between the slice number of the seventh pixel and the slice number of the sixth pixel is equal to the first layer number. Photopolymerization printing is performed on the seventh pixel based on the first layer number, thus curing the fifth pixel and the working pixels between the fifth and sixth pixels while avoiding over-curing to the sixth pixel.

[0049] As an optional implementation of this invention, the process of determining the number of the first layer includes: determining the third power of the optical engine based on a preset pixel grayscale value and a first curve, wherein the first curve is a curve showing the relationship between the optical engine power and the pixel grayscale value; determining the number of the third layer based on the third power of the optical engine and the resin type, and rounding down the number of the third layer to obtain the number of the first layer.

[0050] The pixel grayscale value can be used to indicate the exposure energy of the optical engine within a region. Specifically, the optical engine power corresponding to the preset pixel grayscale value in the first curve can be used as the third power. Furthermore, the exposure depth can be determined based on the third power and the resin type, and thus the number of third layers can be determined based on the ratio of the exposure depth to the preset printing layer height. Finally, the number of first layers can be obtained by rounding down the number of third layers. The first power corresponding to the number of first layers is less than or equal to the third power. For example, when the preset pixel grayscale value is 255, the corresponding number of first layers can be 2.

[0051] The technical solution of this invention determines multiple first slice images of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. These multiple first slice images are obtained by cutting the target model layer by layer along the perpendicular direction of the printing direction. A first pixel is determined in each first slice image; this first pixel is a working pixel, and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number, or the first pixel is a working pixel and there is no corresponding second pixel. Based on the first layer number, photopolymerization printing is performed on the first pixels in each first slice image to generate a three-dimensional solid model corresponding to the target model. This achieves the determination of the first pixel to be photopolymerized in each first slice image of the target model by the first layer number, and the photopolymerization printing is performed on the first pixel based on the first layer number. This ensures that the first pixel and the working pixels between the first and second pixels are solidified, while avoiding over-solidification to the second pixel, which is a non-working pixel. This prevents distortion and aberration in the three-dimensional solid model obtained by photopolymerization printing, improving the accuracy of photopolymerization printing.

[0052] Figure 3 This is a flowchart of another photopolymerization printing method provided by an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of determining the first pixel in each first slice image in the foregoing embodiments based on the technical solutions of the above embodiments. Solutions not described in detail in this embodiment can be found in the above embodiments. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 3 As shown, the photopolymerization printing method includes:

[0053] S201. Determine multiple first slice images of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice image consists of working pixels and non-working pixels. The working pixels are the pixels that are photopolymerized and the non-working pixels are the pixels that are not photopolymerized.

[0054] S202. For each first slice image, determine the marking information of the first slice image. The marking information is a two-dimensional matrix composed of element values. The marking information is the same size as the first slice image. When the third pixel is a non-working pixel, the element value is 0. When the third pixel is a working pixel, the element value is the difference between the slice index of the third pixel and the slice index of the fourth pixel. When the third pixel is a working pixel and there is no corresponding fourth pixel, the element value is greater than the first layer number. The third pixel is the pixel at the target position in the first slice image. The target position is the same as the position of the element value in the marking information. The fourth pixel is the non-working pixel that is closest to the third pixel in the opposite direction of the printing direction.

[0055] refer to Figure 4 When the first layer number is 2, when performing photopolymerization printing on the working pixels on the left side of the second layer based on the first layer number, it will cause overpolymerization to the non-working pixels on the left side of the first layer, which will result in distortion and misalignment of the printed model.

[0056] Specifically, each pixel in the first slice image corresponds one-to-one with each element value in the marking information, thus each pixel in the first slice image can be used as the third pixel in sequence. Furthermore, when the third pixel is a non-working pixel, it means that the third pixel will not be photocured, and the element value corresponding to the third pixel can be 0; when the third pixel is a working pixel and there is no corresponding fourth pixel, it means that the working pixel farthest from the third pixel in the opposite direction of the printing direction is adjacent to the printing platform, and there is no over-curing, so the element value corresponding to the third pixel can be greater than the first layer number; when the third pixel is a working pixel and there is a corresponding fourth pixel, the element value corresponding to the third pixel can be the difference between the slice number of the third pixel and the slice number of the fourth pixel.

[0057] As an optional implementation of this invention, determining the marking information of the first slice image includes the following steps A1-A3:

[0058] Step A1: Set the values ​​of each element in the first region of the current first slice image to the first preset value. The first region corresponds to the region composed of non-working pixels in the current first slice image, and the first preset value is 0.

[0059] Step A2: If the slice number of the current first slice image is the first layer, then set the values ​​of each element in the second region of the current first slice image's marking information to the second preset value. The second region corresponds to the region formed by the working pixels in the current first slice image, and the second preset value is greater than the first layer number.

[0060] Step A3: If the slice number of the current first slice image is not the first layer, then set the value of each element in the second region of the labeling information of the current first slice image to the result of adding one to the value of the element at the corresponding position in the reference information. The reference information is the labeling information corresponding to the second slice image, and the second slice image is the first slice image corresponding to the layer above the current first slice image.

[0061] For details, please refer to Figure 4 and Figure 5 , Figure 4 In the middle, 0 indicates a non-working pixel. Figure 4 In the image, 1 represents a working pixel. When a pixel in the first slice image is a non-working pixel, it is not photopolymerized and printed, so the values ​​of each element in the first region of the marking information of the first slice image can be set to 0.

[0062] Continue to refer to Figure 4 and Figure 5 When the slice number of the current first slice image is the first layer, the current first slice image is adjacent to the printing platform and there is no over-curing. Therefore, the element values ​​in the second region of the marking information of the current first slice image can be set to the second preset value. For example, when the first layer number is 2, Figure 5 In the first layer of marker information, the values ​​of each element in the second region are set to 7.

[0063] Continue to refer to Figure 4 and Figure 5 When the slice number of the current first slice image is the second layer, the element values ​​of each element in the second region of the labeling information of the current first slice image can be set to the result of adding one to the element values ​​at the same position in the labeling information of the first slice image with the slice number of the first layer. The second preset value can also be used to represent the upper limit of the result of adding one to the element value, that is, when the result of adding one to the element value is greater than the second preset value, the result of adding one to the element value is changed to the second preset value.

[0064] Continue to refer to Figure 4 and Figure 5 When the slice number of the current first slice image is the third layer, the value of each element in the second region of the label information of the current first slice image can be set to the result of adding one to the value of the element at the same position in the label information of the first slice image with the slice number of the second layer.

[0065] By traversing each first slice image, the labeling information of each first slice image can be obtained, thus achieving accurate acquisition of the labeling information of each first slice image.

[0066] For example, each element value in the marking information can be represented using 3 bits, with a value range of 0 to 7. When setting each element value in the second region of the marking information of the current first slice image to the result of adding one to the element value at the corresponding position in the reference information, if the result of adding one to the element value at the corresponding position in the reference information exceeds 7, then the element value at the corresponding position in the marking information of the current first slice image is set to 7.

[0067] S203. Determine the first pixel in the first slice image based on the first layer number and the labeling information of the first slice image.

[0068] Specifically, the values ​​of each element in the marker information can represent the difference between the slice number of a pixel in the first slice image and the slice number of the corresponding fourth pixel, or whether a pixel in the first slice image has a corresponding fourth pixel. Furthermore, determining the first pixel in the first slice image using the first layer number and the marker information can improve the accuracy and efficiency of determining the first pixel.

[0069] As an optional implementation of the present invention, determining the first pixel in the first slice image based on the first layer number and the marking information of the first slice image includes: taking the pixel in the third region of the first slice image as the first pixel, the third region corresponding to the fourth region in the marking information of the first slice image, and the value of each element in the fourth region being greater than or equal to the first layer number.

[0070] Specifically, by comparing each element value in the marker information with the first layer number, the element values ​​in the marker information that are greater than or equal to the first layer number can be determined. Furthermore, the pixel corresponding to the element value greater than or equal to the first layer number in the first slice image can be used as the first pixel to further improve the accuracy of determining the first pixel.

[0071] S204. Based on the first layer, perform photopolymerization printing on the first pixel in each first slice image to generate a three-dimensional solid model corresponding to the target model.

[0072] The technical solution of this invention involves determining multiple first slice images of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. These multiple first slice images are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction. For each first slice image, marking information is determined. The marking information is a two-dimensional matrix composed of element values, and the marking information has the same size as the first slice image. When the third pixel is a non-working pixel, its element value is 0; or when the third pixel is a working pixel, its element value is the difference between the slice index of the third pixel and the slice index of the fourth pixel; or the third pixel is a working pixel and there is no corresponding fourth pixel. The element value is greater than the first layer number; the third pixel is the pixel at the target position in the first slice image, and the target position is the same as the position of the element value in the marking information; the fourth pixel is the non-working pixel that is closest to the third pixel in the opposite direction of the printing direction; determining the first pixel in the first slice image based on the first layer number and the marking information of the first slice image can further improve the accuracy and efficiency of determining the first pixel; performing photopolymerization printing on the first pixel in each first slice image based on the first layer number to generate the three-dimensional solid model corresponding to the target model avoids distortion and aberration of the three-dimensional solid model obtained by photopolymerization printing, and improves the accuracy of photopolymerization printing.

[0073] Figure 6 This is a schematic diagram of a photopolymerization printing device provided in an embodiment of the present invention. This embodiment of the present invention is applicable to the photopolymerization printing of three-dimensional digital models, and the device can be implemented in hardware and / or software. Figure 6 As shown, the photopolymerization printing device includes:

[0074] The first determining module 301 is used to determine multiple first slice images of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice images are composed of working pixels and non-working pixels. The working pixels are pixels that are photopolymerized and the non-working pixels are pixels that are not photopolymerized.

[0075] The second determining module 302 is used to determine the first pixel in each first slice image, wherein the first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number, or the first pixel is a working pixel and there is no corresponding second pixel, wherein the second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction, and the first layer number is a preset over-curing layer number.

[0076] The first printing module 303 is used to perform photopolymerization printing on the first pixels in each first slice image based on the first layer number to generate a three-dimensional solid model corresponding to the target model.

[0077] Based on any of the above optional technical solutions, optionally, the first determining module 301 includes: a first acquisition unit and a second acquisition unit. The first acquisition unit is used to acquire multiple model slices of the target model, the multiple model slices being obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction; the second acquisition unit is used to rasterize each model slice to obtain multiple first slice images.

[0078] Based on any of the above optional technical solutions, optionally, the second determining module 302 includes: a third determining unit and a fourth determining unit. The third determining unit is used to determine the marking information of each first slice image, wherein the marking information is a two-dimensional matrix composed of element values, and the marking information is the same size as the first slice image; when the third pixel is a non-working pixel, the element value is 0; or when the third pixel is a working pixel, the element value is the difference between the slice ordinal number of the third pixel and the slice ordinal number of the fourth pixel; or when the third pixel is a working pixel and there is no corresponding fourth pixel, the element value is greater than the first layer number; the third pixel is the pixel at the target position in the first slice image, and the target position is the same as the position of the element value in the marking information; the fourth pixel is the non-working pixel closest to the third pixel in the opposite direction of the printing direction; the fourth determining unit is used to determine the first pixel in the first slice image based on the first layer number and the marking information of the first slice image.

[0079] Based on any of the above optional technical solutions, optionally, the third determining unit includes: a first setting subunit, a second setting subunit, and a third setting subunit. The first setting subunit is used to set the element values ​​of each element in the first region of the current first slice image's marking information to a first preset value, where the first region corresponds to the region composed of non-working pixels in the current first slice image, and the first preset value is 0. The second setting subunit is used to set the element values ​​of each element in the second region of the current first slice image's marking information to a second preset value if the slice number of the current first slice image is the first layer, where the second region corresponds to the region composed of working pixels in the current first slice image, and the second preset value is greater than the first layer number. The third setting subunit is used to set the element values ​​of each element in the second region of the current first slice image's marking information to the result of adding one to the element value at the corresponding position in the reference information if the slice number of the current first slice image is not the first layer, where the reference information is the marking information corresponding to the second slice image, and the second slice image is the first slice image corresponding to the layer above the current first slice image.

[0080] Based on any of the above optional technical solutions, optionally, the fourth determining unit is specifically used to take the pixels in the third region of the first slice image as the first pixel, the third region corresponds to the fourth region in the marking information of the first slice image, and the value of each element in the fourth region is greater than or equal to the first layer number.

[0081] Based on any of the above optional technical solutions, optionally, the first printing module 303 includes: a fifth determining unit and a second printing unit. The fifth determining unit is used to determine the first power of the optical engine based on the first number of layers, the first power being used to cure the resin to the first number of layers when the optical engine cures the resin; the second printing unit is used to generate a three-dimensional solid model corresponding to the target model by photocuring and printing the first pixels in each first slice image using the optical engine, based on the first power.

[0082] Optionally, based on any of the above-mentioned optional technical solutions, the photopolymerization printing device further includes a sixth determining module. The sixth determining module is used to determine, before performing photopolymerization printing on the first pixels in each first slice image based on the first layer number to generate the 3D solid model corresponding to the target model, a fifth pixel in each first slice image. The fifth pixel is a working pixel, and there are no adjacent working pixels along the printing direction. The difference between the slice number of the fifth pixel and the slice number of the sixth pixel is less than the first layer number. The sixth pixel is the non-working pixel closest to the fifth pixel in the opposite direction of the printing direction. Correspondingly, the printing process of the 3D solid model corresponding to the target model includes: performing photopolymerization printing on the first pixels in each first slice image based on the first layer number, performing photopolymerization printing on the fifth pixels in each first slice image based on the second layer number, generating the 3D solid model corresponding to the target model. The second layer number is used to solidify the fifth pixel, the working pixels between the fifth and sixth pixels, and to avoid over-solidification to the sixth pixel during photopolymerization printing.

[0083] The technical solution of this invention involves a first determining module 301 determining multiple first slice images of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. These multiple first slice images are obtained by cutting the target model layer by layer along the vertical direction of the printing direction. A second determining module 302 determines a first pixel in each first slice image. The first pixel is a working pixel, and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number; or the first pixel is a working pixel and there is no corresponding second pixel. A first printing module 303 performs photopolymerization printing on the first pixels in each first slice image based on the first layer number to generate a three-dimensional solid model corresponding to the target model. This achieves the determination of the first pixel to be photopolymerized in each first slice image of the target model based on the first layer number, and performs photopolymerization printing on the first pixel based on the first layer number. This ensures that the first pixel and the working pixels between the first and second pixels are solidified, while avoiding over-solidification to the second pixel, which is a non-working pixel. This prevents distortion and aberration in the three-dimensional solid model obtained by photopolymerization printing, improving the accuracy of photopolymerization printing.

[0084] The photopolymerization printing apparatus provided in the embodiments of the present invention can execute the photopolymerization printing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0085] Figure 7 This is a schematic diagram of an electronic device implementing a photopolymerization printing method according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0086] like Figure 7As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0087] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0088] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as photopolymerization printing methods.

[0089] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.

[0090] In some embodiments, the photopolymer printing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the photopolymer printing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the photopolymer printing method by any other suitable means (e.g., by means of firmware).

[0091] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0092] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0093] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0094] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0095] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0096] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0097] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0098] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A photopolymerization printing method, characterized in that, The method includes: Multiple first slice images of a target model are determined. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slice images are obtained by cutting the target model layer by layer in the direction perpendicular to the printing direction. The first slice images are composed of working pixels and non-working pixels. The working pixels are pixels that are to be photopolymerized and the non-working pixels are pixels that are not to be photopolymerized. The first pixel in each first slice image is determined. The first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number. Alternatively, the first pixel is a working pixel and there is no corresponding second pixel. The second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction. The first layer number is a preset over-curing layer number. Based on the first layer, the first pixel in each of the first slice images is photopolymerized and printed to generate the three-dimensional solid model corresponding to the target model.

2. The method according to claim 1, characterized in that, Determine multiple first slice images of the target model, including: Multiple model slices of the target model are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction; The plurality of first slice images are obtained by rasterizing each model slice.

3. The method according to claim 1, characterized in that, Determining the first pixel in each first slice image includes: For each first slice image, the marking information of the first slice image is determined. The marking information is a two-dimensional matrix composed of element values, and the marking information has the same size as the first slice image. When the third pixel is a non-working pixel, the element value is 0; when the third pixel is a working pixel, the element value is the difference between the slice ordinal number of the third pixel and the slice ordinal number of the fourth pixel; or when the third pixel is a working pixel and there is no corresponding fourth pixel, the element value is greater than the first layer number. The third pixel is the pixel at the target position in the first slice image, and the target position is the same as the position of the element value in the marking information. The fourth pixel is the non-working pixel that is closest to the third pixel in the opposite direction of the printing direction. The first pixel in the first slice image is determined based on the first layer number and the labeling information of the first slice image.

4. The method according to claim 3, characterized in that, Determine the labeling information for the first slice image, including: Set the values ​​of each element in the first region of the current first slice image to a first preset value. The first region corresponds to the region composed of non-working pixels in the current first slice image. The first preset value is 0. If the slice number of the current first slice image is the first layer, then the element values ​​in the second region of the current first slice image's marking information are set to the second preset value. The second region corresponds to the region formed by the working pixels in the current first slice image, and the second preset value is greater than the first layer number. If the slice number of the current first slice image is not the first layer, then the value of each element in the second region of the labeling information of the current first slice image is set to the value of the element at the corresponding position in the reference information plus one. The reference information is the labeling information corresponding to the second slice image, and the second slice image is the first slice image corresponding to the layer above the current first slice image.

5. The method according to claim 3, characterized in that, Determining the first pixel in the first slice image based on the first layer number and the labeling information of the first slice image includes: The pixels in the third region of the first slice image are taken as the first pixels. The third region corresponds to the fourth region in the marking information of the first slice image. The value of each element in the fourth region is greater than or equal to the first layer number.

6. The method according to claim 1, characterized in that, Based on the first layer, the first pixels in each of the first slice images are photopolymerized and printed to generate a three-dimensional solid model corresponding to the target model, including: The first power of the optical engine is determined based on the first number of layers. The first power is used to cure the resin to the first number of layers when the optical engine cures the resin. Based on the first power, the first pixel in each of the first slice images is photopolymerized and printed using the optical engine to generate a three-dimensional solid model corresponding to the target model.

7. The method according to claim 1, characterized in that, Before performing photopolymerization printing on the first pixels of each of the first slice images based on the first layer number to generate the three-dimensional solid model corresponding to the target model, the method further includes: The fifth pixel in each first slice image is determined. The fifth pixel is a working pixel and there are no adjacent working pixels of the fifth pixel along the printing direction. The difference between the slice number of the fifth pixel and the slice number of the sixth pixel is less than the first layer number. The sixth pixel is the non-working pixel that is closest to the fifth pixel in the opposite direction of the printing direction. Accordingly, the printing process of the three-dimensional solid model corresponding to the target model includes: Based on the first layer, the first pixel in each first slice image is photopolymerized and printed. Based on the second layer, the fifth pixel in each first slice image is photopolymerized and printed to generate the three-dimensional solid model corresponding to the target model. The second layer is used to solidify the fifth pixel, the working pixels between the fifth and sixth pixels and avoid over-solidification to the sixth pixel when photopolymerizing the fifth pixel.

8. A photopolymerization printing apparatus, characterized in that, The device includes: The first determining module is used to determine multiple first slice images of a target model, wherein the target model is a three-dimensional digital model for photopolymerization printing, and the multiple first slice images are obtained by cutting the target model layer by layer along the vertical direction of the printing direction. The first slice images are composed of working pixels and non-working pixels, wherein the working pixels are pixels that are photopolymerized and the non-working pixels are pixels that are not photopolymerized. The second determining module is used to determine the first pixel in each first slice image, wherein the first pixel is a working pixel and the difference between the slice number of the first pixel and the slice number of the second pixel is greater than or equal to the first layer number, or the first pixel is a working pixel and there is no corresponding second pixel, wherein the second pixel is a non-working pixel that is closest to the first pixel in the opposite direction of the printing direction, and the first layer number is a preset overcuring layer number. The first printing module is used to perform photopolymerization printing on the first pixels in each of the first slice images based on the first layer number to generate a three-dimensional solid model corresponding to the target model.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the photopolymerization printing method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the photopolymerization printing method according to any one of claims 1-7.