Method, apparatus, device, storage medium and program product for 3D printing
By dynamically adjusting the printing speed of 3D printing slices and optimizing the printing speed according to the exterior wall characteristics of the slices, the quality and efficiency problems caused by unreasonable printing speeds in the existing technology are solved, and a more efficient 3D printing process is achieved.
Patent Information
- Application Number
- CN202210362351.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-07
AI Technical Summary
Existing 3D printing technology lacks optimization when determining printing speed, resulting in object distortion and deformation caused by printing too fast, reduced efficiency due to too slow printing, and the inability to perform variable-speed printing based on the characteristics of different sections of each slice.
By obtaining the model file and performing a slicing operation, the printing speed of each slice is determined, and the printing speed is dynamically adjusted according to the exterior wall printing path and characteristics of the slice, such as curvature, degree of overhang, and degree of wind exposure, to achieve a more optimized speed planning.
While ensuring printing efficiency, it also takes into account the cooling and shaping effect of the "weak" areas of the slice, improving the printing quality and efficiency of the model.
Smart Images

Figure CN114670450B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of 3D printing, and in particular to a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for 3D printing. Background Art
[0002] 3D printer, also known as three-dimensional printer, stereo printer, is a kind of rapid prototyping process equipment, usually realized by printing materials with digital technology. 3D printers are often used to make models or parts in the fields of mold manufacturing, industrial design, etc. In recent years, 3D printing technology has great application prospects in jewelry, footwear, industrial design, architecture, engineering and construction (AEC), automobiles, aerospace, dental and medical industries, education, geographic information systems, civil engineering, firearms and other fields.
[0003] The 3D printing method known in the art, Fused Deposition Modeling (FDM), is a method of constructing a 3D object by printing layer by layer using materials such as powdered metal or plastic based on a digital model, wherein the 3D printer used supplies the printing wire material to the print head in the form of a filament, and the printing wire material is heated to a molten state by electric heating in the print head. The print head prints the 3D object layer by layer according to the path of movement of the print head relative to the substrate generated by the controller of the 3D printer.
[0004] During the printing process, the movement speed of the print head determines the printing speed of 3D printing. Printing speed is an important factor affecting printing quality and printing effect. If the printing speed is too fast, the printing wire may not be able to cool and form in time, resulting in distortion of the printed three-dimensional object. If the printing speed is too slow, it may lead to a decrease in overall printing efficiency. The current technology used to determine the printing speed still has a lot of room for improvement.
[0005] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention
[0006] According to one aspect of the present disclosure, a method for 3D printing is provided, comprising: obtaining a model file, the model file defining a model to be printed; slicing the model to obtain a plurality of slices parallel to a horizontal plane; and determining a printing speed for printing each of the plurality of slices, wherein the printing speed defines a moving speed of a print head of a 3D printer, wherein the determination comprises: for each of the plurality of slices: determining a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of a projection of the slice on a horizontal plane; determining at least one printing feature of the printing path; and determining a printing speed for printing at least a portion of the slice based on the at least one printing feature.
[0007] According to another aspect of the present disclosure, there is also provided an apparatus for 3D printing, comprising: an acquisition unit configured to acquire a model file, the model file defining a model to be printed; a slicing unit configured to perform a slicing operation on the model to obtain a plurality of slices parallel to a horizontal plane; and a determination unit configured to determine a printing speed for printing each of the plurality of slices, wherein the printing speed defines a moving speed of a print head of a 3D printer, wherein the determination unit comprises: a first determination module configured to determine, for each of the plurality of slices: a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of a projection of the slice on a horizontal plane; a second determination module configured to determine at least one printing feature of the printing path; and a third determination module configured to determine, based on the at least one printing feature, a printing speed for printing at least a portion of the slice.
[0008] According to yet another aspect of the present disclosure, a computer device is provided, including: a memory, a processor, and a computer program stored in the memory, wherein the processor is configured to execute the computer program to implement the steps of the above method.
[0009] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program implements the steps of the above method when executed by a processor.
[0010] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the steps of the above method are implemented when the computer program is executed by a processor.
[0011] According to the method of the embodiment of the present disclosure, the printing speed for printing at least a portion of the slice can be determined based on the printing characteristics of the printing path used to print the exterior wall of the slice. Therefore, the method of the embodiment of the present disclosure can achieve the setting of the printing speed based on the characteristics of each slice or the characteristics of different sections of the same slice. The above-mentioned printing characteristics can be, for example, the curvature of the printing path, the degree of suspension, the degree of wind exposure, and other characteristics. The method of the embodiment of the present disclosure achieves more optimized speed planning. The printing speed planned according to these printing characteristics can ensure the printing efficiency while taking into account the cooling and shaping effect of the "weak" area of the slice, thereby ultimately ensuring the printing quality of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0013] Figure 1 A schematic structural diagram of a 3D printer according to an embodiment of the present disclosure is shown;
[0014] Figure 2 A flow chart of a method for 3D printing according to an embodiment of the present disclosure is shown;
[0015] Figure 3 A flow chart of a method for determining printing features according to an embodiment of the present disclosure is shown;
[0016] Figure 4 A schematic diagram showing a printing principle according to an embodiment of the present disclosure is shown;
[0017] Figure 5 A schematic diagram showing a method for determining the curvature of a printing path at a reference point according to an embodiment of the present disclosure;
[0018] Figure 6 A flow chart showing a method for determining printing features according to another embodiment of the present disclosure is shown;
[0019] Figure 7 A flow chart showing a method for determining printing features according to another embodiment of the present disclosure is shown;
[0020] Figure 8 Shown according to Figure 7 A schematic diagram of the principle of determining the overhang degree of an exterior wall portion according to the method shown;
[0021] Fig. 9 A flow chart showing a method for determining printing features according to another embodiment of the present disclosure is shown;
[0022] Fig.10 A schematic block diagram of a device for 3D printing according to an embodiment of the present disclosure is shown;
[0023] Fig.11 A schematic block diagram of a computer device according to a disclosed embodiment is shown. DETAILED DESCRIPTION
[0024] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0025] Before introducing the various embodiments of the present disclosure in detail, the basic working principle of 3D printing is briefly introduced. 3D printing requires slicing a 3D model (usually a file in stl or 3mf format) using slicing software, converting it into gcode, and sending it to a 3D printer. The 3D printer will then print on the hot bed 120 according to the sliced 3D model. Figure 1 FIG. 1 shows a schematic diagram of the structure of a 3D printer 100 according to an embodiment of the present disclosure. Figure 1 As shown, the 3D printer 100 includes a housing 110, a heated bed 120, a print head 140, and a drive device (not shown). Figure 1 The 3D printer also has a lifting mechanism for driving the hot bed 120 to move up and down (i.e., along the Figure 1 The drive device is connected to the print head 140 and is used to drive the print head to move in a plane parallel to the hot bed 120 (i.e. Figure 1 The XY plane in the figure). In a specific printing process, the hot bed 120 is raised to an upper surface close to the nozzle 150 of the print head 140, and the nozzle 150 extrude the molten printing wire material, and then start printing the first layer of slices of the model. After the first layer of slices is printed, the hot bed 120 will drop to the height of the slice layer, and then the print head 140 starts to print the second layer of slices on the upper surface of the first layer of slices. The above process is repeated in this way to complete the printing of the entire model. The above-mentioned 3D printer 100 also includes a cooling system, which has a cooling air duct 160 arranged on the print head 140 and facing the hot bed 120, and a fan (not shown) that provides cooling air to the air duct. Figure 1 ), the cooling air is used to cool the molten printing wire material to promote the forming of the object to be printed.
[0026] Before 3D printing, in addition to slicing the model, the slicing software also needs to pre-set the printing speed of each slice. The printing speed has a great impact on the printing effect. If the printing speed is too fast, the printing wire may not be able to cool and form in time, resulting in distortion of the printed three-dimensional object. If the printing speed is too slow, it may lead to a reduction in the overall printing efficiency. In the related art, some slicing software can already set the printing speed. For example, some software can set the printing speed of slices at different positions of the model. However, the related art has the following defects: First, the printing speed is generally determined and manually input by the operator, so the set printing speed is relatively arbitrary and the optimized printing speed cannot be achieved. In addition, the slicing software can only set the printing speed for printing the entire slice, and cannot achieve variable speed printing based on the characteristics of different sections of each slice.
[0027] Refer to the following Figure 2 The method for 3D printing according to an embodiment of the present disclosure is described in detail. Figure 2 A flow chart of a method 200 for 3D printing according to an embodiment of the present disclosure is shown. Figure 2 As shown, the method 200 includes:
[0028] Step 201, obtaining a model file, the model file defines a model to be printed;
[0029] Step 202, slicing the model to obtain a plurality of slices parallel to the horizontal plane; and
[0030] Step 203, determining a printing speed for printing each of the plurality of slices, wherein the printing speed defines a moving speed of a print head of the 3D printer. Step 203 further comprises: for each of the plurality of slices:
[0031] Step 2031, determining a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of the slice projected on a plane;
[0032] Step 2032, determining at least one printing feature of the printing path; and
[0033] Step 2033, determining a printing speed for printing at least a portion of the slice based on at least one printing characteristic.
[0034] According to the method of the embodiment of the present disclosure, the printing speed for printing at least a portion of the slice can be determined based on the printing characteristics of the printing path used to print the exterior wall of the slice. Therefore, the method of the embodiment of the present disclosure can achieve the setting of the printing speed based on the characteristics of each slice or the characteristics of different sections of the same slice. The above-mentioned printing characteristics can be, for example, the curvature of the printing path, the degree of suspension, the degree of wind exposure, and other characteristics. The method of the embodiment of the present disclosure achieves more optimized speed planning. The printing speed planned according to these printing characteristics can ensure the printing efficiency while taking into account the cooling and shaping effect of the "weak" area of the slice, thereby ultimately ensuring the printing quality of the model.
[0035] In step 201, the model file may include model data of the entire object to be printed. The model data may be decomposed into multiple models by slicing software, and each model forms a part of the entire object to be printed.
[0036] In step 202, the model is cut into multiple slices with the slice plane parallel to the horizontal direction (i.e., the heated bed plane) by the slice software. The parameters of each slice layer can be set by operating the slice software, such as setting the layer height of each slice layer, the printing mode of each slice layer, etc.
[0037] In the specific printing process of each slice of the model, the outer wall of the slice layer, that is, the outermost part of the slice, can be printed first, and then the filling part inside the outer wall can be printed. The outer walls of all slices will form the shell of the final three-dimensional object. The filling part inside the outer wall can be printed in a grid-like form, for example, to save the consumption of printing wire. The outer wall is generally formed by printing the printing wire for one week. Therefore, it can be understood that the outer wall of the slice should have a shape similar to an annular shape and a certain wall thickness, which is approximately equal to the line width of the printing wire. For the printing of a three-dimensional object, the molding of its shell (that is, the outer wall part of each slice) is the most important because it determines the shape of the entire three-dimensional object. Therefore, in step 203, the printing speed for printing the slice is determined according to the printing characteristics of the printing path for printing the outer wall of the slice. The above-mentioned printing path is the path that the printer nozzle travels when the printer prints the outer wall of the slice.
[0038] The at least one printing feature may include features such as the shape feature of the printing path, the relationship between the printing path and the printing path of the previous slice, etc. For example, the printing feature may include features such as the curvature of the printing path, the degree of overhang of the exterior wall corresponding to each edge on the printing path, and the degree of wind exposure of the corresponding exterior wall, which will be described in detail below. In step 2033, at least one printing feature determined in step 2032 may be quantified, and then the quantified result may be graded. Taking the curvature of the printing path as an example, the curvature may be divided into multiple levels according to the numerical value, and then a pre-set lookup table may be queried according to the curvature level to obtain the printing speed corresponding to the curvature level, and the above lookup table records the printing speeds corresponding to each curvature level. In some other embodiments, the printing speed may also be determined by other means, for example, the quantified result of the printing feature may be input into a preset formula to calculate the corresponding printing speed.
[0039] Figure 3 A flow chart of a method 300 for determining at least one printing feature according to an embodiment of the present disclosure is shown. The at least one printing feature includes a maximum curvature of a printing path, and the method 300 includes:
[0040] Step 301, determining a plurality of reference points on a printing path;
[0041] Step 302, respectively determining the curvature of the printing path at each reference point of the plurality of reference points;
[0042] Step 303: Select a maximum curvature from the curvatures of the printing path at multiple reference points to serve as the maximum curvature of the printing path.
[0043] The inventor has found through research that when the printing speed takes into account the curvature of the printing path, the printing effect is better. Figure 4 As shown, Figure 4 A schematic diagram 400 of the printing principle according to an embodiment of the present disclosure is shown. Assume that the inferior arc CD is a tiny section in the printing path, which will be referred to as the printing section later. The curvature radius of the printing section is ρ, the turning angle is dθ, and the arc length is ds. The temperature of the printing wire forming the CD arc section will gradually decrease after extrusion. Assume that the above temperature drop is ΔT, the thermal shrinkage rate of the CD arc section is α, the elastic modulus is E, and the cross-sectional area is A. If there is an external force dF that can forcibly keep the outer wall of the CD arc section from deforming, then the dF needs to satisfy:
[0044] dF=α*ΔT*E*A*dθ=α*ΔT*E*A*ds / ρ
[0045] That is to say, in order to maintain the shape of the outer wall of each small arc segment when the temperature changes, the previous layer of slices of the current arc segment needs to provide a maintaining force to the outer wall of the arc segment, and the maintaining force is proportional to the temperature difference ΔT, elastic modulus E, thermal shrinkage rate α, cross-sectional area A, and inversely proportional to the curvature radius ρ of the arc segment, that is, proportional to the curvature. If the previous layer of slices of the current arc segment cannot provide the maintaining force, the outer wall of the arc segment will be deformed, and the deformation amount will be proportional to the difference between the maintaining force and the actual external force provided. It can be seen from the above formula that the greater the curvature of the current layer, the greater the maintaining force required. Therefore, in places with large curvature, the printing speed can be actively slowed down to give the printing wire material a longer time to cool, so that the temperature of the outer wall of the arc segment is reduced as much as possible. This is because the lower the temperature, the higher the stiffness of the printing wire material, the more it can withstand the pulling of the stress of shrinkage deformation, thereby reducing the printing deformation. Therefore, after determining the maximum curvature of the printing path using method 300, the printing speed can be set based on the maximum curvature.
[0046] In the slicing software, the outer surface of the model is composed of multiple facets. In other words, the model is a polygonal structure. Therefore, the printing path used to print the outer wall of each slice is a polygonal path, and each edge in the polygonal path is located on a corresponding facet among the multiple facets. Therefore, the printing section as a part of the printing path is actually composed of at least one straight line segment. However, since the model is composed of a large number of facets, each printing section also includes a very large number of straight line segments, which can be approximately considered as arcs.
[0047] In step 301, the multiple reference points include multiple vertices on the polygonal path. In other embodiments, the multiple reference points can also be selected in other ways, for example, a reference point can be determined at a preset distance on the printing path, so that the multiple reference points are arranged at equal intervals.
[0048] In step 302, the curvature of the printing path at each reference point of the multiple reference points is determined respectively. As described above, since the printing section can be approximately considered as an arc, the approximate curvature of the printing path at each reference point can be calculated as the curvature of the printing path. The curvature of the printing path of the above reference point is determined based on the positions of the two adjacent reference points on the left and right of the reference point. In one example, for each reference point of the multiple reference points: the curvature of the printing path at the reference point is determined based on the positional relationship between the reference point and the first reference point and the positional relationship between the reference point and the second reference point, wherein the first reference point and the second reference point are two reference points adjacent to the reference point among the multiple reference points.
[0049] Figure 5 FIG. 5 is a schematic diagram showing a method 500 for determining the curvature of a printing path at a reference point according to an embodiment of the present disclosure. Figure 5As shown, a portion of the CD of the printing path in the form of a polygonal path is shown, and the portion of the printing path includes 4 edges and 5 vertices on the above-mentioned polygonal path, namely vertices (i-2), (i-1), (i), (i+1), and (i+2). In this embodiment, each vertex on the polygonal path can be determined as a reference point, and then the curvature of the printing path at these reference points can be calculated respectively. Taking the calculation of the curvature of the printing path of the (i)th vertex as an example, the curvature of the vertex can be determined based on the coordinates of the three vertices (i-1), (i), and (i+1), the positional relationship between vertex (i) and vertex (i+1), and the positional relationship between vertex (i) and vertex (i-1). In one example, the curvature of vertex (i) can be calculated by the following formula:
[0050]
[0051] Among them, L f is the length of the line segment between vertex (i-1) and vertex (i); L b is the length of the line segment between vertex (i+1) and vertex (i); x i ,y i is the coordinate of the i-th point; x i-1 ,y i-1 is the coordinate of the i-1th point; x i+1 ,y i+1 is the coordinate of the i+1th point. The coordinate system of the above coordinates can be pre-set in the slicing software.
[0052] Figure 6 A flow chart of a method 600 for determining printing features according to another embodiment of the present disclosure is shown. The printing features also include an average curvature of each of a plurality of printing segments constituting a printing path, wherein the outer surface of the model is composed of a plurality of facets, the printing path is a polygonal path, and each of the plurality of printing segments includes at least one edge of the polygonal path. Figure 6 As shown, the method 600 includes: for each printing section in a plurality of printing sections:
[0053] Step 601, determining a start edge and an end edge of the printing section from at least one edge of the printing section;
[0054] Step 602, calculating the angle difference between the starting edge and the ending edge; and
[0055] Step 603: Calculate the average curvature of the printing section based on the angle difference and the length of the printing section.
[0056] Before executing step 601, the print path may be divided into a plurality of print segments, for example, the print path may be divided into a plurality of print segments of equal length. Each print segment may include at least one edge, and each of the at least one edge may be an edge in the polygonal path or a portion of the edge. The starting edge of the print segment is the edge where the starting point of the print segment is located, and the ending edge of the print segment is the edge where the ending point of the print segment is located. For example, referring to Figure 5 The printing segment shown has a starting edge which is a line segment between vertices i-2 and i-1, and an ending edge which is a line segment between vertices i+2 and i+1.
[0057] In step 602, the angle difference refers to the size of the angle between the straight lines where the starting edge and the ending edge are located. The larger the angle difference, the larger the curvature of the printing section. On the contrary, if the angle difference is smaller, the curvature of the printing section is smaller. For example, when the angle difference is 30°, the curvature obtained is π / 6.
[0058] In step 603, the ratio of the arc obtained in step 602 to the length of the printing section may be used as the average curvature.
[0059] In actual operation, the above process of calculating the average curvature of the printing section can be implemented by using slicing software. A window of a specific size can be pre-set in the slicing software, such as a sliding window with a width of 6 mm. The window is set on the printing path, and a printing section can be defined. Then, the slicing software is used to calculate the average curvature of the printing section based on the above method. Then, the sliding window is moved on the printing path to obtain another defined printing section, and then its average curvature is calculated. Repeat the above steps until the average curvature of all printing sections is obtained.
[0060] In some embodiments, the printing speed includes a plurality of local printing speeds for printing a plurality of printing sections respectively. Determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: determining a corresponding local printing speed of the plurality of local printing speeds according to an average curvature of each printing section in the plurality of printing sections.
[0061] After the above method 600, the average curvatures of the obtained multiple printing sections can be used to determine multiple local printing speeds. In one example, the average curvature can be divided into multiple levels in advance, and the level of the average curvature of each printing section can be determined respectively, and then the local printing speed for printing the printing section can be determined based on the divided levels according to a preset printing speed lookup table. For example, the average curvature can be divided into 10 levels. If the average curvature of a certain printing section belongs to level 5, then the local printing speed for printing the printing section should be the local printing speed corresponding to level 5 in the lookup table (e.g., 8 mm / s). It can be understood that the higher the level of the above average curvature, the smaller the corresponding local printing speed.
[0062] Figure 7 A flow chart of a method 700 for determining printing features according to another embodiment of the present disclosure is shown. The above-mentioned printing features also include the degree of overhang of the outer wall portion corresponding to each edge in the polygonal path. There are some overhanging parts in the model to be printed, and the overhanging part refers to the part below the printing wire that is not completely supported by the lower slice. The degree of overhang indicates the degree of separation between the overhanging part and the lower slice. The overhanging part will be deformed due to gravity, the viscoelastic force of the molten wire, and the cooling shrinkage, and cannot be supported by the next layer of slices. It can be understood that the greater the degree of overhang, the greater the influence of factors such as gravity, and the outer wall part of the slice needs to be cooled more thoroughly to reduce flow deformation.
[0063] like Figure 7 As shown, the method 700 includes: for each edge in the polygonal path:
[0064] Step 701, obtaining the projection position of the edge on the horizontal plane and the projection position of the reference edge on the horizontal plane, wherein the reference edge is the edge corresponding to the edge in the printing path of the previous layer of slices of the slice;
[0065] Step 702, determining a projection position offset of the projection position of the edge on the horizontal plane relative to the projection position of the reference edge on the horizontal plane;
[0066] Step 703, determining a hanging offset threshold according to the line width of the printed line material; and
[0067] Step 704: determine the degree of overhang of the exterior wall portion corresponding to the edge according to the projection position offset and the overhang offset threshold.
[0068] Figure 8 Shown according to Figure 7 Schematic diagram 800 of the principle of determining the overhang degree of an exterior wall portion according to the method shown. Figure 8As shown in FIG. 1 , it shows the cross-section of the corresponding outer wall portion of two adjacent slices, where the upper slice is the slice for which the printing speed is to be determined. It can be understood that since the nozzle outlet of the extruder head of the 3D printer is approximately circular, the molten printing wire material extruded from the nozzle is cylindrical. After the printing wire material forms the outer wall portion, it will become an oblate cylinder with an elliptical cross-section due to the effect of gravity, as shown in FIG. Figure 8 shown.
[0069] In step 701, Figure 8 The edge of the upper slice (i.e., the edge of the slice whose printing speed is to be determined) and the corresponding edge of the lower slice (i.e., the reference edge) are projected onto the horizontal plane. As described above, the edge constituting the outer wall is actually an oblate cylinder and has a certain width, which is generally greater than the line width of the printed line material. In step 702, the above offset may refer to the distance between the axes of the corresponding edges constituting the outer walls of the upper and lower slices. Figure 8 As shown, the above offset can be referred to as a distance l.
[0070] In step 703, the line width includes a first line width and a second line width, wherein the first line width is the width of the line material when it is extruded from the nozzle of the print head, and the second line width is the width of the line material after it forms the material layer corresponding to the slice, and determining the overhang offset threshold according to the line width of the printed line material includes: determining the overhang offset threshold according to the first line width and the second line width. Figure 8 As shown, the second line width is represented by a distance d, and the first line width r is not Figure 8 However, it can be understood that due to the cooling deformation of the printed wire material, the first line width r is smaller than the second line width d. The above offset threshold can be set to d+r.
[0071] In step 704, the degree of overhang may include: completely overhanging, partially overhanging, and non-overhanging. When the offset l is less than 0, that is, the outer wall corresponding to the edge of the current slice is located inside the outer wall corresponding to the previous slice, the overhang degree of the outer wall portion corresponding to the edge is determined to be non-overhanging. When the offset l is between 0 and the offset threshold (i.e., d+r) (i.e., Figure 8When the offset l is greater than the offset threshold (i.e., d+r), the degree of suspension of the outer wall portion corresponding to the edge is determined to be completely suspended. At this time, the outer wall portion corresponding to the edge is completely out of contact with the outer wall portion of the upper slice. It can be understood that when the printing line material is just extruded from the nozzle and before it falls on the object to be printed, it is not affected by gravity and maintains a cylindrical shape. At this time, its line width is r. Therefore, as long as the offset between the printing line material and the outer wall of the upper slice is greater than d+r, it will fall outside the outer wall of the upper slice and become a completely suspended part. Therefore, the offset threshold is set to d+r.
[0072] In some embodiments, the printing speed includes a plurality of local printing speeds for printing each edge in the printing path, respectively. Determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: determining a corresponding local printing speed from the plurality of local printing speeds according to a degree of overhang of the exterior wall portion corresponding to each edge in the printing path.
[0073] After the above method 700, the obtained degrees of suspension of the multiple printing sections can be used to determine multiple local printing speeds. In one example, the local printing speed for printing the edge can be determined based on the divided degree of suspension according to a preset print speed lookup table. For example, if the degree of suspension of the exterior wall of a certain side is partially suspended, then the local printing speed for printing the edge should be the local printing speed corresponding to the partial suspension in the lookup table (for example, 5mm / s). Although the degree of suspension is divided into three levels in the present embodiment, in other embodiments, the above degree of suspension can also be divided into more than three levels of suspension. For example, the interval of (0, d+r) can be evenly divided into 10 intervals, and the offset of each interval corresponds to a degree of suspension. It can be understood that the higher the level of the above degree of suspension, the smaller the corresponding local printing speed is, so as to ensure sufficient cooling of the highly suspended exterior wall part.
[0074] In some other embodiments, other methods may be used to determine the degree of overhang of the exterior wall portion corresponding to each edge of the printing path. For example, for each edge in the polygonal path: determine the inclination angle of the facet where the edge is located relative to the horizontal plane; and determine the degree of overhang of the exterior wall portion corresponding to the edge based on the inclination angle. For a facet on the model, the greater its slope, the greater the degree of overhang of the exterior wall portion forming the facet, so the degree of overhang of the exterior wall portion corresponding to the edge can be determined based on the inclination angle of the facet relative to the horizontal plane. For example, the inclination angle can be divided into multiple ranges from 0 to 90°, and each angle range corresponds to a level of overhang. The above-mentioned inclination angle can be determined using the inclination angle calculation function in the slicing software.
[0075] Fig. 9 FIG. 9 is a flowchart of a method 900 for determining printing features according to another embodiment of the present disclosure. The printing features also include the wind exposure of the outer wall portion corresponding to each edge in the polygonal path, and the wind exposure indicates the intensity of the cooling ventilation in the 3D printer at the outer wall portion. Figure 1 As shown, the extruder head 140 of the 3D printer has a built-in cooling duct 160 for heat dissipation, and the airflow at the outlet of the duct is directed toward the object to be printed and affects the cooling of the object to be printed. The airflow blows from the cooling duct 160 to the printed model, and the heat is taken away by the airflow where it is blown, and the object is cooled and shaped. Generally speaking, for the outer wall part with a high degree of wind, the cooling speed is faster, so the printing speed can be appropriately increased during printing; while for the outer wall part with a low degree of wind, the cooling speed is slower, so it is necessary to appropriately reduce the printing speed during printing to enhance the cooling effect of the outer wall part.
[0076] The outer surface of the model is composed of multiple face patches, the printing path is a polygonal path, each edge in the polygonal path is located on a corresponding face patch in the multiple face patches, and the method 900 includes: for each edge in the polygonal path:
[0077] Step 901, determining the angle between the face piece where the edge is located and the extension direction of the cooling and ventilation duct of the 3D printer; and
[0078] Step 902, determining the wind exposure degree of the exterior wall portion corresponding to the edge according to the included angle.
[0079] like Figure 1As shown, the air duct 160 will supply air along the dotted line direction shown in the figure. In step 901, the angle between the face piece and the extension direction of the cooling and ventilation air duct of the 3D printer is the angle between the air supply direction and the face piece. It can be understood that the larger the angle between the face piece and the extension direction of the air duct 160, the greater the amount of air received by the face piece, and the higher the degree of wind exposure of the corresponding outer wall part. Therefore, in step 901, the degree of wind exposure of the outer wall part corresponding to the edge can be determined according to the size of the above-mentioned angle. In the specific calculation process, the degree of wind exposure can be obtained by calculating the dot product of the vector of the air duct direction and the negative surface normal vector of the model face piece (or the unit tangent vector of the printing path of the slice), and the dot product is associated with the above-mentioned angle.
[0080] In some embodiments, the printing speed includes a plurality of local printing speeds for printing the plurality of printing sections respectively. Determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: determining a corresponding local printing speed among the plurality of local printing speeds according to the degree of wind exposure of the exterior wall portion corresponding to each edge in the printing path.
[0081] After the above method 900, the obtained wind exposure levels of the multiple edges on the printing path can be used to determine multiple local printing speeds. In one example, the local printing speed for printing the edge can be determined based on the divided wind exposure levels according to a preset printing speed lookup table. For example, if the wind exposure level of a certain printing section is level 1, then the local printing speed for printing the edge should be the local printing speed corresponding to the level 1 wind exposure level in the lookup table (e.g., 5 mm / s). It can be understood that the higher the level of the above wind exposure level, the greater the corresponding local printing speed.
[0082] It should be supplemented that, although in the above-mentioned multiple embodiments, the print speed or local print speed is determined by querying the lookup table based on only one print feature (curvature, degree of overhang, degree of wind exposure, etc.). However, in other embodiments, the print speed or local print speed can also be determined by querying the lookup table based on two or more print features. In this case, the lookup table includes the print speed or local print speed corresponding to multiple print features. For example, the lookup table includes the mapping relationship between the average curvature and the degree of overhang of the printing section and the local print speed. For a certain edge of the printing path, it can be determined that the average curvature level is 3 and the degree of overhang level is 5. Then, the local print speed corresponding to the average curvature level of 3 and the degree of overhang level of 5 is queried in the lookup table, for example: 6mm / s.
[0083] For each edge of the printing path, its corresponding local printing speed can be determined by the above method, and finally the printing speed of the entire printing path is obtained. Since there are local printing speeds of multiple edges, the printing process of the entire printing path may be variable speed printing.
[0084] The present disclosure also provides a device 1000 for 3D printing, Fig.10 FIG. 1 is a schematic block diagram of a device 1000 for 3D printing according to an embodiment of the present disclosure. Fig.10 As shown, the device 1000 includes: an acquisition unit 1010, configured to acquire a model file, the model file defines a model to be printed; a slicing unit 1020, configured to slice the model to obtain a plurality of slices parallel to a horizontal plane; and a determination unit 1030, configured to determine a printing speed for printing each of the plurality of slices, wherein the printing speed defines a moving speed of a print head of a 3D printer, wherein the determination unit 1030 includes: a first determination module 1031, configured to: for each of the plurality of slices: determine a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of the slice projected on a horizontal plane; a second determination module 1032, configured to determine at least one printing feature of the printing path; and a third determination module 1033, configured to determine a printing speed for printing at least a portion of the slice according to the at least one printing feature. The working principles of the above-mentioned units and modules are similar to the steps in the method 200, and are not repeated here.
[0085] It should be understood that in this specification, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships or dimensions that are based on the orientations or positional relationships or dimensions shown in the accompanying drawings, and these terms are used only for the convenience of description and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the scope of protection of the present application.
[0086] In addition, the terms "first", "second", "third", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third" may explicitly or implicitly include one or more of the feature. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0087] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0088] In the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0089] According to one aspect of the present disclosure, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory. The processor is configured to execute the computer program to implement the steps of any method embodiment described above.
[0090] According to one aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method embodiment described above are implemented.
[0091] According to one aspect of the present disclosure, a computer program product is provided, which includes a computer program. When the computer program is executed by a processor, the steps of any method embodiment described above are implemented.
[0092] In the following, combined Fig.11 Illustrative examples of such a computer device, non-transitory computer-readable storage medium, and computer program product are described.
[0093] Fig.11 An example configuration of a computer device 1100 that can be used to implement the methods described herein is shown. For example, the above-mentioned 3D printer may include an architecture similar to the computer device 1100. The above-mentioned 3D printer may also be fully or at least partially implemented by the computer device 1100 or a similar device or system.
[0094] Computer device 1100 can be a variety of different types of devices. Examples of computer device 1100 include, but are not limited to, desktop computers, server computers, laptop or netbook computers, mobile devices (e.g., tablet computers, cellular or other wireless phones (e.g., smart phones), notepad computers, mobile stations), wearable devices (e.g., glasses, watches), entertainment devices (e.g., entertainment appliances, set-top boxes communicatively coupled to display devices, game consoles), televisions or other display devices, automotive computers, and the like.
[0095] The computer device 1100 may include at least one processor 1102, memory 1104, communication interface(s) 1106, a display device 1108, other input / output (I / O) devices 1110, and one or more mass storage devices 1112, which can communicate with each other, such as via a system bus 1114 or other appropriate connection.
[0096] The processor 1102 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 1102 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operating instructions. Among other capabilities, the processor 1102 may be configured to obtain and execute computer-readable instructions stored in the memory 1104, mass storage device 1112, or other computer-readable media, such as program codes of an operating system 1116, program codes of application programs 1118, program codes of other programs 1120, and the like.
[0097] The memory 1104 and the mass storage device 1112 are examples of computer-readable storage media for storing instructions that are executed by the processor 1102 to implement the various functions described above. For example, the memory 1104 may generally include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the mass storage device 1112 may generally include a hard drive, a solid-state drive, a removable medium, including external and removable drives, a memory card, a flash memory, a floppy disk, an optical disk (e.g., a CD, a DVD), a storage array, a network attached storage, a storage area network, etc. The memory 1104 and the mass storage device 1112 may all be collectively referred to herein as memory or computer-readable storage media, and may be a non-transitory medium capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 1102 as a specific machine configured to implement the operations and functions described in the examples herein.
[0098] A plurality of programs may be stored on the mass storage device 1112. These programs include an operating system 1116, one or more application programs 1118, other programs 1120, and program data 1122, and they may be loaded into the memory 1104 for execution. Examples of such applications or program modules may include, for example, computer program logic (e.g., computer program code or instructions) for implementing the following components / functions: the acquisition unit 1010, the slicing unit 1020, and the determination unit 1030, the methods 200, 300, the method 600, the method 700, and / or the additional embodiments described herein.
[0099] Although in Fig.11 1100, but modules 1116, 1118, 1120, and 1122, or portions thereof, may be implemented using any form of computer-readable media accessible by the computer device 1100. As used herein, "computer-readable media" includes at least two types of computer-readable media, namely, computer-readable storage media and communication media.
[0100] Computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage device, magnetic cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, or any other non-transmission medium that can be used to store information for access by a computer device. In contrast, communication media can embody computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism. Computer-readable storage media defined herein do not include communication media.
[0101] One or more communication interfaces 1106 are used to exchange data with other devices, such as through a network, a direct connection, etc. Such communication interfaces can be one or more of the following: any type of network interface (e.g., a network interface card (NIC)), a wired or wireless (such as IEEE 802.11 wireless LAN (WLAN)) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a cellular network ... TMThe communication interface 1106 may facilitate communication within a variety of network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, etc. The communication interface 1106 may also provide for communication with external storage devices (not shown) such as in a storage array, network attached storage, storage area network, etc.
[0102] In some examples, a display device 1108 such as a monitor may be included for displaying information and images to the user. Other I / O devices 1110 may be devices that receive various inputs from the user and provide various outputs to the user, and may include a touch input device, a gesture input device, a camera, a keyboard, a remote control, a mouse, a printer, an audio input / output device, and the like.
[0103] The technology described herein can be supported by these various configurations of the computer device 1100, and is not limited to the specific examples of the technology described herein. For example, the functionality can also be implemented in whole or in part on the "cloud" by using a distributed system. The cloud includes and / or represents a platform for resources. The platform abstracts the underlying functions of the hardware (e.g., server) and software resources of the cloud. Resources can include applications and / or data that can be used when performing computing processing on a server away from the computer device 1100. Resources can also include services provided over the Internet and / or through a subscriber network such as a cellular or Wi-Fi network. The platform can abstract resources and functions to connect the computer device 1100 to other computer devices. Therefore, the implementation of the functions described herein can be distributed throughout the cloud. For example, the functions can be implemented partially on the computer device 1100 and partially through a platform that abstracts the functions of the cloud.
[0104] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be performed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document is not limited here.
[0105] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present disclosure is not limited by these embodiments or examples, but is only limited by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples may be omitted or replaced by their equivalent elements. In addition, each step may be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. It is important that with the evolution of technology, many of the elements described herein may be replaced by equivalent elements that appear after the present disclosure.
Claims
1. A method for 3D printing, comprising: Obtaining a model file, wherein the model file defines a model to be printed, wherein an outer surface of the model is composed of a plurality of face pieces; Slicing the model to obtain a plurality of slices parallel to a horizontal plane; as well as Determining a printing speed for printing each of the plurality of slices, wherein the printing speed defines a movement speed of a print head of a 3D printer, wherein the determining comprises: For each slice in the plurality of slices: Determine a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of the slice projected on a horizontal plane, and the printing path is a polygonal path, and each edge of the polygonal path is located on a corresponding one of the plurality of face patches; Determine at least one printing feature of the printing path, the at least one printing feature includes the overhang degree of the exterior wall portion corresponding to each edge in the polygonal path, the overhang degree includes at least three overhang degree levels, and the determining of the at least one printing feature of the printing path includes: For each edge in the polygon path: Obtaining a projection position of the edge on the horizontal plane and a projection position of a reference edge on the horizontal plane, wherein the reference edge is an edge corresponding to the edge in a printing path of a layer of slices before the slice; Determine a projection position offset of the projection position of the edge on the horizontal plane relative to the projection position of the reference edge on the horizontal plane, wherein the projection position offset is the distance between the axis of the projection position of the edge on the horizontal plane and the axis of the projection position of the reference edge on the horizontal plane; Determining a dangling offset threshold value based on a line width of a printed line material; and Determining the degree of overhang of the portion of the exterior wall corresponding to the edge according to the projection position offset and the overhang offset threshold; and A printing speed for printing at least a portion of the slice is determined based on the at least one printing characteristic.
2. The method according to claim 1, wherein: The at least one printing feature further comprises a maximum curvature of the printing path, and the determining of the at least one printing feature of the printing path further comprises: determining a plurality of reference points on the printing path; respectively determining a curvature of a printing path at each of the plurality of reference points; A maximum curvature is selected from the curvatures of the printing path at the plurality of reference points to serve as the maximum curvature of the printing path.
3. The method according to claim 2, wherein: The respectively determining the curvature of the printing path at each reference point of the plurality of reference points comprises: For each reference point in the plurality of reference points: The curvature of the printing path at the reference point is determined based on the positional relationship between the reference point and a first reference point and the positional relationship between the reference point and a second reference point, wherein the first reference point and the second reference point are two reference points adjacent to the reference point among the multiple reference points.
4. The method according to claim 3, wherein: Determining the curvature of the printing path at the reference point based on the positional relationship between the reference point and the first reference point and the positional relationship between the reference point and the second reference point comprises: Respectively acquiring a reference coordinate of the reference point in a reference coordinate system, a first coordinate of the first reference point in the reference coordinate system, and a second coordinate of the second reference point in the reference coordinate system; Determine a first length of a line between the reference point and the first reference point based on the reference coordinate and the first coordinate; determining a second length of a line between the reference point and the second reference point based on the reference coordinates and the second coordinates; and The curvature of the printing path at the reference point is determined according to the reference coordinate, the first coordinate, the second coordinate, the first length and the second length.
5. The method according to claim 2, wherein: The plurality of reference points include a plurality of vertices on the polygonal path.
6. The method according to claim 1, wherein: The at least one printing feature further comprises an average curvature of each of a plurality of printing segments constituting the printing path, wherein each of the plurality of printing segments comprises at least one edge of the polygonal path, and the at least one printing feature for determining the printing path further comprises: For each print section in the plurality of print sections: Determine a starting edge and an ending edge of the printing section from at least one edge of the printing section; Calculating the angle difference between the starting edge and the ending edge; and Based on the angle difference and the length of the printing section, an average curvature of the printing section is calculated.
7. The method according to claim 6, wherein: The printing speed includes a plurality of local printing speeds for respectively printing the plurality of printing sections, wherein determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: A corresponding local printing speed among the multiple local printing speeds is determined according to the average curvature of each printing section among the multiple printing sections.
8. The method according to claim 1, wherein: The line width includes a first line width and a second line width, wherein the first line width is the width of the line material when it is extruded from the nozzle of the print head, and the second line width is the width of the line material after forming a material layer corresponding to the slice, and determining the hanging offset threshold according to the line width of the printed line material includes: The floating offset threshold is determined according to the first line width and the second line width.
9. The method according to claim 1, wherein: The at least three levels of overhang include: non-overhang, partial overhang and complete overhang, and the overhang level of the outer wall portion corresponding to the edge is determined according to the projection position offset and the overhang offset threshold value, including: In response to determining that the direction of the projection position offset is toward the center of the slice, determining that the overhang degree of the exterior wall portion corresponding to the edge is non-overhang; In response to determining that the direction of the projection position offset is away from the center of the slice and the position offset is less than the overhang offset threshold, determining that the overhang degree of the exterior wall portion corresponding to the edge is partially overhang; and In response to determining that the direction of the projection position offset is away from the center of the slice and the position offset is greater than the overhang offset threshold, it is determined that the overhang degree of the exterior wall portion corresponding to the edge is completely overhanging.
10. The method according to any one of claims 8 to 9, wherein: The printing speed includes a plurality of local printing speeds for printing each edge in the printing path respectively, wherein determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: A corresponding local printing speed among the multiple local printing speeds is determined according to the degree of overhang of the outer wall portion corresponding to each edge in the printing path.
11. The method according to claim 1, wherein: The at least one printing feature further includes a wind exposure degree of an outer wall portion corresponding to each edge in the polygonal path, wherein the wind exposure degree indicates the intensity of cooling ventilation in the 3D printer at the outer wall portion.
12. The method according to claim 11, wherein: The determining of at least one printing feature of the printing path further comprises: For each edge in the polygon path: Determine the angle between the face piece where the edge is located and the extension direction of the cooling and ventilation duct of the 3D printer; and The wind exposure degree of the exterior wall portion corresponding to the edge is determined according to the angle.
13. The method according to any one of claims 11 to 12, wherein: The printing speed includes a plurality of local printing speeds for printing each edge in the printing path respectively, wherein determining the printing speed for printing at least a portion of the slice according to the at least one printing feature includes: A corresponding local printing speed among the multiple local printing speeds is determined according to the wind exposure degree of the outer wall portion corresponding to each side in the printing path.
14. The method according to claim 1, wherein: Determining a printing speed for printing at least a portion of the slice according to the at least one printing feature comprises: A printing speed corresponding to the at least one printing feature is searched from a pre-established lookup table as the printing speed for printing at least a portion of the slice.
15. An apparatus for 3D printing, comprising: An acquisition unit is configured to acquire a model file, wherein the model file defines a model to be printed, and an outer surface of the model is composed of a plurality of face pieces; A slicing unit configured to perform a slicing operation on the model to obtain a plurality of slices parallel to a horizontal plane; as well as a determining unit configured to determine a printing speed for printing each of the plurality of slices, wherein the printing speed defines a moving speed of a print head of the 3D printer, wherein the determining unit comprises: A first determining module is configured to determine, for each slice of the plurality of slices: a printing path for printing an outer wall of the slice, wherein the outer wall forms an outer contour of the slice projected on a horizontal plane, the printing path is a polygonal path, and each edge of the polygonal path is located on a corresponding one of the plurality of face patches; A second determination module is configured to determine at least one printing feature of the printing path, wherein the at least one printing feature includes a degree of overhang of the outer wall portion corresponding to each edge in the polygonal path, wherein the degree of overhang includes at least three levels of overhang, and the determination of at least one printing feature of the printing path includes: for each edge in the polygonal path: obtaining a projection position of the edge on a horizontal plane and a projection position of a reference edge on a horizontal plane, wherein the reference edge is an edge corresponding to the edge in the printing path of a previous layer of slices of the slice; determining a projection position offset of the projection position of the edge on a horizontal plane relative to the projection position of the reference edge on a horizontal plane, wherein the projection position offset is a distance between an axis of the projection position of the edge on a horizontal plane and an axis of the projection position of the reference edge on a horizontal plane; determining a threshold value of an overhang offset according to a line width of a printed line material; and determining a level of overhang of the outer wall portion corresponding to the edge according to the projection position offset and the overhang offset threshold value; and The third determination module is configured to determine a printing speed for printing at least a portion of the slice according to the at least one printing feature.
16. A computer device comprising: a memory, a processor and a computer program stored on the memory, The processor is configured to execute the computer program to implement the steps of the method according to any one of claims 1 to 14.
17. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
18. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
