3D printing method, device, 3D printer and computer equipment
By calculating the printing difficulty value of 3D printed slice pictures per layer and dynamically adjusting the parameters, the problem of improper printing parameters in the prior art is solved, and the printing success rate, quality and efficiency are improved.
Patent Information
- Application Number
- CN202310235431.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2043-03-10
AI Technical Summary
In the existing 3D printing technology, it is difficult for users to take into account the difficulty of printing all two-dimensional sliced pictures, resulting in improper setting of printing parameters, which may lead to failed printing or poor quality, and it is difficult to take into account both printing quality and efficiency.
By obtaining the slice image collection corresponding to the three-dimensional model to be printed, the cross-sectional information of each layer of slice images is determined, the printing difficulty value is calculated, and the printing parameters are dynamically adjusted based on this to ensure the appropriate printing parameter settings for each layer of slice images.
It improves the success rate and quality of 3D printing, while improving printing efficiency, ensuring the stability and consistency of the printing process.
Smart Images

Figure CN118617745B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing technology, and specifically, to a 3D printing method, device, 3D printer and computer equipment. Background Art
[0002] 3D printing, a type of rapid prototyping technology, is also known as additive manufacturing. It is a technology that uses digital model files as the basis and can use metal materials, inorganic non-metallic materials, polymer materials and other adhesive materials to construct objects by printing layer by layer. In the process of printing a three-dimensional model, the three-dimensional model can first be sliced to obtain a two-dimensional slice image, and the two-dimensional slice image can be printed layer by layer.
[0003] 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 his or her own 3D printing experience, so as to 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, since there are countless possibilities for the cross-sectional shape, size, 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 or the parameters provided by the manufacturer, which may not take into account the printing difficulty of all two-dimensional slice images. If the printing parameters are set low, it may not match the printing of some two-dimensional images, resulting in the overall printing failure of the three-dimensional model or poor printing quality; and 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 take into account both printing quality and printing efficiency. Summary of the invention
[0004] The embodiments of the present application at least provide a 3D printing method, apparatus, 3D printer and computer equipment.
[0005] In a first aspect, an embodiment of the present application provides a 3D printing method, comprising:
[0006] Obtain a collection of slice images corresponding to the 3D model to be printed;
[0007] Determine the cross-sectional information of each layer of the slice image in the slice image collection, and calculate the printing difficulty value corresponding to each layer of the slice image based on the cross-sectional information;
[0008] Based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image are determined respectively, and the printing operation is determined based on the printing parameters, so as to print the three-dimensional model based on the printing operation.
[0009] In an optional implementation manner, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shape information;
[0010] Based on the cross-sectional information, the printing difficulty value corresponding to each slice image is calculated, including:
[0011] 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.
[0012] In an optional implementation manner, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional area, cross-sectional shape information, and an influence factor between cross-sectional areas;
[0013] Based on the cross-sectional information, the printing difficulty value corresponding to each slice image is calculated, including:
[0014] 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 factor between cross sections;
[0015] Based on the sub-difficulty values, the printing difficulty value corresponding to each layer of the sliced image is determined.
[0016] In an optional implementation manner, the influencing factors between the cross sections include: at least one of: 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 ratio 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 the ratio of the area of all cross sections in the slice image to the entire slice;
[0017] In an optional implementation, determining the printing difficulty value corresponding to each layer of the slice image based on the sub-difficulty value includes:
[0018] Determine a target slice section whose sub-difficulty value satisfies a difficulty value condition in the slice image, and determine a weight value of the target slice section;
[0019] 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.
[0020] In an optional implementation, determining the weight value of the target slice section includes:
[0021] 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 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 size, and minimum spacing between the other slice sections and the target slice section;
[0022] Based on the influencing parameters, weight values are determined.
[0023] In an optional implementation, determining in the slice image a target slice section whose sub-difficulty value satisfies a difficulty value condition includes:
[0024] Based on the sub-difficulty values of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result;
[0025] 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.
[0026] 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:
[0027] Determine the distribution data of the slice sections in the slice image; the distribution data includes at least one of: 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;
[0028] In the case where the slice image 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 image are unevenly distributed;
[0029] Based on the compensation parameter, the printing difficulty value corresponding to the sliced image is updated.
[0030] In an optional implementation manner, 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 of the cross-sectional area in the slice image.
[0031] 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, molding platform rising speed parameters, molding platform rising stroke parameters, molding platform pressing speed parameters, molding platform pressing 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.
[0032] In an optional implementation, determining a printing operation based on a printing parameter includes:
[0033] Obtaining a value range of the printing difficulty value, and presetting a plurality of printing difficulty intervals based on the value range;
[0034] 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;
[0035] Corresponding printing parameters are set for each printing difficulty interval, and a printing operation is determined based on the printing parameters.
[0036] In an optional implementation, 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;
[0037] 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:
[0038] 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;
[0039] Based on the frequency distribution segmentation, a target printing difficulty value that meets the frequency condition is determined;
[0040] A target type interval matching the target printing difficulty value is determined, and a printing difficulty sub-interval matching the printing difficulty value corresponding to each layer of the slice image is determined in the target type interval.
[0041] In a second aspect, an embodiment of the present application further provides a 3D printing device, including:
[0042] An acquisition unit, used to acquire a collection of slice images corresponding to the three-dimensional model to be printed;
[0043] A first determining unit is used to determine the cross-sectional information of the slice cross-section in each layer of slice pictures in the slice picture collection, and calculate the printing difficulty value corresponding to each layer of slice pictures based on the cross-sectional information;
[0044] 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.
[0045] In a third aspect, the present application also provides a 3D printer, including: a slicing module, a processor, a controller, a molding platform and a material tray;
[0046] The slicing module obtains a collection of slice images corresponding to the 3D model to be printed;
[0047] 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;
[0048] 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;
[0049] The molding platform solidifies and separates the layers in response to the printing operation, so as to perform the printing operation on each layer of the sliced image;
[0050] The material tray carries the liquid resin, and the molding platform descends to solidify a layer and then separates from the material tray.
[0051] 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, and 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 above-mentioned first aspect, or the steps in any possible implementation of the first aspect are performed.
[0052] 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 of the first aspect are executed.
[0053] In the embodiment of the present application, firstly, a collection of slice images corresponding to the three-dimensional model can be obtained, and the printing difficulty value corresponding to the slice image can be calculated according to the cross-sectional information in each slice image. Then, the printing parameters corresponding to each slice image can be determined based on the printing difficulty value, and the printing operation can be determined based on the printing parameters to print the 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, and at the same time improving the printing efficiency.
[0054] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] 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 the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification 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 ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0056] Figure 1 Modeling and cutting operations for 3D printing technology;
[0057] Figure 2 This is a schematic diagram of the printing operation of light-curing 3D printing;
[0058] Figure 3 A flow chart of a 3D printing method provided in an embodiment of the present application is shown;
[0059] Figure 4a A schematic diagram showing multiple printing models provided in an embodiment of the present application is shown;
[0060] Figure 4b A schematic diagram showing a slice cross section included in a slice picture provided in an embodiment of the present application is shown;
[0061] Figure 4c A schematic diagram showing a slice image provided by an embodiment of the present application including two slice sections is shown;
[0062] Figure 4d A schematic diagram showing another slice image provided in an embodiment of the present application including two slice cross sections is shown;
[0063] Figure 4e A schematic diagram showing three slice sections included in a slice picture provided in an embodiment of the present application is shown;
[0064] Figure 4f A schematic diagram showing four slice sections included in a slice picture provided in an embodiment of the present application is shown;
[0065] Figure 5a A schematic diagram of a cross-sectional slice image provided in an embodiment of the present application is shown;
[0066] Figure 5b A schematic diagram showing multiple cross-sectional slice images provided in an embodiment of the present application is shown;
[0067] Figure 6a A schematic diagram of a circular cross-section slice image provided in an embodiment of the present application is shown;
[0068] Figure 6b A schematic diagram of a rectangular cross-section slice image provided in an embodiment of the present application is shown;
[0069] Figure 6c A schematic diagram of a circular ring cross-section slice image 1 provided in an embodiment of the present application is shown;
[0070] Figure 6d A schematic diagram of a circular ring cross-section slice image 2 provided in an embodiment of the present application is shown;
[0071] Figure 7a A schematic diagram showing slice images corresponding to two cross sections with an envelope degree C1 provided in an embodiment of the present application is shown;
[0072] Figure 7b 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;
[0073] Figure 7c A schematic diagram of a slice image 2 corresponding to two cross sections of a non-envelope case C3 provided in an embodiment of the present application is shown;
[0074] Figure 8a A schematic diagram showing the cross-section position relationship in a slice image provided in an embodiment of the present application;
[0075] Figure 8b A schematic diagram showing the cross-section position relationship in another slice image provided in an embodiment of the present application;
[0076] Figure 9a A schematic diagram of a uniformly distributed slice image provided in an embodiment of the present application is shown;
[0077] Figure 9b A schematic diagram of an unevenly distributed slice image provided in an embodiment of the present application is shown;
[0078] Fig.10 A schematic diagram of a layer number-difficulty value curve provided in an embodiment of the present application is shown;
[0079] Fig.11 A schematic diagram of a 3D printing device provided in an embodiment of the present application is shown;
[0080] Fig.12 A schematic diagram of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0081] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme 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 part of the embodiments of the present application, rather than all of 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 claimed 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 belong to the scope of protection of the present application.
[0082] 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, further definition and explanation thereof is not required in subsequent drawings.
[0083] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0084] At present, 3D printing is well known to people, and 3D printers can realize 3D printing of workpieces. Common 3D printing technologies include photocuring 3D printing technology, such as SLA photocuring (Stereo Lithography Apparatus), DLP digital light processing (Digital Light Processing), LCD photocuring (Liquid Crystal Display); FDM fused deposition modeling (FDM); SLS selective laser sintering (Selective Laser Sintering); SLM selective laser melting (Selective Laser Melting); 3DP three-dimensional printing (Three Dimensional Printing); Polyjet 3D technology, etc.
[0085] 3D printing is mainly achieved through the following methods: Figure 1As shown, modeling is first performed using modeling software. Specifically, the workpiece to be printed (1) is first modeled to obtain a three-dimensional model (2), and then the built three-dimensional model (2) is cut into two-dimensional slice images layer by layer, that is, a slice operation is performed to obtain a plurality of slice layers / slice image collections (3). Here, the obtained two-dimensional slice images can be distinguished according to the number of layers, for example, the nth layer slice (4), the mth layer slice (5). The 3D printer prints these cross sections layer by layer using liquid, powder or sheet materials according to the freshness of the cross sections of the read two-dimensional images.
[0086] Here, we take DLP digital light processing photocuring 3D printing as an example. Figure 2 As shown, the printed part will be solidified and formed on the forming platform (1). After each layer is printed, the forming platform will rise to a certain height. After the printed solidified layer is peeled off, it will then descend to the corresponding position. The height of the corresponding position is the thickness of the next slice (the thickness of the new layer). Then the optical machine (2) projects light to the light-transmitting part (4) at the bottom of the material tray (3). The light-curable printing material (5) in the exposed area will solidify from liquid to solid, and a new solidified layer will be formed between the unfinished printed part (6) and the bottom of the material tray. The new solidified layer will adhere to the last solidified printed part, completing the printing operation of a slice. Then the forming platform will rise a certain distance to separate the solidified layer from the material tray, thereby printing layer by layer to obtain a three-dimensional printed part.
[0087] 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 parameters of the printer 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 the overall printing failure of the three-dimensional model or poor printing quality; and 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 take into account both printing quality and printing efficiency.
[0088] Based on the above research, the present application provides a 3D printing method, device, 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 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 the printing efficiency.
[0089] To facilitate understanding of this embodiment, a 3D printing method disclosed in the embodiment of the present application is first introduced in detail. The 3D printing method provided in the embodiment of the present application is generally performed by a computer device with certain computing capabilities. In some possible implementations, the 3D printing method can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0090] See also Figure 3 FIG. 1 is a flowchart of a 3D printing method provided in an embodiment of the present application. The 3D printing method includes steps S101 to S105, wherein:
[0091] S101: Obtain a collection of slice images corresponding to the three-dimensional model to be printed.
[0092] In the embodiment of the present application, a 3D model of an object that a user wants to print can be imported to slice the 3D model. Specifically, a slice thickness can be preset, and the 3D model can be sliced according to the slice thickness to obtain a 2D slice image, and a slice image collection including the 2D slice image can be determined.
[0093] S103: 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 slice images based on the cross-sectional information.
[0094] In the embodiment of the present application, the cross section 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, so there will be different numbers of cross sections and cross-sectional information. It can be understood that the cross section in the present application refers to using a plane to cut the printed model. The printed model is one or more prints (including cylinders, cones, spheres, prisms, pyramids, cuboids, cubes, teeth, crowns, figures, etc. Any model that needs to be printed), thereby obtaining a plane figure.
[0095] It should be understood that in the process of printing the printed model, the number of slice sections in the slice image is constantly changing. For example, in order to improve the utilization rate of the printing platform in the 3D printer, multiple printed models may be printed at the same time. Figure 4a Shown is a schematic diagram of multiple printing models, including a printing model (1) and a print model (2).
[0096] like Figure 4b-4f As shown in Figure 4a At least a portion of the sliced images are obtained after slicing the printed model shown, wherein: Figure 4b The slice image shown includes a slice section of the printed model (2). Figure 4c The slice image shown includes two slice sections of the printed model (2). Figure 4d The sliced image shown includes a sliced cross section of the printed model (1) and a sliced cross section of the printed model (2). Figure 4e The sliced images shown include one slice section of the printed model (1) and two slice sections of the printed model (2). Figure 4f The slice images shown include one slice section of the printed model (1) and three slice sections of the printed model (2).
[0097] Depend on Figure 4b-4f It is known that in Figure 4a In the collection of slice images corresponding to the printed model shown in , the number of slice sections in different slice images varies greatly. Therefore, for a 3D printer, the printing difficulty of each slice image varies greatly. 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, wherein different printing difficulty values correspond to different printing parameters, so that the printing parameters of the 3D printer can be dynamically adjusted based on the printing difficulty value during the printing process.
[0098] Specifically, the higher the printing difficulty value of the slice image, the more precise the printing operation of the 3D printer will be. 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, Figure 5a The slice image shown shows a single cross section. The cross-sectional area of the circular cross section in the slice image is 1870 mm2. Figure 5b In the case of multiple sections in the slice image shown, the total cross-sectional area of the sections in the slice image is 3740 mm2, however, the printing difficulty values of both are the same as 48.5. Therefore, the above section information can be used to indicate the number of sections included in the slice image, as well as the section information corresponding to each slice image.
[0099] Similarly, considering the influence of the number of sections on the calculation of the printing difficulty value of the sliced image, the corresponding printing difficulty value calculation method can be set for the sliced images with a single section and multiple sections respectively. The specific method for calculating the printing difficulty value of the sliced image is as follows and will not be repeated here.
[0100] S105: Based on the printing difficulty value, determine the printing parameters corresponding to each layer of the slice image respectively, and determine the printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation.
[0101] In the embodiment of the present application, the printing parameters can be used to indicate the operating parameters of the 3D printer when printing each layer of slice images in the slice image collection. For example, the operating parameters can be used to describe the specific printing speed, printing time, etc. In the process of printing the three-dimensional model, the printing parameters can be fine-grained, that is, the printing parameters corresponding to each layer of slice images can be different, and the printing parameters corresponding to each layer of slice images are related to the printing difficulty value of the slice image.
[0102] Here, the mapping relationship between the printing difficulty range 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 range 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.
[0103] 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 respectively called up, 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.
[0104] It can be seen from the above description that in the embodiment of the present application, first, a collection of slice images corresponding to the three-dimensional model can be 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 collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image can be determined respectively, and the printing operation can be determined based on the printing parameters to print the 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, and at the same time improving the printing efficiency.
[0105] In an optional implementation, in the above step S103, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shape information; and based on the cross-sectional information, calculating the printing difficulty value corresponding to the slice image specifically includes the following process:
[0106] S11: When the number of cross sections is 1, the printing difficulty value of each layer of the slice image is determined based on the cross-sectional area and cross-sectional shape information.
[0107] In an embodiment of the present application, the cross-sectional information may include the number of closed figures in the slice image, and the number of closed figures 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.
[0108] Specifically, the deviation value of the shape of the geometric figure corresponding to the slice section from the preset shape can be determined based on the cross-sectional shape information. Here, the preset shape can include a circle and a rectangle. The difficulty parameter k used to calculate the printing difficulty value can be determined based on the deviation value. 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 sum of the difficulty parameter k and the cross-sectional area and the data information in the cross-sectional shape information can be calculated, and the product sum is used as the printing difficulty value of the slice image.
[0109] For example, if Figure 6a The printing difficulty value of the circular cross-section slice image shown is 131.38, while in Figure 6b In the slice image of the rectangular cross section shown, the cross-sectional area is the same as 5a, but the printing difficulty value of the slice image is 81.5.
[0110] In addition, it can be seen from the above that 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 image is the same, the cross-sectional area is inversely proportional to the printing difficulty value of the slice image. Figure 6cThe circular cross-section slice shown in Figure 1 is similar to the Figure 6d In the circular cross-section slice image 2 shown, the difficulty parameter k corresponding to slice section 1 is the same as that of slice section 2, but the cross-sectional area of section 1 in the slice image is larger than the cross-sectional area of section 2. Therefore, the printing difficulty value corresponding to section 1 in the slice image is 80.36, and the printing difficulty value corresponding to section 2 in the slice image is 35.16.
[0111] In an embodiment of the present application, an algorithm for calculating a printing difficulty value can be determined according to the number of cross sections of the slice in a slice image. Specifically, when the number of cross sections of the slice in a 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 sections in the slice image, thereby making the calculated printing difficulty value more reasonable and more operational for guiding printing operations.
[0112] In an optional implementation, the above step S11, based on the cross-sectional area and cross-sectional shape information, determines the printing difficulty value of the slice image, specifically including the following process:
[0113] (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 discrete degree of the cross-sectional shape in the slice image;
[0114] (2) Based on the data information and cross-sectional area, determine the printing difficulty value of the slice image.
[0115] In an optional embodiment, the cross-sectional shape information may include at least one of the following data information: the cross-sectional envelope rectangle, the minimum circumscribed circle, and the degree of discreteness of the cross-sectional area in the slice image. Specifically, the cross-sectional shape information may be used to indicate the deviation value of the shape of the geometric figure corresponding to the slice cross section from the preset shape.
[0116] 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.
[0117] 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 is used as the printing difficulty value of the slice image.
[0118] 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.
[0119] In an optional implementation, in the above step S103, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional shape information, and influencing factors between cross-sectional areas; and based on the cross-sectional information, calculating the printing difficulty value corresponding to the slice image specifically includes the following process:
[0120] S21: When the number of cross sections is 2 or more, the sub-difficulty values corresponding to the cross sections of each layer of the slice image are calculated based on the number of cross sections, the cross section area, the cross section shape information and the influence factors between the cross sections.
[0121] S22: Determine the printing difficulty value corresponding to each layer of the sliced image based on the sub-difficulty value.
[0122] In an embodiment of the present application, the cross-sectional information includes: position information of each cross-section in a slice image, the minimum circumscribed circle of each cross-section in a slice image, the minimum enveloping rectangle of each cross-section in a slice image, the proportion of the area of each cross-section in a slice image to the area of the entire slice image, the relative position between each cross-section in a slice image, the relative area size between each cross-section in a slice image, the minimum spacing between each cross-section in a slice image, and at least one of the proportions of the area of all cross-sections in a slice image to the entire slice.
[0123] In the embodiment of the present application, when there are multiple sections in the slice image, each slice section corresponds to its own sub-difficulty value, and the sub-difficulty value is affected by the factors of the slice section itself as well as other slice sections in the slice image. Therefore, the section information may include the section data information corresponding to each section in the slice image, as well as the influencing factors of the mutual influence between each section.
[0124] Here, the cross-sectional data information corresponding to each cross-section in the above-mentioned slice image may include: at least one of 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 the minimum envelope rectangle of each slice cross-section in the slice image.
[0125] 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.
[0126] After determining the above cross-section information, the sub-difficulty value corresponding to each slice cross-section may be calculated. Here, the method for calculating the sub-difficulty value is as described in the embodiment corresponding to the above step S11, which will not be repeated here.
[0127] 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.
[0128] 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.
[0129] In an optional implementation, the above step S22, based on the sub-difficulty values, determines the printing difficulty value corresponding to each layer of the slice image, including:
[0130] S221: Determine a target slice section whose sub-difficulty value satisfies a difficulty value condition in the slice image, and determine a weight value of the target slice section.
[0131] 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.
[0132] In the embodiment of the present application, considering that when there are a large number of slice sections in a slice image, not all sub-difficulty values of the slice sections are meaningful for determining the printing difficulty value, therefore, the slice sections can be screened based on the difficulty value condition to obtain the target slice sections that meet the difficulty value condition. For example, the difficulty value condition can include a difficulty threshold, and the slice section whose sub-difficulty value exceeds the difficulty value condition can be determined as the target slice section.
[0133] Next, a weight value of the target slice section may be determined, wherein the weight value may be a weight value collection, and the weight value collection includes a sub-weight value of the target slice relative to each other slice section in the slice picture.
[0134] 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 a weight value set {x12, x13, x14, x15}.
[0135] 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.
[0136] 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.
[0137] In an optional implementation, the above step S221, determining the weight value of the target slice section, specifically includes the following process:
[0138] (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 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;
[0139] (2) Determine the weight value based on the influencing parameters.
[0140] 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.
[0141] Specifically, among the above-mentioned influencing parameters, the cross-sectional area, the area of the enveloping rectangle, the minimum circumscribed circle radius, the relative area, and the relative position of other slice sections to the target slice section are directly proportional to the weight value; the minimum spacing between other slice sections and the target slice section is inversely proportional to 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.
[0142] Here, the relative position of other slice sections and the target slice section is taken as an example. The relative position can be used to indicate whether there is an envelope between other slice sections and the target slice, the degree of envelope, and the minimum spacing of the sections. The degree of envelope can be determined by the overlapping area of the envelope rectangles of the two. The larger the overlapping area, the higher the degree of envelope. It should be understood that, under the same conditions, the slice image with envelope is more difficult to print than the slice section without envelope. The smaller the minimum spacing of the sections, the more difficult it is to print, and the greater the printing difficulty value.
[0143] Specifically, Figure 7aShown are two slice sections with an envelope degree of C1, such as Figure 7b Shown are two slice sections with an envelope degree of C2, such as Figure 7c Shown are two slice sections of the non-envelope case C3. Figure 7a-7c The cross-sectional areas of the slices are the same, the difficulty values of the individual sections in the slices are the same, the minimum spacing between the two sections is the same, and the envelope degree C1>C2>C3. Therefore, Figure 7a The weighted difficulty values corresponding to the sub-difficulty values of the two slice sections are both 43.05. Figure 7b The weighted difficulty value of the slice section is 38.56. Figure 7c The weighted difficulty value of the slice section is 36.79.
[0144] In addition, the influence of the relative positions of other slice sections and the target slice section on the above weight value is affected by the relative sizes of the two. Specifically, the larger the relative size of the target slice section to other slice sections, the smaller the influence on the weight value, and at the same time, the smaller the influence on the calculated printing difficulty value of the slice image.
[0145] For example, if Figure 8a The figure shows a schematic diagram of the positional relationship of slice sections in a slice image, wherein the minimum spacing between the target slice section (1) and the slice section (2) is 3, the difficulty value of the target slice section (1) is 74.38, the difficulty value of the slice section (2) is 4.19, and the printing difficulty value of the slice image is 75.87.
[0146] In addition, such as Figure 8b The figure shows a schematic diagram of the positional relationship of slice sections in another slice image, wherein the minimum spacing between the target slice section (1) and the slice section (2) is 38.5, the difficulty value of the target slice section (1) is 74.38, the difficulty value of the slice section (2) is 4.19, and the printing difficulty value of the slice image is 74.38.
[0147] 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, based on the influencing parameter, the sub-weight value x12 corresponding to the slice section M2 can be determined.
[0148] 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 respectively, 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.
[0149] In an optional implementation, the above step S221, determining the target slice section whose sub-difficulty value satisfies the difficulty value condition in the slice image, specifically includes the following process:
[0150] (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;
[0151] (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 respectively determine the target cross-section corresponding to each target sub-difficulty value.
[0152] 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.
[0153] Based on this, the difficulty value condition may also include the number of values n, and at least one target sub-difficulty value matching the number of values n may be determined from all the sub-difficulty values corresponding to the slice image. Specifically, the sub-difficulty values of each section may be sorted in descending order to obtain a sorting result. Next, the sub-difficulty values in the first n positions of the sorting result may 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 may be determined as the target section.
[0154] 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.
[0155] In an optional implementation, the above step S103, after determining the printing difficulty value corresponding to the sliced image based on the sub-difficulty value, further includes the following process:
[0156] (1) 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;
[0157] (2) 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;
[0158] (3) Based on the compensation parameters, the printing difficulty value corresponding to the sliced image is updated.
[0159] In an embodiment of the present application, when a slice image includes multiple slice sections, the slice image can be divided into a uniform distribution type and an uneven distribution type according to the distribution of the slice sections. Here, the uneven distribution type is the above-mentioned target type.
[0160] Specifically, Figure 9a The figure shows a schematic diagram of a uniformly distributed slice image, in which the area and relative size of each slice section are the same, and the spacing between adjacent slice sections indicated by the relative positions of the sections is basically the same. Figure 9b It is a schematic diagram of a slice picture of uneven distribution. In the slice picture, the area and relative size of each cross section may be different, and the spacing between adjacent cross sections indicated by the relative positions of the cross sections may also be different.
[0161] In the case where a slice image is a target type, due to the uneven distribution of the cross sections therein, during the printing process of the slice image, uneven stress distribution may occur, and the stress mainly involves the backflow, drainage, and peeling of the solidified layer of the printing material during the printing process. Based on this, the compensation parameter corresponding to the slice image can be calculated based on the above distribution data, and the printing difficulty value can be updated based on the compensation parameter. For example, when the compensation parameter is larger, it means that the unevenness of the cross section distribution in the slice image is higher, and the update operation can be to increase the printing difficulty value.
[0162] In an embodiment of the present application, when the cross-sections in a slice image are unevenly distributed, compensation parameters can be calculated based on the distribution data to compensate for the increase in printing difficulty caused by the unevenly distributed stress during the printing of the slice image, thereby making the determined printing difficulty value more confident.
[0163] 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 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 at least one of resin characteristic parameters.
[0164] In the 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 layer of the cross section is generated into a layer number-difficulty value curve graph, and a curve of the printing difficulty value and the number of layers of each layer of the slice image is generated based on the above-mentioned slice image collection. The layer number-difficulty value curve is as follows: Fig.10 shown.
[0165] Next, the corresponding printing difficulty intervals can be matched based on the above-mentioned layer number-difficulty value curve, and corresponding printing parameters can be set for each difficulty interval, wherein the printing parameters corresponding to each printing difficulty interval are at least partially different. For example, the rising speed of the molding platform of the adjacent printing difficulty interval 1 and printing difficulty interval 2 is different. When printing the slice image corresponding to the printing difficulty interval 1, the rising speed of the molding platform can be 1mm / s, and when printing the slice image corresponding to the printing difficulty interval 2, the rising speed of the molding platform can be 5mm / s.
[0166] It should be understood that in order to improve the success rate of printing the three-dimensional model, the slice image with a higher printing difficulty value may have a longer printing time, so as to improve the precision of the printing operation and enable the slice image to be successfully printed. Based on this, the printing parameters such as the rise stroke of the molding platform, the printing waiting time, and the exposure parameters may be proportional to the printing difficulty value, and the printing parameters such as the rise speed of the molding platform and the downward pressure speed of the molding platform may be inversely proportional to the printing difficulty value.
[0167] In the embodiment of the present application, the printing parameters can be dynamically adjusted according to the change in the difficulty value of the sliced image printing during the printing process, thereby avoiding fixed printing parameters and reducing the probability of printing failure or low printing efficiency.
[0168] In an optional implementation, the above step S105, determining the printing operation based on the printing parameters, specifically includes the following process:
[0169] S1051: Obtain a value range of the printing difficulty value, and preset multiple printing difficulty intervals based on the value range.
[0170] S1052: Based on the printing difficulty value corresponding to each layer of the sliced image, respectively determine the printing difficulty range corresponding to each layer of the sliced image.
[0171] S1053: setting corresponding printing parameters for each printing difficulty interval respectively, and determining a printing operation based on the printing parameters.
[0172] 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, 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.
[0173] After determining the above printing difficulty intervals, a mapping relationship between each printing difficulty interval and printing parameters can be established. After determining the printing difficulty value corresponding to the sliced image, the printing difficulty interval to which the printing difficulty value belongs can be searched, and the printing parameters having a mapping relationship with the printing difficulty interval can be determined.
[0174] It should be understood that the mapping between the printing difficulty interval and the printing parameter can be a one-to-many mapping, that is, each printing difficulty interval can correspond to multiple printing parameters. For example, printing difficulty interval 1 corresponds to printing parameters 1 and 2, wherein the building platform rising speed and the building platform pressing speed of printing parameter 1 are less than the building platform rising speed and the building platform pressing speed of printing parameter 2.
[0175] The printing difficulty values of slice image 1 and slice image 2 are the same, and the printing difficulty values belong to the above-mentioned printing difficulty range 1. In addition, slice image 1 is a multi-section slice image, and slice image 2 is a single-section slice image. Considering that the slice cross-sectional area in slice image 2 is larger than the slice cross-sectional area in slice image 1, the curing time of slice image 2 is longer than that of slice image 1. Therefore, the printing parameters corresponding to slice image 2 can be the above-mentioned printing parameters 1, and the printing parameters corresponding to slice image 1 can be the above-mentioned printing parameters 2.
[0176] In an embodiment of the present application, multiple printing difficulty intervals can be preset according to 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 fixing the printing parameters, and reduce the probability of printing failure or low printing efficiency.
[0177] In an optional implementation, the above-mentioned printing difficulty interval includes a target type interval, wherein the target type interval includes a plurality of printing difficulty sub-intervals of different lengths. The above-mentioned 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:
[0178] (1) determining 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;
[0179] (2) Based on the frequency distribution segmentation, determine the target printing difficulty value that meets the frequency condition;
[0180] (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.
[0181] 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.
[0182] In specific implementation, several possible printing scenarios can be pre-set, and corresponding target type intervals can be set for the printing scenarios. After determining the printing difficulty value corresponding to the above-mentioned collection of sliced images, the distribution of the printing difficulty value corresponding to the collection of sliced images can be counted to obtain the frequency distribution segmentation corresponding to the printing difficulty value. Then, the printing difficulty value with the highest frequency of occurrence can be determined, and the printing difficulty value can be determined as the target printing difficulty value that meets the above-mentioned frequency condition.
[0183] After determining the target printing difficulty value, the printing scene corresponding to the above three-dimensional model can be determined. Specifically, the target type interval to which the target printing difficulty value belongs can be determined, and the printing scene corresponding to the target type interval is used as the printing scene corresponding to the three-dimensional model. Then, the corresponding printing difficulty sub-interval is matched for each layer of the slice image in the target type interval.
[0184] In the embodiment of the present application, the above-mentioned printing difficulty interval can also be a target type interval. In the 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.
[0185] In summary, in the embodiment of the present application, first, a collection of slice images corresponding to the three-dimensional model can be obtained, and the printing difficulty value corresponding to the slice image can be calculated based on the cross-sectional information of the slice cross section in each layer of the slice image in the collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image can be determined respectively, and the printing operation can be determined based on the printing parameters to print the 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, and at the same time improving the printing efficiency.
[0186] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0187] Based on the same inventive concept, a 3D printing device corresponding to the 3D printing method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned 3D printing method in the embodiment 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.
[0188] Reference Fig.11 , which 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,
[0189] An acquisition unit 91 is used to acquire a collection of slice images corresponding to the three-dimensional model to be printed;
[0190] A first determining unit 92 is used to 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 slice images based on the cross-sectional information;
[0191] The second determining unit 93 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.
[0192] In the embodiment of the present application, firstly, a collection of slice images corresponding to the three-dimensional model can be obtained, and the printing difficulty value corresponding to the slice image can be calculated according to the cross-sectional information of the slice cross section in each layer of the slice image in the collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image can be determined respectively, and the printing operation can be determined based on the printing parameters to print the 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, and at the same time improving the printing efficiency.
[0193] In a possible implementation manner, the cross-sectional information includes at least one of the number of cross-sectional areas, cross-sectional areas, and cross-sectional shape information. The first determining unit 92 is further configured to:
[0194] Based on the cross-sectional information, determining the number of sections of the slice section in the slice image;
[0195] When the number of cross sections is 1, the cross section information includes: cross section area and cross section shape information of the sliced cross section;
[0196] Based on the cross-sectional area and cross-sectional shape information, the printing difficulty value of the slice image is determined.
[0197] In a possible implementation manner, 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:
[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 cross sections is 2 or more, the sub-difficulty values corresponding to the cross sections of each layer of the slice image are calculated based on the number of cross sections, the cross section area, the cross section shape information and the influence factor between the cross sections;
[0200] Based on the sub-difficulty values, the printing difficulty value corresponding to each layer of the sliced image is determined.
[0201] In a possible implementation manner, the influencing factors between the cross sections include: at least one of: 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 ratio 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 the ratio of the area of all cross sections in the slice image to the entire slice;
[0202] In a possible implementation manner, the first determining unit 92 is further configured to:
[0203] Determine a target slice section whose sub-difficulty value satisfies a difficulty value condition in the slice image, and determine a weight value of the target slice section;
[0204] 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.
[0205] In a possible implementation manner, the first determining unit 92 is further configured to:
[0206] 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 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 size, and minimum spacing between the other slice sections and the target slice section;
[0207] Based on the influencing parameters, weight values are determined.
[0208] In a possible implementation manner, the first determining unit 92 is further configured to:
[0209] Based on the sub-difficulty values of each slice section in the slice image, the slice sections are sorted in descending order to obtain a sorting result;
[0210] 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.
[0211] In a possible implementation manner, the first determining unit 92 is further configured to:
[0212] Determine the distribution data of the slice sections in the slice image; the distribution data includes at least one of: 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;
[0213] In the case where the slice image 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 image are unevenly distributed;
[0214] Based on the compensation parameter, the printing difficulty value corresponding to the sliced image is updated.
[0215] In a possible implementation, 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, molding platform rising speed parameters, molding platform rising stroke parameters, molding platform pressing speed parameters, molding platform pressing 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 at least one of resin characteristic parameters.
[0216] In a possible implementation manner, the second determining unit 93 determines the printing operation based on the printing parameters, including:
[0217] Obtaining a value range of the printing difficulty value, and presetting a plurality of printing difficulty intervals based on the value range;
[0218] 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;
[0219] Corresponding printing parameters are set for each printing difficulty interval, and the printing operation is determined based on the printing parameters.
[0220] In a possible implementation manner, the second determining unit 93 includes a target type interval in the printing difficulty interval, wherein the target type interval includes a plurality of printing difficulty sub-intervals of different lengths; and based on the printing difficulty value corresponding to each layer of the slice image, the printing difficulty interval corresponding to each layer of the slice image is determined respectively, including:
[0221] 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;
[0222] Based on the frequency distribution segmentation, a target printing difficulty value that meets the frequency condition is determined;
[0223] A target type interval matching the target printing difficulty value is determined, and a printing difficulty sub-interval matching the printing difficulty value corresponding to each layer of the sliced image is determined in the target type interval.
[0224] 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 embodiments, which will not be described in detail here.
[0225] In an optional implementation, the present application embodiment provides a 3D printer, the 3D printer comprising: a slicing module, a processor, a controller, a molding platform and a material tray; wherein,
[0226] The slicing module obtains a collection of slice images corresponding to the 3D model to be printed.
[0227] The processor determines a printing difficulty value corresponding to each layer of slice images in the slice image collection, and based on the printing difficulty value, determines printing parameters corresponding to each layer of slice images.
[0228] 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.
[0229] In the embodiment of the present application, the 3D model printing data after the printing parameters are set can be photocured by an LCD photocuring 3D printer, a DLP photocuring 3D printer, a CLIP photocuring 3D printer, or a SLA photocuring 3D printer. The slicing module, the processor, and the controller are implemented as described above. Figure 1 The corresponding embodiments are described in detail and will not be repeated here.
[0230] The molding platform solidifies and separates layer by layer in response to the printing operation to perform the printing operation on each layer of the sliced image.
[0231] The material tray carries the liquid resin, and the molding platform descends to solidify a layer and then separates from the material tray.
[0232] In the embodiment of the present application, the molding platform can be instructed to print the sliced images layer by layer according to the slice order indicated by the above-mentioned sliced image collection. Specifically, the molding platform can discharge liquid according to the shape of the sliced cross section in the sliced image, and solidify and separate the discharged liquid resin, so as to print the next layer of sliced images. Here, the material tray can be used to carry the liquid resin discharged by the molding platform, and after the liquid resin is solidified, it descends one layer, thereby separating from the molding platform, leaving a margin for the molding platform to print the next layer of sliced images.
[0233] It can be seen from the above description that in the embodiment of the present application, first, a collection of slice images corresponding to the three-dimensional model can be obtained, and the printing difficulty value corresponding to the slice image can be calculated according to the cross-sectional information of the slice cross section in each layer of the slice image in the collection of slice images. Then, based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image can be determined respectively, and the printing operation can be determined based on the printing parameters to print the 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, and at the same time improving the printing efficiency.
[0234] Corresponds to Figure 3 The 3D printing method in the present application also provides a computer device 1000, such as Fig.12 As shown, it is a schematic diagram of the structure of a computer device 1000 provided in an embodiment of the present application, including:
[0235] Processor 101, memory 102, and bus 103; memory 102 is used to store execution instructions, including internal memory 1021 and external memory 1022; the internal memory 1021 is also called internal memory, which is used to temporarily store the operation data in the processor 101 and the data exchanged with the 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 communicates with the memory 102 through the bus 103, so that the processor 101 executes the following instructions:
[0236] Obtain a collection of slice images corresponding to the 3D model to be printed;
[0237] Determine the cross-sectional information of the slice cross-section in each layer of the slice image in the slice image collection, and calculate the printing difficulty value corresponding to each layer of the slice image based on the cross-sectional information;
[0238] Based on the printing difficulty value, the printing parameters corresponding to each layer of the slice image are determined respectively, and the printing operation is determined based on the printing parameters, so as to print the three-dimensional model based on the printing operation.
[0239] The present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the 3D printing method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0240] The embodiment of the present application further provides a computer program product, which carries a 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, which will not be repeated here.
[0241] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium, and in another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0242] Those skilled in the art can clearly understand that, for the convenience and simplicity 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 the present 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 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.
[0243] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0244] 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.
[0245] If 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in 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.
[0246] Finally, it should be noted that the above-described 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 is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A 3D printing method, characterized in that: 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, respectively determine the printing parameters corresponding to each layer of the slice image, and determine the printing operation based on the printing parameters, so as to print the three-dimensional model based on the printing operation; 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 speed parameters, molding platform pressing stroke parameters, molding platform static 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; 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, determining the printing difficulty value of each layer of the slice image based on the cross section area and the cross section shape information; or, 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.
2. The method according to claim 1, characterized in that: 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.
3. The method according to claim 1, characterized in that 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.
4. The method according to claim 3, characterized in that 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.
5. The method according to claim 3, characterized in that: 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.
6. The method according to claim 1, characterized in that 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.
7. The method according to claim 1, characterized in that The cross-sectional shape information includes: At least one of the cross-sectional envelope rectangle, the minimum circumscribed circle, and the degree of discreteness of the cross-section in the slice image.
8. The method according to claim 1, characterized in that 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.
9. The method according to claim 8, characterized in that 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.
10. A 3D printing device, characterized in that: 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; A 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; 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 speed parameters, molding platform pressing stroke parameters, molding platform static 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; 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, determining the printing difficulty value of each layer of the slice image based on the cross section area and the cross section shape information; or 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.
11. A 3D printer, characterized in that: 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; A material tray carries liquid resin, and the molding platform is separated from the material tray after descending and solidifying a layer; Among them, 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, 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 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.
12. A computer device, characterized in that: 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 9 are performed.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the 3D printing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and system for determining exposure interval time of 3D printing
CN113954356A
Cited By
Pulse stripping module, pulse stripping tray, 3D printing device and printing method
CN117656470B
3D printing method, apparatus, 3D printer, and computer device
EP4678381A1
3D printing method, apparatus, 3D printer, and computer device
WO2024187802A1
Pulsing release module, pulsing release resin tank, and 3D printing device and printing method
WO2025112838A1