3D printing method, apparatus, 3D printer, and computer device

By calculating the difficulty value of the slice pictures of the 3D printing model and dynamically adjusting the parameters, the problem of difficulty in setting printing parameters in the existing technology is solved, the printing success rate and efficiency are improved, and high-quality, high-efficiency 3D printing is achieved.

WO2024187802A1PCT designated stage expired Publication Date: 2024-09-19GUANGZHOU HEIGE ZHIZAO INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/131324
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-10
Filing Date
2023-11-13
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When setting printing parameters in existing 3D printing technology, it is difficult to take into account the difficulty of printing all 2D slice images, resulting in 3D model printing failure or poor printing quality. Parameters with high redundancy will cause printing to take too long and make it difficult to print. Take into account print quality and efficiency.

Method used

By obtaining a collection of slice pictures of the three-dimensional model, the printing difficulty value of each layer of slice pictures is calculated, and the printing parameters are dynamically adjusted according to the difficulty value to ensure that the printing parameters of each layer of slice pictures match its difficulty, thereby improving the printing success rate and efficiency.

Benefits of technology

It achieves adaptive adjustment of printing parameters, improves the printing success rate and quality of 3D models, improves printing efficiency, and avoids problems of printing failure and low efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023131324_19092024_PF_FP_ABST
    Figure CN2023131324_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a 3D printing method, an apparatus, a 3D printer and a computer device, the method comprising: acquiring a slice picture collection corresponding to a three-dimensional model to be printed; determining section information of each slice picture layer in the slice picture collection, and on the basis of the section information, calculating a printing difficulty value corresponding to each slice picture layer in the slice picture collection; on the basis of the printing difficulty values, determining printing parameters corresponding to each slice picture layer, and on the basis of the printing parameters, determining a printing operation, so as to print said three-dimensional model on the basis of the printing operation. The embodiment of the present application allows the printing parameters to be adaptively adjusted along with the changes of the printing difficulty values of slice pictures during a printing process, thereby improving the success rate of printing and the printing quality, and increasing the printing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

3D printing method, device, 3D printer and computer equipment

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 10, 2023, with application number 202310235431.5 and application name “A 3D printing method, device, 3D printer and computer equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of intelligent manufacturing technology, and specifically to a 3D printing method, apparatus, 3D printer, and computer equipment. Background Art

[0003] 3D printing, a form of rapid prototyping technology, also known as additive manufacturing, is a technology that uses digital model files to construct objects layer by layer using adhesive materials such as metals, inorganic non-metallic materials, and polymers. To print a 3D model, the model is first sliced ​​to create a 2D slice image, which is then printed layer by layer.

[0004] In the process of printing a three-dimensional model, it is usually necessary for the user to analyze the printing difficulty of the three-dimensional model based on their own 3D printing experience, and then set the printing parameters of the 3D printer based on the printing difficulty, or directly use the printing parameters provided by the 3D printer manufacturer. However, due to the countless possibilities of cross-sectional shapes, sizes, and distributions in each two-dimensional slice image, the printing difficulty corresponding to different two-dimensional slice images may vary greatly. When setting the parameters of the printer, the user usually sets them based on experience or the parameters provided by the manufacturer, which may not take into account the printing difficulty of all two-dimensional slice images. Setting low printing parameters may not match the printing of some two-dimensional images, resulting in overall printing failure of the three-dimensional model or poor printing quality; setting printing parameters with higher redundancy can avoid printing failure or poor printing quality to a certain extent, but it will result in a longer total printing time, making it difficult to balance printing quality and printing efficiency.

[0005] Summary of the Invention

[0006] The embodiments of the present application at least provide a 3D printing method, apparatus, 3D printer, and computer equipment.

[0007] In a first aspect, embodiments of the present application provide a 3D printing method, comprising:

[0008] Obtain a collection of slice images corresponding to the 3D model to be printed;

[0009] Determine cross-sectional information of each slice image in the slice image collection, and calculate a printing difficulty value corresponding to each slice image based on the cross-sectional information;

[0010] Based on the printing difficulty value, printing parameters corresponding to each layer of the slice image are determined respectively, and a printing operation is determined based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

[0011] In an optional embodiment, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shape information;

[0012] Based on the cross-sectional information, the printing difficulty value corresponding to each slice image is calculated, including:

[0013] When the number of sections is 1, the printing difficulty value of each slice image is determined based on the section area and section shape information.

[0014] In an optional embodiment, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional area, cross-sectional shape information, and an influencing factor between cross-sectional areas;

[0015] Based on the cross-sectional information, the printing difficulty value corresponding to each slice image is calculated, including:

[0016] When the number of cross sections is 2 or more, the sub-difficulty value corresponding to each cross section of each slice image is calculated based on the number of cross sections, cross section area, cross section shape information and the influence factor between cross sections;

[0017] Based on the sub-difficulty value, the printing difficulty value corresponding to each layer of the sliced ​​image is determined.

[0018] In an optional embodiment, the influencing factors between cross sections include at least one of: position information of each cross section in the slice image, a minimum circumscribed circle of each cross section in the slice image, a minimum enveloping rectangle of each cross section in the slice image, a ratio of the area of ​​each cross section in the slice image to the area of ​​the entire slice image, a relative position between each cross section in the slice image, a relative area size between each cross section in the slice image, a minimum spacing between each cross section in the slice image, and a ratio of the area of ​​all cross sections in the slice image to the entire slice;

[0019] In an optional implementation, determining the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value includes:

[0020] Determine a target slice section in the slice image whose sub-difficulty value satisfies the difficulty value condition, and determine a weight value of the target slice section;

[0021] The product sum of the sub-difficulty value and the weight value of the target slice section is calculated, and the printing difficulty value corresponding to the slice image is determined based on the product sum.

[0022] In an optional implementation, determining the weight value of the target slice section includes:

[0023] Determining the influencing parameters of other slice sections in the slice image other than the target slice section on the target slice section; the influencing parameters include: the cross-sectional area, the enveloping rectangle area, the minimum circumscribed circle radius corresponding to the other slice sections and the target slice section, and at least one of the relative position, relative area, and minimum spacing between the other slice sections and the target slice section;

[0024] Based on the influencing parameters, weight values ​​are determined.

[0025] In an optional implementation, determining a target slice section in a slice image whose sub-difficulty value satisfies a difficulty value condition includes:

[0026] Based on the sub-difficulty value of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result;

[0027] The number of values ​​indicated by the difficulty value condition is determined, and at least one target sub-difficulty value is determined from the sub-difficulty values ​​according to the sorting result, and the target slice sections corresponding to each target sub-difficulty value are determined respectively.

[0028] In an optional implementation, after determining the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value, the method further includes:

[0029] Determining distribution data of slice sections in the slice image; the distribution data includes at least one of the following: the number of slice sections, the area of ​​each slice section, the relative position of the sections, the relative size of the sections, and the ratio of the area of ​​all slice sections to the area of ​​the entire slice image;

[0030] In the case where the slice image is determined to be of a target type according to the distribution data, a compensation parameter is determined based on the distribution data; the target type is used to indicate that the slice cross sections in the slice image are unevenly distributed;

[0031] Based on the compensation parameters, the printing difficulty value corresponding to the sliced ​​image is updated.

[0032] In an optional embodiment, the cross-sectional shape information includes at least one of the following data information: a cross-sectional envelope rectangle, a minimum circumscribed circle, and a discrete degree in the slice image.

[0033] In an optional embodiment, the printing parameters include mask image parameters, mask image exposure time parameters, mask image edge optimization setting parameters, mask image anti-aliasing optimization parameters, mask image tolerance compensation parameters, mask image average light optimization compensation parameters, exposure energy parameters, exposure time parameters, additional exposure parameters, forming platform rising speed parameters, forming platform rising stroke parameters, forming platform pressing speed parameters, forming platform pressing stroke parameters, forming platform stationary time parameters, printing waiting time parameters, light source lamp on time parameters, lamp off delay time parameters, projection screen on time parameters, projection screen off delay time parameters, slice layer thickness parameters, bottom layer number specification parameters, slice bottom layer optimization setting parameters, printing support setting parameters, and resin characteristic parameters.

[0034] In an optional implementation, determining a printing operation based on printing parameters includes:

[0035] Obtaining a value range of the printing difficulty value, and presetting a plurality of printing difficulty intervals based on the value range;

[0036] Based on the printing difficulty value corresponding to each layer of the slice image, the printing difficulty range corresponding to each layer of the slice image is determined respectively;

[0037] Corresponding printing parameters are set for each printing difficulty interval, and a printing operation is determined based on the printing parameters.

[0038] In an optional embodiment, the printing difficulty interval includes a target type interval, wherein the target type interval includes a plurality of printing difficulty sub-intervals of different lengths;

[0039] Based on the printing difficulty value corresponding to each layer of sliced ​​images, the printing difficulty range corresponding to each layer of sliced ​​images is determined respectively, including:

[0040] Determine the frequency distribution segment of the printing difficulty value; the frequency distribution segment is used to indicate the distribution of the number of printing difficulty values ​​of each numerical value;

[0041] Based on the frequency distribution segmentation, a target printing difficulty value that meets the frequency condition is determined;

[0042] A target type interval that matches the target printing difficulty value is determined, and within the target type interval, a printing difficulty sub-interval that matches the printing difficulty value corresponding to each layer of the sliced ​​image is determined.

[0043] In a second aspect, an embodiment of the present application further provides a 3D printing device, comprising:

[0044] An acquisition unit, configured to acquire a collection of slice images corresponding to a three-dimensional model to be printed;

[0045] A first determining unit is configured to determine cross-sectional information of a slice cross section in each layer of slice images in the slice image collection, and calculate a printing difficulty value corresponding to each layer of slice images based on the cross-sectional information;

[0046] The second determining unit is configured to determine printing parameters corresponding to each layer of the slice image based on the printing difficulty value, and determine a printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

[0047] In a third aspect, the present application also provides a 3D printer, comprising: a slicing module, a processor, a controller, a molding platform, and a material tray;

[0048] Slicing module, which obtains the collection of slice images corresponding to the 3D model to be printed;

[0049] A processor is configured to determine a printing difficulty value corresponding to each layer of slice images in the slice image collection, and to determine printing parameters corresponding to each layer of slice images based on the printing difficulty value;

[0050] The controller controls the forming platform to perform printing operations on each layer of the slice image in sequence based on the printing parameters corresponding to each layer of the slice image;

[0051] A forming platform, which solidifies and separates the layers layer by layer in response to the printing operation, so as to perform the printing operation on each layer of the sliced ​​image;

[0052] The material tray carries the liquid resin. The molding platform descends and solidifies a layer before separating from the material tray.

[0053] In a fourth aspect, an embodiment of the present application further provides a computer device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are performed.

[0054] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation method of the first aspect are executed.

[0055] In an embodiment of the present application, a collection of slice images corresponding to a three-dimensional model can first be obtained, and a printing difficulty value corresponding to each slice image can be calculated based on the cross-sectional information in each slice image. Then, based on the printing difficulty value, printing parameters corresponding to each slice image can be determined, and a printing operation can be determined based on the printing parameters to print the three-dimensional model based on the printing operation. During the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and print quality, while also improving printing efficiency.

[0056] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to illustrate the technical solutions of the present application. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.

[0058] Figure 1 shows the modeling and cutting operations in 3D printing technology;

[0059] FIG2 is a schematic diagram of the printing operation of light-curing 3D printing;

[0060] FIG3 shows a flow chart of a 3D printing method provided in an embodiment of the present application;

[0061] FIG4 a shows a schematic diagram of multiple printing models provided in an embodiment of the present application;

[0062] FIG4 b shows a schematic diagram of a slice cross section included in a slice image provided in an embodiment of the present application;

[0063] FIG4 c shows a schematic diagram of a slice image provided by an embodiment of the present application including two slice sections;

[0064] FIG4 d shows a schematic diagram of another slice image provided in an embodiment of the present application including two slice cross sections;

[0065] FIG4e shows a schematic diagram of three slice sections in a slice image provided in an embodiment of the present application;

[0066] FIG4 f shows a schematic diagram of a slice image provided in an embodiment of the present application including four slice sections;

[0067] FIG5 a shows a schematic diagram of a cross-sectional slice image provided in an embodiment of the present application;

[0068] FIG5 b shows a schematic diagram of multiple cross-sectional slice images provided in an embodiment of the present application;

[0069] FIG6 a shows a schematic diagram of a circular cross-section slice image provided in an embodiment of the present application;

[0070] FIG6 b shows a schematic diagram of a rectangular cross-sectional slice image provided in an embodiment of the present application;

[0071] FIG6 c shows a schematic diagram of a circular cross-section slice image 1 provided in an embodiment of the present application;

[0072] FIG6 d shows a schematic diagram of a circular cross-section slice image 2 provided in an embodiment of the present application;

[0073] FIG7 a is a schematic diagram showing slice images corresponding to two cross sections with an envelope degree C1 provided in an embodiment of the present application;

[0074] FIG7 b is a schematic diagram showing a slice image 1 corresponding to two cross sections with an envelope degree C2 provided in an embodiment of the present application;

[0075] FIG7 c is a schematic diagram showing a slice image 2 corresponding to two cross sections of a non-envelope case C3 provided in an embodiment of the present application;

[0076] FIG8a is a schematic diagram showing the positional relationship of cross sections in a slice image provided by an embodiment of the present application;

[0077] FIG8 b is a schematic diagram showing the cross-sectional position relationship in another slice image provided in an embodiment of the present application;

[0078] FIG9 a shows a schematic diagram of a uniformly distributed slice image provided in an embodiment of the present application;

[0079] FIG9 b shows a schematic diagram of an unevenly distributed slice image provided in an embodiment of the present application;

[0080] FIG10 is a schematic diagram showing a layer number-difficulty value curve provided in an embodiment of the present application;

[0081] FIG11 shows a schematic diagram of a 3D printing device provided in an embodiment of the present application;

[0082] FIG12 shows a schematic diagram of a computer device provided in an embodiment of the present application.

[0083] The above drawings include the following reference numerals:

[0084] 1. Workpiece to be printed; 2. 3D model; 3. Slice layer / slice image collection; 4. Slice of the nth layer; 5. Slice of the mth layer; 6. Forming platform; 7. Optical machine; 8. Material tray; 9. Translucent portion; 10. Photocurable printing material; 11. Printed part; 12. First target slice section; 13. First slice section; 14. Second target slice section; 15. Second slice section. DETAILED DESCRIPTION

[0085] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.

[0086] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0087] The term "and / or" herein simply describes an association relationship, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, and the existence of B alone. In addition, the term "at least one" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.

[0088] 3D printing is now well-known, and 3D printers can achieve 3D printing of workpieces. Common 3D printing technologies include stereolithography (SLA), digital light processing (DLP), and liquid crystal display (LCD); fused deposition modeling (FDM); selective laser sintering (SLS); selective laser melting (SLM); three-dimensional printing (3DP); and Polyjet 3D technology.

[0089] 3D printing is primarily achieved through the following methods: As shown in Figure 1, modeling software is first used to model the workpiece 1 to be printed, resulting in a three-dimensional model 2. This model is then sliced ​​into two-dimensional slice images layer by layer, i.e., a slicing operation is performed to obtain multiple slice layers / slice image collections 3. The resulting two-dimensional slice images can be distinguished by the number of layers, for example, slice 4 for the nth layer and slice 5 for the mth layer. Based on the cross-sectional shape of the read two-dimensional image, the 3D printer prints these cross-sections layer by layer using liquid, powdered, or sheet-like materials.

[0090] Here, taking DLP digital light processing photocuring 3D printing as an example, as shown in Figure 2, the print will be cured and formed on the forming platform 6. After each layer is printed, the forming platform will rise to a certain height. After the printed solidified layer is peeled off, it will drop to the corresponding position. The height of the corresponding position is the thickness of the next layer of slices (the thickness of the new layer). Then the optical machine 7 projects light to the light-transmitting part 9 at the bottom of the material tray 8. The photocurable printing material 10 in the exposed area will be cured from liquid to solid, and a new layer of solidified layer will be formed between the unfinished print 11 and the bottom of the material tray. The new solidified layer will adhere to the previous layer of cured print, completing the printing operation of one layer of slices. Then the forming platform will rise a distance again to separate the solidified layer from the material tray, thereby printing layer by layer to obtain a three-dimensional print.

[0091] Research has found that in relevant 3D printing solutions, when printing a three-dimensional model, it is usually necessary for the user to analyze the printing difficulty of the three-dimensional model based on their own 3D printing experience and set the printer parameters based on the printing difficulty. However, since there are countless possibilities for the cross-sectional shape, size, quantity, and distribution in each two-dimensional slice image, the printing difficulty corresponding to different two-dimensional slice images may vary greatly. When setting the parameters of the printer, the user usually sets them based on experience and may not be able to take into account the printing difficulty of all two-dimensional slice images. The set printing parameters may not match the printing of some two-dimensional images, resulting in overall printing failure of the three-dimensional model or poor printing quality; setting printing parameters with higher redundancy can avoid the problem of printing failure or poor printing quality to a certain extent, but it will result in a longer total printing time, making it difficult to balance printing quality and printing efficiency.

[0092] Based on the above research, the present application provides a 3D printing method, apparatus, 3D printer and computer equipment. In an embodiment of the present application, a collection of slice images corresponding to the three-dimensional model can be first obtained, and the printing difficulty value corresponding to the slice image can be calculated based on the cross-sectional information in each layer of the slice image in the slice image collection. Then, based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image can be determined and retrieved respectively, and the printing operation can be determined based on the printing parameters to print the above-mentioned three-dimensional model based on the printing operation, so that during the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and printing quality, while improving printing efficiency.

[0093] To facilitate understanding of this embodiment, we first provide a detailed description of the 3D printing method disclosed in this embodiment. The 3D printing method provided in this embodiment is generally executed by a computer device with certain computing capabilities. In some possible implementations, the 3D printing method can be implemented by a processor invoking computer-readable instructions stored in a memory.

[0094] 3 , which is a flow chart of a 3D printing method provided in an embodiment of the present application, includes steps S101 to S105 , wherein:

[0095] S101: Obtain a collection of slice images corresponding to the three-dimensional model to be printed.

[0096] In an embodiment of the present application, a 3D model of an object that a user wants to print can be imported and sliced. Specifically, a slice thickness can be pre-set, and the 3D model can be sliced ​​according to the slice thickness to obtain a 2D slice image, and a slice image collection containing the 2D slice image can be determined.

[0097] S103: Determine cross-sectional information of each layer of slice images in the slice image collection, and calculate a printing difficulty value corresponding to each layer of slice images based on the cross-sectional information.

[0098] In an embodiment of the present application, the cross-sections in each layer of the slice image can be identified separately to obtain the cross-sectional information of the slice image. Here, the cross-section in the slice image refers to the closed figure in the slice image. The cross-section may contain multiple closed graphic information. Considering the complexity of the three-dimensional model, the cross-section included in the slice image may be single or multiple, resulting in different numbers of cross-sections and cross-sectional information. It is understandable that the cross-section in the present application refers to a plane figure obtained by cutting a printed model with a plane. The printed model is one or more printouts (including cylinders, cones, spheres, prisms, pyramids, cuboids, cubes, teeth, crowns, figurines, and any other models that need to be printed).

[0099] It should be understood that the number of slice sections in the slice image is constantly changing during the printing process of the printed model. For example, to improve the utilization of the printing platform in the 3D printer, multiple printed models may be printed simultaneously. Here, Figure 4a shows a schematic diagram of multiple printed models, including the printed model on the left and the printed part model on the right.

[0100] As shown in Figures 4b-4f, at least partial slice images are obtained after slicing the printed model shown in Figure 4a, wherein the slice image shown in Figure 4b includes one slice section of the printed model, the slice image shown in Figure 4c includes two slice sections of the printed model, the slice image shown in Figure 4d includes one slice section of the printed model and one slice section of the printed model, the slice image shown in Figure 4e includes one slice section of the printed model and two slice sections of the printed model, and the slice image shown in Figure 4f includes one slice section of the printed model and three slice sections of the printed model.

[0101] As shown in Figures 4b-4f, the number of slice sections in the collection of slice images corresponding to the printed model shown in Figure 4a varies significantly. Therefore, the printing difficulty of each slice image varies significantly for the 3D printer. Based on this, the present application can calculate the printing difficulty value corresponding to the slice image based on the cross-sectional information of the slice image. Different printing difficulty values ​​can correspond to different printing parameters, allowing the 3D printer's printing parameters to be dynamically adjusted based on the printing difficulty value during the printing process.

[0102] Specifically, the higher the printing difficulty value of the slice image, the more precise the printing operation of the 3D printer. In the application, the factors affecting the printing difficulty value include not only the cross-sectional conditions of the slice image itself, but also the number of cross sections in the slice image. For example, in the case of a slice image with only a single cross section as shown in Figure 5a, the cross-sectional area of ​​the circular cross section in the slice image is 1870mm 2 , as shown in Figure 5b, the total cross-sectional area of ​​the sections in the slice image is 3740mm 2 However, the printing difficulty values ​​of both are the same, which is 48.5. Therefore, the above cross-section information can be used to indicate the number of cross-sections included in the slice image, as well as the cross-section information corresponding to each slice image.

[0103] Similarly, considering the impact of the number of sections on the calculation of the printing difficulty value of the slice image, the corresponding printing difficulty value calculation method can be set for single-section and multi-section slice images respectively. The specific method for calculating the printing difficulty value of the slice image is described below and will not be repeated here.

[0104] S105: Based on the printing difficulty value, determine the printing parameters corresponding to each layer of the slice image, and determine a printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

[0105] In the embodiments of the present application, printing parameters can be used to indicate the operating parameters of a 3D printer when printing each slice image in a collection of slice images. For example, the operating parameters can be used to describe the specific printing speed, printing time, etc. During the printing process of a 3D model, the printing parameters can be fine-grained, that is, the printing parameters corresponding to each slice image can be different, and the printing parameters corresponding to each slice image are related to the printing difficulty value of the slice image.

[0106] Here, the mapping relationship between the printing difficulty interval and the printing parameters can be pre-set, and the printing parameters corresponding to the slice image can be determined based on the printing difficulty interval of the printing difficulty value of the slice image. The specific method for determining the printing parameters corresponding to the slice image is described as follows and will not be repeated here.

[0107] When printing the above-mentioned three-dimensional model based on the above-mentioned printing operation, the printing parameters corresponding to each layer of the slice image can be called respectively, and the slice images can be printed layer by layer according to the preset printing order until the slice images in the slice image collection are printed and the entity corresponding to the three-dimensional model is obtained.

[0108] As can be seen from the above description, in the embodiment of the present application, a collection of slice images corresponding to the three-dimensional model can first be obtained, and the printing difficulty value corresponding to each slice image in the collection of slice images can be calculated based on the cross-sectional information of each slice image. Then, based on the printing difficulty value, the printing parameters corresponding to each slice image can be determined, and a printing operation can be determined based on the printing parameters to print the three-dimensional model based on the printing operation. In this way, during the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and print quality, while also improving printing efficiency.

[0109] In an optional embodiment, in step S103, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shapes; and calculating the printing difficulty value corresponding to the slice image based on the cross-sectional information specifically includes the following process:

[0110] S11: When the number of cross sections is 1, the printing difficulty value of each slice image is determined based on the cross-sectional area and cross-sectional shape information.

[0111] In an embodiment of the present application, the cross-sectional information may include the number of closed figures in the slice image, which is the number of cross sections in the slice image. When the number of cross sections in the slice image is 1, the cross-sectional information may include the cross-sectional area and cross-sectional shape of the slice cross section.

[0112] Specifically, the deviation between the shape of the geometric figure corresponding to the slice cross section and a preset shape can be determined based on the cross-sectional shape information. Here, the preset shapes can include circles and rectangles. A difficulty parameter k used to calculate the printing difficulty value can be determined based on this deviation. Specifically, the closer the cross-sectional shape of the cross section in the slice image is to a circle, the greater the difficulty parameter k; conversely, the closer the cross-sectional shape of the cross section in the slice image is to a rectangle, the smaller the difficulty parameter k. Next, the product of the difficulty parameter k, the cross-sectional area, and the data information in the cross-sectional shape information can be calculated, and this product sum can be used as the printing difficulty value of the slice image.

[0113] For example, the printing difficulty value corresponding to the circular cross-section slice image shown in FIG6a is 131.38, while in the rectangular cross-section slice image shown in FIG6b, the cross-sectional area is the same as 5a, but the printing difficulty value of the slice image is 81.5.

[0114] Furthermore, as can be seen from the above, the product of the difficulty parameter k, other information in the cross-sectional shape information, and the cross-sectional area is the printing difficulty value of the slice image. Therefore, when the difficulty parameter k corresponding to the slice images is the same, the cross-sectional area is inversely proportional to the printing difficulty value of the slice image. For example, in the first circular cross-sectional slice image shown in Figure 6c and the second circular cross-sectional slice image shown in Figure 6d, the difficulty parameter k corresponding to the first circular cross-sectional slice image and the second circular cross-sectional slice image is the same, but the cross-sectional area of ​​the first circular cross-sectional slice image is larger than the cross-sectional area of ​​the second circular cross-sectional slice image. Therefore, the printing difficulty value corresponding to the first circular cross-sectional slice image is 80.36, and the printing difficulty value corresponding to the second circular cross-sectional slice image is 35.16.

[0115] In an embodiment of the present application, the corresponding algorithm for calculating the printing difficulty value can be determined based on the number of cross sections of the slice in the slice image. Specifically, when the number of cross sections of the slice in the slice image is 1, the printing difficulty value of the slice image can be determined based on the cross-sectional area and cross-sectional shape information of the cross section in the slice image, so that the calculated printing difficulty value is more reasonable and more operational for guiding the printing operation.

[0116] In an optional embodiment, the above step S11, determining the printing difficulty value of the slice image based on the cross-sectional area and cross-sectional shape information, specifically includes the following process:

[0117] (1) identifying cross-sectional shape information and obtaining at least one of the following data information: a cross-sectional envelope rectangle, a minimum circumscribed circle, and a degree of discreteness of the cross-sectional area in the slice image;

[0118] (2) Based on the data information and cross-sectional area, determine the printing difficulty value of the slice image.

[0119] In an optional embodiment, the cross-sectional shape information may include at least one of the following data: a cross-sectional envelope rectangle, a minimum circumscribed circle, and a degree of discreteness in the slice image. Specifically, the cross-sectional shape information may be used to indicate the deviation of the shape of the geometric figure corresponding to the slice cross section from a predetermined shape.

[0120] In an embodiment of the present application, the cross-section envelope rectangle and the minimum circumscribed circle can be used to describe the similarity between the cross-section in the slice image and the preset shape, respectively, and the degree of discreteness can be used to indicate the deviation value of the points on the edge of the cross-section in the slice image relative to the center point of the slice cross-section. Therefore, the degree of discreteness can be used to indicate whether the slice cross-section is a regular geometric figure.

[0121] After determining at least one data information in the cross-sectional shape information, the product of each data information and the difficulty parameter k may be calculated respectively, and the sum of the obtained products may be used as the printing difficulty value of the slice image.

[0122] In the embodiment of the present application, the cross-sectional shape information may include a variety of data information, so as to more accurately describe the cross-sectional shape in the slice image and make the calculated printing difficulty value of the slice image more accurate.

[0123] In an optional embodiment, in step S103, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional shape information, and an influencing factor between cross-sectional areas; and calculating the printing difficulty value corresponding to the slice image based on the cross-sectional information specifically includes the following process:

[0124] S21: When the number of cross sections is 2 or more, the sub-difficulty values ​​corresponding to the cross sections of each slice image are calculated based on the number of cross sections, cross section area, cross section shape information, and the influence factors between the cross sections;

[0125] S22: Determine the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value.

[0126] In an embodiment of the present application, the cross-sectional information includes: position information of each cross-section in the slice image, the minimum circumscribed circle of each cross-section in the slice image, the minimum enveloping rectangle of each cross-section in the slice image, the proportion of the area of ​​each cross-section in the slice image to the area of ​​the entire slice image, the relative position between each cross-section in the slice image, the relative area size between each cross-section in the slice image, the minimum spacing between each cross-section in the slice image, and at least one of the proportions of the area of ​​all cross-sections in the slice image to the entire slice.

[0127] In the embodiment of the present application, when there are multiple slice sections in a slice image, each slice section corresponds to its own sub-difficulty value. This sub-difficulty value is affected not only by factors of the slice section itself but also by other slice sections in the slice image. Therefore, the cross-sectional information may include cross-sectional data information corresponding to each section in the slice image, as well as influencing factors of the mutual influence between each section.

[0128] Here, the cross-sectional data information corresponding to each cross-section in the above-mentioned slice image may include: the position information of each slice cross-section in the slice image, the cross-sectional area of ​​each slice cross-section in the slice image, the cross-sectional shape of each slice cross-section in the slice image, the minimum circumscribed circle of each slice cross-section in the slice image, and at least one of the minimum envelope rectangle of each slice cross-section in the slice image.

[0129] In an optional embodiment, the influencing factors between the above-mentioned sections include: position information of each section in the slice image, the minimum circumscribed circle of each section in the slice image, the minimum enveloping rectangle of each section in the slice image, the proportion of the area of ​​each section in the slice image to the area of ​​the entire slice image, the relative position between each section in the slice image, the relative area size between each section in the slice image, the minimum spacing between each section in the slice image, and at least one of the proportions of the area of ​​all sections in the slice image to the entire slice.

[0130] After determining the above cross-section information, the sub-difficulty value corresponding to each slice cross-section can be calculated. Here, the method of calculating the sub-difficulty value is as described in the embodiment corresponding to step S11 above, and will not be repeated here.

[0131] After calculating the sub-difficulty value of each slice section in the slice image, the weight value of each slice section relative to other slice sections in the slice image can be calculated to determine the printing difficulty value corresponding to the slice image based on the product of the weight value and the sub-difficulty value. The specific method for determining the printing difficulty value is described as follows and will not be repeated here.

[0132] In an embodiment of the present application, when there are multiple slice sections in a slice image, the sub-difficulty value of each slice section can be calculated separately to determine the printing difficulty value corresponding to the slice image based on the sub-difficulty value, so that the printing difficulty value can cover the sub-difficulty values ​​of all slice sections in the slice image.

[0133] In an optional embodiment, the above step S22, determining the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value, includes:

[0134] S221: Determine a target slice section in the slice image whose sub-difficulty value meets the difficulty value condition, and determine a weight value of the target slice section.

[0135] S222: Calculate the product sum of the sub-difficulty value and the weight value of the target slice section, and determine the printing difficulty value corresponding to the slice image based on the product sum.

[0136] In the embodiment of the present application, considering that when there are a large number of slice sections in a slice image, not all of the sub-difficulty values ​​of the slice sections are meaningful for determining the printing difficulty value, the slice sections can be screened based on a difficulty value condition to obtain a target slice section that meets the difficulty value condition. For example, the difficulty value condition can include a difficulty threshold, and a slice section whose sub-difficulty value exceeds the difficulty value condition can be determined as a target slice section.

[0137] Next, a weight value of the target slice section may be determined, wherein the weight value may be a weight value set including a sub-weight value of the target slice relative to each other slice section in the slice picture.

[0138] For example, the slice image includes sections M1-M5, where the target section is M1. Then, the sub-weight values ​​of the target section relative to M2-M5 can be calculated respectively to obtain the weight value set {x 12 , x 13 , x 14 , x 15}.

[0139] After determining the above-mentioned set of weight values, the sum of the products of the sub-difficulty value of the target section and the corresponding sub-weight value can be calculated. Specifically, the sum of the products of the sub-weight value and the corresponding other sections can be calculated, and the sum of the products can be added to the sub-difficulty value of the target section to obtain the printing difficulty value corresponding to the slice image.

[0140] In an embodiment of the present application, the weight value of the target section can be determined so that when calculating the printing difficulty value, the influence of the weight value on the sub-difficulty value can be taken into account to avoid the calculated printing difficulty value being too high, thereby improving the confidence of the printing difficulty value.

[0141] In an optional embodiment, the above step S221, determining the weight value of the target slice section, specifically includes the following process:

[0142] (1) determining the influencing parameters of other slice sections in the slice image other than the target slice section on the target slice section; the influencing parameters include: the cross-sectional area, the enveloping rectangle area, the minimum circumscribed circle radius corresponding to the other slice sections and the target slice section, and at least one of the relative position, relative area, and minimum spacing between the other slice sections and the target slice section;

[0143] (2) Determine the weight value based on the influencing parameters.

[0144] In the embodiment of the present application, it can be seen from the above that the cross-sectional information includes the influencing factor information of the mutual influence between each cross-section in the slice image. Based on this, the influence parameters of other slice sections in the slice image on the target slice section can be determined based on the influencing factor information, and the weight value corresponding to each other slice section can be determined based on the influence parameter.

[0145] Specifically, among the above-mentioned influencing parameters, the cross-sectional area, the enveloping rectangle area, the minimum circumscribed circle radius, the relative area, and the relative position of other slice sections and the target slice section are directly proportional to the size of the weight value; the minimum spacing between other slice sections and the target slice section is inversely proportional to the size of the weight value, that is, the larger the minimum spacing, the smaller the influence of the other slice sections on the weight value of the target slice section.

[0146] Here, the relative position of other slice sections and the target slice section is used as an example. This relative position can be used to indicate whether there is an envelope between the other slice sections and the target slice, the degree of envelope, and the minimum cross-sectional spacing. The degree of envelope can be determined by the overlapping area of ​​the enveloping rectangles of the two. The larger the overlapping area, the higher the degree of envelope. It should be understood that, under the same conditions, slice images with envelopes are more difficult to print than slice sections without envelopes. The smaller the minimum cross-sectional spacing, the more difficult it is to print, and the greater the printing difficulty value.

[0147] Specifically, Figure 7a shows two slice sections with an envelope degree of C1, Figure 7b shows two slice sections with an envelope degree of C2, and Figure 7c shows two slice sections with a non-envelope condition of C3. The slice sections in Figures 7a-7c have the same cross-sectional area, the same sub-difficulty value for each section within the slice, the same minimum spacing between the two sections, and the envelope degrees C1 > C2 > C3. Therefore, the weighted difficulty values ​​corresponding to the sub-difficulty values ​​of the two slice sections in Figure 7a are both 43.05, the weighted difficulty value of the slice section in Figure 7b is 38.56, and the weighted difficulty value of the slice section in Figure 7c is 36.79.

[0148] In addition, the relative position of the other slice sections to the target slice section affects the above weight value. Specifically, the larger the relative size of the target slice section to the other slice sections, the smaller the impact on the weight value, and the smaller the impact on the calculated printing difficulty value of the slice image.

[0149] For example, as shown in Figure 8a, it is a schematic diagram of the position relationship of the slice sections in a slice image, wherein the minimum spacing between the first target slice section 12 and the first slice section 13 is 3, the difficulty value of the first target slice section 12 is 74.38, the difficulty value of the first slice section 13 is 4.19, and the printing difficulty value of the slice image is 75.87.

[0150] In addition, as shown in Figure 8b, it is a schematic diagram of the position relationship of the slice sections in another slice image, wherein the minimum spacing between the second target slice section 14 and the second slice section 15 is 38.5, the difficulty value of the second target slice section 14 is 74.38, the difficulty value of the second slice section 15 is 4.19, and the printing difficulty value of the slice image is 74.38.

[0151] After determining the above-mentioned influencing parameters, the sub-weight values ​​corresponding to each other slice section can be determined based on the influencing parameters to obtain the above-mentioned weight value collection. Here, taking the above-mentioned other slice section M2 as an example, the influencing parameters of the slice section M2 on the target slice section can be determined, such as the cross-sectional area, the enveloping rectangle area, and the minimum circumscribed circle radius of the slice section M2, and based on the cross-sectional area, the relative area size of the slice section M2 and the target slice section M1 can be calculated. Next, the minimum distance between the slice section M2 and the target slice section M1 can be calculated, and the relative position between M2 and M1 can be determined based on the minimum distance. Then, the sub-weight value x corresponding to the slice section M2 can be determined based on the influencing parameter. 12 .

[0152] In an embodiment of the present application, the influence parameters of other slice sections of the target slice section in the slice image on the target slice section can be calculated separately, and the above-mentioned weight value can be calculated based on the influence parameters, thereby providing a technical basis for calculating the printing difficulty value corresponding to the slice image.

[0153] In an optional embodiment, the above step S221, determining the target slice section in the slice image whose sub-difficulty value meets the difficulty value condition, specifically includes the following process:

[0154] (1) Based on the sub-difficulty value of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result;

[0155] (2) Determine the number of values ​​indicated by the difficulty value condition, and determine at least one target sub-difficulty value in the sub-difficulty values ​​according to the sorting result, and determine the target cross-section corresponding to each target sub-difficulty value.

[0156] In the embodiment of the present application, it can be seen from the above that when there are a large number of sections in the slice image, not all sub-difficulty values ​​of the sections are meaningful for determining the printing difficulty value. At the same time, if the sub-difficulty values ​​of all the slice sections are calculated, the load on the processor is large and the calculation time of the printing difficulty value is increased.

[0157] Based on this, the difficulty value condition can also include a number of values ​​n. At least one target sub-difficulty value that matches the number n can be determined from all the sub-difficulty values ​​corresponding to the slice image. Specifically, the sub-difficulty values ​​of each section can be sorted in descending order to obtain a sorting result. Next, the first n sub-difficulty values ​​in the sorting result can be taken as the target sub-difficulty value, so that the determined target sub-difficulty value can cover the sub-difficulty values ​​of all sections in the slice image, and the target sub-difficulty value is determined as the target section.

[0158] In an embodiment of the present application, when there are a large number of sections in a slice image, some sections can be selected as target sections in the slice section based on the number of values ​​indicated by the difficulty value condition, so as to reduce the amount of calculation required by the processor to calculate the printing difficulty value and save calculation time.

[0159] In an optional embodiment, after determining the printing difficulty value corresponding to the sliced ​​image based on the sub-difficulty value, step S103 further includes the following process:

[0160] (1) determining the distribution data of the slice sections in the slice image; the distribution data includes at least one of the following: the number of slice sections, the area of ​​each slice section, the relative position of the sections, the relative size of the sections, and the ratio of the area of ​​all slice sections to the area of ​​the entire slice image;

[0161] (2) when the slice image is determined to be of a target type according to the distribution data, determining a compensation parameter based on the distribution data; the target type is used to indicate that the slice cross sections in the slice image are unevenly distributed;

[0162] (3) Based on the compensation parameters, the printing difficulty value corresponding to the sliced ​​image is updated.

[0163] In an embodiment of the present application, when a slice image includes multiple slice sections, the slice image can be divided into uniform distribution type and uneven distribution type according to the distribution of the slice sections. Here, the uneven distribution type is the above-mentioned target type.

[0164] Specifically, FIG9a shows a schematic diagram of a uniformly distributed slice image, wherein the area and relative size of each slice cross section are the same, and the spacing between adjacent slice cross sections indicated by the relative positions of the cross sections is substantially the same. Furthermore, FIG9b shows a schematic diagram of a non-uniformly distributed slice image, wherein the area and relative size of each cross section may vary, and the spacing between adjacent cross sections indicated by the relative positions of the cross sections may also vary.

[0165] If a slice image is used as the target type, the uneven distribution of its cross-sections may lead to uneven stress distribution during printing. This stress is primarily related to backflow and drainage of the printed material, as well as peeling of the solidified layer during printing. Based on this, a compensation parameter corresponding to the slice image can be calculated based on the aforementioned distribution data, and the printing difficulty value can be updated based on this compensation parameter. For example, a larger compensation parameter indicates a greater degree of uneven cross-section distribution in the slice image, and the update operation may be to increase the printing difficulty value.

[0166] In an embodiment of the present application, when the cross-sections of a sliced ​​image are unevenly distributed, compensation parameters can be calculated based on the distribution data to compensate for the increased printing difficulty caused by the unevenly distributed stress during the printing of the sliced ​​image, thereby making the determined printing difficulty value more reliable.

[0167] In an optional embodiment, the above-mentioned printing parameters include: mask image parameters, mask image exposure time parameters, mask image edge optimization setting parameters, mask image anti-aliasing optimization parameters, mask image tolerance compensation parameters, mask image average light optimization compensation parameters, exposure energy parameters, exposure time parameters, additional exposure parameters, molding platform rising speed parameters, molding platform rising stroke parameters, molding platform pressing speed parameters, molding platform pressing stroke parameters, molding platform static time parameters, printing waiting time parameters, light source lamp on time parameters, lamp off delay time parameters, projection screen on time parameters, projection screen off delay time parameters, slice layer thickness parameters, bottom layer number specification parameters, slice bottom layer optimization setting parameters, printing support setting parameters, and at least one of resin characteristic parameters.

[0168] In an embodiment of the present application, after determining the printing difficulty value corresponding to each layer of the slice image, for the convenience of explanation, the difficulty value corresponding to each cross-section is generated into a layer number-difficulty value curve graph, and a curve of the printing difficulty value and layer number of each layer of the slice image is generated based on the above-mentioned slice image collection. The layer number-difficulty value curve is shown in Figure 10.

[0169] Next, the corresponding printing difficulty ranges can be matched based on the aforementioned layer-difficulty curve, and corresponding printing parameters can be set for each difficulty range. The printing parameters for each difficulty range can differ at least in part. For example, the build platform rise speeds for adjacent difficulty ranges 1 and 2 can differ. When printing slices corresponding to difficulty range 1, the build platform rise speed can be 1 mm / s, while when printing slices corresponding to difficulty range 2, the build platform rise speed can be 5 mm / s.

[0170] It should be understood that to improve the success rate of 3D model printing, slice images with higher printing difficulty values ​​can have longer printing times, thereby increasing the precision of the printing operation and ensuring successful printing of the slice image. Based on this, printing parameters such as the build platform's ascent stroke, print wait time, and exposure parameters can be directly proportional to the print difficulty value, while printing parameters such as the build platform's ascent speed and build platform's downward pressure speed can be inversely proportional to the print difficulty value.

[0171] In an embodiment of the present application, the printing parameters can be dynamically adjusted according to the changes in the difficulty value of printing the sliced ​​image during the printing process, thereby avoiding fixed printing parameters and reducing the probability of printing failure or low printing efficiency.

[0172] In an optional embodiment, the above step S105, determining the printing operation based on the printing parameters, specifically includes the following process:

[0173] S1051: Obtain a value range of the printing difficulty value, and preset multiple printing difficulty intervals based on the value range.

[0174] S1052: Based on the printing difficulty value corresponding to each layer of the sliced ​​image, determine the printing difficulty range corresponding to each layer of the sliced ​​image.

[0175] S1053: setting corresponding printing parameters for each printing difficulty interval, and determining a printing operation based on the printing parameters.

[0176] In an embodiment of the present application, multiple printing difficulty intervals can be determined based on the value range of the printing difficulty value and the pre-set interval length. For example, if the value range of the printing difficulty value is [0-500], then the interval length can be 100. Based on this interval length, the printing difficulty intervals [0-100], [100-200], [200-300], [300-400], and [400-500] can be obtained.

[0177] After determining the above printing difficulty ranges, a mapping relationship between each printing difficulty range and printing parameters can be established. After determining the printing difficulty value corresponding to the slice image, the printing difficulty range to which the printing difficulty value belongs can be found, and the printing parameters with a mapping relationship with the printing difficulty range can be determined.

[0178] It should be understood that the mapping between printing difficulty ranges and printing parameters can be a one-to-many mapping, meaning that each printing difficulty range can correspond to multiple printing parameters. For example, a first printing difficulty range corresponds to a first printing parameter and a second printing parameter, where the build platform ascending speed and build platform descending speed of the first printing parameter are lower than the build platform ascending speed and build platform descending speed of the second printing parameter.

[0179] The first and second slice images have the same printing difficulty value, falling within the aforementioned first printing difficulty range. Furthermore, the first slice image is a multi-section slice image, while the second slice image is a single-section slice image. Given that the cross-sectional area of ​​the slices in the second slice image is larger than that in the first slice image, the curing time of the second slice image is longer than that of the first slice image. Therefore, the printing parameters corresponding to the second slice image can be the aforementioned first printing parameters, and the printing parameters corresponding to the first slice image can be the aforementioned second printing parameters.

[0180] In an embodiment of the present application, multiple printing difficulty intervals can be preset based on the value range of the printing difficulty value, and corresponding printing parameters can be set for each printing difficulty interval to adapt to changes in the printing difficulty value of the sliced ​​image during the printing process, dynamically adjust the printing parameters, avoid fixed printing parameters, and reduce the probability of printing failure or low printing efficiency.

[0181] In an optional embodiment, the printing difficulty interval includes a target type interval, wherein the target type interval includes multiple printing difficulty sub-intervals of different lengths. Step S1052, based on the printing difficulty value corresponding to each layer of the slice image, determines the printing difficulty interval corresponding to each layer of the slice image, and specifically includes the following process:

[0182] (1) determining a frequency distribution segment of the printing difficulty value; the frequency distribution segment is used to indicate the distribution of the number of printing difficulty values ​​of each value;

[0183] (2) Based on the frequency distribution segmentation, determine the target printing difficulty value that meets the frequency condition;

[0184] (3) Determine a target type interval that matches the target printing difficulty value, and determine a printing difficulty sub-interval that matches the printing difficulty value corresponding to each layer of the slice image in the target type interval.

[0185] In the embodiment of the present application, the above-mentioned printing difficulty interval may also be a target type interval, in which the interval lengths of various printing difficulty sub-intervals may be different.

[0186] In a specific implementation, several possible printing scenarios can be pre-set, and corresponding target type intervals can be set for each printing scenario. After determining the printing difficulty value corresponding to the above-mentioned collection of sliced ​​images, the distribution of the printing difficulty values ​​corresponding to the collection of sliced ​​images can be statistically analyzed to obtain a frequency distribution segment corresponding to the printing difficulty values. Then, the printing difficulty value with the highest frequency can be determined and determined as the target printing difficulty value that meets the above-mentioned frequency conditions.

[0187] After determining the target printing difficulty value, the corresponding printing scenario for the 3D model can be determined. Specifically, the target type interval to which the target printing difficulty value belongs can be determined, and the printing scenario corresponding to the target type interval can be used as the printing scenario for the 3D model. Then, within the target type interval, a corresponding printing difficulty sub-interval is matched for each slice image.

[0188] In the embodiment of the present application, the above-mentioned printing difficulty interval can also be a target type interval. In this target type interval, the interval lengths of each printing difficulty sub-interval can be different, so as to perform a more refined printing difficulty interval division, and better adapt to the three-dimensional model with a smaller peak-to-peak value of the printing difficulty value during the printing process.

[0189] In summary, in the embodiments of the present application, a collection of slice images corresponding to the three-dimensional model can first be obtained, and the printing difficulty value corresponding to each slice image can be calculated based on the cross-sectional information of the slice cross section in each slice image in the collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each slice image layer can be determined, and a printing operation can be determined based on the printing parameters to print the three-dimensional model based on the printing operation. As a result, during the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and print quality, while also improving printing efficiency.

[0190] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0191] Based on the same inventive concept, the embodiments of the present application also provide a 3D printing device corresponding to the 3D printing method. Since the principle of solving the problem by the device in the embodiments of the present application is similar to the above-mentioned 3D printing method in the embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0192] 11 is a schematic diagram of a 3D printing device provided in an embodiment of the present application, the device includes: an acquisition unit 91, a first determination unit 92, and a second determination unit 93; wherein,

[0193] An acquisition unit 91 is used to acquire a collection of slice images corresponding to the three-dimensional model to be printed;

[0194] A first determining unit 92 is configured to determine cross-sectional information of each slice image in the slice image collection, and calculate a printing difficulty value corresponding to each slice image based on the cross-sectional information;

[0195] The second determining unit 93 is configured to determine printing parameters corresponding to each layer of the slice image based on the printing difficulty value, and determine a printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

[0196] In an embodiment of the present application, a collection of slice images corresponding to a three-dimensional model can first be obtained, and based on the cross-sectional information of the slice cross-section in each slice image in the collection of slice images, a printing difficulty value corresponding to the slice image can be calculated. Then, based on the printing difficulty value, printing parameters corresponding to each slice image layer can be determined, and a printing operation can be determined based on the printing parameters to print the three-dimensional model based on the printing operation. During the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and print quality, while also improving printing efficiency.

[0197] In a possible implementation, the cross-sectional information includes at least one of the number of cross-sectional areas, and cross-sectional shape information. The first determining unit 92 is further configured to:

[0198] Based on the cross-sectional information, determining the number of sections of the slice section in the slice image;

[0199] When the number of sections is 1, the section information includes: the section area and section shape information of the slice section;

[0200] The printing difficulty value of the slice image is determined based on the cross-sectional area and cross-sectional shape information.

[0201] In a possible implementation, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional shape information, and an influencing factor between cross-sectional areas. The first determining unit 92 is further configured to:

[0202] Based on the cross-sectional information, determining the number of sections of the slice section in the slice image;

[0203] When the number of cross sections is 2 or more, the sub-difficulty values ​​corresponding to the cross sections of each slice image are calculated based on the number of cross sections, cross section area, cross section shape information, and the influence factors between cross sections.

[0204] Based on the sub-difficulty value, the printing difficulty value corresponding to each layer of the sliced ​​image is determined.

[0205] In a possible implementation, the influencing factors between sections include at least one of: position information of each section in the slice image, a minimum circumscribed circle of each section in the slice image, a minimum enveloping rectangle of each section in the slice image, a ratio of the area of ​​each section in the slice image to the area of ​​the entire slice image, a relative position between each section in the slice image, a relative area size between each section in the slice image, a minimum spacing between each section in the slice image, and a ratio of the area of ​​all sections in the slice image to the entire slice;

[0206] In a possible implementation, the first determining unit 92 is further configured to:

[0207] Determine a target slice section in the slice image whose sub-difficulty value satisfies the difficulty value condition, and determine a weight value of the target slice section;

[0208] The product sum of the sub-difficulty value and the weight value of the target slice section is calculated, and the printing difficulty value corresponding to the slice image is determined based on the product sum.

[0209] In a possible implementation, the first determining unit 92 is further configured to:

[0210] Determining the influencing parameters of other slice sections in the slice image other than the target slice section on the target slice section; the influencing parameters include: the cross-sectional area, the enveloping rectangle area, the minimum circumscribed circle radius corresponding to the other slice sections and the target slice section, and at least one of the relative position, relative area, and minimum spacing between the other slice sections and the target slice section;

[0211] Based on the influencing parameters, weight values ​​are determined.

[0212] In a possible implementation, the first determining unit 92 is further configured to:

[0213] Based on the sub-difficulty value of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result;

[0214] The number of values ​​indicated by the difficulty value condition is determined, and at least one target sub-difficulty value is determined from the sub-difficulty values ​​according to the sorting result, and the target slice sections corresponding to each target sub-difficulty value are determined respectively.

[0215] In a possible implementation, the first determining unit 92 is further configured to:

[0216] Determine the distribution data of the slice sections in the slice image; the distribution data includes at least one of the following: the number of slice sections, the area of ​​each slice section, the relative position of the sections, the relative size of the sections, and the ratio of the area of ​​all slice sections to the area of ​​the entire slice image;

[0217] In the case where the slice image is determined to be of a target type according to the distribution data, a compensation parameter is determined based on the distribution data; the target type is used to indicate that the slice cross sections in the slice image are unevenly distributed;

[0218] Based on the compensation parameters, the printing difficulty value corresponding to the sliced ​​image is updated.

[0219] In one possible embodiment, the printing parameters include mask image parameters, mask image exposure time parameters, mask image edge optimization setting parameters, mask image anti-aliasing optimization parameters, mask image tolerance compensation parameters, mask image average light optimization compensation parameters, exposure energy parameters, exposure time parameters, additional exposure parameters, forming platform rising speed parameters, forming platform rising stroke parameters, forming platform pressing speed parameters, forming platform pressing stroke parameters, forming platform stationary time parameters, printing waiting time parameters, light source lamp on time parameters, lamp off delay time parameters, projection screen on time parameters, projection screen off delay time parameters, slice layer thickness parameters, bottom layer number specification parameters, slice bottom layer optimization setting parameters, printing support setting parameters, and resin characteristic parameters.

[0220] In a possible implementation, the second determining unit 93 determines the printing operation based on the printing parameters, including:

[0221] Obtaining a value range of the printing difficulty value, and presetting a plurality of printing difficulty intervals based on the value range;

[0222] Based on the printing difficulty value corresponding to each layer of the slice image, the printing difficulty range corresponding to each layer of the slice image is determined respectively;

[0223] Corresponding printing parameters are set for each printing difficulty interval, and the above printing operation is determined based on the printing parameters.

[0224] In one possible implementation, the second determining unit 93 includes a target type interval in the printing difficulty interval, wherein the target type interval includes multiple printing difficulty sub-intervals of different lengths; and determining the printing difficulty interval corresponding to each layer of the slice image based on the printing difficulty value corresponding to each layer of the slice image, including:

[0225] Determine the frequency distribution segment of the printing difficulty value; the frequency distribution segment is used to indicate the distribution of the number of printing difficulty values ​​of each numerical value;

[0226] Based on the frequency distribution segmentation, a target printing difficulty value that meets the frequency condition is determined;

[0227] A target type interval that matches the target printing difficulty value is determined, and within the target type interval, a printing difficulty sub-interval that matches the printing difficulty value corresponding to each layer of the sliced ​​image is determined.

[0228] For descriptions of the processing flow of each unit in the device and the interaction flow between each unit, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0229] In an optional embodiment, the present application provides a 3D printer, which includes: a slicing module, a processor, a controller, a molding platform, and a material tray; wherein,

[0230] The slicing module obtains a collection of slice images corresponding to the 3D model to be printed.

[0231] The processor determines a printing difficulty value corresponding to each layer of slice images in the slice image collection, and determines printing parameters corresponding to each layer of slice images based on the printing difficulty value.

[0232] The controller controls the forming platform to perform printing operations on each layer of the slice image in sequence based on the printing parameters corresponding to each layer of the slice image.

[0233] In the embodiments of the present application, after the printing parameters are set, the 3D model printing data can be stereolithography-printed using an LCD stereolithography 3D printer, a DLP stereolithography 3D printer, a CLIP stereolithography 3D printer, or an SLA stereolithography 3D printer. The corresponding embodiments of the slicing module, processor, and controller are as described above in the embodiment corresponding to FIG. These embodiments are not further described here.

[0234] The forming platform solidifies and separates the sliced ​​images layer by layer in response to the printing operation, so as to perform the printing operation on each layer of the sliced ​​images.

[0235] The material tray carries the liquid resin. The molding platform descends and solidifies a layer before separating from the material tray.

[0236] In an embodiment of the present application, the build platform can be instructed to print the slice images layer by layer according to the slicing order indicated by the above-mentioned slice image collection. Specifically, the build platform can discharge liquid according to the shape of the slice cross-section in the slice image, and solidify and separate the discharged liquid resin, so as to print the next layer of slice images. Here, the material tray can be used to hold the liquid resin discharged by the build platform and descend one layer after the liquid resin solidifies, thereby separating from the build platform, leaving a margin for the build platform to print the next layer of slice images.

[0237] As can be seen from the above description, in the embodiment of the present application, a collection of slice images corresponding to the three-dimensional model can first be obtained, and the printing difficulty value corresponding to each slice image can be calculated based on the cross-sectional information of the slice cross section in each slice image in the collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each slice image layer can be determined respectively, and a printing operation can be determined based on the printing parameters to print the above-mentioned three-dimensional model based on the printing operation. In this way, during the printing process, the printing parameters can be adaptively adjusted as the printing difficulty value of the slice image changes, thereby improving the printing success rate and print quality, while also improving printing efficiency.

[0238] Corresponding to the 3D printing method in FIG3 , an embodiment of the present application further provides a computer device 1000 , as shown in FIG12 , which is a schematic structural diagram of the computer device 1000 provided in an embodiment of the present application, including:

[0239] Processor 101, memory 102, and bus 103; memory 102 is used to store execution instructions and includes internal memory 1021 and external memory 1022; the internal memory 1021 is also referred to as internal memory and is used to temporarily store calculation data in the processor 101 and data exchanged with external memory 1022 such as a hard disk. The processor 101 exchanges data with the external memory 1022 through the internal memory 1021. When the computer device 1000 is running, the processor 101 and the memory 102 communicate via the bus 103, so that the processor 101 executes the following instructions:

[0240] Obtain a collection of slice images corresponding to the 3D model to be printed;

[0241] Determining cross-sectional information of a slice cross section in each layer of slice images in the slice image collection, and calculating a printing difficulty value corresponding to each layer of slice images based on the cross-sectional information;

[0242] Based on the printing difficulty value, printing parameters corresponding to each layer of the slice image are determined respectively, and a printing operation is determined based on the printing parameters, so as to print the above-mentioned three-dimensional model based on the printing operation.

[0243] The present application also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program executes the steps of the 3D printing method described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.

[0244] An embodiment of the present application further provides a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the 3D printing method in the above method embodiment. For details, please refer to the above method embodiment and will not be repeated here.

[0245] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0246] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0247] The units described above as separate components may or may not be physically separate, and 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 network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0248] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0249] If it is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0250] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in this field should understand that any technician familiar with this technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in this application, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims above.

Claims

1. A 3D printing method, wherein: include: Obtain a collection of slice images corresponding to the 3D model to be printed; Determine the cross-sectional information of each layer of slice images in the slice image collection, and calculate the printing difficulty value corresponding to each layer of the slice images based on the cross-sectional information; Based on the printing difficulty value, printing parameters corresponding to each layer of the slice image are determined respectively, and a printing operation is determined based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

2. The method according to claim 1, wherein: The cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shape information; Based on the cross-sectional information, calculating the printing difficulty value corresponding to each layer of the slice image includes: When the number of the cross sections is 1, the printing difficulty value of each layer of the slice image is determined based on the cross-sectional area and the cross-sectional shape information.

3. The method according to claim 1, wherein: The cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional area, cross-sectional shape information, and influencing factors between cross-sectional areas; Based on the cross-sectional information, calculating the printing difficulty value corresponding to each layer of the slice image includes: When the number of the cross sections is 2 or more, based on the number of the cross sections, the cross section area, the cross section shape information and the influence factor between the cross sections, the sub-difficulty values ​​corresponding to the cross sections of each layer of the slice image are calculated; Based on the sub-difficulty values, a printing difficulty value corresponding to each layer of the sliced ​​image is determined.

4. The method according to claim 3, wherein: The influencing factors between the sections include: position information of each section in the slice image, the minimum circumscribed circle of each section in the slice image, the minimum envelope rectangle of each section in the slice image, the proportion of the area of ​​each section in the slice image to the area of ​​the entire slice image, the relative position between each section in the slice image, the relative area size between each section in the slice image, the minimum spacing between each section in the slice image, and at least one of the proportions of the area of ​​all sections in the slice image to the entire slice.

5. The method according to claim 3, wherein: Determining the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value includes: Determine a target slice section whose sub-difficulty value satisfies a difficulty value condition in the slice picture, and determine a weight value of the target slice section; The sum of the products of the sub-difficulty value of the target slice section and the weight value is calculated, and the printing difficulty value corresponding to the slice image is determined based on the sum of the products.

6. The method according to claim 5, wherein: Determining the weight value of the target slice section includes: Determine the influencing parameters of other slice sections in the slice image except the target slice section on the target slice section; the influencing parameters include: the cross-sectional area, the enveloping rectangular area, the minimum circumscribed circle radius corresponding to the other slice sections and the target slice section, and at least one of the relative position, relative area size, and minimum spacing between the other slice sections and the target slice section; Based on the influencing parameter, the weight value is determined.

7. The method according to claim 5, wherein: Determining, in the slice image, a target slice section whose sub-difficulty value satisfies a difficulty value condition, comprises: Based on the sub-difficulty value of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result; The number of values ​​indicated by the difficulty value condition is determined, and at least one target sub-difficulty value is determined from the sub-difficulty values ​​according to the sorting result, and target slice sections corresponding to each target sub-difficulty value are determined respectively.

8. The method according to claim 3, wherein: After determining the printing difficulty value corresponding to each layer of the sliced ​​image based on the sub-difficulty value, the method further includes: Determine the distribution data of the cross sections in the slice image; the distribution data includes at least one of: the number of cross sections, the area of ​​each cross section, the relative position of the cross sections, the relative size of the cross sections, and the ratio of the area of ​​all cross sections to the area of ​​the entire slice image; In a case where the slice picture is determined to be a target type according to the distribution data, a compensation parameter is determined based on the distribution data; the target type is used to indicate that the slice cross sections in the slice picture are unevenly distributed; Based on the compensation parameter, the printing difficulty value corresponding to the slice image is updated.

9. The method according to claim 2 or 3, wherein: The cross-sectional shape information includes: At least one of the data information of the cross-section envelope rectangle, the minimum circumscribed circle, and the degree of discreteness in the slice image.

10. The method according to claim 1, wherein: The printing parameters include at least one of mask image parameters, mask image exposure time parameters, mask image edge optimization setting parameters, mask image anti-aliasing optimization parameters, mask image tolerance compensation parameters, mask image average light optimization compensation parameters, exposure energy parameters, exposure time parameters, additional exposure parameters, molding platform rising speed parameters, molding platform rising stroke parameters, molding platform pressing down speed parameters, molding platform pressing down stroke parameters, molding platform stationary time parameters, printing waiting time parameters, light source light on time parameters, light off delay time parameters, projection screen on time parameters, projection screen off delay time parameters, slice layer thickness parameters, bottom layer number specified parameters, slice bottom layer optimization setting parameters, printing support setting parameters, and resin characteristic parameters.

11. The method according to claim 1, wherein: Determining a printing operation based on the printing parameters includes: Acquire a value range of the printing difficulty value, and preset a plurality of printing difficulty intervals based on the value range; Based on the printing difficulty value corresponding to each layer of the sliced ​​images, respectively determine the printing difficulty range corresponding to each layer of the sliced ​​images; Corresponding printing parameters are set for each of the printing difficulty intervals, and the printing operation is determined based on the printing parameters.

12. The method according to claim 11, wherein: The printing difficulty interval includes a target type interval, wherein the target type interval includes a plurality of printing difficulty sub-intervals of different lengths; Based on the printing difficulty value corresponding to each layer of the sliced ​​image, the printing difficulty range corresponding to each layer of the sliced ​​image is determined respectively, including: Determine the frequency distribution segment of the printing difficulty value; the frequency distribution segment is used to indicate the distribution of the number of printing difficulty values ​​of each value; Based on the frequency distribution segmentation, determining a target printing difficulty value that meets the frequency condition; A target type interval matching the target printing difficulty value is determined, and printing difficulty sub-intervals matching the printing difficulty values ​​corresponding to each layer of the sliced ​​image are respectively determined in the target type interval.

13. A 3D printing device, wherein: include: An acquisition unit, used to acquire a collection of slice images corresponding to the three-dimensional model to be printed; A first determining unit, configured to determine cross-sectional information of each layer of slice images in the slice image collection, and calculate a printing difficulty value corresponding to each layer of the slice images based on the cross-sectional information; The second determining unit is used to determine the printing parameters corresponding to each layer of the slice image based on the printing difficulty value, and determine the printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation.

14. A 3D printer, wherein: include: Slicing module, processor, controller, forming platform and tray; The slicing module obtains a collection of slice images corresponding to the 3D model to be printed; A processor determines a printing difficulty value corresponding to each layer of slice images in the slice image collection, and determines printing parameters corresponding to each layer of the slice images based on the printing difficulty value; A controller, based on the printing parameters corresponding to each layer of the sliced ​​image, controls the forming platform to perform printing operations on each layer of the sliced ​​image in sequence; A molding platform, in response to the printing operation, performs layer-by-layer solidification and separation to perform a printing operation on each layer of the sliced ​​image; The material tray carries the liquid resin, and the molding platform is separated from the material tray after descending and solidifying a layer.

15. A computer device, wherein: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the 3D printing method according to any one of claims 1 to 12 are performed.

16. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the 3D printing method according to any one of claims 1 to 12 are executed.

Citation Information

Patent Citations

  • 3D printing method, device, 3D printer and computer equipment

    CN118617745B

  • 3D printing method and device, storage medium and 3D printing system

    CN111497231A

  • Method and system for guiding audio for the blind based on bluetooth

    KR102177302B1

  • Three-dimensional printing apparatus

    US20160059494A1