Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a 3D printing method, a printer and a storage medium, and one technical problem solved by one aspect of the invention is weakening or blurring step lines, so that a qualified product is obtained.
The invention solves the technical problems by adopting a technical scheme that:
A3D printing method uses slicing software to set a layer thickness cutting model of a granular material so as to obtain two-dimensional graphic data of a granular material slice; using slicing software to set an inkjet layer thickness cutting model to obtain two-dimensional graphic data of an inkjet slice; the set inkjet layer thickness is less than the set particulate material layer thickness, and the set particulate material layer thickness is an integer multiple of the set inkjet layer thickness; judging whether the difference of areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference value or not according to the two-dimensional pattern data of the granular material slices; if so, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness.
When the material-increasing manufacturing prints, if the thickness of the layer of the real granular material is thinner, the printing precision is higher, especially the printing inclined plane or the circular arc and other structures, because the layer thickness leads to the printed product to have step-shaped grains, and the step-shaped grains in the sand core can influence the surface smoothness degree of the later casting, thereby not meeting the product requirement, or needing subsequent surface treatment, and wasting time and energy. The method comprises setting a minimum value of the layer thickness of the granular material, namely, when the technology is not further developed, setting the minimum value of the layer thickness of the granular material to be certain, and no way to lay thinner granular material, so when judging that the slope or arc surface of a model is to be printed, namely, when the difference of the areas of the shapes surrounded by two-dimensional patterns of the granular material slices of the adjacent layers is equal to the set difference value, the ink jet of the adjacent layers is completed according to the two-dimensional pattern data of the corresponding ink jet slices and the ink jet quantity corresponding to the set ink jet cutting layer thickness, because the ink jet quantity can be reduced, cutting the model in a thinner mode, namely, cutting the model in the set ink jet layer thickness, thus, the original set granular material layer thickness is divided into two or more set ink jet layer thicknesses, that is, the improved proposal edge protrudes a part of the prior proposal, namely, a plurality of small steps are added on the steps, and the ink jet quantity at the edge of the layer is reduced by one half or more, so that the layer of the set particle material layer reaches the condition that the ink jet quantity from the edge to the middle is gradually increased, that is, the adhesive force among the particles at the edge is weaker, the layers are advanced to the normal part in the middle, thus, when the later cleaning is carried out, the sand cleaning device with the same strength is used, the particles at the outer edge are easier to clean and remove, the layers are advanced, new steps with low layer height interval are formed, and the effect of the finally edge blurring the steps is more obvious because the steps are divided into thinner slices, so that the step layer originally caused by the particle material layer thickness is obviously blurring now, and is divided into a plurality of small steps, the printed inclined surface or cambered surface has good surface effect, is more smooth, and has no obvious step shape before.
Preferably, the method determines whether the difference between the areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference value according to the two-dimensional pattern data of the granular material slices; if so, paving the granular material on the adjacent layer according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layer according to the two-dimensional graph data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness, wherein the step of finishing the ink jet of the adjacent layer is specifically that whether the difference of the areas of the shapes surrounded by the two-dimensional graphs of the granular material slice of the adjacent layer is equal to the set difference value is judged according to the two-dimensional graph data of the granular material slice; if so, judging whether the included angle between the outline of the model and the horizontal plane of the adjacent granular material slice two-dimensional graph is smaller than or equal to 70 degrees or not according to the positions of the granular material slice two-dimensional graph of the model and the adjacent layer in the model, if so, paving granular materials on the adjacent layer according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layer according to the corresponding two-dimensional graph data of the ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness
The printing method has more remarkable effect of printing the inclined plane or the cambered surface with the inclination angle smaller than or equal to 70 degrees, and the inclined plane or the cambered surface is close to the vertical plane under the condition of larger inclination angle because the smaller the inclination angle is, the shorter the distance between the steps is, so that the steps are not remarkable, and the effect of printing the inclined plane or the cambered surface with the inclination angle smaller than 70 degrees is more remarkable.
Preferably, when the part of the outer contour between the two-dimensional patterns of the adjacent granular material slices, which has an included angle of less than or equal to 70 degrees with the horizontal plane, is continuous and the extension length along the outer contour is greater than the set length, the part of the model, which has an included angle of less than or equal to 70 degrees with the horizontal plane, is judged.
The efficiency and the effect are more remarkable only when the cambered surface or the inclined surface exceeds a certain area, so that the scheme is preferentially selected under the condition.
Preferably, the method includes the steps of judging whether the difference of areas of the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference; if so, paving the granular material on the adjacent layer according to the set granular material layer thickness, then paving the granular material according to the corresponding two-dimensional graph data of the ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness, and finishing the ink jet of the granular material layer thickness according to the two-dimensional graph data of the corresponding ink jet slice, namely obtaining the ink jet cutting layer number N in the set granular material layer thickness and the ink jet quantity of the corresponding spraying of each layer according to the set ink jet cutting layer thickness, finally obtaining a superposition graph of N two-dimensional graphs needing ink jet in one granular material layer thickness and the ink jet quantity of each part in the superposition graph, firstly paving the granular material according to the set granular material layer thickness, and then finishing the ink jet of the granular material layer thickness by one ink jet, thus repeatedly finishing the ink jet of the adjacent layer.
Firstly, laying the granular material according to the set granular material, and then, changing the ink jet quantity to make the quantity of the ink permeated into different places of the layer different, so as to achieve the purpose of blurring the layer grain.
Preferably, the method includes the steps of judging whether the difference of areas of the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference; if so, paving the granular material on the adjacent layer according to the set granular material layer thickness, then finishing the ink jet of the adjacent layer according to the two-dimensional graph data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness, namely obtaining the two-dimensional graph sprayed on each layer according to the two-dimensional graph data of the corresponding ink jet slice, obtaining the number N of the ink jet cutting layers and the ink jet quantity required to be sprayed on each layer according to the set ink jet cutting layer thickness, firstly paving the granular material on the adjacent layer according to the set granular material layer thickness, then sequentially spraying the ink on the two-dimensional graph of each layer for N times according to the height sequence, and spraying the ink jet quantity corresponding to the layer each time, namely finishing the ink jet of the granular material layer thickness by spraying the ink for N times for one time, and repeating the ink jet of the adjacent layer.
For the common printing head and the ink-jet software, the expected effect can be achieved through a mode of multiple ink-jet, the efficiency is slow, but the ink-jet printing head is easy to realize, the amount of the ink permeated into different places of the layer is different, the effect of blurring steps is achieved when sand-cleaning treatment is carried out, and the final effect is good.
Preferably, the ink jet amount per unit area of the set particulate material layer thickness is L, and the number of ink jet cut layers in the set particulate material layer thickness is N, and the ink jet amount per unit area of the set particulate material layer thickness is L/N.
Since the ink jet amount determines the adhesion between the particulate materials, it is preferable to estimate the ink jet amount required for the ink jet cut layer thickness from the ink jet amount for the set layer thickness of the particulate material per unit area which has been determined before, and this is a good result by the test.
Preferably, according to the two-dimensional graph data of the granular material slices, whether the difference of the areas of the shapes surrounded by the two-dimensional graphs of the granular material slices of the adjacent layers is equal to a set difference value is judged; if not, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding granular material slices and the ink jet quantity corresponding to the set granular material layer thickness.
When the difference of the areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers is not equal to the set difference, namely the printing part does not involve the step-shaped lines, and the blurring processing is not needed, the conventional printing mode is used for printing, so that the efficiency is improved, and the printing speed is increased.
A printer comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method described above when the computer program is executed.
A computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method described above.
A printed product obtainable using the above method or a printer or a storage medium.
According to the technical scheme, the method has the advantages that the set particle material layer thickness with a certain thickness is divided into the set ink-jet layer thicknesses with smaller layer thicknesses, so that different ink amounts are sprayed, the ink-jet amount at the edge is reduced, the ink-jet amount is added to the middle layer by layer, the viscosity among the particle materials is different, the strength at the edge is lower than that of the middle part, and then the sand cleaning strength is equal in the later sand cleaning treatment, the gradient sand cleaning effect can be generated, the blurring step-shaped grain effect is achieved, and the surface quality is improved.
Detailed Description
A technical solution of an embodiment of the present invention is further described in detail with reference to the accompanying drawings.
In the conventional printing mode, referring to fig. 1, it can be seen that the model is cut according to the thickness of the layer of the granular material by using slicing software, and then ink is sprayed, so that the obtained product has obvious step-shaped trace.
In the printing mode of this embodiment, referring to fig. 2, the adjacent layers lay the granular material according to the set granular material layer thickness, and then the ink jet of the adjacent layers is completed according to the two-dimensional graphic data of the corresponding ink jet slice and the ink jet amount corresponding to the set ink jet cut layer thickness. In fig. 2, the layer thickness of one set of particulate material is subdivided into four set inkjet cut layer thicknesses. The product obtained in this way has the step-like texture virtual and the surface is more nearly smooth.
Referring to fig. 3, it can be seen that the ink jet amount of each section of a cut set particle material layer is increased from edge to middle after cutting according to the set ink jet layer thickness, so that the amount of the ink drops on the edge is small, the adhesion between the particles is not so strong, the layer by layer progressive, the strength is increased along with the progressive layer, the sand removal difficulty is increased layer by layer after the later sand removal, and the inclined surface or cambered surface can obtain a smoother surface.
Reference is made in particular to the following examples.
Example 1:
A3D printing method uses slicing software to set a layer thickness cutting model of a granular material so as to obtain two-dimensional graphic data of a granular material slice; using slicing software to set an inkjet layer thickness cutting model to obtain two-dimensional graphic data of inkjet slices
Wherein the set inkjet layer thickness is less than the set particulate material layer thickness, and the set particulate material layer thickness is an integer multiple of the set inkjet layer thickness.
And judging whether the difference of the areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference or not according to the two-dimensional pattern data of the granular material slices.
If not, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding granular material slices and the ink jet quantity corresponding to the set granular material layer thickness.
Specifically, two-dimensional patterns sprayed on each layer are obtained according to two-dimensional pattern data of corresponding ink jet slices, the number of ink jet cutting layers N in a set granular material layer thickness and the corresponding spraying ink jet amount of each layer are obtained according to a set ink jet cutting layer thickness, a superposition graph of N two-dimensional patterns needing to be sprayed in one granular material layer thickness and the ink jet amount of each part in the superposition graph are finally obtained, firstly, granular materials are paved according to the set granular material layer thickness, then, the ink jet of the granular material layer thickness is completed through one-time ink jet, and the ink jet of the adjacent layers is repeatedly completed.
If so, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness.
Example 2:
A3D printing method uses slicing software to set a layer thickness cutting model of a granular material so as to obtain two-dimensional graphic data of a granular material slice; using slicing software to set an inkjet layer thickness cutting model to obtain two-dimensional graphic data of inkjet slices
Wherein the set inkjet layer thickness is less than the set particulate material layer thickness, and the set particulate material layer thickness is an integer multiple of the set inkjet layer thickness.
And judging whether the difference of the areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers is equal to a set difference or not according to the two-dimensional pattern data of the granular material slices.
If not, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding granular material slices and the ink jet quantity corresponding to the set granular material layer thickness.
Specifically, a two-dimensional graph sprayed on each layer is obtained according to the two-dimensional graph data of the corresponding ink-jet slice, the number N of ink-jet cutting layers and the ink-jet quantity required to be sprayed on each layer are obtained according to the set ink-jet cutting layer thickness, firstly, the granular materials are paved according to the set granular material layer thickness, then the ink-jet is carried out for N times according to the two-dimensional graph of each layer successively according to the height sequence, and the corresponding ink-jet quantity of each layer is sprayed, namely, the ink-jet of the granular material layer thickness is completed by paving the granular materials for N times at one time, so that the ink-jet of the adjacent layers is repeatedly completed.
If so, paving the granular materials on the adjacent layers according to the set granular material layer thickness, and then finishing the ink jet of the adjacent layers according to the two-dimensional graphic data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness.
Example 3:
on the basis of the above embodiment 1 or embodiment 2, a determination process is added, specifically, according to the two-dimensional graphics data of the particulate material slice, determining whether the difference between the areas of the shapes surrounded by the two-dimensional graphics of the particulate material slice of the adjacent layer is equal to the set difference; if so, judging whether the included angle between the outline of the model and the horizontal plane of the adjacent granular material slice two-dimensional patterns is smaller than or equal to 70 degrees or not according to the positions of the two-dimensional patterns of the granular material slice of the model and the adjacent layer in the model, if so, paving the granular material according to the set granular material layer thickness by the adjacent layer, and then finishing the ink jet of the adjacent layer according to the two-dimensional pattern data of the corresponding ink jet slice and the ink jet quantity corresponding to the set ink jet cutting layer thickness.
Preferably, when the part of the outer contour between the two-dimensional patterns of the adjacent granular material slices, which has an included angle of less than or equal to 70 degrees with the horizontal plane, is continuous and the extension length along the outer contour is greater than the set length, the part of the model, which has an included angle of less than or equal to 70 degrees with the horizontal plane, is judged.
In the foregoing embodiment 1, embodiment 2 or embodiment 3, the set layer thickness of the particulate material generally refers to a layer thickness of a layer of particulate material conventionally laid, and in a specific printing mode with a variable layer thickness, the set layer thickness of the particulate material is variable, and a specific layer thickness is related to a specific layer thickness.
The set ink-jet layer thickness is set according to the requirement, the set ink-jet layer thickness and the set particle material layer thickness are consistent in conventional printing, in the scheme, the set ink-jet layer thickness is smaller than the set particle material layer thickness, and the set particle material layer thickness is integral multiple of the set ink-jet layer thickness.
The setting difference is determined according to a specific printing product scheme, the setting difference can distinguish whether the adjacent layers can generate step lines, the difference of areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers which can generate the step lines is the setting difference, and the difference of the areas of the shapes surrounded by the two-dimensional patterns of the granular material slices of the adjacent layers which cannot generate the step lines is not within the range of the setting difference, so that whether the step lines are needed to be eliminated by printing according to the scheme of the invention is judged.
The conventional printing can determine the ink jet quantity L of the set particle material layer thickness in a unit area through experiments, namely the strength and hardness of a product printed by the ink jet quantity can meet the requirements, if the ink jet quantity is too high, the required strength and hardness cannot be achieved, and if the ink jet quantity is too high, overflow is caused, so that the printing precision is affected. In this scheme, the ink jet amount L of the layer thickness of the particulate material is set per unit area, and the number of ink jet cutting layers in the set layer thickness of the particulate material is N, so that the ink jet amount of each ink jet cutting layer in the set layer thickness of the particulate material per unit area is L/N. This mode is selected to determine the ink ejection amount of each ink jet cut layer.
Example 4:
a printer comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of embodiments 1 or 2 or 3 when the computer program is executed.
Example 5:
a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of any one of embodiments 1 or 2 or 3.
Example 6:
a printed product obtained using the method of the above embodiment or using the printer of the above embodiment or using the computer readable storage medium of the above embodiment.
The specific flow of performing a print job in particular on site is as follows.
The first step: setting the number of times of single-layer ink jetting as N, setting the slice thickness as T, setting the maximum ink jetting amount of the single layer as I, and setting the ink jetting area difference value of adjacent layers as D. The single-layer ink-jet frequency is N, the thickness of a set particle material layer is N times of the thickness of the set ink-jet layer, the slice thickness is T, the thickness of the ink-jet layer is T, the maximum ink-jet quantity of the single layer is I, the ink-jet quantity of the thickness of the particle material layer is I, the ink-jet area difference value of the adjacent layers is D, and the difference value is D.
And a second step of: the standard cli file was output using the slicing software to slice the model at layer thickness T. The cli file is imported into a 3DP printer.
And a third step of: the 3DP printer reads cli file data, analyzes two-dimensional graphic data of each layer, N pictures are in a group according to the height sequence, each group corresponds to a corresponding sequential printing layer, and the group is divided into the 0 th picture and the 1. N-1 th picture in the group according to the height sequence to obtain the maximum layer number ML.
Fourth step: initializing the printing system, setting the current layer as CL, initializing the CL to be equal to 0, and starting printing.
Fifth step: the descending height of the working box is N x T, and the powder paving device is used for paving sand once.
Sixth step: if the current layer CL is not equal to 0, entering a seventh step; if the current layer CL is equal to 0, the thirteenth step is entered.
Seventh step: taking the CL layer N-1 contour line to form a polygon, and carrying out Boolean operation on the two layers of polygons to obtain the difference DV.
Eighth step: comparing the difference DV with the set area difference D, and if the absolute value of DV is equal to or smaller than D, entering a thirteenth step; if the absolute value of DV is greater than D, go to the ninth step.
Ninth step: the number of initial ejection times Ni is 0.
Tenth step: if Ni is less than N, entering an eleventh step; if Ni is greater than or equal to N, the fourteenth step is entered.
Eleventh step: the ink-jet system records the Ni-th picture of the CL, and after loading is completed, the 3DP printer prints the CL layer by using the ink jet quantity as I/N.
Twelfth step: the number of ink ejection times ni=ni+1, and the process proceeds to the tenth step.
Thirteenth step: the ink-jet system loads the CL layer of the N-1 picture, and after loading is completed, the 3DP printer prints the picture by taking the ink jet quantity as I.
Fourteenth step: if the current layer CL is smaller than ML, entering a fifteenth step; if the current layer CL is greater than or equal to ML, the 3DP printer ends the print job.
Fifteenth step: cl=cl+1, go to the fifth step.
According to specific data of a certain product, the steps are as follows:
the first step: setting the number of times of single-layer ink jetting to be 4, setting the slice thickness to be 0.07mm, setting the maximum single-layer ink jetting amount to be 80pL, and setting the difference value of the ink jetting areas of adjacent layers to be 1000mm 2 . Wherein the single-layer ink-jet number of 4 means that the layer thickness of the granular material is 4 times of the set ink-jet layer thickness, the slice thickness of 0.07mm means that the set ink-jet layer thickness is 0.07mm, the maximum ink-jet amount of 80pL means that the ink-jet amount of the granular material layer thickness is 80pL per unit area, and the phase is setAdjacent layer ink jet area difference of 1000mm 2 Specifically, the difference is set to 1000mm 2 。
And a second step of: the standard cli file was output using a slicing software cut model with layer thickness 0.07. The cli file is imported into a 3DP printer.
And a third step of: the 3DP printer reads cli file data, analyzes two-dimensional graphic data of each layer, N pictures are in a group according to the height sequence, each group corresponds to a corresponding sequential printing layer, and the inside of the group is divided into 0 th, 1 st, 2 nd and 3 rd pictures in the group according to the height sequence, so that the maximum layer number 1000 is obtained.
Fourth step: the printing system is initialized, cl=0 is initialized, and printing is started.
Fifth step: the descending height of the working box is 4 x 0.07 mm=0.28 mm, and the powder paving device performs sand paving once.
Sixth step: if the current layer CL is not equal to 0, entering a seventh step; if the current layer CL is 0, the thirteenth step is entered.
Seventh step: taking the CL layer N-1 contour line to form a polygon, and carrying out Boolean operation on the two layers of polygons to obtain the difference DV.
Eighth step: comparing the difference DV with the set area difference of 1000mm 2 If the absolute value of DV is equal to or less than 1000mm 2 Entering a thirteenth step; if the absolute value of DV is greater than 1000mm 2 And (5) entering a ninth step.
Ninth step: the number of initial ejection times Ni is 0.
Tenth step: if Ni is less than 4, entering an eleventh step; if Ni is greater than or equal to 4, the fourteenth step is entered.
Eleventh step: the ink jet system records the Ni-th picture of the CL, and after loading, the 3DP printer prints the CL layer with an ink jet amount of 20 pL.
Twelfth step: the number of ink ejection times ni=ni+1, and the process proceeds to the tenth step.
Thirteenth step: the ink jet system loads the 3 rd picture of the CL layer, and after loading, the 3DP printer prints the picture with the ink jet quantity of 80 pL.
Fourteenth step: if the current layer CL is less than 1000, entering a fifteenth step; and finishing the printing task by the printer if the current layer CL is larger than or equal to 1000,3DP.
Fifteenth step: cl=cl+1, go to the fifth step.
The method comprises the steps of printing products with different inclined planes by using one embodiment of the invention, then using a conventional printing method as a comparison, and referring to the result shown in fig. 4, wherein the upper row of yellow products printed by using one embodiment of the invention is printed by using one embodiment of the invention, and the lower row of gray products printed by using the conventional printing method are gradually increased in inclined plane angle from left to right. The printed product has no obvious step lines and good surface smoothness.
The conventional scheme is that the granular materials are paved according to the set granular material layer thickness, then the ink jet is completed according to the two-dimensional graphic data of the corresponding granular material slices and the ink jet quantity corresponding to the set granular material layer thickness, the printed product has obvious step lines, and the smaller the inclination is, the more obvious the step shape is, and the step lines with visible surfaces are formed.
Therefore, the scheme is obviously superior to the prior art, solves the problem of stepped lines of the prior printed inclined plane or cambered surface product, improves the surface quality of the printed product, and optimizes the product.