Slicing method for 3D colored object, updating method for slicing data, and printing system for using the same
10661553 ยท 2020-05-26
Assignee
Inventors
Cpc classification
B33Y10/00
PERFORMING OPERATIONS; TRANSPORTING
B29C41/36
PERFORMING OPERATIONS; TRANSPORTING
B29C64/112
PERFORMING OPERATIONS; TRANSPORTING
G06T2219/2012
PHYSICS
B29C64/386
PERFORMING OPERATIONS; TRANSPORTING
G06T19/20
PHYSICS
B33Y50/00
PERFORMING OPERATIONS; TRANSPORTING
B33Y50/02
PERFORMING OPERATIONS; TRANSPORTING
International classification
B33Y10/00
PERFORMING OPERATIONS; TRANSPORTING
B29C64/386
PERFORMING OPERATIONS; TRANSPORTING
B33Y50/02
PERFORMING OPERATIONS; TRANSPORTING
B29C41/36
PERFORMING OPERATIONS; TRANSPORTING
B29C64/112
PERFORMING OPERATIONS; TRANSPORTING
G06T19/20
PHYSICS
Abstract
A processor imports a 3D object, performs a 3D route slicing on the 3D object for generating printing routes respectively corresponding to printing layers of the 3D object, and performs a 2D image slicing on the 3D object for generating image files corresponding to each printing layer. The processor stores one printing route of one printing layer into a route file; stores a jetting command of the image files of the same printing layer into the route file; and stores a jetting route of the same printing layer into the route file. The processor, according to a slicing order of the multiple printing layers, stores the printing route, the jetting command, and the jetting route of each printing layer respectively into the route file, so as to complete record the route file and then outputs the route file and the multiple image files.
Claims
1. A slicing method for three-dimensional (3D) colored object, the slicing method comprising: a) importing a 3D file (9) through a processor, the 3D file (9) storing a 3D object; b) the processor performing a 3D route slicing for the 3D object to generate a plurality of printing routes (51) corresponding to a plurality of printing layers; c) the processor performing a 2D image slicing for the 3D object to generate a plurality of image files (6) corresponding to the plurality of printing layers, where each of the printing layers is corresponding to one or more image files (6); d) the processor storing the printing route (51) of one of the printing layers in a route file (5); and e) after the step d), the processor storing a jetting command (52) for one or more image files (6) of the one of the printing layers in the route file (5), and storing a jetting route (53) of the one of the printing layers in the route file (5).
2. The slicing method in claim 1, wherein in the step c), the processor generates the jetting route (53) of each of the printing layers based on a dimension of the one or more image files (6) corresponding to the printing layer.
3. The slicing method in claim 2, wherein in the step c), the processor determines a jetting range for each of the printing layers based on a content of one or more image files (6) corresponding to the printing layer, and the processor sets the jetting route (53) of each of the printing layers based on each of the jetting ranges.
4. The slicing method in claim 1, wherein in each of the jetting routes (53) comprises a jetting origin (531) and a jetting destination (532) for one or more image files (6) corresponding to each of the printing layers.
5. The slicing method in claim 4, wherein the each of the jetting routes (53) further comprises a jetting movement speed for each of the printing layers.
6. The slicing method in claim 1, wherein the plurality of image files (6) respectively stores a layer-number mark, in the step e), the processor further stores a jetting height of the printing layer in the route file (5), wherein the jetting height is corresponding to the layer-number mark of one or more image files in this printing layer.
7. The slicing method in claim 1, wherein each of the printing layers is corresponding to at most four image files (6), where the four image files (6) includes a cyan image file (61), a magenta image file (62), a yellow image file (63), and a black image file (64).
8. The slicing method in claim 1, wherein the route file (5) is a G-code file.
9. An update method for slicing data of a 3D colored object, the update method applied to the route file (5) generated by the slicing method of claim 1 and comprising: a) the processor receiving a modification command to modify a color data of the 3D object and to generate a modified 3D object; b) the processor performing the 2D image slicing for the modified 3D object to generate a plurality of modified image files (6) for the plurality of printing layers, wherein each of the printing layers is corresponding to one or more modified image files (6); c) the processor obtaining the route file (5) for the 3D object; d) the processor updating the jetting command (52) and the jetting route (53) in the route file (5) based on one or more modified image files (6) for one of the printing layers; e) after the step d), the processor determining whether data of all printing layers in the route file (5) are updated; f) before the data of all printing layers in the route file (5) are updated, the processor performing the step d) for next printing layer based on a slicing order; g) after the data of all printing layers in the route file (5) are updated, the processor outputting the updated route file (5) and the plurality of modified image files (6).
10. The update method in claim 9, wherein in the step d), the processor updates the route file (5) by deleting the jetting command (52) of the printing layer in the route file (5) and storing the jetting command (52) of one or more modified image files (6) for the printing layer in corresponding data entry of the route file (5).
11. A printing system (8) using the slicing method of claim 1, the printing system (8) comprising: a processing device (81) configured to import a 3D file (9) storing a 3D object, the processing device (81) configured to perform 3D route slicing for the 3D object to generate a plurality of printing routes (51) respectively corresponding to the plurality of printing layers, and to perform a 2D image slicing for the 3D object to generate a plurality of image files (6) corresponding to the plurality of printing layers, the processing device (81) configured to store the printing route (51) of one of the printing layers in a route file (5), and store a jetting command (52) of one or more image files (6) for the one of the printing layers in the route file (5), and store a jetting route (53) of the one of the printing layers in the route file (5); and a printing device (82) having communication with the processing device (81), the printing device (82) having a 3D print head (821) and a 2D print head (822), wherein in a printing operation, the printing device (82) is configured to read the printing route (51) for the printing layer from the route file (5) and to control the 3D print head (821) to move and print based on the printing route (51) such that a slicing object (7) corresponding to the printing layer is generated; wherein in a coloring operation, the printing device (82) is configured to read the jetting command (52) and the jetting route (53) for the printing layer from the route file (5) and to verify and read one or more image files (6) for the one of the printing layers based on a content of the jetting command (52), the printing device (82) is configured to control the 2D print head (822) to jet ink and to move to a ink-jetting destination (532) marked in the jetting route (53) based on one or more image files (6) for the one of the printing layers.
12. The printing system in claim 11, wherein the processing device (81) is configured to store the printing route (51) for each printing layer of the 3D object, the jetting command (52) for one or more image files (6) and the jetting route (53) in the route file (5) based on a slicing order, wherein the printing device (82) is configured to read the route file (5) based on the slicing order to perform the printing operation and the coloring operation for each printing layer.
13. The printing system in claim 11, wherein the processing device (81) is configured to generate the jetting route (53) of each of the printing layers based on a dimension of one or more image files (6) corresponding to the printing layer, or the processing device (81) is configured to determine a jetting range for each of the printing layers based on a content of one or more image files (6) corresponding to the printing layer, and set the jetting route (53) of each of the printing layers based on each of the jetting ranges.
14. The printing system in claim 11, wherein the processing device (81) is configured to store a jetting movement speed for each of the printing layers in the route file (5), the printing device (82) is configured to control a movement speed of the 2D print head (822) during the coloring operation based on the jetting movement speed.
15. The printing system in claim 11, wherein the plurality of image files (6) respectively stores a layer-number mark, the processing device (81) is configured to store a jetting height of the printing layer in the route file (5), wherein the jetting height is corresponding to the layer-number mark of one or more image files (6) in this printing layer.
Description
BRIEF DESCRIPTION OF DRAWING
(1) One or more embodiments of the present disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements. These drawings are not necessarily drawn to scale.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE INVENTION
(12) The present disclosure discloses a slicing method for 3D colored object (hereinafter, slicing method), which performs slicing for the edited 3D colored object and generates corresponding slicing data (for example, the below printing route, image file, jetting route and so on). The slicing data generated by above-mentioned slicing method can be applied to the 3D printer shown in
(13)
(14) The above-mentioned 3D printer 1 is exemplified with 3D Fused Deposition Modeling (FDM) printer. The slicing data (such as below route file) generated by the above-mentioned slicing method is used to control the movement route of the 3D print head of the 3D printer. Therefore, any printer, which relies on the control of 3D print head movement to achieve printing process, can be applied to the method of the present disclosure; and the present disclosure is not limited to the application for 3D FDM printer,
(15)
(16) In the slicing method of the present disclosure, the processor first imports 3D file (step S10) to open the 3D object stored in the 3D file. The 3D file is, for example, imported to the processor by user through transmission schemes such as Wi-Fi, Bluetooth, or USB interface, or through Internet. However, the above specific description is not limitation for the present disclosure.
(17) After step S10, the processor performs slicing for the 3D object to generate slicing data for a plurality of printing layers of the 3D object. The definition of the printing layer is well known in this art and the detail of slicing layer is not stated here for brevity.
(18) More particularly, after opening the 3D object, the processor performs 3D route slicing for the 3D object to generate a plurality of printing routes corresponding to a plurality of printing layers (step S12). In this embodiment, each of the printing layers (for example, there are 1000 layers) is respectively corresponding to one printing route. During printing, the 3D printer 1 controls the 3D print head 3 based on the plurality of printing routes to respectively print the slicing object corresponding to each printing layer. The processor further performs 2D image slicing for 3D object to generate a plurality of image files respectively corresponding to each printing layer (step S14).
(19) More particularly, the user may set a slicing thickness for the processor in advance. In the above-mentioned step S12 and S14, the processor may perform 3D route slicing and 2D image slicing based on the slicing thickness, thus generate a predetermined amount of printing layers, where each of the printing layers has the same thickness (or referred to as layer height).
(20) Based on the color of the 3D object, the processor may respectively generate one or more image files for each printing layer. In one embodiment, each printing layer is corresponding to at least one image file and may be corresponding to at most four image files. For example, the first printing layer may be corresponding to only one image file (such as black image file), while the second printing layer may be corresponding to four image files (such as cyan, magenta, yellow, and black image files).
(21) It should be mentioned that when one printing layer is corresponding to multiple image files (such as four image files), the image files may have the same dimension. On the other hand, different printing layer may be corresponding to image files with the same file size or different dimensions.
(22) In this embodiment, the processor may selectively perform 3D route slicing or 2D image slicing in advance, or perform 3D route slicing and 2D image slicing at the same time in multiplexing way. However, the above specific description is not limitation for the present disclosure. In other word, the present disclosure does not limit the execution order of the steps S12 and S14.
(23) After the steps S12 and S14, the processor already gets the printing route for each printing layer and one or more image files corresponding to each printing layer. The processor then generates a route file (such as the route file 5 shown in
(24) Afterward, the processor obtains the printing route of the first printing layer in the plurality of printing layers and stores the printing route of the first printing layer in the route file (step S16). In this embodiment, the first printing layer has the lowest position among the plurality of printing layers. However, the above specific description is not limitation for the present disclosure.
(25) After step S16, the processor further stores the jetting command of one or more image files for the first printing layer in the route file (step S18). For example, if the first printing layer has only black image file, the processor only stores jetting command of black image file in the route file in step S18, namely, the 3D printer 1 knows that the first printing layer only needs to be jetted with black ink after the 3D printer 1 reads the route file. For a further example, if the first printing layer has both cyan and black image files, the processor stores jetting command of both cyan and black image files in the route file in step S18.
(26) Moreover, the processor stores the jetting route of the first printing layer in the route file (step S20).
(27) More particularly, the processor generates the jetting route for each printing layer based on the dimension of one or more image files for each printing layer during the 2D image slicing in step S14. In step S20, the processor stores the jetting route of the first printing layer in the route file and corresponding to the data entry of the first printing layer.
(28) In another embodiment, the processor may ensure jetting range for each printing layer based on one or more image files for each printing layer during the 2D image slicing in step S14, and then respectively sets the jetting route for each printing layer based on the jetting ranges. In step S20, the processor stores the jetting route of the first printing layer in the route file and corresponding to the data entry of the first printing layer.
(29) When all of the slicing data (namely, the above printing route, jetting command, and jetting route) for the first printing layer are stored, the processor stores the printing route for next printing layer (for example, the second printing layer) in the route file (step S22), stores the jetting command of one or more image files for the next printing layer in the route file (step S24) and stores the jetting route for the next printing layer in the route file (step S26).
(30) After step S26, the processor determines whether all of the slicing data for the plurality of printing layer, which are generated in steps S12 and S14, are already stored (step S28). The process re-executes steps S22 to S26 for the next printing layer (such as the third printing layer) before the slicing data for all of printing layer are stored. Therefore, the slicing data for the next printing layer is stored in the same route file.
(31) It should be noted that, in one embodiment of the present disclosure, the processor executes the steps S22 to S26 following a slicing order, namely, from the second printing layer to the third printing layer, and then to the fourth printing layer, and so on, until the slicing data for all printing layers are stored in the same route file.
(32) After all of the slicing data for the plurality of printing layer are stored, the processor finishes this slicing process and outputs the route file and a plurality of image files for the 3D object in step S30.
(33) With reference also to
(34) In the embodiment of
(35) The plurality of image files 6 respectively stores the corresponding layer-number mark, for example, the layer-number mark for the Nth layer is 035. In the steps S18 and S24 of
(36) Taking the route file 5 in
(37) When the 3D printer 1 is to print the (N+1)th layer, the 3D printer 1 may know that the jetting height for the (N+1)th layer is 0.36 mm based on the information of data entry G1 Z0.36. Therefore, the 3D printer 1 will reads the two image files 6 with layer-number mark of 036_C and 036_K when performing the coloring process, namely, the (N+1) layer has only two image files 6 corresponding to cyan and black colors. In other word, the 3D printer 1 does not need to jet ink of magenta and yellow colors when performs coloring process for the (N+1) layer.
(38) In the steps S18 and S24 shown in
(39) For another example, the route file 5 in
(40) In the steps S20 and S26 shown in
(41) As shown in
(42) In another embodiment, the jetting route also includes the jetting movement speed for each printing layer.
(43) As shown in
(44) By using the route file 5 in
(45)
(46) In another embodiment, user may import the 3D file storing the 3D object to the 3D printer. The processor of the 3D printer 1 first performs slicing process for the 3D object to generate the route file 5 and the plurality of image files 6 for the 3D object. Then the 3D printer 1 performs the following printing operation. In another embodiment, user may first use other computer to perform the slicing process for the 3D object to generate the route file 5 and the plurality of image files 6 for the 3D object, and then user imports the route file 5 and the plurality of image files 6 to the 3D printer 1.
(47) After step S10, the 3D printer 1 reads the printing route 51 of one printing layer (such as the first printing layer) in step S42 and then controls the 3D print head 3 to move and print the corresponding slicing object based on the read printing route 51 (step S44). During printing, the 3D printer 1 continually determines whether the printing for the slicing object corresponding to the current printing layer is finished in step S46 and continually executes the step S44 before the slicing object is completely printed.
(48) With reference together to
(49) As shown in
(50) With reference back to
(51) During coloring operation, the 3D printer 1 continually determines whether the coloring of the slicing object 7 corresponding to the current printing layer is finished (step S54) and continually executes the step S52 before the coloring of the slicing object 7 corresponding to the current printing layer is finished.
(52) With reference together to
(53) As shown in
(54) If all of the image files 6 have the same size, during the coloring process, the 3D printer 1 may first control the 2D print head 4 to move to the preset printing origin and then control the 2D print head 4 to move and jet ink until the 2D print head 4 moves to the preset printing destination. In this embodiment, the route file 5 needs not store the jetting origin 531 and the jetting destination 532.
(55) In this embodiment, the route file 5 already stores the jetting origin 531 and the ink jetting destination 532. Therefore, the 3D printer 1 will not have erroneous coloring process even though the image files 6 of each printing layer have different file seizes. The present disclosure can further save the storage space of the 3D printer 1 by generating image files 6 with different file seizes.
(56) Refer back to
(57) In this embodiment, the route file 5 mainly records the slicing data for each printing layer based on the slicing order. Moreover, the 3D printer 1 reads the slicing data for each printing layer based on the slicing order, and performs printing and coloring for each printing layer based on the slicing order.
(58) If the 3D printer 1 determines that the physical 3D model corresponding to the 3D object is not completely printed, then the 3D printer 1 re-executes steps S42 to S54 to continually read the slicing data for the next printing layer and performs printing and coloring for the next printing layer. If the 3D printer 1 determines that the physical 3D model corresponding to the 3D object is completely printed, then this printing process is finished.
(59) As mentioned above, the 3D printer 1 performs printing for the 3D color model based on the slicing method of the present disclosure. The control and management of 3D print head 3 and 2D print head 4 for the 3D printer 1 can be optimized.
(60) Besides, the slicing method of the present disclosure stores the ink-jetting related data for the 2D print head 4 in the route file 5 for the 3D print head 3. Therefore, if user only modifies the color of the 3D object while the structure and outer outline of the 3D object do not change, then the present discourse may directly update the ink-jetting related data in the route file 5 based on the modified color instead of re-performing 3D route slicing for the 3D object. Accordingly, the time spent for re-performing 3D route slicing after the 3D object is modified can be saved.
(61)
(62) If user wants to modify the color of the 3D object, he may perform operation through computer (for example, by operating the drawing software) to issue modification command. After receiving the modification command, the processor of the computer correspondingly modifies the color data (step S60) and then generated the modified 3D object. Moreover, the computer may store the modified 3D object in the above-mentioned 3D file to update the 3D file.
(63) In related art, the processor needs to re-execute steps S12 and S14 in
(64) In the present disclosure, the processor only needs to perform the above-mentioned 2D image slicing for the modified 3D object to generate a plurality of modified image files for each printing layer (step S62). Afterward, the processor obtains the route file 5 of the pre-modified 3D object (namely, obtain the route file 5 of the 3D object, which is output in step S30 of
(65) Afterward, based on one or more modified image files of one of the printing layer (for example, the first printing layer), the processor directly updates the jetting command 52 and the jetting route 53 for this printing layer (the first printing layer) in the route file 5 (step S66).
(66) Afterward, following the slicing order and based on one or more modified image files of the next printing layer (for example, the second printing layer), the processor directly updates the jetting command 52 and the jetting route 53 for the next printing layer (the second printing layer) in the route file 5 (step S68).
(67) During updating process, the processor continually determines whether the update for the route file 5 is finished (step S70) and continually executes step S68 before the update for the route file 5 is finished. Therefore, the processor may directly modify the jetting command 52 for each printing layer in the rout file 52 based on the slicing order and one or more modified image files of each printing layer.
(68) If the processor determines that the update for the route file 5 is finished, then the processor outputs the updated route file and a plurality of modified image files (step S72). More particularly, the updated route file stores a plurality of printing routes 51 same as the above-mentioned route file 5 (because the structure and the outline of the 3D object are not changed), while the processor updates the jetting command 52 and the jetting route 53 for each printing layer based on the plurality of modified image files.
(69) By using the updating method of the present disclosure, after the color of the 3D object is modified, the processor only needs to re-execute 2D image slicing (the 3D route slicing is not needed) to generate new (updating) route file 5, thus greatly saving the spent tome of re-executing 3D route slicing for processor.
(70) Notably, in the steps S66 and S68, the processor mainly directly deletes the jetting command 52 of a printing layer from the route file 5 and then stores the jetting command of one or more modified image files for this printing layer into the corresponding data entry of the route file 5 to finish the updating for the route file 5.
(71) For example, if the original color of the 3D object is black, the route file 5 has a corresponding data entry in one printing layer (for example, the tenth printing layer), which is stored with jetting command 52 M801 K. If user modifies the color of the 3D object into cyan color through operation command, then the processor generates cyan image file 61 for the modified 3D object in step S62 of
(72) To sum up, the present disclosure prevents from repeating 2D route slicing for the 3D object by updating the route file 5 with only the modifications of the 3D image files, the work load of the processor can be reduced and the spent time for re-executing the slicing can be saved.
(73)
(74) The processing device 81 shown in
(75) After above-mentioned slicing operation is finished, the processing device 81 generates the above-mentioned route file 5 and stores the slicing data (including the printing routes, the jetting command including the plurality of image files 6, and the jetting route) for each slicing layer in corresponding entry of the route file (such as the route file 5 shown in
(76) After the route file 5 and the plurality of image files 6 are generated, the processing device 81 finishes the slicing operation and imports the route file 5 and the plurality of image files 6 into the printing device 82. Therefore, the printing device 82 may print the physical 3D model corresponding to the 3D object based on the route file 5 and the plurality of image files 6.
(77) The printing device 82 shown in
(78) Notably, the route file 5 generated by the slicing method of the present disclosure is mainly used to control the movement path of the 3D print head 821 of the printing device 82. Therefore, any 3D printer, which is equipped with 3D print head and performs printing operation involving movement of 3D print head, can use the route file 5 generated by the slicing method of the present disclosure. In other word, the printing device 82 is not limited to the FDM 3D printer 1 shown in
(79) After the printing operation for the first printing layer is finished, the printing device 82 obtains the jetting command and jetting route from the same printing layer (such as the first printing layer) in the same route file 5, and then verifies and reads one or more image files 6 for the first printing layer based on the content of the jetting command.
(80) Afterward, the printing device 82 controls the 2D print head 822 thereon to move to a jetting origin (jetting start point) marked in the jetting route, and then the printing device 82 controls the 2D print head 822 to move and ink jet based on one or more image files 6 of the first printing layer until the 2D print head 822 moves to a jetting destination marked in the jetting route. The printing device 82 determines that the coloring operation of the first printing layer is finished when the 2D print head 822 moves to a jetting destination marked in the jetting route.
(81) After the coloring operation of the first printing layer is finished, the printing device 82 reads the next data entry in the same route file to perform printing and coloring for the next printing layer (such as the second printing layer) until the physical 3D model is completely printed. More particularly, the printing device 82 performs the printing and coloring for each of the printing layers based on the slicing order.
(82) Notably, if the color of the 3D object is modified, the updating method of the present disclosure re-executes 2D image slicing for the 3D object and updates the jetting command for the same route file such that the printing system 8 of the present disclosure can directly perform the printing and coloring operation based on the updated route file.
(83) Thus, particular embodiments have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims may be performed in a different order and still achieve desirable results.