CN113306151A - 3D printing layering processing method, device and equipment and storage medium - Google Patents
3D printing layering processing method, device and equipment and storage medium Download PDFInfo
- Publication number
- CN113306151A CN113306151A CN202110645635.7A CN202110645635A CN113306151A CN 113306151 A CN113306151 A CN 113306151A CN 202110645635 A CN202110645635 A CN 202110645635A CN 113306151 A CN113306151 A CN 113306151A
- Authority
- CN
- China
- Prior art keywords
- layer
- printed
- gradient
- printing
- sliced
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010146 3D printing Methods 0.000 title claims abstract description 44
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 238000007639 printing Methods 0.000 claims abstract description 53
- 238000000034 method Methods 0.000 claims abstract description 40
- 238000013507 mapping Methods 0.000 claims description 23
- 238000005520 cutting process Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000035772 mutation Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000000110 selective laser sintering Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000003292 glue Substances 0.000 description 1
- 238000007641 inkjet printing Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 239000012255 powdered metal Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B29—WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
- B29C—SHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
- B29C64/00—Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
- B29C64/30—Auxiliary operations or equipment
- B29C64/386—Data acquisition or data processing for additive manufacturing
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B33—ADDITIVE MANUFACTURING TECHNOLOGY
- B33Y—ADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
- B33Y50/00—Data acquisition or data processing for additive manufacturing
Abstract
The invention discloses a 3D printing layering processing method, device and equipment and a storage medium, and relates to the technical field of 3D printing. The method comprises the following steps: acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction, and recording as the pixel gradient of the to-be-printed sliced layer; determining the thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer; and layering according to the layer thickness. The method determines the layer thickness according to the gradient of the edge pixel point of the sliced layer to be printed, adopts smaller layer thickness for the area with larger gradient to realize better detail expression, and adopts larger layer thickness for the area with small gradient, thereby increasing the working efficiency and simultaneously ensuring the printing quality and the printing efficiency.
Description
Technical Field
The invention relates to the technical field of 3D printing, in particular to a 3D printing layering processing method, a device, equipment and a storage medium.
Background
Currently, 3D Printing technologies mainly include a stereolithography Apparatus (SLA), a Selective Laser Sintering (SLS), a Layered Object Manufacturing (LOM), a Three-Dimensional inkjet Printing (3 DP), and so on. The common feature of the above-mentioned technology is that on the basis of the digital three-dimensional model file of the target object to be printed, the layering technology is used to cut the three-dimensional model into several layers of sheets according to a certain layer thickness, and the three-dimensional object is converted into several layers of two-dimensionally printed sheets to be stacked. For example, in 3DP printing, a three-dimensional object is layered, then, a bondable material such as powdered metal or plastic is used, and the powder is fixed by glue to print each layer of sliced layer, and the sliced layers are stacked layer by layer to manufacture a 3D object. The thickness of the layer is a very critical parameter for 3D printing, which has a great influence on printing efficiency, printing precision, surface quality, etc., and relatively speaking, the thinner the layer thickness, the higher the printing precision, but the thinner the layer thickness, the higher the number of printing times, but the lower the efficiency, and the cost will also increase. In order to pursue high efficiency and low cost, the layer thickness can be increased, but in the prior art, the thickness of each layer of a common slicing layer is fixed, if the slicing layer with the same thickness is printed in a layering mode, mutation among layers of certain slices is obvious, surface detail change of a three-dimensional object cannot be reflected well, and printing quality and effect are affected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a 3D printing layering processing method, apparatus, device, and storage medium, so as to solve the problem that in the existing 3D printing layering technology, the layer thickness of a slice layer is fixed, and printing quality and printing efficiency cannot be both considered.
In a first aspect, an embodiment of the present invention provides a 3D printing layering processing method, where the method includes:
acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction, and recording as the pixel gradient of the to-be-printed sliced layer;
determining the thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer;
and layering according to the layer thickness.
Preferably, before the obtaining the gradient of the edge pixel point of the to-be-printed sliced layer in the stacking direction and marking as the gradient of the to-be-printed sliced layer pixels, the method further includes:
and setting a mapping relation between the pixel gradient and the layer thickness of the sliced layer to be printed.
Preferably, the setting of the mapping relationship between the pixel gradient and the layer thickness of the slice layer to be printed includes: setting a plurality of gradient intervals, wherein one gradient interval maps one layer thickness; the determining the layer thickness of the to-be-printed sliced layer according to the to-be-printed sliced layer pixel gradient comprises:
determining a gradient interval where the pixel gradient of the to-be-printed sliced layer is located, and recording as a to-be-mapped gradient interval;
and obtaining the layer thickness corresponding to the gradient interval to be mapped according to the mapping relation.
Preferably, the determining the layer thickness of the to-be-printed sliced layer according to the to-be-printed sliced layer pixel gradient includes: obtaining the layer thickness of the to-be-printed sliced layer by adopting the following formula:
y=axn,
and y is the layer thickness of the to-be-printed slice layer, x is the pixel gradient of the to-be-printed slice layer, a is a preset coefficient, n is a preset index, and a and n are real numbers.
The embodiment of the invention also provides a 3D printing layering processing method, which comprises the following steps:
acquiring gradients of all edge pixel points in a three-dimensional model of a target object to be printed in the stacking direction to obtain a plurality of gradient values;
determining the layering number of the cutting layers of the target object to be printed and the layer thickness of each cutting layer according to the gradient values;
and layering the target object according to the number of layering layers and the layer thickness of each layer.
In a second aspect, an embodiment of the present invention provides a 3D printing method, where the method includes:
the 3D slicing method comprises the steps of obtaining the thickness of a to-be-printed slicing layer according to the 3D slicing layer method in any one of the first aspect;
determining the amount of consumables required by printing the sliced layer to be printed according to the layer thickness of the sliced layer to be printed;
and printing the to-be-printed sliced layer according to the layer thickness and the consumable amount.
Preferably, the determining the amount of consumables required for printing the to-be-printed sliced layer according to the layer thickness of the to-be-printed sliced layer includes:
acquiring the consumable quantity required by the current printed sliced layer;
and determining the amount of consumables required by printing the to-be-printed cut sheet layer according to the ratio of the layer thickness of the current printed cut sheet layer to the layer thickness of the to-be-printed cut sheet layer.
In a third aspect, an embodiment of the present invention provides a 3D printing layered processing apparatus, where the apparatus includes:
the gradient acquisition module is used for acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction and recording the gradient as the pixel gradient of the to-be-printed sliced layer;
the layer thickness obtaining module is used for determining the layer thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer;
and the slicing layer module is used for layering according to the layer thickness.
In a third aspect, an embodiment of the present invention provides a 3D printing apparatus, including: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the methods of the first and second aspects of the embodiments described above.
In a fourth aspect, an embodiment of the present invention provides a storage medium, on which computer program instructions are stored, which when executed by a processor implement the method of the first and second aspects in the above embodiments.
In conclusion, the beneficial effects of the invention are as follows:
the 3D printing layering processing method, the device, the equipment and the storage medium provided by the embodiment of the invention determine the layer thickness according to the gradient of the edge pixel point of the to-be-printed sliced layer, adopt a smaller layer thickness for a region with a larger gradient to realize better detail expression, and adopt a larger layer thickness for a region with a small gradient, thereby increasing the working efficiency and simultaneously ensuring the printing quality and the printing efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, without any creative effort, other drawings may be obtained according to the drawings, and these drawings are all within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a 3D printing layer processing method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a three-dimensional model and three-dimensional coordinates of a target object according to an embodiment of the invention.
FIG. 3 is a schematic diagram of a layer image of a cut sheet layer to be printed according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a 3D printing layer processing apparatus according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a 3D printing layered processing apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one from another object or action without necessarily requiring or implying any actual such relationship or order between such objects or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example one
The embodiment of the invention provides a 3D printing layering method which is suitable for layering a three-dimensional model of a target object in 3D printing. In the three-dimensional model of the target object, the gradient of the edge pixel points reflects the color change degree of the surface of the object, and the thickness of the layer is determined by utilizing the gradient of the edge pixel points in the stacking direction.
Referring to fig. 1, the method specifically includes the following steps:
s1: acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction, and recording as the pixel gradient of the to-be-printed sliced layer;
as shown in fig. 2, coordinate axes of a coordinate system where a three-dimensional model 1 of a target object to be printed is located are x, y, z, and z-axis directions are stacking directions of sliced layers when 3D printing of the three-dimensional model of the target object is performed.
For a certain pixel point P (x, y, z), the gradient in the x, y, z direction can be expressed as follows:
where f is a pixel value function, and f (x, y, z) refers to a pixel value of a pixel with coordinates (x, y, z) (where the pixel value includes but is not limited to RGB value, LAB value, and other values in different color spaces, that is, the pixel value of the pixel here may be represented by RBG value, LAB value, CMYK value, and the like). The function f can be formed by fitting coordinate values of all pixel points in a three-dimensional model of the target object and corresponding pixel values, because the pixel points are discrete variables, f is a three-dimensional discrete function, and the gradient of the pixel points in the z-axis direction is calculated as follows:
will be provided withIs recorded as the pixel gradient of the slice layer to be printed whenThe larger the image is, the higher the color mutation degree of the area where the pixel point is located along the z-axis direction is, the larger the color information amount is, the more the color details are, and high-precision printing is required; on the contrary, the method can be used for carrying out the following steps,the smaller the color variation, the more uniform the overall color distribution, the single trend of color details and the low requirement on printing precision.
As shown in fig. 2, the edge pixel point 2 is a pixel point located on the outer surface of the three-dimensional model of the target object, and the gradient of the edge pixel point in the z-axis direction also shows the degree of change of the surface of the three-dimensional model of the target object along the z-axis direction (stacking direction).
Before the gradient of the edge pixel point of the to-be-printed sliced layer in the stacking direction is acquired, the edge pixel point of the to-be-printed sliced layer needs to be acquired, and the method specifically comprises the following steps:
acquiring a layer image of a sliced layer to be printed, wherein the layer image consists of a plurality of pixel points;
and acquiring edge pixel points of the to-be-printed sliced layer according to the layer image of the to-be-printed sliced layer.
The three-mode model of the target object is sliced, and a layer image of a sliced layer can be obtained, wherein the layer image is a two-dimensional image and consists of a plurality of pixel points, and the information of each pixel point comprises the coordinate value (position information) and the pixel value (color information) of the pixel point. For example, in the three-dimensional model of the target object shown in fig. 2, the layer image of a certain slice layer to be printed is shown in fig. 3, the edge pixel of the slice layer to be printed is shown as a black dot in fig. 3, and the edge pixel Q (0, 0) has a coordinate value of (0, 0), and the pixel value can be obtained according to the f pixel value function, i.e., f (0,0, z), where z is a coordinate value of the slice layer to be printed on the z axis.
In one embodiment, acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction includes:
obtaining coordinate values in edge pixel points of the to-be-printed sliced layer;
acquiring the pixel value of the edge pixel point;
and determining the gradient of the edge pixel points in the stacking direction according to the coordinate values and the pixel values.
Specifically, the pixel value f (x, y, z) of the edge pixel point is determined according to the coordinate value (x, y, z) of the edge pixel point and according to the pixel value function f, and then according to the formula:
In another embodiment, acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction includes:
obtaining coordinate values and pixel values of all edge pixel points of the to-be-printed sliced layer;
determining gradients of all edge pixel points in the stacking direction;
obtaining the maximum value of the gradients of all edge pixel points;
and recording the maximum value as the pixel gradient of the slice layer to be printed.
Since each slice layer may include a plurality of edge pixels, the slice layer shown in fig. 3 includes a plurality of edge pixels such as 2, 3, and 4 … …. The gradient of all pixel points in the to-be-printed slice layer can be obtained, and the maximum gradient value is selected as the pixel gradient of the to-be-printed slice layer.
S2: determining the thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer;
since the larger the gradient, the more color detail, and the higher the printing accuracy is required, the layer thickness is to be made as small as possible; conversely, the smaller the gradient, the lower the color change degree, the single color detail trend, the lower the printing precision requirement, and the larger the layer thickness. According to the method, a gradient and layer thickness mapping relation can be set, the mapping can be one-to-one mapping (one gradient value maps one thickness value) or many-to-one mapping (several similar gradient values map one thickness value), and then according to the mapping relation, the layer thickness of the to-be-printed sliced layer is determined after the gradient of the edge pixel point of the to-be-printed sliced layer (pixel gradient of the to-be-printed sliced layer) is obtained.
In one embodiment, an optimal many-to-one mapping relationship between the gradient and the layer thickness can be obtained through repeated experiments, that is, a plurality of gradient intervals are set, one gradient interval maps one thickness, and then the corresponding layer thickness is obtained according to the gradient interval where the pixel gradient of the slice layer to be printed is located.
Illustratively, the combination of setting the gradient thresholds is { G }1,G2,G3The gradient of the pixels of the sliced layer to be printed is
Wherein G is1<G2<G3,T4<T3<T2<T1。
And determining the layer thickness according to the interval where the pixel gradient of the to-be-printed sliced layer is located according to the mapping relation.
In another embodiment, a mapping table (both the gradient and the layer thickness are discrete) is established by obtaining an optimal one-to-one mapping relationship between the gradient and the layer thickness through repeated experiments, after obtaining the pixel gradient of the to-be-printed slice layer, a gradient value with the smallest difference with the pixel gradient of the to-be-printed slice layer in the mapping table is searched, and the layer thickness is determined according to the mapping relationship.
In another embodiment, the following mapping function is used to obtain the layer thicknesses:
y=axn,
wherein y is the layer thickness, x is the gradient of the edge pixel point in the stacking direction (the gradient of the pixel of the slice layer to be printed), a is a preset coefficient, n is a preset index, and a and n are real numbers. Because the larger the gradient, the smaller the layer thickness; the smaller the gradient, the larger the layer thickness, the inverse correlation between the gradient and the thickness can be determined, so that the value of n is negative. The values of a and n can be obtained through repeated experiments according to actual printing application, and are not limited herein. In addition, adjustments are made based on this mapping function, such as: y is axn+ c (where c is a real number), etc., all without departing from the scope of the invention.
S3: the layering was done according to layer thickness.
And after the layer thickness of the sliced layer to be printed is obtained, layering is carried out according to the layer thickness.
In the embodiment, the gradient of edge pixel points of a to-be-printed cut sheet layer in the stacking direction is obtained; and determining the thickness of the layer according to the gradient to perform layering, namely calculating the thickness of the current to-be-printed sliced layer before printing the to-be-printed sliced layer each time, so as to adjust the thickness of each layer in real time.
In another embodiment, gradients of all edge pixel values of the target object can be obtained, the layer thickness of each slice layer is determined according to the gradients of the edge pixel points, and the target object is layered according to the layer thickness of each slice layer. The method comprises the following specific steps:
acquiring gradients of all edge pixel points of a target object to be printed in the stacking direction to obtain a plurality of gradient values;
determining the layering number of the cutting layers of the target object to be printed and the layer thickness of each cutting layer according to the gradient values;
and layering the target object according to the number of layering layers and the layer thickness of each layer.
Specifically, coordinate values and pixel values of all edge pixel points in a target object are obtained, a pixel value function f is fitted, gradients of all edge pixel points in the z-axis direction (stacking direction) are determined according to the function f, different layering thicknesses are divided according to the gradient of each edge pixel point, and then layering is performed according to the thicknesses.
Preferably, when the region that the great edge pixel point of corresponding gradient was located carries out the layering, the section layer thickness just is littleer, and layering quantity is more, when the region that the less edge pixel point of corresponding gradient was located carries out the layering, and the slice layer thickness is big more, and layering quantity is less to can realize that the place slice layer thickness that changes abundantly in color is littleer, and the layering is more, print more meticulously, can embody the surface detail of target object better, guarantee to print the quality, realize again that it is big to change single place slice layer thickness in color, improve printing efficiency.
For example, in a certain area on the surface of the target object, the color of the area changes from red to blue and then changes to yellow, when layering is carried out in the area, the thickness of the slicing layer is smaller, and the layering quantity is larger, so that the details of the color change can be better reflected; and the corresponding other area is single red in color, so that the area is layered, the thickness of the slicing layer can be written in a capitalized mode, and the number of layered areas is small, so that the printing efficiency is ensured.
In summary, the 3D printing layering processing method provided in the embodiment of the present invention determines the layer thickness according to the gradient of the edge pixel point of the sliced layer to be printed, and for the area with a larger gradient, a smaller layer thickness is used to achieve better detailed representation, and for the area with a smaller gradient, a larger layer thickness is used to increase the working efficiency, and at the same time, ensure the printing quality and the printing efficiency.
Example two
The embodiment of the invention also provides a 3D printing method, which comprises the following specific printing steps:
s10: the method comprises the steps of obtaining the thickness of a to-be-printed slicing layer through the 3D slicing processing method in the first embodiment;
s11: determining the amount of consumables required by printing the sliced layer to be printed according to the layer thickness of the sliced layer to be printed;
s12: and printing the to-be-printed sliced layer according to the thickness of the to-be-printed sliced layer and the consumable amount required by printing the to-be-printed sliced layer.
The amount of consumables required for the sliced layers with different layer thicknesses is different, so that the required amount of consumables needs to be calculated according to the layer thicknesses, and step S11 preferably further includes:
s111: acquiring the consumable quantity required by the current printed sliced layer;
s112: and determining the consumable quantity required by printing the to-be-printed sliced layer according to the ratio relation between the layer thickness of the current printed sliced layer and the layer thickness of the to-be-printed sliced layer.
Illustratively, assuming that the layer thickness of the currently printed cut sheet layer is T0, the amount of consumable material required to print the cut sheet layer is A0(ii) a The thickness of the to-be-printed sliced layer is T, the thickness of the to-be-printed sliced layer is A, and then the current printed sliced layer is printedDetermining the ratio relation between the layer thickness of the cutting layer and the layer thickness of the cutting layer to be printed, wherein the consumable quantity A required by printing the cutting layer to be printed is as follows:
in another embodiment, determining the consumable amount required for the sliced layer with a unit thickness (or standard thickness) and then determining the consumable amount required for printing the sliced layer to be printed according to the ratio of the standard layer thickness to the layer thickness of the sliced layer to be printed can also be realized.
In summary, according to the 3D printing method provided by the embodiment of the present invention, the 3D slice layer method provided by the embodiment of the present invention is used to perform slice layers with different thicknesses on the three-dimensional model of the target object, and print layer by layer according to the different thicknesses, and simultaneously adjust the amount of consumables in real time according to the thicknesses of the layers, so as to print a thinner slice layer in an area with a larger gradient, thereby achieving better detail expression, and print a thicker slice layer in an area with a small gradient, thereby increasing the working efficiency, and simultaneously ensuring the printing quality and the printing efficiency.
EXAMPLE III
Referring to fig. 4, an embodiment of the present invention provides a 3D printing layered processing apparatus 200, where the apparatus 200 includes:
the gradient obtaining module 201 is configured to obtain a gradient of edge pixel points of the to-be-printed slice layer in the stacking direction, and record the gradient as a pixel gradient of the to-be-printed slice layer;
the layer thickness obtaining module 202 is configured to determine the layer thickness of the to-be-printed sliced layer according to the to-be-printed sliced layer pixel gradient;
and the slicing layer module 203 is used for carrying out layering according to the layer thickness.
Further, the gradient obtaining module 201 further includes:
the coordinate acquisition unit is used for acquiring coordinate values of the edge pixel points;
the pixel value acquisition unit is used for acquiring the pixel value of the edge pixel point;
and the gradient acquisition unit is used for determining the gradient of the edge pixel point in the stacking direction according to the coordinate value and the pixel value.
Further, the apparatus 200 further comprises:
and the mapping relation setting module is used for setting the mapping relation between the pixel gradient and the layer thickness of the to-be-printed sliced layer.
Further, the layer thickness obtaining module 202 further includes:
the continuous mapping setting unit is used for acquiring the layer thickness of the to-be-printed sliced layer by adopting the following mapping method:
y=axn,
wherein y is the layer thickness, x is the pixel gradient of the to-be-printed sliced layer, a is a preset coefficient, n is a preset index, and a and n are real numbers.
In summary, the 3D printing layering processing apparatus provided in the embodiment of the present invention determines the layer thickness according to the gradient of the edge pixel point of the sliced layer to be printed, and for the area with a larger gradient, a smaller layer thickness is used to achieve better detailed representation, and for the area with a smaller gradient, a larger layer thickness is used to increase the working efficiency, and at the same time, ensure the printing quality and the printing efficiency.
Example four
An embodiment of the present invention provides a 3D printing apparatus, the apparatus including:
the 3D printing layering processing apparatus 200 according to the third embodiment, configured to obtain a layer thickness of a sliced layer to be printed;
the consumable quantity determining module is used for determining the consumable quantity required by printing the to-be-printed sliced layer according to the layer thickness of the to-be-printed sliced layer;
and the printing module is used for printing the to-be-printed sliced layer according to the layer thickness and the consumable amount.
According to the 3D printing device provided by the embodiment of the invention, the 3D slice layer device provided by the third embodiment of the invention is used for carrying out slice layer printing on the three-dimensional model of the target object according to different layer thicknesses, meanwhile, the consumable quantity is adjusted in real time according to the layer thicknesses, a thinner slice layer is printed for an area with larger gradient, better detail expression is realized, a thicker slice layer is printed for an area with small gradient, the working efficiency is increased, and the printing quality and the printing efficiency are ensured.
EXAMPLE five
In addition, the 3D printing layer processing method according to the embodiment of the present invention described in conjunction with fig. 5 may be implemented by a 3D printing apparatus. Fig. 5 is a schematic diagram illustrating a hardware structure of a 3D printing apparatus according to an embodiment of the present invention.
The 3D printing device may comprise a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
The processor 301 realizes any one of the 3D printing layer processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 302.
In one example, the 3D printing device may also include a communication interface 303 and a bus 310. As shown in fig. 5, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 to complete communication therebetween.
The communication interface 303 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
In addition, in combination with the 3D printing layer processing method in the foregoing embodiment, an embodiment of the present invention may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by the processor 301, implement any of the 3D printing layer processing methods in the above embodiments.
In summary, the 3D printing layering processing method, apparatus, device and storage medium provided in the embodiments of the present invention determine the layer thickness according to the gradient of the edge pixel point of the sliced layer to be printed, and for the area with a larger gradient, use a smaller layer thickness to achieve better detailed representation, and for the area with a smaller gradient, use a larger layer thickness, thereby increasing the working efficiency and ensuring the printing quality and printing efficiency.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.
Claims (10)
1. A3D printing layered processing method is characterized by comprising the following steps:
acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction, and recording as the pixel gradient of the to-be-printed sliced layer;
determining the thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer;
and layering according to the layer thickness.
2. The 3D printing layering processing method according to claim 1, wherein before the obtaining a gradient of an edge pixel point of the to-be-printed sliced layer in the stacking direction and marking as a gradient of a pixel of the to-be-printed sliced layer, the method further comprises:
and setting a mapping relation between the pixel gradient and the layer thickness of the sliced layer to be printed.
3. The 3D printing layering processing method according to claim 2, wherein the setting of the mapping relationship between the pixel gradient and the layer thickness of the sliced layer to be printed comprises: setting a plurality of gradient intervals, wherein one gradient interval maps one layer thickness; the determining the layer thickness of the to-be-printed sliced layer according to the to-be-printed sliced layer pixel gradient comprises:
determining a gradient interval where the pixel gradient of the to-be-printed sliced layer is located, and recording as a to-be-mapped gradient interval;
and obtaining the layer thickness corresponding to the gradient interval to be mapped according to the mapping relation.
4. The 3D printing layering processing method according to claim 1, wherein the determining the layer thickness of the to-be-printed sliced layer according to the to-be-printed sliced layer pixel gradient comprises: obtaining the layer thickness of the to-be-printed sliced layer by adopting the following formula:
y=axn,
and y is the layer thickness of the to-be-printed slice layer, x is the pixel gradient of the to-be-printed slice layer, a is a preset coefficient, n is a preset index, and a and n are real numbers.
5. A3D printing layered processing method is characterized by comprising the following steps:
acquiring gradients of all edge pixel points in a three-dimensional model of a target object to be printed in the stacking direction to obtain a plurality of gradient values;
determining the layering number of the cutting layers of the target object to be printed and the layer thickness of each cutting layer according to the gradient values;
and layering the target object according to the number of layering layers and the layer thickness of each layer.
6. A method of 3D printing, the method comprising:
acquiring a layer thickness of a sliced layer to be printed according to the 3D slicing processing method of any one of claims 1 to 5;
determining the amount of consumables required by printing the sliced layer to be printed according to the layer thickness of the sliced layer to be printed;
and printing the to-be-printed sliced layer according to the layer thickness and the consumable amount.
7. The 3D printing method according to claim 6, wherein the determining an amount of consumables required to print the sliced layer to be printed according to the layer thickness of the sliced layer to be printed comprises:
acquiring the consumable quantity required by the current printed sliced layer;
and determining the amount of consumables required by printing the to-be-printed cut sheet layer according to the ratio of the layer thickness of the current printed cut sheet layer to the layer thickness of the to-be-printed cut sheet layer.
8. A3D printing layered processing apparatus, characterized in that the apparatus comprises:
the gradient acquisition module is used for acquiring the gradient of edge pixel points of the to-be-printed sliced layer in the stacking direction and recording the gradient as the pixel gradient of the to-be-printed sliced layer;
the layer thickness obtaining module is used for determining the layer thickness of the to-be-printed sliced layer according to the pixel gradient of the to-be-printed sliced layer;
and the slicing layer module is used for layering according to the layer thickness.
9. A3D printing apparatus, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-7.
10. A storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110645635.7A CN113306151A (en) | 2021-06-09 | 2021-06-09 | 3D printing layering processing method, device and equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110645635.7A CN113306151A (en) | 2021-06-09 | 2021-06-09 | 3D printing layering processing method, device and equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113306151A true CN113306151A (en) | 2021-08-27 |
Family
ID=77378427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110645635.7A Pending CN113306151A (en) | 2021-06-09 | 2021-06-09 | 3D printing layering processing method, device and equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113306151A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114474732A (en) * | 2022-01-28 | 2022-05-13 | 上海联泰科技股份有限公司 | Data processing method, system, 3D printing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105328901A (en) * | 2014-07-30 | 2016-02-17 | 北京数码视讯科技股份有限公司 | 3D printing method and device and 3D printer |
CN108995219A (en) * | 2018-05-31 | 2018-12-14 | 共享智能铸造产业创新中心有限公司 | A kind of dicing method, 3D printing method and product of 3D printing that thickness is variable |
CN112634172A (en) * | 2020-12-30 | 2021-04-09 | 深圳市创想三维科技有限公司 | 3D printing method and device for generating three-dimensional model by using two-dimensional image |
-
2021
- 2021-06-09 CN CN202110645635.7A patent/CN113306151A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105328901A (en) * | 2014-07-30 | 2016-02-17 | 北京数码视讯科技股份有限公司 | 3D printing method and device and 3D printer |
CN108995219A (en) * | 2018-05-31 | 2018-12-14 | 共享智能铸造产业创新中心有限公司 | A kind of dicing method, 3D printing method and product of 3D printing that thickness is variable |
CN112634172A (en) * | 2020-12-30 | 2021-04-09 | 深圳市创想三维科技有限公司 | 3D printing method and device for generating three-dimensional model by using two-dimensional image |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114474732A (en) * | 2022-01-28 | 2022-05-13 | 上海联泰科技股份有限公司 | Data processing method, system, 3D printing method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110370646B (en) | 3D printing method and device, electronic equipment and storage medium | |
US8155774B2 (en) | 3D object fabrication methods and systems | |
CN205219744U (en) | Laser 3D printer and galvanometer scanning calbiration system thereof | |
CN110068270A (en) | A kind of monocular vision box volume measurement method based on multi-line structured light image recognition | |
EP1442869A1 (en) | RAPID PROTOTYPING METHOD AND DEVICE USING V−CAD DATA | |
CN110287964B (en) | Stereo matching method and device | |
CN113306151A (en) | 3D printing layering processing method, device and equipment and storage medium | |
CN111267488B (en) | Method, device, equipment and medium for controlling ink-jet printer to prepare curtain refractive layer | |
US10682817B2 (en) | Method and system for printing 3d object | |
CN112596981B (en) | Monitoring method, device, equipment and storage medium for three-dimensional printing process | |
CN111047536A (en) | CCD image correction method, device, equipment and storage medium | |
CN112146848A (en) | Method and device for determining distortion parameter of camera | |
CN116068507A (en) | Alignment verification in-vehicle sensors | |
CN111583342A (en) | Target rapid positioning method and device based on binocular vision | |
CN111340042B (en) | Object contour recognition method, device, equipment and storage medium | |
EP3099050B1 (en) | Printing layer trimming method and electronic device using the same | |
US20230007960A1 (en) | Method and system for object identification | |
AU2017232242B2 (en) | Information processing apparatus, three-dimensional modeling system, and program | |
CN113147037B (en) | 3D printing image processing method, device and equipment and storage medium | |
CN114729811A (en) | Position estimation device, vehicle, position estimation method, and position estimation program | |
CN113199749A (en) | 3D printing precision control method, device, equipment and storage medium | |
CN103185568B (en) | Ranging apparatus, ranging method, and interactive display system | |
CN115116020A (en) | Obstacle detection method, device, equipment and computer storage medium | |
CN115599318A (en) | Ink-jet printer color-tracing method, device and equipment | |
CN102799865A (en) | Image boundary polar-coordinated discrete sequence based angle identification method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong Applicant after: Shenzhen Hansen Software Co.,Ltd. Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000 Applicant before: SHENZHEN HOSONSOFT Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210827 |
|
RJ01 | Rejection of invention patent application after publication |