Printing system, method, storage medium and three-dimensional model of three-dimensional object

文档序号:218898 发布日期:2021-11-09 浏览:20次 中文

阅读说明:本技术 三维物体的打印系统、方法、存储介质以及三维模型 (Printing system, method, storage medium and three-dimensional model of three-dimensional object ) 是由 陈晓坤 夏瑛琪 陈伟 蒋韦 陈保全 于 2021-08-06 设计创作,主要内容包括:本申请实施例提供一种三维物体的打印系统,该三维物体的打印系统包括:数据处理器和三维打印装置;数据处理器用于获取三维物体的模型数据和属性数据,并根据模型数据和属性数据生成三维物体的打印数据,其中,三维物体包括第一物体和第二物体,第二物体的第二部分位于第一物体的第一部分内,第二部分的打印数据对应的透明度小于或等于第一部分的打印数据对应的透明度,且两者相等时,第一部分和第二部分的打印数据对应的颜色不同;三维打印装置用于接收打印数据,并根据打印数据进行打印,以获取三维物体的三维模型。针对包括嵌套部分的三维物体,实现以不同的透明度对嵌套部分进行自动打印,简化了操作流程,提高了三维模型的内部结构的清晰度。(An embodiment of the present application provides a printing system of a three-dimensional object, including: a data processor and a three-dimensional printing device; the data processor is used for acquiring model data and attribute data of a three-dimensional object and generating printing data of the three-dimensional object according to the model data and the attribute data, wherein the three-dimensional object comprises a first object and a second object, a second part of the second object is positioned in a first part of the first object, the transparency corresponding to the printing data of the second part is smaller than or equal to the transparency corresponding to the printing data of the first part, and when the transparency is equal to the transparency, the colors corresponding to the printing data of the first part and the second part are different; the three-dimensional printing device is used for receiving the printing data and printing according to the printing data to obtain a three-dimensional model of the three-dimensional object. Aiming at the three-dimensional object comprising the nested part, the nested part is automatically printed with different transparencies, the operation flow is simplified, and the definition of the internal structure of the three-dimensional model is improved.)

1. A printing system for a three-dimensional object, the system comprising: a data processor and a three-dimensional printing device;

the data processor is used for acquiring model data and attribute data of a three-dimensional object, and generating printing data of the three-dimensional object according to the model data and the attribute data, wherein the three-dimensional object comprises a first object and a second object, a second part of the second object is positioned in a first part of the first object, the transparency corresponding to the printing data of the second part is smaller than or equal to the transparency corresponding to the printing data of the first part, and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different;

and the three-dimensional printing device is connected with the data processor and used for receiving the printing data and printing according to the printing data so as to obtain a three-dimensional model of the three-dimensional object.

2. The system of claim 1, wherein the data processor comprises:

the data acquisition interface is used for acquiring model data and attribute data of the three-dimensional object, wherein the model data comprises basic information, position information of the first object and position information of the second object;

the printing data generation mode determining module is used for determining the printing data generation mode of the three-dimensional object according to the model data or the model data and the attribute data;

and the printing data generation module is used for generating the printing data of the three-dimensional object according to the printing data generation mode.

3. The system according to claim 2, wherein the print data generation manner determination module includes:

an overlapping portion determining unit configured to determine the first portion, the second portion, and a positional relationship between the first portion and the second portion based on the positional information of the first object and the positional information of the second object;

a transparency determining unit, configured to determine, according to a positional relationship between the first portion and the second portion, a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion;

and the printing data generation mode determining unit is used for determining the printing data generation mode of the three-dimensional object according to the model data, the attribute data, the first transparency and the second transparency of the three-dimensional object.

4. The system of claim 3, wherein the data processor further comprises:

the memory is used for storing a first corresponding relation between the position relation and the transparency;

correspondingly, the transparency determining unit is specifically configured to:

and determining a first transparency of the printing data of the first part and a second transparency of the printing data of the second part according to the position relation and the first corresponding relation.

5. The system according to claim 3, wherein the transparency determination unit is specifically configured to:

determining a first transparency of the print data of the first part according to the position relation and the attribute information of the first part;

and determining a second transparency of the printing data of the second part according to the position relation and the attribute information of the second part.

6. The system of claim 5, wherein the data processor further comprises:

the memory is used for storing a second corresponding relation among the position relation, the attribute data and the transparency;

correspondingly, the transparency determining unit is specifically configured to:

determining a first transparency of the printing data of the first part according to the position relationship, the attribute information of the first part and the second corresponding relationship;

and determining a second transparency of the printing data of the second part according to the position relationship, the attribute information of the second part and the second corresponding relationship.

7. The system of claim 3, wherein the data processor further comprises:

the memory is used for storing a third corresponding relation between the transparency and the printing data generation mode;

correspondingly, the print data generation mode determining unit is specifically configured to:

and determining a printing data generation mode of the first part and a printing data generation mode of the second part according to the first transparency, the second transparency and the third corresponding relation.

8. The system of claim 2, wherein the print data generation module comprises:

a slicing unit configured to perform slicing processing on the model data to generate slice data;

and the printing data generating unit is connected with the slicing unit and used for receiving the slicing data and generating the printing data of the three-dimensional object according to the slicing data, the attribute data and the printing data generating mode of the three-dimensional object.

9. The system according to claim 8, wherein the print data generation unit further includes:

a halftone processor subunit, configured to perform halftone processing on the slice data or the model data based on a halftone processing mode to generate bitmap data;

and the filling data generating subunit is used for determining the filling data of the bitmap data based on a preset filling mode and filling the bitmap data with data based on the filling data.

10. The system of claim 9, wherein the data processor further comprises:

the memory is used for storing a fourth corresponding relation between the printing data generation mode and the filling mode;

and the filling data generation subunit determines a filling mode according to the printing data generation mode and the fourth corresponding relation.

11. The system of claim 10, the filling means comprising:

one or more of filling with a colorless transparent material, filling with a white material, and co-filling with a colorless transparent material and a white material.

12. The system of claim 1, wherein the three-dimensional printing device is a three-dimensional inkjet printing device comprising a printing platform and a print head, wherein the printing material of the print head comprises a white material and a transparent printing material, and the transparent printing material comprises a colored transparent material and a colorless transparent material.

13. A three-dimensional model printed according to the system of any one of claims 1 to 12, wherein the three-dimensional model comprises a first object and a second object, a second portion of the second object is located within a first portion of the first object, the transparency corresponding to the print data of the second portion is less than or equal to the transparency corresponding to the print data of the first portion, and when the transparency corresponding to the print data of the second portion is equal to the transparency corresponding to the print data of the first portion, the colors corresponding to the print data of the first portion and the second portion are different.

14. The three-dimensional model of claim 13, wherein the three-dimensional model comprises an organ model.

15. The three-dimensional model of claim 14, wherein the organ model comprises a liver model, and wherein the first object is a liver body portion and the second object is a blood vessel portion.

16. A method of printing a three-dimensional object, the method comprising:

obtaining model data and attribute data of a three-dimensional object, wherein the three-dimensional object comprises a first object and a second object, and a second portion of the second object is located within a first portion of the first object;

generating printing data of the three-dimensional object according to the model data and the attribute data;

printing according to the printing data to obtain a three-dimensional model of the three-dimensional object;

and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different.

17. The method according to claim 16, wherein generating print data for the three-dimensional object from the model data and the attribute data comprises:

generating a generation manner of print data for the three-dimensional object based on the model data or the model data and the attribute data;

and generating the printing data of the three-dimensional object based on the generation mode of the printing data, the model data and the attribute data.

18. The method of claim 17, wherein determining a manner of generation of print data for the three-dimensional object based on the model data comprises:

determining the first part, the second part and the position relation of the first part and the second part according to the position information of the first object and the position information of the second object;

determining a first transparency corresponding to the printing data of the first part and a second transparency corresponding to the printing data of the second part according to the position relation of the first part and the second part;

and determining the generation mode of the printing data of the first part and the generation mode of the printing data of the second part according to the first transparency corresponding to the printing data of the first part and the second transparency corresponding to the printing data of the second part.

19. The method according to claim 18, wherein the determining a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion according to the position relationship between the first portion and the second portion comprises:

acquiring a first corresponding relation between the position relation and the transparency;

and determining a first transparency of the printing data of the first part and a second transparency of the printing data of the second part according to the position relation and the first corresponding relation.

20. The method of claim 17, wherein determining a manner of generation of print data for the three-dimensional object based on the model data and the attribute data comprises:

determining the first part, the second part and the position relation of the first part and the second part according to the position information of the first object and the position information of the second object;

determining a first transparency corresponding to the printing data of the first part according to the position relation of the first part and the second part and the attribute information of the first part;

determining a second transparency corresponding to the printing data of the first part according to the position relation of the first part and the second part and the attribute information of the second part;

and determining the generation mode of the printing data of the first part and the generation mode of the printing data of the second part according to the first transparency corresponding to the printing data of the first part and the second transparency corresponding to the printing data of the second part.

21. The method according to claim 20, wherein determining the first transparency corresponding to the print data of the first part according to the positional relationship between the first part and the second part and the attribute information of the first part comprises:

acquiring a second corresponding relation among the position relation, the attribute data and the transparency;

determining a first transparency corresponding to the printing data of the first part according to the position relationship, the attribute information of the first part and the second corresponding relationship;

correspondingly, determining a second transparency corresponding to the print data of the second part according to the position relationship between the first part and the second part and the attribute information of the second part includes:

acquiring a second corresponding relation among the position relation, the attribute data and the transparency;

and determining a second transparency corresponding to the printing data of the second part according to the position relation and the attribute information of the second part.

22. The method according to claim 18 or 20, wherein determining the generation manner of the first part of the print data and the generation manner of the second part of the print data according to the first transparency corresponding to the first part of the print data and the second transparency corresponding to the second part of the print data comprises:

and acquiring a third corresponding relation between the transparency and the generation mode, and determining the generation mode of the printing data of the first part and the generation mode of the printing data of the second part according to the first transparency, the second transparency and the third corresponding relation.

23. The method of claim 17, after determining a print data generation mode for the three-dimensional object, further comprising:

slicing the model data to generate sliced data;

based on a halftone processing technology, performing halftone processing on the slice data to obtain bitmap data;

determining a filling mode based on the generation mode;

determining filling data of the bitmap data based on the determined filling mode, and performing data filling on the bitmap data based on the filling data;

and generating the printing data of the three-dimensional object based on the bitmap data filled by the data.

24. The method of claim 23, wherein determining the filling mode based on the generation mode comprises:

and acquiring a fourth corresponding relation between the generation mode and the filling mode, and determining the filling mode according to the generation mode and the fourth corresponding relation.

25. The method of claim 24, wherein the filling manner comprises one or more of filling with a colorless transparent material, filling with a white material, and co-filling with a colorless transparent material and a white material.

26. A computer-readable storage medium having stored thereon a computer program for execution by a processor to implement the printing method of any of claims 16-25.

Technical Field

The embodiment of the application relates to the technical field of three-dimensional printing, in particular to a printing system, a printing method, a storage medium and a three-dimensional model of a three-dimensional object.

Background

With the continuous development of three-dimensional printing or 3D printing technology and the continuous increase of the demand for precise and personalized medical treatment, the 3D printing technology is remarkably developed in the medical industry, and a doctor can conveniently forecast the situation in the operation from multiple dimensions before the operation by constructing a 3D model of a patient organ, so that the risk of the operation is reduced.

However, medical models often have a complex structure, possibly including multiple parts nested or intersecting one another, and existing organ models do not have good transparency to clearly identify the internal structure of the three-dimensional model.

Disclosure of Invention

The embodiment of the application provides a printing system of a three-dimensional object, which aims at a model with a nested structure, realizes a three-dimensional printing mode that the nested part is automatically printed with different transparencies, simplifies the operation flow of printing the three-dimensional object, and improves the definition of the nested part of the model.

In order to achieve the above object, the embodiments of the present application provide the following technical solutions:

in a first aspect, an embodiment of the present application provides a printing system for a three-dimensional object, including: a data processor and a three-dimensional printing device;

the data processor is used for acquiring model data and attribute data of a three-dimensional object, and generating printing data of the three-dimensional object according to the model data and the attribute data, wherein the three-dimensional object comprises a first object and a second object, a second part of the second object is positioned in a first part of the first object, the transparency corresponding to the printing data of the second part is smaller than or equal to the transparency corresponding to the printing data of the first part, and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different;

and the three-dimensional printing device is connected with the data processor and used for receiving the printing data and printing according to the printing data to obtain a three-dimensional model of the three-dimensional object.

In a second aspect, an embodiment of the present application further provides a three-dimensional model printed according to any one of the above systems, where the three-dimensional model includes a first object and a second object, a second portion of the second object is located in a first portion of the first object, transparency corresponding to print data of the second portion is smaller than or equal to transparency corresponding to print data of the first portion, and when transparency corresponding to print data of the second portion is equal to transparency corresponding to print data of the first portion, colors corresponding to print data of the first portion and the second portion are different.

In a third aspect, an embodiment of the present application further provides a method for printing a three-dimensional object, including:

obtaining model data and attribute data of a three-dimensional object, wherein the three-dimensional object comprises a first object and a second object, and a second portion of the second object is located within a first portion of the first object;

generating printing data of the three-dimensional object according to the model and the attribute data;

printing according to the printing data to obtain a three-dimensional model of the three-dimensional object;

and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different.

In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium having a computer program stored thereon, the computer program being configured to be processed to implement the printing method as described above.

The printing system, the printing method, the storage medium and the three-dimensional model of the three-dimensional object provided by the embodiment of the application realize the automatic printing of the three-dimensional object by arranging the data processor and the three-dimensional printing device aiming at the three-dimensional object comprising the nested part, the corresponding printing data can be automatically generated according to the model data and the attribute data of the three-dimensional object, and the printing data of the mutually nested part has different transparencies or different colors, namely the transparency of the second part of the second object is smaller than that of the first part of the first object or the colors of the second part are different, so that the three-dimensional printing device prints based on the printing data, the nested part of the three-dimensional object is automatically printed with different transparencies or with different colors, the operation flow of printing the three-dimensional object is simplified, and the definition of the internal structure of the three-dimensional model of the three-dimensional object is improved, the quality of the three-dimensional model is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.

Fig. 1 is an application scenario diagram provided in an embodiment of the present application;

FIG. 2 is a schematic block diagram of a printing system for a three-dimensional object according to an embodiment of the present application;

FIG. 3 is a block diagram of a data processor in the embodiment of FIG. 2;

FIG. 4 is a schematic structural diagram of a print data generation manner determination module in the embodiment shown in FIG. 3 of the present application;

FIG. 5 is a schematic structural diagram of a print data generation module in the embodiment of FIG. 3 of the present application;

FIG. 6 is a schematic diagram of a transparent printing method according to an embodiment of the present application;

FIG. 7 is a schematic illustration of a semi-transparent printing scheme provided in one embodiment of the present application;

FIG. 8 is a schematic view of an opaque printing scheme according to an embodiment of the present application;

FIG. 9 is a schematic illustration of an opaque printing mode according to another embodiment of the present application;

FIG. 10 is a schematic illustration of an opaque printing mode according to another embodiment of the present application;

FIG. 11 is a schematic structural diagram of a three-dimensional printing apparatus according to the embodiment of FIG. 2 of the present application;

FIG. 12 is a flow chart of a method of printing a three-dimensional object according to one embodiment of the present application;

FIG. 13 is a flowchart of step S603 in the embodiment of FIG. 12 of the present application;

FIG. 14 is a flowchart of step S61 according to the embodiment of the present application shown in FIG. 13;

FIG. 15 is a schematic diagram of a structure of a three-dimensional object provided by an embodiment of the present application;

fig. 16 is a schematic structural diagram of a three-dimensional object according to another embodiment of the present application.

With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.

In the description of the present application, it is to be understood that the terms "center", "length", "width", "thickness", "top", "bottom", "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "inner", "outer", "axial", "circumferential", and the like, as used herein, indicate an orientation or positional relationship based on that shown in the drawings, merely for convenience of description and simplicity of description, and do not indicate or imply that the position or element so referred to must have a particular orientation, be of particular construction and operation, and thus should not be considered as limiting.

The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.

The following explains an application scenario of the embodiment of the present application:

fig. 1 is an application scenario diagram provided in the embodiment of the present application, as shown in fig. 1, in order to facilitate the planning of a surgical plan, the analysis of a patient's condition, and the communication with the patient, a three-dimensional model of the relevant organ or portion of the patient needs to be created. Model data of a three-dimensional object to be printed is generally uploaded to the modeling device 110, modeling, slicing and other operations are performed on the three-dimensional object by the modeling software 111 loaded in the modeling device 110 to obtain print data of the three-dimensional object, and the print data is copied to the three-dimensional printer 120 for three-dimensional printing, so that three-dimensional printing of the three-dimensional object is realized.

However, because the human organ has a complex structure and comprises a plurality of mutually nested or penetrated parts, the existing modeling equipment cannot automatically configure different transparencies or colors for the nested parts, so that the internal structure of the model nested part cannot be clearly identified, and the subsequent diagnosis and scheme making are not facilitated.

In order to solve the above problems, the main concept of the technical solution of the embodiment of the present application is: for the three-dimensional object comprising the nested part, different transparencies are automatically set for the first part of the first object and the second part of the second object which are nested according to the model data and the attribute data, so that the internal structure of the printed three-dimensional model of the three-dimensional object is clearly visible outside, and the quality of the model is improved.

Fig. 2 is a schematic structural diagram of a printing system for a three-dimensional object according to an embodiment of the present application, and as shown in fig. 2, the printing system for a three-dimensional object including a nested structure or a through structure includes: a data processor 210 and a three-dimensional printing device 220.

The data processor 210 is configured to obtain model data and attribute data of a three-dimensional object, and generate print data of the three-dimensional object according to the model data and the attribute data, where the three-dimensional object includes at least a first object and a second object, a second portion of the second object is located in a first portion of the first object, a transparency corresponding to the print data of the second portion is smaller than or equal to a transparency corresponding to the print data of the first portion, and when the transparency corresponding to the print data of the second portion is equal to the transparency corresponding to the print data of the first portion, colors corresponding to the print data of the first portion and the second portion are different; the three-dimensional printing device 220 is connected to the data processor 210, and is configured to receive the print data and perform printing according to the print data to obtain a three-dimensional model of the three-dimensional object.

Specifically, the three-dimensional object may be any three-dimensional object including a first object and a second object, and may be a human organ or a part, such as a liver, a neck, a chest, a head, or an object such as an automobile or a building, where the second object is at least partially located in the first object, that is, the second part of the second object is located in the first part of the first object, and the second part may be an entirety of the second object or a part thereof, and the first part is a part of the first object that wraps the second part. The model data may include shape data, position data, size data, and the like of the three-dimensional object, and the attribute data may include one or more of color data, density data, elasticity data, hardness data, and the like of the three-dimensional object. The print data is data in a format that can be directly recognized by the three-dimensional printing apparatus 220, that is, data that can be directly printed by the three-dimensional printing apparatus. The three-dimensional printing device 220 and the data processor 210 may be connected wirelessly or by wire.

In particular, the transparency may be expressed as a decimal number from 0 to 1, or as a percentage, with a larger value representing a higher transparency. E.g., 0 indicates complete opacity and 1 indicates complete transparency.

Further, the three-dimensional object may comprise a plurality of first objects and may also comprise a plurality of second objects, i.e. the three-dimensional object comprises a plurality of nested portions, the second portion of each second object being located inside the first portion of the first object.

In particular, the model data and the attribute data of the three-dimensional object may be acquired from scanned imaging data of the three-dimensional object. The scan Imaging data may be data scanned by a corresponding medical Imaging device, and may be data scanned in real time or in historical time, the medical Imaging device includes, but is not limited to, an X-ray device, a CT (Computed Tomography) device, an MRI (Magnetic Resonance Imaging) device, a functional MRI device, and may also be directly connected to a hospital image Archiving and Communication system (PACS) or other databases; of course, to expand the data sources, the scan imaging data may also be obtained from a removable storage device through an associated interface, such as a USB (Universal Serial Bus) interface, a wireless connection interface, and the like. Specifically, the scan Imaging data may be data in DICOM (Digital Imaging and Communications in Medicine) format.

Further, model data of the three-dimensional object may be generated according to parameters such as a gray value, a CT value (also referred to as Hounsfield value), a position, and the like of each pixel of the scan imaging data.

Further, the attribute data may be customized by a user or automatically determined according to gray scale values, CT values (also called Hounsfield values), locations, etc. of each pixel of the scanned imaging data.

Specifically, the data processor 210 may identify nested portions of the three-dimensional object, i.e., a first portion of the first object and a second portion of the second object, based on the position information in the model data, thereby configuring the first portion and the second portion with print data of different transparencies. Of course, the position information of the first part of the first object and the second part of the second object may also be given by the relevant person, so that the data processor 210 may directly obtain the relevant position information to determine the corresponding areas of the first part and the second part.

Further, the data processor 210 is specifically configured to: the method comprises the steps of obtaining model data and attribute data of a three-dimensional object, determining a generation mode of printing data used for generating the three-dimensional object based on the model data and the attribute data, and generating the printing data of the three-dimensional object based on the generation mode, wherein the generation mode comprises transparency and color corresponding to a first part of a first object and a second part of a second object, the transparency corresponding to the first part is larger than or equal to the transparency corresponding to the second part, and when the transparency of the first part is equal to that of the second part, the color of the first part is different from that of the second part. The second portion is typically darker in color corresponding to the color, so that the first and second portions can be distinguished by color, and so that the second portion, which is located inside the first portion, is clearly visible on the outside.

Further, when the transparency of the print data corresponding to the first portion and the second portion is equal, the transparency thereof may not be 0 or 1.

Specifically, the generation modes may include a first generation mode, a second generation mode and a third generation mode, where the transparency corresponding to the print data generated based on the first generation mode is 1, the transparency corresponding to the print data generated based on the second generation mode is greater than 0 and less than 1, and the transparency corresponding to the print data generated based on the third generation mode is 1; more specifically, the first generation manner forms the object with a colorless transparent material, the second generation manner forms the object with a colored transparent material and a colorless transparent material in a second set ratio, and the third generation manner forms the object with a white material or two or three of the colored transparent material, the white material and the colorless transparent material in a third set ratio.

Optionally, the three-dimensional object further includes a third object, wherein a third portion of the third object is located in the second portion of the second object, and transparency corresponding to the print data of the third portion is smaller than transparency corresponding to the print data of the second portion.

By analogy, of course, the three-dimensional object may further include a fourth object, a fourth portion of the fourth object is located in the third portion, and transparency corresponding to the print data of the fourth portion is smaller than transparency corresponding to the print data of the third portion. I.e. the transparency of the inner part of the nested part of the three-dimensional object is less than the transparency of its corresponding outer part, so that the respective inner part is clearly visible at the outermost side.

Specifically, when the three-dimensional object includes a first object, a second object, and a third object, and a first portion of the first object wraps outside a second portion of the second object, and a second portion of the second object wraps outside a third portion of the third object, the first portion generates the print data in a first generation manner, the second portion generates the print data in a second generation manner, and the third portion generates the print data in a third generation manner.

Further, the print data of the portion of the first object that is not wrapped outside the second object and/or the third object may be generated according to the generation manner of the print data of the first portion, or generated based on a default manner; the printing data of the part of the second object which is not wrapped by the first object can be generated according to the generation mode of the printing data of the second part or generated based on a default mode; the print data of the portion of the third object that is not wrapped by the first object and/or the second object may be generated according to the generation manner of the print data of the third portion, or generated based on a default manner.

Further, the transparency of the second generation manner is greater than 0 and less than 1, and thus, the second generation manner may correspond to different transparencies and be slightly different.

Further, the second generation manner may divide the second object into an outer shell portion and an inner portion, the outer shell portion wraps the outside of the inner portion, the outer shell portion is formed of a colored transparent material or a colored transparent material and a colorless transparent material, and the inner portion is formed of a colorless transparent material. The thickness of the outer shell part affects the transparency corresponding to the second generation mode, so that the second generation mode can be adjusted by adjusting the thickness of the outer shell part to obtain different transparencies.

For example, the transparency corresponding to the print data generated by the second generation method for generating the first portion may be 80%, and the transparency corresponding to the print data generated by the second generation method for generating the second portion may be 25%, 50%, or another value less than 80%. Or the transparency of the first part and the second part are both 80%, and the color of the first part is yellow and the color of the second part is dark red.

Specifically, the three-dimensional printing device 220 receives the print data, and performs control of a printing material according to the print data to generate a three-dimensional model of the three-dimensional object.

Optionally, the three-dimensional model includes an organ model, such as a heart model, a liver model, a thymus model, and the like.

Optionally, the organ model comprises a liver model, and accordingly, the first object is a liver body part and the second object is a blood vessel part.

For example, taking the three-dimensional object as a liver, the first object may be a liver body part, i.e. a liver parenchyma part, the second object may be a liver tumor part, and the blood vessel part may be a third object. Accordingly, for the nested portions, the transparency of the liver body portion is less than the transparency of the liver tumor portion, and the transparency of the liver tumor portion is less than the transparency of the blood vessel portion in the three-dimensional model of the liver.

According to the three-dimensional object printing system provided by the embodiment of the application, aiming at the three-dimensional object comprising the nested part, the data processor and the three-dimensional printing device are arranged, so that the automatic printing of the three-dimensional object is realized, the corresponding printing data can be automatically generated according to the model data and the attribute data of the three-dimensional object, and the printing data of the mutually nested part are different in transparency or color, namely the transparency of the second part of the second object is smaller than that of the first part of the first object or the colors of the second part of the second object are different, so that the three-dimensional printing device prints based on the printing data, the nested part of the three-dimensional object is automatically printed with different transparencies or with different colors, the definition of the internal structure of the three-dimensional model of the three-dimensional object is improved, and the quality of the three-dimensional model is improved.

Optionally, fig. 3 is a schematic structural diagram of the data processor in the embodiment shown in fig. 2 of the present application, and as shown in fig. 3, the data processor 210 includes: a data acquisition interface 211, a print data generation manner determination module 212, and a print data generation module 213.

The data acquiring interface 211 is configured to acquire model data and attribute data of a three-dimensional object, where the model data includes basic information, position information of a first object, and position information of a second object; a print data generation mode determination module 212, configured to determine a print data generation mode of the three-dimensional object according to the model data or the model data and the attribute data; the print data generating module 213 is configured to generate print data of the three-dimensional object according to the print data generating manner.

The printing data comprises printing data of a first object and printing data of a second object, the printing data of the first object comprises printing data of a first part, the printing data of the second object comprises printing data of a second part, transparency corresponding to the printing data of the second part is smaller than or equal to transparency corresponding to the printing data of the first part, and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, colors corresponding to the printing data of the first part and the printing data of the second part are different.

Specifically, the data acquisition interface 211 may be disposed at any position of the data processor 210, and may be a USB interface, a COM interface, or a wireless interface. The basic information may be model data excluding the position information of the first object and the position information of the second object, and may include shape information, size information, and position information of other portions of the three-dimensional object.

Specifically, the print data generation manner determining module 212 may determine the transparency corresponding to the first portion of print data according to the position information of the first object and the other model data and/or attribute data corresponding to the first object, determine the transparency corresponding to the second portion of print data according to the position information of the second object and the other model data and/or attribute data corresponding to the second object, and ensure that the transparency corresponding to the first portion of print data is less than or equal to the transparency corresponding to the second portion of print data, when the transparencies of the two portions are equal, it is further required to determine the first color corresponding to the first portion of print data according to the attribute data of the first portion, and determine the second color corresponding to the second portion of print data according to the attribute data of the second portion, and the first color is different from the second color; and the print data generation manner of the first portion and the print data generation manner of the second portion may be determined according to the transparency corresponding to the print data of the first portion and the transparency corresponding to the print data of the second portion. Further, the print data generation module 213 may generate the print data of the three-dimensional object according to the model data, the attribute data, and the print data generation manner of the first portion and the print data generation manner of the second portion, so that the transparency of the print data corresponding to the first portion is greater than that of the print data corresponding to the second portion, or when the transparencies of the two are equal, the colors of the print data corresponding to the two are different. Accordingly, the transparency of the model corresponding to the first portion in the three-dimensional model obtained by the three-dimensional printing device 220 after printing based on the print data is also greater than the transparency of the model corresponding to the second portion, so that the obtained three-dimensional model can clearly distinguish the internal structure of each nested portion from the outside of the three-dimensional model.

Further, in order to make the internal structure of the model nesting part more clearly visible, the transparency of the print data corresponding to the first part may be greater than the transparency of the print data corresponding to the second part.

Alternatively, fig. 4 is a schematic structural diagram of the print data generation manner determining module in the embodiment shown in fig. 3 of the present application, and as shown in fig. 4, the print data generation manner determining module 212 includes an overlapping portion determining unit 2121, a transparency determining unit 2122, and a print data generation manner determining unit 2123.

The overlapping part determining unit 2121 is configured to determine the first part, the second part, and the position relationship between the first part and the second part according to the position information of the first object and the position information of the second object; a transparency determining unit 2122, configured to determine, according to a positional relationship between the first part and the second part, a first transparency corresponding to the print data of the first part and a second transparency corresponding to the print data of the second part; a print data generation manner determining unit 2123, configured to determine a print data generation manner of the three-dimensional object according to the first transparency and the second transparency of the three-dimensional object.

Wherein the positional relationship of the first portion and the second portion may be a nested relationship, and the second portion is nested inside the first portion.

Specifically, the overlap determining unit 2121 is configured to determine an overlap in the three-dimensional model, i.e. determine the respective first and second portions of the three-dimensional object, based on the position information in the model data. When the three-dimensional object further includes the above-described third object, the overlapping portion determining unit 2121 may further determine the third portion from the position information of the third object and the position information of the second object, and so on.

Further, the print data generation mode determining module 212 further includes:

and the position identification unit is used for identifying the position information of the first part of the first object and the second part of the second object so as to determine the position relation of the first part and the second part.

Further, the print data generation mode determining module 212 further includes:

and the attribute identification unit is used for identifying the attribute information of the first part of the first object and the second part of the second object.

Alternatively, the transparency determining unit 2122 may determine a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion according to a pre-established first corresponding relationship between the positional relationship and the transparency and the positional relationship between the first portion and the second portion.

Optionally, the data processor 210 further includes: the memory is used for storing a first corresponding relation between the position relation and the transparency; accordingly, the transparency determining unit 2122 is specifically configured to: and determining a first transparency of the printing data of the first part and a second transparency of the printing data of the second part according to the position relation and the first corresponding relation.

Optionally, the transparency determining unit 2122 is specifically configured to:

determining a first transparency of the print data of the first portion according to the positional relationship and the attribute information of the first portion; and determining a second transparency of the print data of the second part according to the position relation and the attribute information of the second part.

Specifically, the transparency determining unit 2122 may determine, according to the pre-established positional relationship, the second corresponding relationship between the attribute data and the transparency, and the positional relationship and the attribute data of the first portion of the first object and the attribute data of the second portion of the second object, the transparency of the print data corresponding to the first portion and the second portion, respectively.

Illustratively, the transparency is 75% when the first portion of the first object is a softer, lighter object, and the transparency is 50% when the second portion of the second object is a softer, lighter object.

Specifically, various selectable transparencies are stored in the memory, so that the transparency determining unit 2122 can determine the transparency of the first portion of the first object and the transparency of the second portion of the second object according to the attribute data of the three-dimensional object.

Specifically, the print data generation manner determining unit 2123 is configured to determine a print data generation manner of the first portion and a print data generation manner of the second portion according to a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion.

Optionally, the data processor 210 further includes: the memory is used for storing a third corresponding relation between the transparency and the generation mode; correspondingly, the print data generation manner determining unit 2123 is specifically configured to: and determining the printing data generation mode of the first part and the printing data generation mode of the second part according to the first transparency, the second transparency and the third corresponding relation. For example, a transparency of 1 corresponds to the first generation mode, a transparency greater than 0 and less than 1 corresponds to the second generation mode, and a transparency of 0 corresponds to the third generation mode.

Optionally, the print data generation manner determining unit 2123 may further determine, by referring to the model data and/or the attribute data of the three-dimensional object, a print data generation manner of each part of the three-dimensional object, for example, determine, based on the model data and/or the attribute data of the three-dimensional object, a print data generation manner of a part other than the first part and the second part.

The print data generation method includes a slicing method, a halftone method, a padding method, and the like. That is, at least one of the slice processing method, the halftone processing method, and the fill method corresponding to different print data generation methods is different.

Specifically, the three-dimensional printing device 220 may determine that its printing material is a first printing material according to the printing data of the first portion of the first object, and determine that its printing material is a second printing material according to the printing data of the second portion of the second object. The first printed material and the second printed material may each be composed of one or more of a colorless transparent material, a colored transparent material, and a white material, and the first printed material exhibits a transparency that is greater than a transparency exhibited by the second printed material.

Optionally, the printing material corresponding to the first part is a colorless transparent material and/or a colored transparent material; the printing material corresponding to the second part is a white material or any two or three of a colorless transparent material, a colored transparent material and a white material.

Optionally, fig. 5 is a schematic structural diagram of a print data generating module in the embodiment shown in fig. 3 of the present application, as shown in fig. 5, the print data generating module 213 is connected to the print data generating manner determining module 212, the print data generating module 213 includes a slicing unit 2131 and a print data generating unit 2132, and the slicing unit 2131 is configured to slice the model data to generate sliced data; the printing data generation unit 2132 is connected to the slicing module, and is configured to receive the slicing data and generate printing data of the three-dimensional object according to the slicing data, the attribute data, and a printing data generation manner of the three-dimensional object.

Specifically, the slicing unit 2131 may determine a slicing processing manner according to the print data generation manner, and perform slicing processing on the model data based on the determined slicing processing manner to generate sliced data; the slice processing mode can comprise parameters such as the layer height, the shell thickness, the filament drawing, the filling density, the printing speed, the support, the first layer adhesion, the initial layer thickness and the like of each slice, wherein the layer height is a parameter for describing the resolution of 3D printing and is used for specifying the height of each layer of consumable material, and the larger the layer height value is, the more fuzzy the model details are; the shell refers to the number of times of the outer wall needing to be printed by the three-dimensional printer before the hollow part is printed, the shell thickness representation is the thickness of the outer wall, and the thicker the shell is, the thicker and firmer the outer wall of the model is; the support refers to that a support structure needs to be printed on the lower part of the cantilever structure when the target object comprises the cantilever structure, and the type of the support can be a block support, a tree support, a grid support and the like. The slicing processing mode can also comprise a rasterization parameter, a region division on the solid part and the like; the slicing unit 2131 may include slicing software that performs a slicing process on the printed data to generate sliced data.

Further, the print data generation unit 2132 includes:

and a halftone processor subunit, configured to perform halftone processing on the slice data or the model data based on a halftone processing method to generate bitmap data. The bitmap data may be binary data, i.e. 1bit data (1 bit bitmap data), i.e. data at any position may be 0 or 1, i.e. a certain material may be deposited in two forms, i.e. deposition or non-deposition, at a specific position. Further, the bitmap data may also be other types of data, such as 2-bit data (2-bit bitmap data), specifically, the slice model 213 may also convert the binary data into 2-bit data, or directly convert the slice data into 2-bit data, so as to generate print data that can be used for the printing device to perform gray scale printing, that is, data at any position may be 0, 1, 2, or 3, that is, a certain material may be deposited in four forms, i.e., large, medium, small, or none at a specific position.

Specifically, the halftone processor subunit may determine the halftone processing mode based on the print data generation mode, where the halftone processing mode may be a processing mode based on any one or more algorithms of a dithering method, an error diffusion method, and an iteration method.

Further, the print data generation unit 2132 includes:

and the filling data generating subunit is used for determining the filling data of the binary data based on a preset filling mode and performing data filling on the binary data based on the filling data.

Specifically, the padding data generating subunit may determine the preset padding mode based on the print data generating mode.

Optionally, the data processor 210 further includes: and the memory is used for storing a fourth corresponding relation between the printing data generation mode and the filling mode, and determining the filling mode according to the printing data generation mode and the fourth corresponding relation.

Specifically, the filling method is a method of filling binary data after halftone processing, that is, a method of filling voxels with insufficient color transparent material, and in this embodiment, the filling method specifically refers to which material is used to fill the voxels with insufficient color transparent material, and specifically includes filling with colorless transparent material, filling with white material, and filling with both colorless transparent material and white material; more specifically, in the present embodiment, in the first generation manner, each voxel is filled with a colorless transparent material; in the second generation mode, all voxels which are not filled with the colored transparent material are filled with the colorless transparent material; in the third generation method, if the object portion is not partitioned, each voxel not filled with the color transparent material is filled with the white material or the white material and the colorless transparent material, and when the object portion is partitioned, each voxel not filled with the color transparent material in the outer shell portion is filled with the white material or the white material and the colorless transparent material, and each voxel in the inner portion may be filled with the white material and/or the colorless transparent material, or each voxel not filled with the color transparent material in the outer shell portion is filled with the colorless transparent material and each voxel in the inner region is filled with the white material or the white material and the colorless transparent material. That is, the filling data of the binary data determined based on the determined filling manner includes a filling position and a filling material type.

Further, when the attribute data of the three-dimensional object includes color data, the print data generation module 213 is further configured to perform color conversion on the model data, for example, RGB data may be converted into CMYK (print color pattern) data, and then perform halftone processing on the slice data based on a halftone processing algorithm to obtain binary data.

For example, the first generation manner, the second generation manner, and the third generation manner are specifically described below with reference to fig. 6 to 10. To facilitate explanation of the manner of generating the print data, in the present embodiment, the manner of printing the print data generated in the first generation manner is a transparent printing manner, and the transparency of the object formed based on this manner is defined as 1, the manner of printing the print data generated in the second generation manner is a semi-transparent printing manner, and the transparency of the object formed based on this manner is defined as greater than 0 and less than 1, and the manner of printing the print data generated in the third print data generation manner is an opaque printing manner, and the transparency of the object formed based on this manner is defined as 0. Fig. 6-10 show schematic views of 4 rasterized cut sheet layers of a portion of an object formed in a transparent printing mode, wherein each square represents a voxel, rectangles with letters representing a drop of a material, which may be in particular a drop or drops, and the letters in the rectangles representing the type of material of the drop, wherein T represents a drop of colorless transparent material, CMY are drops of colored transparent material, C is a drop of cyan colored transparent material, M is a drop of magenta colored transparent material, Y is a drop of yellow colored transparent material, and W is a drop of white material, wherein the white material is an opaque material, the transparency of which may be set to 0. The thick solid line indicates the area-dividing boundary of the sliced layer, and the portion outside the thick solid line indicates the outer part and the portion inside the thick solid line indicates the inner part. The present embodiment is described by taking an example in which one voxel is formed by three ink droplets, and in other embodiments, one voxel may be formed by another number of ink droplets, which is not limited in the present application.

Fig. 6 is a schematic diagram of a transparent printing manner according to an embodiment of the present application, and fig. 6 is a schematic diagram illustrating a rasterized sliced layer of a portion of an object formed in the transparent printing manner, where all voxels of the portion of the object formed in the transparent printing manner are filled with a colorless transparent material, and specifically, each voxel is formed by three droplets (TTT) of the colorless transparent material.

Wherein the part of the object formed in the semitransparent printing manner is formed by a color transparent material or a color transparent material and a colorless transparent material, that is, is colored using the color transparent material, is filled using the colorless transparent material, and is formed only by the color transparent material when all voxels do not need to be filled; wherein the type of material forming each voxel is determined by the color properties of the object part, i.e. the colored transparent material that should be deposited in each voxel is determined by a halftoning process based on the color properties, and the voxel is filled with a colorless transparent material when the amount of colored transparent material is insufficient to fill the space of the voxel. However, when the thickness of the object portion in the normal direction of the surface thereof is large, since the transparency of the colored transparent material is less than 1, when a plurality of voxels having a transparency of less than 1 are stacked, the transparency of the portion may be low so that the inner portion of the object may not be recognized from the outside of the object.

To solve this problem, fig. 7 is a schematic diagram of a semitransparent printing method according to an embodiment of the present application, and fig. 7 is a schematic diagram of a rasterized sliced layer of a portion of an object formed in the semitransparent printing method, and in particular, the portion of the object formed in the semitransparent printing method is divided into an outer shell portion and an inner portion, the outer shell portion is wrapped outside the inner portion, a color transparent material that should be deposited in each voxel of the outer shell portion is determined based on a color attribute through a halftone process, and when an amount of the color transparent material is insufficient to fill a space of the voxel of the outer shell portion, the voxel of the outer shell portion is filled with a colorless transparent material, that is, the voxel of the outer shell portion may be formed of a color transparent material (CMY) or a color transparent material and a colorless transparent material (CTT, MTT, YTT, CMT, MTT, and colorless transparent material (CTT, MTT, CMT), CYT, MYT), further, the colorless and transparent material is also used to fill the voxels of the inner portion, that is, the voxels of the inner portion are formed of a colorless and transparent material (TTT); the reduction in transparency of the object is avoided by reducing the number of voxels having a transparency less than 1 superimposed, i.e., making the thickness of the outer shell portion smaller enables the transparency of the portion to be greater, thereby making it possible to ensure that the inside of the object portion formed in the semi-transparent printing manner can be clearly recognized from the outside. That is, the transparency of the portion can also be adjusted by adjusting the thickness of the housing portion, further extending the range of printable objects.

Specifically, fig. 8 is a schematic diagram of an opaque printing manner provided in an embodiment of the present application, fig. 9 is a schematic diagram of an opaque printing manner provided in another embodiment of the present application, and fig. 10 is a schematic diagram of an opaque printing manner provided in another embodiment of the present application. Fig. 8, 9 and 10 show schematic views of three rasterized sliced layers of a portion of an object formed in an opaque printing manner, the portion of the object formed in the opaque printing manner being formed at least from a white material, all voxels of the portion of the object being fillable by the white material or the white material and a colorless transparent material when the attribute data of the portion of the object does not include a color attribute, the portion of the object being formed at least from a colored transparent material and a white material, i.e., being colored with the colored transparent material and being filled with the white material or the white material and the colorless material when the attribute data of the portion of the object includes the color attribute.

Specifically, as shown in fig. 8, the halftone processing is performed based on the color attribute of the portion to determine the color transparent material that should be deposited in each voxel of the portion, and in the case where the voxel is not filled with the amount of the color transparent material, the filling is performed using a white material, that is, the voxel of the portion may be formed of a color transparent material (CMY) or a color transparent material and a white material (CWW, MWW, YWW, CMW, CYW, MYW); in other embodiments, the voxels of the portion (CWT, MWT, YWT) may also be co-filled with a colorless transparent material and a white material.

In other embodiments, as shown in fig. 9, the object portion may be further divided into an outer shell portion and an inner portion, the outer shell portion is wrapped outside the inner portion, the outer shell portion is halftoned based on the color properties of the object portion to determine the colored transparent material that should be deposited in each voxel of the outer shell portion, and the outer shell portion is filled with a white material in case that the voxels of the outer shell portion are not filled with the amount of the colored transparent material, i.e. the voxels of the outer shell portion may be formed of Colored Materials (CMY) or colored materials and white materials (CWW, MWW, YWW, CMW, CYW, MYW); in other embodiments, the voxels of the outer shell part (CWT, MWT, YWT) may also be filled with a colorless transparent material and a white material together. Since the outer shell part is filled with a white material, resulting in a transparency of the outer shell part itself close to 0, the inner part may be filled with any type of material, typically white material and/or colorless transparent material, i.e. voxels of the inner part may comprise white material and/or colorless transparent material (WWW, WTT, WWT, TTT). Alternatively, as shown in fig. 10, in the case where the voxels of the outer shell portion are not filled with the amount of the color transparent material, the filling is performed using the colorless transparent material, i.e., the voxels of the outer shell portion may be formed of the color transparent material and/or the colorless transparent material (CTT, MTT, YTT, CMT, CYT, MYT, CMY, TTT), and the transparency of the outer shell portion thus formed is large, and therefore, the inner portion, i.e., the voxels of the inner portion may be formed of the white material or the white material and the colorless transparent material (WWW, WWT, WTT). By controlling the thickness of the outer cover portion, the color of the object portion can be made to conform to expectations without causing the color of the object portion to change due to a change in the thickness of the object portion in the direction of the outer surface normal.

Alternatively, the three-dimensional printing device 220 may be a three-dimensional inkjet printing device, but may be other types of three-dimensional printers.

Alternatively, fig. 11 is a schematic structural diagram of the three-dimensional printing apparatus in the embodiment shown in fig. 2 of the present application, and as shown in fig. 11, the three-dimensional printing apparatus 220 includes a printing platform 221 and a printing head 222.

The printing material of the print head includes a white material and a transparent material, and the transparent printing material of the print head 222 includes a color transparent material and a colorless transparent material. The colorless transparent material has higher transparency, the light transmittance of which can be more than 80%, the colored transparent material can be the colorless transparent material added with the colorant, the transparency of the colored transparent material is lower than that of the colorless transparent material due to the existence of the colorant, the light transmittance of the colored transparent material can be between 0% and 45%, the white material is usually added with materials such as titanium dioxide and has low transparency, and the light transmittance of the colored transparent material can be considered as 0%.

Further, the three-dimensional printing apparatus 220 further includes a moving mechanism 223 for driving the print head 222 and the print platform 221 to move relatively in the horizontal direction and the vertical direction.

Specifically, the print head 222 deposits ink on the printing platform 221 to form a three-dimensional model of the three-dimensional object at least when the print head 222 and the printing platform 221 make relative motion in the horizontal direction.

The embodiment of the present application further provides a method for printing a three-dimensional object, including:

obtaining model data and attribute data of a three-dimensional object, wherein the three-dimensional object comprises a first object and a second object, and a second portion of the second object is located within a first portion of the first object;

generating printing data of the three-dimensional object according to the model data and the attribute data;

printing according to the printing data to obtain a three-dimensional model of the three-dimensional object;

and when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different.

Fig. 12 is a flowchart of a method for printing a three-dimensional object according to an embodiment of the present disclosure, where the method provided in this embodiment may be executed by a printing system for a three-dimensional object, or may be executed by an electronic device such as a processor. As shown in fig. 12, the method includes the steps of:

step S601, model data and attribute data of the three-dimensional object are acquired.

Wherein the three-dimensional object comprises a first object and a second object, the second portion of the second object being located within the first portion of the first object.

Wherein the model data includes basic data, position information of the first object, and position information of the second object; the attribute data includes at least one of color data, density data, elasticity data, and hardness-softness data.

Step S602 determines a generation manner of print data for the three-dimensional object based on the model data or the model data and the attribute data.

Optionally, determining a generation manner of the print data for the three-dimensional object based on the model data includes:

determining a first part, a second part and a position relation of the first part and the second part according to the position information of the first object and the position information of the second object; determining a first transparency corresponding to the printing data of the first part and a second transparency corresponding to the printing data of the second part according to the position relation of the first part and the second part; and determining the generation mode of the printing data of the first part and the generation mode of the printing data of the second part according to the first transparency corresponding to the printing data of the first part and the second transparency corresponding to the printing data of the second part.

Optionally, determining a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion according to the position relationship between the first portion and the second portion includes:

acquiring a first corresponding relation between the position relation and the transparency; and determining a first transparency of the printing data of the first part and a second transparency of the printing data of the second part according to the position relation and the first corresponding relation.

Optionally, determining transparency of the print data for the three-dimensional object based on the model data and the attribute data comprises:

determining a first part, a second part and a position relation of the first part and the second part according to the position information of the first object and the position information of the second object; and determining a first transparency corresponding to the printing data of the first part and a second transparency corresponding to the printing data of the second part according to the position relation of the first part and the second part.

Optionally, determining a first transparency corresponding to the print data of the first portion and a second transparency corresponding to the print data of the second portion according to the position relationship between the first portion and the second portion includes:

determining a first transparency of the print data of the first portion according to the positional relationship and the attribute information of the first portion; and determining a second transparency of the print data of the second part according to the position relation and the attribute information of the second part.

Optionally, determining a first transparency of the print data of the first portion according to the positional relationship and the attribute information of the first portion includes:

acquiring a second corresponding relation among the position relation, the attribute data and the transparency; and determining the first transparency of the printing data of the first part according to the position relationship, the attribute information of the first part and the second corresponding relationship.

Correspondingly, determining the second transparency of the printing data of the second part according to the position relation and the attribute information of the second part comprises the following steps:

and determining a second transparency of the printing data of the second part according to the position relationship, the attribute information of the second part and the second corresponding relationship.

The process of determining the transparency according to the attribute information and the position relationship of the first object and the second object may refer to related descriptions in the embodiments corresponding to fig. 2 to fig. 10 of the present application, and is not repeated herein.

Optionally, determining a generation manner of the first part of the print data and a generation manner of the second part of the print data according to a first transparency corresponding to the first part of the print data and a second transparency corresponding to the second part of the print data includes:

and acquiring a third corresponding relation between the transparency and the generation mode, and determining the generation mode of the printing data of the first part and the generation mode of the printing data of the second part according to the first transparency, the second transparency and the third corresponding relation. For example, a transparency of 1 corresponds to the first generation mode, a transparency greater than 0 and less than 1 corresponds to the second generation mode, and a transparency of 0 corresponds to the third generation mode.

Optionally, the generation manner of the print data of each part of the three-dimensional object may be further determined by referring to the model data and/or the attribute data of the three-dimensional object, for example, the generation manner of the print data of the parts other than the first part and the second part may be determined based on the model data and/or the attribute data of the three-dimensional object.

Step S603 generates print data of the three-dimensional object based on the generation manner of the print data, the model data, and the attribute data.

And when the transparency corresponding to the printing data of the second part is equal to the transparency corresponding to the printing data of the first part, the colors corresponding to the printing data of the first part and the second part are different.

Specifically, fig. 13 is a flowchart of step S603 in the embodiment shown in fig. 12 of the present application, and as shown in fig. 13, after determining the print data generation manner of the three-dimensional object, the method further includes:

step S61, performing slicing processing on the model data to generate sliced data; step S62, based on the halftone processing technology, the halftone processing is carried out on the slice data to obtain bitmap data; step S63, determining a filling mode based on the generation mode; step S64, determining filling data of the bitmap data based on the determined filling mode, and performing data filling on the bitmap data based on the filling data; in step S65, print data of the three-dimensional object is generated based on the data-filled bitmap data. Similarly, the bitmap data may be binary data or 2-bit data, and for convenience of description, the bitmap data is exemplified as the binary data in the present embodiment.

Wherein determining the filling mode based on the generation mode comprises:

and acquiring a fourth corresponding relation between the generation mode and the filling mode, and determining the filling mode according to the generation mode and the fourth corresponding relation.

Specifically, the filling method is a method of filling binary data after halftone processing, that is, a method of filling voxels with insufficient color transparent material, and in this embodiment, the filling method specifically refers to which material is used to fill the voxels with insufficient color transparent material, and specifically includes filling with colorless transparent material, filling with white material, and filling with both colorless transparent material and white material; more specifically, in the present embodiment, in the first generation manner, each voxel is filled with a colorless transparent material; in the second generation mode, all voxels which are not filled with the colored transparent material are filled with the colorless transparent material; in the third generation method, if the object portion is not partitioned, each voxel not filled with the color transparent material is filled with the white material or the white material and the colorless transparent material, and when the object portion is partitioned, each voxel not filled with the color transparent material in the outer shell portion is filled with the white material or the white material and the colorless transparent material, and each voxel in the inner portion may be filled with the white material and/or the colorless transparent material, or each voxel not filled with the color transparent material in the outer shell portion is filled with the colorless transparent material and each voxel in the inner region is filled with the white material or the white material and the colorless transparent material. That is, the filling data of the binary data determined based on the determined filling manner includes a filling position and a filling material type.

Optionally, the slicing processing manner for performing the slicing processing on the model data may also be determined based on the print data generation manner, fig. 14 is a flowchart of step S61 in fig. 13 of the embodiment of the present application, as shown in fig. 14, step S61 specifically includes:

step S611: a solid portion and a support portion are generated from the model data.

Step S612: the solid portion and the support portion are rasterized.

Step S613: determining whether the entity part needs partitioning, if so, executing S614; if not, go to step S615.

Step S614: and carrying out region division on the solid part.

Step S615: generating slice data; wherein the slice data comprises support data and entity data.

Specifically, the determination of whether the solid portion needs to be partitioned in step S613 may be determined based on the print data generation manner.

Alternatively, a halftone processing manner of performing halftone processing on the cut data may also be determined based on the print data generation manner.

Step S604, printing is carried out according to the printing data so as to obtain a three-dimensional model of the three-dimensional object.

Fig. 15 is a schematic structural diagram of a three-dimensional object according to an embodiment of the present application, as shown in fig. 15, the three-dimensional object is a liver 40, and the three-dimensional object includes: the liver parenchyma portion 41 and the blood vessel portion 42, wherein one part of the blood vessel portion 42 is located inside the liver parenchyma portion 41, and the other part of the blood vessel portion 42 is located outside the liver parenchyma portion 41, that is, the liver parenchyma portion 41 is a first object, the blood vessel portion 42 is a second object, and the second object portion is located inside the first object.

In order to enable the blood vessel portion 42 located inside the liver parenchyma portion 41 to be clearly recognized from the outside of the liver parenchyma portion 41, in the present embodiment, the liver parenchyma portion 41 generates print data in the first generation manner, and the blood vessel portion 42 generates print data in the third generation manner, that is, the transparency of the liver parenchyma portion 41 is 1, and the transparency of the blood vessel portion 42 is 0.

In some embodiments, fig. 16 is a schematic structural diagram of a three-dimensional object according to another embodiment of the present disclosure, as shown in fig. 16, the liver model further includes a lesion portion, the lesion portion may be a liver tumor 43, and the liver tumor 43 is also located inside the liver parenchyma portion 41, so that the liver model including the liver parenchyma portion 41 and the liver tumor 43 is taken as a target, the liver parenchyma portion 41 is a first object, the liver tumor 43 is a second object, and in other embodiments, a part of blood vessels of the blood vessel portion 42 may also be located inside the liver tumor 43, so that the liver model including the liver tumor 43 and the blood vessel portion 42 is taken as a target, the liver tumor 43 is a first object, and the blood vessel portion 42 is a second object; when the liver model includes the liver parenchyma portion 41, the liver tumor 43, and the blood vessel portion 42 as objects, the liver parenchyma portion 41 is a first object, the liver tumor 43 is a second object, and the blood vessel portion 42 is a third object, in this case, it is necessary to make the transparency of the liver parenchyma portion 41 smaller than the transparency of the blood vessel portion 42 and the liver tumor 43, and to make the transparency of the blood vessel portion 42 smaller than the transparency of the liver tumor 43, and therefore, it is possible to make the liver parenchyma portion 41 (first object) generate print data in a first generation manner, make the liver tumor 43 (second object) generate print data in a second generation manner, and make the blood vessel portion 42 (third object) generate print data in a third generation manner. Thus, it is possible to clearly recognize both the blood vessel portion 42 and the liver tumor 43 located inside the liver parenchyma portion 41 from the outside of the liver parenchyma portion 41 and the blood vessel portion 42 located inside the liver tumor 43 from the outside of the liver parenchyma portion 41.

Specifically, the specific contents of the first generation manner, the second generation manner and the third generation manner are not described herein again.

Also, the second object as above may include a second portion, wherein the second portion is located inside the first object, and the remaining portion is located outside the first object, for example, taking the liver parenchyma portion 41 and the blood vessel portion 42 as an example, the liver parenchyma portion 41 is the first object, the blood vessel portion 42 is the second object, and the blood vessel portion 42 includes a second portion, the second portion is located inside the liver parenchyma portion 41, and the remaining portion is located outside the liver parenchyma portion 41, at this time, the second portion and the remaining portion of the second object may generate the print data in different generation manners. This can further expand the range of application of the three-dimensionally printed three-dimensional object, for example, the second portion can be formed in an opaque printing manner (print data is generated in the third generation manner) so that the second portion can be clearly recognized from the outside of the first object, and the remaining portion can be formed in a transparent printing manner (print data is generated in the first generation manner) so that lesion tissue such as thrombus in the blood vessel in the remaining portion can be clearly recognized from the outside of the blood vessel. Similarly, the third object may include different portions for generating the print data in different generation manners, and specific contents may refer to the second object, which is not described herein again.

An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the model printing method provided in any one of the embodiments corresponding to fig. 12 to 14 of the present disclosure.

The computer readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

28页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种3D打印真牙模型的制作方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!