Method, system and device for slicing and printing of multi-color multi-dimensional model

CN122841701APending Publication Date: 2026-09-29ATOMIC RESHAPING TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510388239.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2026-09-29

AI Technical Summary

Technical Problem

[0005]本申请提供了一种多色多维模型的切片打印方法、生成方法、系统、装置,旨在有效解决现有技术中应用到打印中的多维多色模型创作难度高、且不容易被打印机识别和修改难度高的技术问题

Benefits of technology

[0044]首先,在本申请所公开的技术方案中,多色多维模型通过在初始单色模型上进行描绘操作而生成,如此相对于现有技术中采用贴图方式对3D模型上色的方法创作更加简单。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122841701A_ABST
    Figure CN122841701A_ABST
Patent Text Reader

Abstract

This application discloses a method, generation method, system, and apparatus for slicing and printing multi-color multi-dimensional models. The method includes: acquiring a multi-color multi-dimensional model, storing the multi-color multi-dimensional model as multi-color multi-dimensional data, the multi-color multi-dimensional data including first color data representing the colored areas on the outer surface of the multi-color multi-dimensional model, the first color data including segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device; performing slicing calculations on the multi-color multi-dimensional model to obtain second color data of the colored portion in the outer layer of the corresponding slice based on the first color data; and controlling the multi-dimensional printing device to print based on the second color data of the slice to print the colored portion in the outer layer of the slice. This application can solve the technical problems of high difficulty in creating multi-dimensional multi-color models for printing, and difficulty in being recognized and modified by printers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of multidimensional modeling technology, and in particular to a method, generation method, system, and apparatus for slicing and printing multicolor multidimensional models. Background Technology

[0002] As multidimensional models are increasingly used in various technical fields, such as multidimensional printing, the creation and / or production of multidimensional models have attracted more participants.

[0003] The creation of existing multi-dimensional models requires highly specialized technicians and complex model parameters, making it quite difficult. Furthermore, as multi-dimensional printing has evolved from monochrome to multi-color printing, multi-dimensional models have also shifted from monochrome to multi-color. Taking 3D models as an example, traditional 3D multi-color models are generally in formats such as OBJ / FBX / DAE. The texture mapping methods used to color 3D models are not easily recognized by printers, and the colored models cannot be modified or edited afterward, thus limiting the application scenarios of 3D multi-color printing.

[0004] Therefore, the printing applications of multidimensional and multi-color models are limited by the scenarios they can be used in. Summary of the Invention

[0005] This application provides a method, generation method, system, and apparatus for slicing and printing multi-color and multi-dimensional models, aiming to effectively solve the technical problems in the prior art where the creation of multi-dimensional and multi-color models applied to printing is difficult, and they are not easily recognized by printers and are difficult to modify.

[0006] According to a first aspect of this application, this application provides a method for slicing and printing a multi-color multi-dimensional model, comprising: acquiring a multi-color multi-dimensional model, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data including first color data for representing the colored area on the outer surface of the multi-color multi-dimensional model, the first color data including segmentation parameters for dividing the colored area on the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of a multi-dimensional printing device; performing slicing calculation on the multi-color multi-dimensional model to obtain second color data of the colored portion in the outer layer of the corresponding slice based on the first color data; and controlling the multi-dimensional printing device to print based on the second color data of the slice to print the colored portion in the outer layer of the slice.

[0007] The multi-color multi-dimensional model slicing printing method provided in this application utilizes multi-color multi-dimensional model data. This data includes first color data for the colored portions of the model's outer surface. After slicing the multi-color multi-dimensional model, each slice's surface has second color data corresponding to the first color data. Therefore, during multi-dimensional printing, each slice's surface position is printed with its corresponding second color data. After printing, a multi-color multi-dimensional printed body is generated. Thus, the multi-color multi-dimensional model slicing printing method provided in this embodiment can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models unrestricted by scene limitations.

[0008] Furthermore, the segmentation parameters include at least one of segmentation shape and segmentation size, wherein the multidimensional printing device has multiple printing resolutions, each printing resolution corresponding to a different segmentation shape and / or segmentation size.

[0009] By utilizing the multiple printing resolutions of multi-dimensional printing equipment, each printing resolution can correspond to different segmentation shapes and / or segmentation sizes. Thus, when printing multi-color multi-dimensional models, each segmentation block on the surface of the multi-color multi-dimensional model can be printed with the most suitable resolution, thereby improving the printing accuracy of multi-color multi-dimensional models.

[0010] Furthermore, prior to the step of obtaining the multi-color multi-dimensional model, the method for slicing and printing the multi-color multi-dimensional model also includes: displaying an initial monochrome model presented in a multi-dimensional solid state on the page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional solid state, the initial monochrome model is transformed into a multi-color multi-dimensional model on the page and stored as multi-color multi-dimensional data.

[0011] In addition to being able to directly print multi-color multi-dimensional models, if the user only has a monochrome multi-dimensional model, the external system can manipulate the predetermined two-dimensional surface of the initial monochrome model to transform it into a multi-color multi-dimensional model, which can then be printed, thus realizing the printing process from the initial monochrome model to the multi-color multi-dimensional model.

[0012] Furthermore, the first color data includes position data and color attributes. When a drawing operation is performed on a predetermined two-dimensional surface of an initial monochrome model presented in a multi-dimensional solid state, the predetermined two-dimensional surface has a drawing trajectory corresponding to the drawing operation. The steps of transforming the initial monochrome model into a multi-color multi-dimensional model on the page and storing it as multi-color multi-dimensional data include: recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets that intersect with the drawing trajectory, wherein different sub-triangular facets have different position data and color attributes, and all sub-triangular facets constitute a multi-color multi-dimensional model.

[0013] Specifically, position data and color attributes can be used to represent the colored areas on the outer surface of the multi-color multi-dimensional model; the application of trajectory drawing allows users to more intuitively see the drawing of the initial monochrome model when performing drawing operations on the predetermined two-dimensional surface of the initial monochrome model; and by recursively dividing the triangular facets, the colored positions of the multi-color multi-dimensional model can be represented in the form of sub-triangular facets.

[0014] Furthermore, the step of recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets includes: obtaining the number of intersections of the vertices of the triangular facets in the drawing trajectory; if the number of intersections is greater than 0 and less than 3, then recursively dividing the triangular facets to generate several sub-triangular facets; if the number of intersections is 3, then drawing operations are performed on the triangular facets.

[0015] If the number of intersections is greater than 0 and less than 3, it means that some of the triangular facets are located within the drawing trajectory. In this case, the triangular facets need to be recursively segmented to remove the sub-triangular facets that are not located within the drawing trajectory, and the sub-triangular facets located within the drawing trajectory are drawn and colored to improve the coloring accuracy.

[0016] Furthermore, the step of recursively dividing the triangular facet to generate several sub-triangular facets includes: sequentially dividing and judging the three side lengths of the triangular facet with an intersection number greater than 0 and less than 3; if the side length is less than a preset side length, then stop dividing the side; if the side length is greater than or equal to the preset side length, then divide the side, so as to recursively divide the triangular facet and generate several sub-triangular facets, until the side length of the divided sub-triangular facet is less than the preset side length, then stop dividing.

[0017] The preset side length setting is related to the printer resolution. The segmented sub-triangular facets are within the printing accuracy of the multi-dimensional printer, which enables multi-color multi-dimensional printing to have good accuracy.

[0018] Furthermore, the slicing printing method for multi-color multi-dimensional models also includes: identifying the depiction position of a predetermined two-dimensional surface to identify the depicted positions and undepicted positions on the predetermined two-dimensional surface that have been depicted; performing coarse-grained recursive segmentation on the triangular facets at the undepicted positions, and performing fine-grained recursive segmentation on the triangular facets at the depicted positions to generate several sub-triangular facets, wherein the area of ​​the sub-triangular facets obtained by the coarse-grained recursive segmentation is greater than the area of ​​the sub-triangular facets obtained by the fine-grained recursive segmentation.

[0019] By identifying the depicted and undepicted positions, not only can the depicted positions be colored, but also, when recursively segmenting the two-dimensional surface of the multi-color multi-dimensional model, the undepicted positions can be coarsely segmented and the depicted positions can be finely segmented. This is because the purpose of recursively segmenting the two-dimensional surface is to separate the depicted and undepicted positions. Since the undepicted positions are not colored, even if the undepicted positions are finely segmented, the printing effect is the same as that of coarse segmentation. Therefore, in this embodiment, coarse segmentation of the undepicted positions can reduce the number of segmentations of the two-dimensional surface of the multi-color multi-dimensional model, thereby improving the slicing printing efficiency of the multi-color multi-dimensional model.

[0020] Furthermore, the side length of the sub-triangular facets recursively segmented is greater than or equal to 0.08 mm.

[0021] The sub-triangular facets generated by this recursive segmentation have a finer granularity, making the printing of multi-color, multi-dimensional models more precise.

[0022] Furthermore, the location data includes the position coordinates of the vertices of each sub-triangle facet that intersects with the depicted trajectory.

[0023] The position coordinates of the vertices of each sub-triangle facet that intersects with the depicted trajectory can represent the position of these sub-triangle facests. That is, in the two-dimensional surface corresponding to the multi-color multi-dimensional model, one side of these sub-triangle facests is not colored, and the other side of these sub-triangle facests is fully colored. Therefore, the colored and uncolored positions of the two-dimensional surface of the multi-color multi-dimensional model can be recorded through position data.

[0024] Furthermore, the location data includes the process of recursively segmenting the triangular facets of each two-dimensional surface.

[0025] The recursive segmentation process of triangular faces can be a process of determining which triangular faces to segment and how to segment them. By recording these processes, it should be noted that segmenting a triangular face means that the triangular face and the drawing trajectory have one or two intersection points. After segmenting a triangular face, if the sub-triangular faces are segmented, it also means that the triangular face and the drawing trajectory have one or two intersection points. Therefore, by recording the segmentation process of triangular faces, the positions of the colored and uncolored sub-triangular faces can also be determined.

[0026] Furthermore, the method also includes repairing printing defects if the initial monochrome model has printing defects.

[0027] In this embodiment, the initial monochrome model has printing defects and cannot be printed. Even if the initial monochrome model is colored to obtain a multicolor multidimensional model, since the basic initial monochrome model cannot be printed, the obtained multicolor multidimensional model also cannot be printed. Therefore, this embodiment detects the initial monochrome model. If the initial monochrome model has printing defects, the monochrome model is repaired so that the initial monochrome model can be printed. In this way, after the initial monochrome model is colored to obtain a multicolor multidimensional model, the multicolor multidimensional model can also be printed.

[0028] Furthermore, printing defects include at least one of the following: non-manifold geometry, incorrect surface normals, insufficient wall thickness, intersecting or overlapping geometry, unclosed geometry, suspended structures, improper scale, and duplicate vertices or faces.

[0029] Among them, there are more types of defect repairs for the initial monochrome model, which can provide a more comprehensive repair for the initial monochrome model.

[0030] Furthermore, the multi-color, multi-dimensional model slicing printing method is applied to slicing printing software.

[0031] The slicing printing method for the multi-color, multi-dimensional model described above can be implemented using slicing printing software.

[0032] According to a second aspect of this application, this application also provides a method for slicing and printing a multi-color multi-dimensional model, comprising: displaying an initial monochrome model presented in a multi-dimensional solid state on a page, wherein the initial monochrome model has N dimensions, N being greater than or equal to 3; when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional solid state, the initial monochrome model is transformed into a multi-color multi-dimensional model on the page, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data including first color data for representing the colored area of ​​the outer surface of the multi-color multi-dimensional model, the first color data including segmentation parameters for dividing the colored area of ​​the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device; performing slicing calculation on the multi-color multi-dimensional model to obtain second color data of the colored portion in the outer layer of the corresponding slice based on the first color data; and controlling the multi-dimensional printing device to print based on the second color data of the slice to print the colored portion in the outer layer of the slice.

[0033] The multicolor multidimensional model slicing printing method provided in this application can generate a multicolor multidimensional model based on the external depiction of an initial monochrome model. The multicolor multidimensional model has multicolor multidimensional data, and the multicolor multidimensional data includes the first color data of the colored parts on the outer surface of the multicolor multidimensional model. After slicing the multicolor multidimensional model, the surface of each slice has second color data corresponding to the first color data. Therefore, during multidimensional printing, the surface position of each slice is printed with the corresponding second color data. After printing is completed, a multicolor multidimensional printed body can be generated.

[0034] According to a third aspect of this application, this application also provides a method for generating a multi-color multi-dimensional model, comprising: displaying an initial monochrome model presented in a multi-dimensional solid state on a page, wherein the initial monochrome model has N dimensions, N being greater than or equal to 3; when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional solid state, the initial monochrome model is transformed into a multi-color multi-dimensional model on the page, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data including first color data for representing the colored area of ​​the outer surface of the multi-color multi-dimensional model, the first color data including segmentation parameters for dividing the colored area of ​​the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device.

[0035] The method for generating a multi-color multi-dimensional model provided in this application can transform an initial monochrome model into a multi-color multi-dimensional model on a page based on external operations that depict a predetermined two-dimensional surface of a monochrome model, thereby generating a printable multi-color multi-dimensional model.

[0036] Furthermore, the first color data includes position data and color attributes. When a drawing operation is performed on a predetermined two-dimensional surface of an initial monochrome model presented in a multi-dimensional solid state, the predetermined two-dimensional surface has a drawing trajectory corresponding to the drawing operation. The steps of transforming the initial monochrome model into a multi-color multi-dimensional model on the page and storing it as multi-color multi-dimensional data include: recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets that intersect with the drawing trajectory, wherein different sub-triangular facets have different position data and color attributes, and all sub-triangular facets constitute a multi-color multi-dimensional model.

[0037] Specifically, position data and color attributes can be used to represent the colored areas on the outer surface of the multi-color multi-dimensional model; the application of trajectory drawing allows users to more intuitively see the drawing of the initial monochrome model when performing drawing operations on the predetermined two-dimensional surface of the initial monochrome model; and by recursively dividing the triangular facets, the colored positions of the multi-color multi-dimensional model can be represented in the form of sub-triangular facets.

[0038] According to a fourth aspect of this application, this application also provides a slicing printing system for a multicolor multidimensional model, comprising: a model acquisition module for acquiring a multicolor multidimensional model, wherein the multicolor multidimensional model is stored as multicolor multidimensional data, the multicolor multidimensional data including first color data representing the colored area on the outer surface of the multicolor multidimensional model, the first color data including segmentation parameters for dividing the colored area on the outer surface of the multicolor multidimensional model, the segmentation parameters being related to the printing resolution of the multidimensional printing device; a model slicing module for performing slicing calculations on the multicolor multidimensional model to obtain second color data of the colored portion in the outer layer of the corresponding slice based on the first color data; and a model printing module for controlling the multidimensional printing device to print based on the second color data of the slice to print the colored portion in the outer layer of the slice.

[0039] According to a fifth aspect of this application, this application also provides a system for generating a multi-color multi-dimensional model, comprising: a presentation module for displaying an initial monochrome model presented in a multi-dimensional stereoscopic state on a page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; and a drawing module for transforming the initial monochrome model into a multi-color multi-dimensional model on the page when an external drawing operation is performed on a predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional stereoscopic state, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data including first color data for representing the colored areas of the outer surface of the multi-color multi-dimensional model, the first color data including segmentation parameters for dividing the colored areas of the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device.

[0040] According to a fifth aspect of this application, this application also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the slicing printing method of the multicolor multidimensional model described in any one of the above claims, and implements the generation method of the multicolor multidimensional model described in any one of the above claims.

[0041] According to a sixth aspect of this application, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein when a processor executes the computer program, it implements the slicing and printing method of the multicolor multidimensional model described in any one of the above claims, and implements the generation method of the multicolor multidimensional model described in any one of the above claims.

[0042] According to a seventh aspect of this application, this application also provides a computer program for executing the slicing and printing method of the multicolor multidimensional model described in any one of the foregoing claims, thereby implementing the multicolor multidimensional model generation method described in any one of the foregoing claims.

[0043] In summary, through one or more embodiments of the above-described embodiments in this application, at least the following technical effects can be achieved:

[0044] First, in the technical solution disclosed in this application, the multi-color multi-dimensional model is generated by drawing on an initial monochrome model, which is simpler to create than the existing method of coloring 3D models using texture mapping.

[0045] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers. This multi-color multi-dimensional model has multi-color multi-dimensional data, and the multi-color multi-dimensional data includes first color data for the colored areas on the outer surface of the multi-color multi-dimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model. The segmentation parameters are related to the printing resolution of the multi-dimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, after slicing the multi-color multi-dimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multi-dimensional printing device. In this way, the second color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body can be generated after printing is completed.

[0046] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0047] Therefore, this application can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models not limited by the scene. Attached Figure Description

[0048] The technical solution and other beneficial effects of this application will become apparent from the following detailed description of specific embodiments in conjunction with the accompanying drawings.

[0049] Figure 1 A flowchart of a slicing and printing method for a multi-color, multi-dimensional model provided in an embodiment of this application;

[0050] Figure 2 A schematic diagram showing the intersection of the trajectories of the slicing and printing method for the multi-color multi-dimensional model provided in this application embodiment with the vertex of the triangular facet.

[0051] Figure 3 A schematic diagram of the triangular facets that need to be segmented in the slicing printing method for the multi-color multi-dimensional model provided in the embodiments of this application;

[0052] Figure 4 A flowchart of a slicing printing method for a multicolor multidimensional model provided in another embodiment of this application;

[0053] Figure 5 A flowchart illustrating the method for generating a multi-color, multi-dimensional model provided in this application embodiment;

[0054] Figure 6 A schematic block diagram of the structure of the multicolor multidimensional model slicing printing system provided in the embodiments of this application;

[0055] Figure 7 A schematic block diagram of the structure of the multicolor multidimensional model generation system provided in the embodiments of this application;

[0056] Figure 8 A schematic block diagram of the structure of the electronic device provided in the embodiments of this application;

[0057] Figure 9 A scene diagram of a monochrome 3D model for the slicing and printing method of the multicolor multidimensional model provided in the embodiments of this application;

[0058] Figure 10 A scene diagram of a multicolor 3D model for the slicing and printing method of the multicolor 3D model provided in the embodiments of this application;

[0059] Figure 11 A schematic diagram of the triangular facet scene of each two-dimensional surface of the multicolor three-dimensional model in the slicing printing method of the multicolor multidimensional model provided in the embodiments of this application;

[0060] Figure 12This is a schematic diagram of a scene of a multi-color three-dimensional model pre-located on a surface after recursively dividing it into sub-triangular facets, which is part of the multi-color multi-dimensional model slicing printing method provided in the embodiments of this application. Detailed Implementation

[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0062] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this document, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0063] As multidimensional models are increasingly used in various technical fields, such as multidimensional printing, the creation and / or production of multidimensional models have attracted more participants.

[0064] The creation of existing multi-dimensional models requires highly specialized technicians and complex model parameter settings, resulting in a high level of difficulty. Furthermore, as multi-dimensional printing has evolved from monochrome to multi-color printing, multi-dimensional models have also shifted from monochrome to multi-color. Taking 3D models as an example, traditional multi-color 3D models are generally in formats such as OBJ / FBX / DAE. The initial 3D model is a monochrome model. Methods for converting monochrome 3D models to multi-color 3D models typically use texture mapping. However, texture mapping for coloring 3D models cannot be directly applied to 3D printing scenarios, thus limiting the application scenarios of multi-color 3D printing. Therefore, the printing applications of multi-dimensional multi-color models are limited by specific scenarios.

[0065] To address the aforementioned issues, embodiments of this application provide a method, generation method, system, and apparatus for slicing and printing multi-color, multi-dimensional models.

[0066] Figure 1 The image shows a method for slicing and printing a multi-color, multi-dimensional model according to an embodiment of this application, including:

[0067] S101. Obtain the multi-color, multi-dimensional model;

[0068] S102. Perform slicing calculation on the multi-color multi-dimensional model to obtain the second color data of the colored part in the outer layer of the corresponding slice based on the first color data;

[0069] S103. Control the multi-dimensional printing device to print according to the second color data of the slice, so as to print the colored part in the outer layer of the slice.

[0070] In step S101, the multicolor multidimensional model is stored as multicolor multidimensional data. The multicolor multidimensional data includes first color data for representing the colored area on the outer surface of the multicolor multidimensional model. The first color data includes segmentation parameters for dividing the colored area on the outer surface of the multicolor multidimensional model. The segmentation parameters are related to the printing resolution of the multidimensional printing device.

[0071] The relationship between the segmentation parameter and the printing resolution of the multi-dimensional printing device means that when the colored area on the outer surface of the multi-dimensional multi-color model is segmented, the smallest unit it is divided into is greater than or equal to the printing resolution of the multi-dimensional printing device. This is to enable the multi-dimensional printing device to print each smallest segmented unit. If the smallest segmented unit is smaller than the printing resolution, the multi-dimensional printing device will be unable to print that smallest unit.

[0072] In step S102, after the multicolor multidimensional model is sliced ​​and calculated, the multicolor multidimensional model is sliced ​​into several slices. The second color data of the surface of each slice corresponds to the first color data before slicing. Therefore, the second color data of the colored part in the outer layer of the corresponding slice can be obtained according to the first color data.

[0073] In step S103, the multidimensional printing device can print all the slices according to the slices obtained in step S102 and the second color data corresponding to each slice. After printing is completed, a multidimensional printed body can be obtained.

[0074] The multi-color multi-dimensional model slicing printing method provided in this embodiment is firstly, the multi-color multi-dimensional model can be generated by drawing on an initial monochrome model, which is simpler to create than the existing method of coloring 3D models by using texture mapping.

[0075] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers.

[0076] This multi-color multi-dimensional model has multi-color multi-dimensional data, and the multi-color multi-dimensional data includes first color data for the colored areas on the outer surface of the multi-color multi-dimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model. The segmentation parameters are related to the printing resolution of the multi-dimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, after slicing the multi-color multi-dimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multi-dimensional printing device. In this way, the second color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body can be generated after printing is completed.

[0077] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0078] Therefore, this embodiment can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models not limited by the scene.

[0079] In some embodiments, the segmentation parameters describing the multicolor multidimensional model in step S101 include at least one of segmentation shape and segmentation size, wherein the multidimensional printing device has multiple printing resolutions, each printing resolution corresponding to a different segmentation shape and / or segmentation size.

[0080] In this embodiment, the segmentation parameters include segmentation shape and segmentation size. The segmentation shape and segmentation size are the shape and size of each segmentation block after the colored area on the surface of the multi-color multi-dimensional model is segmented.

[0081] In this embodiment, during the process of segmenting the colored areas on the surface of the multicolor multidimensional model, the slicing and printing method of the multicolor multidimensional model further includes: fine-grained segmentation of the colored areas on the surface of the multicolor multidimensional model, and fine-grained segmentation of the uncolored areas on the surface of the multicolor multidimensional model.

[0082] Therefore, after the colored area on the surface of the multicolor multidimensional model is divided, segments of different sizes or shapes will be formed. In this embodiment, by utilizing the feature of the multidimensional printing device having multiple printing resolutions, each printing resolution can correspond to a different segment shape and / or segment size. Thus, when printing the multicolor multidimensional model, each segment on the surface of the multicolor multidimensional model can be printed with the most suitable resolution, thereby improving the printing accuracy of the multicolor multidimensional model.

[0083] In some embodiments, prior to the step of obtaining the multicolor multidimensional model in S101, the method for slicing and printing the multicolor multidimensional model further includes: displaying an initial monochrome model presented in a multidimensional stereoscopic state on the page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; when the external environment performs a slicing and printing operation on the multicolor multidimensional model presented in a multidimensional stereoscopic state, the method further includes: storing the multicolor multidimensional data in a serialized manner. When a predetermined two-dimensional surface of the initial monochrome model is depicted, the initial monochrome model is transformed into a multicolor multidimensional model on the page and stored as multicolor multidimensional data.

[0084] In the above embodiments, multi-color multi-dimensional models can be printed directly. If the user only has a monochrome multi-dimensional model, the initial monochrome model can be transformed into a multi-color multi-dimensional model by operating on the predetermined two-dimensional surface of the initial monochrome model according to the solution provided in this embodiment. Then, by using steps S101-S103, multi-color multi-dimensional models can be printed even if the user only has a monochrome model.

[0085] Therefore, the technical solution provided in this embodiment can color-process an initial monochrome multi-dimensional model, directly transforming the original monochrome model into a multi-color model, reducing the difficulty of user operation, and applying the multi-color model to multi-dimensional printing scenarios without being limited by the multi-color printing scenario.

[0086] In some embodiments, the first color data includes location data and color attributes.

[0087] In this embodiment, position data and color attributes refer to the position and color of the colored area on the outer surface of the multi-color multi-dimensional model. The position can be represented by coordinates, and the color can be represented by RGB data, CMYK data, or other methods. Thus, position data and color attributes are used to represent the colored area on the outer surface of the multi-color multi-dimensional model.

[0088] In some embodiments, when a drawing operation is performed on a predetermined two-dimensional surface of an initial monochrome model presented in a multidimensional stereoscopic state, the predetermined two-dimensional surface has a drawing trajectory corresponding to the drawing operation.

[0089] In this embodiment, the application of the drawing trajectory enables the user to more intuitively see the drawing of the initial monochrome model when performing a drawing operation on a predetermined two-dimensional surface of the initial monochrome model. In addition, the drawing trajectory in this embodiment can also indicate the position where the user has drawn and colored the initial monochrome model, so that the user can see the coloring process of the monochrome model in real time and more intuitively.

[0090] In some embodiments, the step of transforming the initial monochrome model into a multicolor multidimensional model on the page and storing it as multicolor multidimensional data includes: recursively dividing the triangular facets of a predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets that intersect with the drawing trajectory, wherein different sub-triangular facets have different position data and color attributes, and all sub-triangular facets constitute a multicolor multidimensional model.

[0091] This embodiment assumes that a multidimensional model can be represented by triangles. Therefore, the method for slicing and printing a multi-color multidimensional model also includes: representing the multi-color multidimensional model with triangular facets.

[0092] In this embodiment, by recursively dividing the triangular facets, the coloring position of the multi-color multi-dimensional model can be represented in the form of sub-triangular facets. That is, on the two-dimensional surface of the multi-color multi-dimensional model, there are two types of sub-triangular facets. One type of sub-triangular facet has the monochrome color of the initial monochrome model, and the other type of sub-triangular facet has the color drawn by the user. Therefore, both types of sub-triangular facets have corresponding color attributes and position data. The two types of sub-triangular facets are combined to form the two-dimensional surface of the multi-color multi-dimensional model.

[0093] In some embodiments, the step of recursively dividing a triangular facet of a predetermined two-dimensional surface into a plurality of sub-triangular facets includes:

[0094] Get the number of intersections of the vertices of the triangle in the drawn trajectory;

[0095] If the number of intersections is greater than 0 and less than 3, then the triangular facet is recursively divided to generate several sub-triangular facets.

[0096] If the number of intersections is 3, then the triangular facets are drawn.

[0097] In this embodiment, if the number of intersections is 3, it means that the triangular facet is completely within the drawn trajectory. In this case, there is no need to further divide the triangular facet; simply color the triangular facet. (See also...) Figure 2 ,exist Figure 2In this diagram, a circle is used as a tracing trajectory, and triangles are used as sub-triangular facets. A triangle is completely inside the circle, indicating that the triangular facet is completely within the tracing trajectory, and therefore the triangle does not need to be segmented.

[0098] If the number of intersections is greater than 0 and less than 3, it indicates that some of the triangular faces lie within the drawing trajectory. In this case, it is necessary to recursively segment the triangular faces, remove the sub-triangular faces not within the drawing trajectory, and then draw and color the sub-triangular faces within the drawing trajectory. (See reference...) Figure 2 One triangle has one vertex inside the circle, and another triangle has two vertices inside the circle. They meet the condition that the number of intersections is greater than 0 and less than 3. Therefore, it is necessary to recursively divide the two triangles to improve the accuracy of coloring.

[0099] If the number of intersections is 0, it means that the corresponding sub-triangle facet is completely outside the drawn trajectory. (See also...) Figure 2 Since a triangle has no vertices inside a circle, there is no need to draw the triangle facets.

[0100] In some embodiments, the step of recursively dividing a triangular facet to generate several sub-triangular facets includes: sequentially dividing and judging the three side lengths of a triangular facet with an intersection number greater than 0 and less than 3; if the side length is less than a preset side length, then stop dividing the side; if the side length is greater than or equal to the preset side length, then divide the side, so as to recursively divide the triangular facet and generate several sub-triangular facets, until the side length of the divided sub-triangular facet is less than the preset side length, then stop dividing.

[0101] like Figure 3 As shown, based on Figure 2 Take a triangular facet that needs to be divided, and the resulting triangular facet is as follows: Figure 3 As shown, it has three edges, namely edge 0, edge 1 and edge 2, and three vertices, namely vertex 0, vertex 1 and vertex 2, and edge 0, edge 1 and edge 2 correspond to vertex 0, vertex 1 and vertex 2 respectively.

[0102] The lengths of edges 0, 1, and 2 need to be determined. If edge 0, 1, or 2 is less than a preset length, then the edges less than the preset length are not recursively segmented. If edge 0, 1, or 2 is greater than the preset length, then the edges greater than the preset length are segmented.

[0103] For example, if edge 0 is greater than the preset edge length, then edge 0 is divided. When dividing edge 0, a dividing line is drawn from edge 0 to its corresponding vertex 0 to divide the sub-triangle face into two smaller sub-triangle faces. At this time, it is still necessary to judge whether the three sides of the two smaller sub-triangle faces are greater than the preset edge length. If they are greater, the division continues until the edge length of the divided sub-triangle faces is less than the preset edge length, and then the division stops.

[0104] In this embodiment, in order to make the two sub-triangular faces more uniform, when making the dividing line, the dividing line is drawn from the midpoint of the edge to be divided to its corresponding vertex, or from the vertex of the edge to be divided to the midpoint of the edge.

[0105] In this embodiment, when recursively dividing the triangular facets when the number of intersections is greater than 0 and less than 3, the triangular facets cannot be divided infinitely. This is because the resolution of the multi-dimensional printer is limited, and it is necessary to ensure that the divided sub-triangular facets are within the printing accuracy of the multi-dimensional printer. Therefore, the preset side length value needs to be less than or equal to the printing accuracy of the multi-dimensional printer, so that multi-color multi-dimensional printing can have better accuracy.

[0106] For example, if the printing precision of the multi-dimensional printer is 0.08mm, then the preset side length value is 0.08mm. This way, the sub-triangular facets recursively divided have a finer granularity, making the printing of multi-color multi-dimensional models more precise. In other embodiments, the multi-dimensional printer may have other printing precisions, and the preset side length value may also be other values, which will not be listed in this embodiment.

[0107] In some embodiments, the method for slicing and printing a multi-color, multi-dimensional model further includes: identifying the depiction position of a predetermined two-dimensional surface to identify the depicted positions and undepicted positions on the predetermined two-dimensional surface that have been depicted; performing coarse-grained recursive segmentation on the triangular facets at the undepicted positions, and performing fine-grained recursive segmentation on the triangular facets at the depicted positions to generate a plurality of sub-triangular facets, wherein the area of ​​the sub-triangular facets obtained by the coarse-grained recursive segmentation is greater than the area of ​​the sub-triangular facets obtained by the fine-grained recursive segmentation.

[0108] In this embodiment, by identifying the depicted and undepicted positions, not only can the depicted positions be colored, but also, when recursively segmenting the two-dimensional surface of the multi-color multi-dimensional model, the undepicted positions can be coarsely segmented and the depicted positions can be finely segmented. This is because the purpose of recursively segmenting the two-dimensional surface is to separate the depicted and undepicted positions. Since the undepicted positions are not colored, even if the undepicted positions are finely segmented, the printing effect is the same as that of coarse segmentation. Therefore, this embodiment can reduce the number of segmentations of the two-dimensional surface of the multi-color multi-dimensional model by performing coarse segmentation on the undepicted positions, thereby improving the slicing printing efficiency of the multi-color multi-dimensional model.

[0109] In some embodiments, the step of depicting and identifying the location of a predetermined two-dimensional surface includes:

[0110] Monitor the drawing trajectory; identify the parts where the predetermined two-dimensional surface and the drawing trajectory overlap as drawing positions, and identify the parts where the predetermined two-dimensional surface and the drawing trajectory do not overlap as undrawn positions.

[0111] In this embodiment, the user needs to draw the initial monochrome model. This can be done using touch or a mouse. In this embodiment, the user uses a mouse to draw the initial monochrome model. Therefore, when monitoring the drawing trajectory, the user only needs to monitor the movement trajectory of the mouse.

[0112] In other words, the part of the mouse's movement trajectory that coincides with the predetermined two-dimensional surface is identified as the depicted position, and the other positions on the two-dimensional surface, that is, the parts of the two-dimensional surface that do not coincide with the movement trajectory, are identified as undepicted positions.

[0113] In other embodiments, users can also use touch drawing to identify touch trajectories as movement trajectories. The method for determining the drawn and undrawn positions is the same as that for mouse drawing, and will not be described again here.

[0114] In some embodiments, the side length of the recursively segmented sub-triangles is greater than or equal to 0.08 mm.

[0115] This embodiment illustrates one value for the minimum side length of the sub-triangular facet. It should be noted that the minimum side length of the sub-triangular facet can also be other values, such as 0.10mm, 0.12mm, 0.14mm, 0.16mm, etc. It should also be noted that the above values ​​are only some examples listed in this embodiment. In other embodiments, as long as the side length of the sub-triangular facet is greater than or equal to 0.08mm, it is within the protection scope of this application.

[0116] Alternatively, the minimum side length of the triangular facet can be determined based on the printing accuracy of the multi-dimensional printing equipment. For example, if the printing accuracy of the multi-dimensional printer is 0.08mm, then the minimum side length of the triangular facet is greater than or equal to 0.08mm. If the printing accuracy of the multi-dimensional printer is 0.10mm, then the minimum side length of the triangular facet is greater than or equal to 0.10mm.

[0117] In some embodiments, the location data includes the position coordinates of the vertices of the respective sub-triangle facets that intersect the drawn trajectory.

[0118] In this embodiment, the position coordinates of the vertices of each sub-triangle facet intersecting with the depicted trajectory can represent the position of these sub-triangle facests. That is, in the two-dimensional surface corresponding to the multi-color multi-dimensional model, one side of these sub-triangle facests is not colored, and the other side of these sub-triangle facests is fully colored. Therefore, the colored and uncolored positions of the two-dimensional surface of the multi-color multi-dimensional model can be recorded by position data.

[0119] In some embodiments, the location data includes a process of recursively segmenting triangular facets of each two-dimensional surface.

[0120] In this embodiment, the recursive segmentation process of the triangular facets can be a process of determining which triangular facets to segment and how to segment them. By recording these processes, it should be noted that when a triangular facet is segmented, it means that the triangular facet and the drawing trajectory have one or two intersection points. After segmenting the triangular facets, if the sub-triangular facets are segmented, it also means that the triangular facets and the drawing trajectory have one or two intersection points. Therefore, by recording the segmentation process of the triangular facets, the positions of the colored and uncolored sub-triangular facets can also be determined.

[0121] In some embodiments, if the initial monochrome model has printing defects, the printing defects are repaired.

[0122] In this embodiment, it should be noted that after the initial monochrome model is produced, there may be some defects, such as non-manifold geometry, incorrect surface normals, insufficient wall thickness, intersecting or overlapping geometry, unclosed geometry, suspended structures, improper scale, or at least one of repeated vertices or faces. Any of these defects will cause the initial monochrome model to be unable to be printed.

[0123] Correspondingly, the initial monochrome model has printing defects and cannot be printed. Even if the initial monochrome model is colored to obtain a multicolor multidimensional model, since the basic initial monochrome model cannot be printed, the obtained multicolor multidimensional model also cannot be printed. Therefore, this embodiment detects the initial monochrome model. If the initial monochrome model has printing defects, the monochrome model is repaired so that the initial monochrome model can be printed. In this way, after the initial monochrome model is colored to obtain a multicolor multidimensional model, the multicolor multidimensional model can also be printed.

[0124] Furthermore, this embodiment can repair a wide variety of defects, and can provide a more comprehensive repair of the initial monochrome model.

[0125] In some embodiments, multi-color multi-dimensional data is stored in a serialized manner. This allows the multi-color multi-dimensional model to be restored to its initial monochrome form through serialization or deserialization during desaturation or resaturation processing. This eliminates the need to segment the multi-color multi-dimensional model and then restore the colored sub-triangles to their original colors, thus improving the efficiency of desaturation or resaturation processing.

[0126] In some embodiments, after the step of transforming the initial monochrome model into a multicolor multidimensional model on the page, the slicing printing of the multicolor multidimensional model further includes:

[0127] If the multicolor multidimensional model is partially or completely eliminated, the eliminated and un-eliminated positions of the multicolor multidimensional model are obtained; the eliminated positions are reverted to the color data corresponding to the initial monochrome model using the serialized multicolor multidimensional data, and the multicolor multidimensional data of the un-eliminated positions are retained.

[0128] This embodiment can perform desaturation processing on multi-color and multi-dimensional models. For example, if a user uses the wrong color or the drawing trajectory is incorrect during the drawing operation, and it is necessary to remove part of the color, this embodiment can restore the desaturated position to the color data corresponding to the initial monochrome model, and retain the multi-color and multi-dimensional data of the undesaturated position. There is no need to divide the multi-color and multi-dimensional model and then restore the colored sub-triangle facets to their original colors, thus improving the efficiency of desaturation or recoloring of multi-color and multi-dimensional models.

[0129] In some embodiments, after the step of transforming the initial multidimensional model into a multi-color multidimensional model on the page, the slicing printing of the multi-color multidimensional model further includes:

[0130] If the multicolor multidimensional model is partially or completely redrawn, the redrawn and non-redrawn positions of the multicolor multidimensional model are obtained; the redrawn positions are reverted to the color data corresponding to the initial monochrome model using the serialized stored multicolor multidimensional data, and then redrawn to obtain the redrawn multicolor multidimensional model data, while retaining the multicolor multidimensional data of the non-redrawn positions.

[0131] This embodiment can recolor a multi-color multi-dimensional model. For example, after a user performs a drawing operation, a multi-color multi-dimensional model is generated. If the user wants to recolor it, the color data of the multi-color multi-dimensional model can be restored to the color data of the initial monochrome model, and then the drawing can be performed again. There is no need to divide the multi-color multi-dimensional model and then restore the colored sub-triangles to their original colors. This improves the efficiency of decolorizing or recoloring multi-color multi-dimensional models.

[0132] In some embodiments, the slicing printing method for the multi-color multidimensional model described in any of the above embodiments is applied to slicing printing software. For example, when performing steps S101-S103 using the slicing printing software, the slicing printing software is used to obtain the multi-color multidimensional model; the slicing printing software is used to perform slicing calculations on the multi-color multidimensional model to obtain the second color data of the colored portion in the outer layer of the corresponding slice based on the first color data; the slicing printing software controls the multidimensional printing device to print based on the second color data of the slice to print the colored portion in the outer layer of the slice.

[0133] In summary, the slicing and printing method for multi-color multi-dimensional models provided in any of the above embodiments allows the multi-color multi-dimensional model to be generated by drawing on an initial monochrome model, which is simpler than the existing method of coloring 3D models using texture mapping. Furthermore, the multi-color multi-dimensional model possesses multi-color multi-dimensional data, including first color data for the colored areas on the outer surface of the model. This first color data includes segmentation parameters for dividing the colored areas on the outer surface of the model. These segmentation parameters are related to the printing resolution of the multi-dimensional printing device. Therefore, after slicing the multi-color multi-dimensional model, each slice's surface has second color data corresponding to the first color data. This second color data necessarily includes segmentation parameters related to the printing resolution of the multi-dimensional printing device. Thus, the second color data can be recognized by the multi-dimensional printing device, and the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body is generated after printing is completed.

[0134] Please see Figure 2 This application also provides a method for slicing and printing a multi-color, multi-dimensional model, including:

[0135] S111. Display the initial monochrome model presented in a multi-dimensional stereoscopic manner on the page;

[0136] S112. When the external environment performs a drawing operation on the predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional solid state, the initial monochrome model is transformed into a multi-color multi-dimensional model on the page.

[0137] S113. Perform slicing calculation on the multi-color multi-dimensional model to obtain the second color data of the colored part in the outer layer of the corresponding slice based on the first color data;

[0138] S114. Control the multi-dimensional printing device to print according to the second color data of the slice, so as to print the colored part in the outer layer of the slice.

[0139] In step S111, the initial monochrome model has N dimensions, where N is greater than or equal to 3. For example, in this embodiment, the initial monochrome model is a three-dimensional model. In other embodiments, the initial monochrome model can also be a four-dimensional model, a five-dimensional model, etc.

[0140] In step S112, the multicolor multidimensional model is stored as multicolor multidimensional data. The multicolor multidimensional data includes first color data for representing the colored area on the outer surface of the multicolor multidimensional model. The first color data includes segmentation parameters for dividing the colored area on the outer surface of the multicolor multidimensional model. The segmentation parameters are related to the printing resolution of the multidimensional printing device.

[0141] The relationship between the segmentation parameter and the printing resolution of the multi-dimensional printing device means that when the colored area on the outer surface of the multi-dimensional multi-color model is segmented, the smallest unit it is divided into is greater than or equal to the printing resolution of the multi-dimensional printing device. This is to enable the multi-dimensional printing device to print each smallest segmented unit. If the smallest segmented unit is smaller than the printing resolution, the multi-dimensional printing device will be unable to print that smallest unit.

[0142] In step S113, after the multicolor multidimensional model is sliced ​​and calculated, the multicolor multidimensional model is sliced ​​into several slices. The second color data of the surface of each slice corresponds to the first color data before slicing. Therefore, the second color data of the colored part in the outer layer of the corresponding slice can be obtained according to the first color data.

[0143] In step S114, the multidimensional printing device can print all the slices according to the slices obtained in step S113 and the second color data corresponding to each slice. After printing is completed, a multidimensional printed body can be obtained.

[0144] The provided method for slicing and printing multi-color, multi-dimensional models is that, firstly, the multi-color, multi-dimensional model can be generated by drawing on an initial monochrome model, which is simpler than the existing method of coloring 3D models using texture mapping.

[0145] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers.

[0146] This multi-color multi-dimensional model has multi-color multi-dimensional data, and the multi-color multi-dimensional data includes first color data for the colored areas on the outer surface of the multi-color multi-dimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model. The segmentation parameters are related to the printing resolution of the multi-dimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, after slicing the multi-color multi-dimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multi-dimensional printing device. In this way, the second color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body can be generated after printing is completed.

[0147] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0148] Therefore, this application can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models not limited by the scene.

[0149] Please see Figure 3 This application also provides a method for generating a multi-color, multi-dimensional model, including:

[0150] S121. Display the initial monochrome model presented in a multi-dimensional stereoscopic manner on the page;

[0151] S122. When the external environment performs a drawing operation on the predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional solid state, the initial monochrome model is transformed into a multi-color multi-dimensional model on the page.

[0152] In step S121, the initial monochrome model has N dimensions, where N is greater than or equal to 3. For example, in this embodiment, the initial monochrome model is a three-dimensional model. In other embodiments, the initial monochrome model can also be a four-dimensional model, a five-dimensional model, etc.

[0153] In step S122, the multicolor multidimensional model is stored as multicolor multidimensional data. The multicolor multidimensional data includes first color data for representing the colored area on the outer surface of the multicolor multidimensional model. The first color data includes segmentation parameters for dividing the colored area on the outer surface of the multicolor multidimensional model. The segmentation parameters are related to the printing resolution of the multidimensional printing device.

[0154] The multi-color multi-dimensional model generation method provided in this embodiment can generate a multi-color multi-dimensional model by drawing on an initial monochrome model, which is simpler to create than the existing method of coloring 3D models by using texture mapping.

[0155] In addition, it should be noted that the multicolor multidimensional model generated by the multicolor multidimensional model generation method provided in this embodiment can be applied to 3D printing equipment.

[0156] Existing technologies using texture mapping to generate multicolor, multidimensional models contain texture information. However, if this texture information is not properly processed or exported, 3D printing equipment may fail to recognize it, or the processing quality may be poor. For example, if the resolution is too low, the printed surface will appear rough. If the resolution is too high, the file will become extremely large, potentially overwhelming the printer. Furthermore, excessively fine details cannot be reproduced on typical 3D printers.

[0157] The multicolor multidimensional model generated in this embodiment has multicolor multidimensional data, and the multicolor multidimensional data includes first color data of the colored parts on the outer surface of the multicolor multidimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model. The segmentation parameters are related to the printing resolution of the multidimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multidimensional printing device, and thus the multicolor multidimensional model can be applied to multidimensional printing. Therefore, after slicing the multicolor multidimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multidimensional printing device. In this way, the second color data can be recognized by the multidimensional printing device, and thus the multicolor multidimensional model can be applied to multidimensional printing. Therefore, when performing multidimensional printing, the surface position of each slice is printed with the corresponding second color data. After printing is completed, a multicolor multidimensional printed body can be generated.

[0158] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0159] Therefore, the multi-color multi-dimensional model generated by this application can be printed directly, making the printing of multi-color multi-dimensional models not limited by the scene.

[0160] Please see Figure 4 This application also provides a slicing and printing system for a multi-color multi-dimensional model, including: a model acquisition module 11, a model slicing module 12, and a model printing module 13; wherein, the model acquisition module 11 is used to acquire a multi-color multi-dimensional model, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data includes first color data for representing the colored area on the outer surface of the multi-color multi-dimensional model, the first color data includes segmentation parameters for dividing the colored area on the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device; the model slicing module 12 is used to perform slicing calculations on the multi-color multi-dimensional model to obtain second color data of the colored part in the outer layer of the corresponding slice according to the first color data; the model printing module 13 is used to control the multi-dimensional printing device to print according to the second color data of the slice, so as to print the colored part in the outer layer of the slice.

[0161] The multi-color multi-dimensional model slicing printing system provided in this embodiment firstly allows the multi-color multi-dimensional model to be generated by drawing on an initial monochrome model, which is simpler than the existing method of coloring 3D models using texture mapping.

[0162] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers.

[0163] This multi-color multi-dimensional model has multi-color multi-dimensional data, and the multi-color multi-dimensional data includes first color data for the colored areas on the outer surface of the multi-color multi-dimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model. The segmentation parameters are related to the printing resolution of the multi-dimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, after slicing the multi-color multi-dimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multi-dimensional printing device. In this way, the second color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body can be generated after printing is completed.

[0164] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0165] Therefore, this embodiment can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models not limited by the scene.

[0166] In some embodiments, the segmentation parameters include at least one of segmentation shape and segmentation size, wherein the multidimensional printing device has multiple printing resolutions, each printing resolution corresponding to a different segmentation shape and / or segmentation size.

[0167] In some embodiments, the multicolor multidimensional model slicing printing system further includes: an initial monochrome model presentation module and an initial monochrome model conversion module; the initial monochrome model presentation module is used to display the initial monochrome model presented in a multidimensional stereoscopic state on the page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; the initial monochrome model conversion module is used to convert the initial monochrome model into a multicolor multidimensional model on the page and store it as multicolor multidimensional data when the external environment performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a multidimensional stereoscopic state.

[0168] In some embodiments, the first color data includes position data and color attributes. Specifically, the monochrome model conversion module is used to recursively divide the triangular facets of a predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets intersecting the depicted trajectory. Different sub-triangular facets have different position data and color attributes, and all sub-triangular facets constitute a multi-color, multi-dimensional model.

[0169] In some embodiments, the monochrome model conversion module includes: an intersection quantity acquisition unit, a recursive segmentation unit, and a drawing unit; the intersection quantity acquisition unit is used to acquire the number of intersections of the vertices of the triangular facet in the drawing trajectory; the recursive segmentation unit is used to recursively segment the triangular facet to generate several sub-triangular facets if the intersection quantity is greater than 0 and less than 3; the drawing unit is used to draw the triangular facet if the intersection quantity is 3.

[0170] In some embodiments, the recursive segmentation unit includes: a segmentation judgment subunit and a recursive segmentation execution subunit; the segmentation judgment subunit is used to sequentially judge the segmentation length of the three sides of a triangular facet with an intersection number greater than 0 and less than 3, and if the side length is less than a preset side length, the segmentation of that side is stopped; the recursive segmentation execution subunit is used to segment the side if the side length is greater than or equal to the preset side length, so as to recursively segment the triangular facet and generate several sub-triangular facets, until the side length of the segmented sub-triangular facets is less than the preset side length, and the segmentation is stopped.

[0171] The multi-color, multi-dimensional model slicing and printing system also includes: a depiction position recognition module and a differentiation segmentation module; the depiction position recognition module is used to identify the depiction position of a predetermined two-dimensional surface, so as to identify the depicted position of the predetermined two-dimensional surface that has been depicted and the undepicted position that has not been depicted; the differentiation segmentation module is used to perform coarse-grained recursive segmentation of the triangular facets of the undepicted position and fine-grained recursive segmentation of the triangular facets of the depicted position, generating several sub-triangular facets, wherein the area of ​​the sub-triangular facets obtained by the coarse-grained recursive segmentation is larger than the area of ​​the sub-triangular facets obtained by the fine-grained recursive segmentation.

[0172] In some embodiments, the side length of the recursively segmented sub-triangles is greater than or equal to 0.08 mm.

[0173] In some embodiments, the location data includes the position coordinates of the vertices of the respective sub-triangle facets that intersect the drawn trajectory.

[0174] In some embodiments, the location data includes a process of recursively segmenting triangular facets of each two-dimensional surface.

[0175] In some embodiments, the multicolor multidimensional model slicing printing system further includes a printing defect repair module, used to repair printing defects if the initial monochrome model has printing defects.

[0176] In some embodiments, printing defects include at least one of non-manifold geometry, incorrect surface normals, insufficient wall thickness, intersecting or overlapping geometry, unclosed geometry, suspended structures, improper scale, and duplicate vertices or faces.

[0177] In some embodiments, the multicolor multidimensional model slicing printing system described in any of the above embodiments is applied in a slicing printing apparatus.

[0178] Please see Figure 5 This application also provides a system for generating a multi-color multidimensional model, including: a presentation module 21 and a drawing module 22; the presentation module 21 is used to display an initial monochrome model presented in a multi-dimensional stereoscopic state on a page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; the drawing module 22 is used to transform the initial monochrome model into a multi-color multidimensional model on the page when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a multi-dimensional stereoscopic state, wherein the multi-color multidimensional model is stored as multi-color multidimensional data, the multi-color multidimensional data includes first color data for representing the colored area of ​​the outer surface of the multi-color multidimensional model, the first color data includes segmentation parameters for dividing the colored area of ​​the outer surface of the multi-color multidimensional model, and the segmentation parameters are related to the printing resolution of the multi-dimensional printing device.

[0179] The multi-color multi-dimensional model generation system provided in this embodiment first generates the multi-color multi-dimensional model by drawing on an initial monochrome model, which is simpler to create than the existing method of coloring 3D models by using texture mapping.

[0180] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers.

[0181] In addition, it should be noted that the multicolor multidimensional model generated by the multicolor multidimensional model generation system provided in this embodiment can be applied to 3D printing equipment.

[0182] The multicolor multidimensional model generated in this embodiment has multicolor multidimensional data, and the multicolor multidimensional data includes first color data of the colored parts on the outer surface of the multicolor multidimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model. The segmentation parameters are related to the printing resolution of the multidimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multidimensional printing device, and thus the multicolor multidimensional model can be applied to multidimensional printing. Therefore, after slicing the multicolor multidimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multidimensional printing device. In this way, the second color data can be recognized by the multidimensional printing device, and thus the multicolor multidimensional model can be applied to multidimensional printing. Therefore, when performing multidimensional printing, the surface position of each slice is printed with the corresponding second color data. After printing is completed, a multicolor multidimensional printed body can be generated.

[0183] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0184] Therefore, the multi-color multi-dimensional model generated by this application can be printed directly, making the printing of multi-color multi-dimensional models not limited by the scene.

[0185] It should be noted that the multicolor multidimensional model generation system provided in this embodiment differs from the multicolor multidimensional model slicing and printing system described in the above embodiments only in that the multicolor multidimensional model is not printed. The relevant technical solutions for printing multicolor multidimensional models in the multicolor multidimensional model slicing and printing system are still applicable to the multicolor multidimensional model generation system provided in this embodiment, and these technical solutions will not be described in detail in this embodiment.

[0186] This application provides an electronic device; please refer to [link / reference]. Figure 6The electronic device includes a memory 601, a processor 602, and a computer program stored in the memory 601 and executable on the processor 602. When the processor 602 executes the computer program, it implements the slicing and printing method of the multicolor multidimensional model in any of the embodiments described above or the generation method of the multicolor multidimensional model in any of the embodiments described above.

[0187] Furthermore, the electronic device also includes at least one input device 603 and at least one output device 604.

[0188] The aforementioned memory 601, processor 602, input device 603, and output device 604 are connected via bus 605.

[0189] The input device 603 can specifically be a camera, touch panel, physical buttons, or mouse, etc. The output device 604 can specifically be a display screen.

[0190] The memory 601 can be a high-speed random access memory (RAM) or a non-volatile memory, such as a disk storage device. The memory 601 is used to store a set of executable program code, and the processor 602 is coupled to the memory 601.

[0191] Furthermore, this application embodiment also provides a computer-readable storage medium, which may be disposed in the electronic device of the above embodiments, and may be the memory 601 in the foregoing embodiments. The computer-readable storage medium stores a computer program, which, when executed by the processor 602, implements the slicing and printing method of the multicolor multidimensional model in any of the foregoing embodiments or the generation method of the multicolor multidimensional model in any of the foregoing embodiments.

[0192] Furthermore, the storage medium of this computer can also be a USB flash drive, a portable hard drive, a read-only memory (ROM), RAM, a magnetic disk, or an optical disk, or any other medium that can store program code.

[0193] This application also provides a computer program that, when run, executes a slicing printing method for implementing the multicolor multidimensional model described in any of the foregoing embodiments or a method for generating the multicolor multidimensional model described in any of the foregoing embodiments.

[0194] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0195] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0196] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0197] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0198] The technical solutions provided in the embodiments of this application will be described below with reference to specific examples.

[0199] Example 1:

[0200] This embodiment provides a method for slicing and printing a multi-color multi-dimensional model, wherein the multi-color multi-dimensional model is a multi-color three-dimensional model.

[0201] The method for slicing and printing multicolor 3D models includes: obtaining a multicolor 3D model, such as... Figure 8As shown, the multicolor 3D model is sliced ​​and calculated. The second color data of the colored part in the outer layer of the corresponding slice is obtained based on the first color data. The multi-dimensional printing device is controlled to print the colored part in the outer layer of the slice based on the second color data of the slice.

[0202] In this embodiment, the multicolor 3D model is stored as multicolor 3D data, which includes first color data representing the colored areas on the outer surface of the multicolor 3D model, i.e. Figure 8 The first color data of the colored area "1" and the first color data of the colored area "2" should be noted. Different colored areas have different first color data, so the two first color data mentioned above are not the same.

[0203] Therefore, the multi-color multi-dimensional model slicing printing method provided in this embodiment firstly, the multi-color three-dimensional model can be generated by drawing on the initial monochrome model, which is simpler to create than the existing method of coloring 3D models by using texture mapping.

[0204] Secondly, multicolor 3D models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed by ordinary 3D printers.

[0205] The multicolor 3D model has multicolor 3D data, and the multicolor 3D data includes first color data for the colored areas on the outer surface of the multicolor 3D model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor 3D model. The segmentation parameters are related to the printing resolution of the 3D printing equipment, so the surface of the printed object will not be rough due to the resolution being set too low, or the file will become too large due to the resolution being set too high. In this way, the first color data can be recognized by the 3D printing equipment, and thus the multicolor 3D model can be applied to 3D printing. Therefore, after slicing the multicolor 3D model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the 3D printing equipment. In this way, the second color data can be recognized by the 3D printing equipment, and thus the multicolor 3D model can be applied to 3D printing. Therefore, during 3D printing, the surface position of each slice is printed with the corresponding second color data, and a multicolor 3D printed body can be generated after printing is completed.

[0206] Furthermore, since the multicolor 3D data contains first color data of the colored parts on the outer surface of the multicolor 3D model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor 3D model, the segmentation parameters are related to the printing resolution of the 3D printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor 3D model is attached to the attributes of the monochrome 3D model for persistent storage. When secondary modification and editing are required, the multicolor 3D data can be called to restore the multicolor 3D model, and secondary coloring can be performed on the outer surface of the multicolor 3D model. Therefore, the multicolor 3D model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0207] Therefore, this embodiment can directly print multi-color 3D models, making the printing of multi-color 3D models not limited by the scene.

[0208] In some embodiments, before obtaining the multicolor three-dimensional model, the method for slicing and printing the multicolor multi-dimensional model further includes: displaying an initial monochrome model presented in a three-dimensional state on a page; when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in a three-dimensional state, the initial monochrome model is transformed into a multicolor three-dimensional model on the page and stored as multicolor three-dimensional data.

[0209] The multi-color, multi-dimensional model slicing printing method provided in this embodiment can slice and print a multi-color, multi-dimensional model based on external drawing operations on a predetermined two-dimensional surface of a monochrome model. Figure 7 The initial monochrome model shown is transformed into, as Figure 8 The multicolor 3D model shown is used to generate a printable multicolor 3D model.

[0210] In this embodiment, the first color data includes position data and color attributes. When a drawing operation is performed on a predetermined two-dimensional surface of an initial monochrome model presented in a three-dimensional state, the predetermined two-dimensional surface has a drawing trajectory corresponding to the drawing operation.

[0211] The steps of transforming the initial monochrome model into a multicolor 3D model on the page and storing it as multicolor 3D data include: recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets that intersect with the drawing trajectory, wherein different sub-triangular facets have different position data and color attributes, and all sub-triangular facets constitute a multicolor 3D model.

[0212] In this embodiment, the triangular facets of the two-dimensional surface of the three-dimensional multicolor model are represented as follows: Figure 9 As shown, the predetermined two-dimensional surface is a surface with first color data. After recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets, the representation of the multi-color three-dimensional model is as follows. Figure 10As shown, several sub-triangular facets can be used to represent the depicted trajectory, and different sub-triangular facets have different position data and color attributes to express different colors at different positions. Thus, position data and color attributes are used to represent the colored area of ​​the outer surface of the multi-color multi-dimensional model.

[0213] Example 2:

[0214] This embodiment provides a method for slicing and printing a multi-color multi-dimensional model, wherein the initial monochrome model is a monochrome three-dimensional model, and the multi-color multi-dimensional model is a three-dimensional model.

[0215] The slicing printing methods for multi-color, multi-dimensional models include:

[0216] The page displays an initial monochrome model presented in a three-dimensional stereoscopic manner. The initial monochrome model is as follows: Figure 7 As shown.

[0217] When an external object performs a drawing operation on a predetermined two-dimensional surface of an initial monochrome model presented in a three-dimensional state, the initial monochrome model is transformed into a multi-colored three-dimensional model on the page, such as... Figure 8 The "1" and "2" depicted in the text;

[0218] The multicolor 3D model is sliced ​​and calculated to obtain the second color data of the colored part in the outer layer of the corresponding slice based on the first color data;

[0219] The 3D printing equipment is controlled to print the colored portion of the outer layer of the slice based on the second color data of the slice.

[0220] Therefore, the multi-color multi-dimensional model slicing printing method provided in this embodiment is simpler to create than the existing method of coloring 3D models by using texture mapping. First, the multi-color multi-dimensional model can be generated by drawing on an initial monochrome model.

[0221] Secondly, multi-color, multi-dimensional models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed using ordinary 3D printers.

[0222] This multi-color multi-dimensional model has multi-color multi-dimensional data, and the multi-color multi-dimensional data includes first color data for the colored areas on the outer surface of the multi-color multi-dimensional model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multi-color multi-dimensional model. The segmentation parameters are related to the printing resolution of the multi-dimensional printing device, so the surface of the printed item will not be rough due to the resolution setting being too low, or the file will become very large due to the resolution being too high. In this way, the first color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, after slicing the multi-color multi-dimensional model, the surface of each slice has second color data corresponding to the first color data. The second color data must include segmentation parameters related to the printing resolution of the multi-dimensional printing device. In this way, the second color data can be recognized by the multi-dimensional printing device, and thus the multi-color multi-dimensional model can be applied to multi-dimensional printing. Therefore, during multi-dimensional printing, the surface position of each slice is printed with the corresponding second color data, and a multi-color multi-dimensional printed body can be generated after printing is completed.

[0223] Furthermore, since the multicolor multidimensional data contains the first color data of the colored parts on the outer surface of the multicolor multidimensional model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor multidimensional model, the segmentation parameters are related to the printing resolution of the multidimensional printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor multidimensional model is attached to the attributes of the monochrome multidimensional model for persistent storage. When secondary modification and editing are required, the multicolor multidimensional data can be called to restore the multicolor multidimensional model, and secondary coloring can be continued on the outer surface of the multicolor multidimensional model. Therefore, the multicolor multidimensional model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0224] Therefore, this embodiment can directly print multi-color multi-dimensional models, making the printing of multi-color multi-dimensional models not limited by the scene.

[0225] Example 3:

[0226] This embodiment provides a method for generating a multi-color multi-dimensional model, wherein the initial monochrome model is a monochrome three-dimensional model, and the multi-color multi-dimensional model is a three-dimensional model.

[0227] The method for generating a multi-color, multi-dimensional model includes: displaying an initial monochrome model in a three-dimensional state on the page; when an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model in a three-dimensional state, the initial monochrome model is transformed into a multi-color, three-dimensional model on the page.

[0228] The multicolor multidimensional model generation method provided in this embodiment can generate a multicolor multidimensional model based on external operations that depict a predetermined two-dimensional surface of a monochrome model. Figure 7 The initial monochrome model shown is transformed into, as Figure 8 The multicolor 3D model shown is used to generate a printable multicolor 3D model.

[0229] Therefore, the method for generating multi-color multi-dimensional models provided in this embodiment firstly generates the multi-color three-dimensional model by drawing on a monochrome three-dimensional model, which is simpler to create than the existing method of coloring 3D models using texture mapping.

[0230] Secondly, multicolor 3D models generated using the texture mapping method contain texture information. If this texture information is not processed or exported correctly, 3D printing equipment may not be able to recognize it, or the processing effect may be poor. For example, if the resolution is too low, the surface of the printed object will appear rough. If the resolution is too high, the file will become very large, which may cause the printer to be unable to process it. In addition, saving overly fine details cannot be printed by ordinary 3D printers.

[0231] Therefore, the multicolor 3D model generated by the multicolor 3D model generation method provided in this embodiment can be applied to 3D printing equipment. This multicolor 3D model has multicolor 3D data, including first color data for the colored areas on the outer surface of the multicolor 3D model. The first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor 3D model. These segmentation parameters are related to the printing resolution of the 3D printing equipment, so setting the resolution too low will not result in a rough surface on the printed object, nor will setting the resolution too high result in a very large file size. Thus, the first color data can be recognized by the 3D printing equipment, and the multicolor 3D model can be applied to 3D printing. After slicing the multicolor 3D model, each slice's surface has second color data corresponding to the first color data. This second color data necessarily includes segmentation parameters related to the printing resolution of the 3D printing equipment. Thus, the second color data can be recognized by the 3D printing equipment, and the multicolor 3D model can be applied to 3D printing. Therefore, during 3D printing, the surface position of each slice is printed with the corresponding second color data, and a multicolor 3D printed body is generated after printing is completed.

[0232] Furthermore, since the multicolor 3D data contains first color data of the colored parts on the outer surface of the multicolor 3D model, and the first color data includes segmentation parameters for dividing the colored areas on the outer surface of the multicolor 3D model, the segmentation parameters are related to the printing resolution of the 3D printing device. In other words, the first color data of the colored parts on the outer surface of the multicolor 3D model is attached to the attributes of the monochrome 3D model for persistent storage. When secondary modification and editing are required, the multicolor 3D data can be called to restore the multicolor 3D model, and secondary coloring can be performed on the outer surface of the multicolor 3D model. Therefore, the multicolor 3D model conversion efficiency of this application is high, which facilitates the distribution and printing of multicolor 3D models.

[0233] Therefore, the multicolor 3D model generated by this application can be printed directly, making the printing of multicolor 3D models not limited by the scene.

[0234] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0235] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0236] In summary, although the present application has disclosed the preferred embodiments as described above, the above preferred embodiments are not intended to limit the present application. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be determined by the scope defined in the claims.

Claims

1. A method for slicing and printing a multi-color, multi-dimensional model, characterized in that, include: A multi-color multi-dimensional model is obtained, wherein the multi-color multi-dimensional model is stored as multi-color multi-dimensional data, the multi-color multi-dimensional data includes first color data for representing the colored area on the outer surface of the multi-color multi-dimensional model, the first color data includes segmentation parameters for dividing the colored area on the outer surface of the multi-color multi-dimensional model, the segmentation parameters being related to the printing resolution of the multi-dimensional printing device; The multi-color multidimensional model is sliced ​​for calculation to obtain the second color data of the colored part in the outer layer of the corresponding slice based on the first color data; The multi-dimensional printing device is controlled to print based on the second color data of the slice, so as to print the colored portion in the outer layer of the slice.

2. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 1, characterized in that, The segmentation parameters include at least one of segmentation shape and segmentation size, wherein the multidimensional printing device has multiple printing resolutions, each of which corresponds to a different segmentation shape and / or segmentation size.

3. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 1, characterized in that, Before the step of obtaining the multi-color multi-dimensional model, the method for slicing and printing the multi-color multi-dimensional model further includes: displaying an initial monochrome model presented in a multi-dimensional solid state on the page, wherein the initial monochrome model has N dimensions, and N is greater than or equal to 3; When an external object performs a drawing operation on a predetermined two-dimensional surface of the initial monochrome model presented in the multidimensional stereoscopic state, the initial monochrome model is transformed into a multi-color multidimensional model on the page and stored as multi-color multidimensional data.

4. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 3, characterized in that, The first color data includes position data and color attributes. When a drawing operation is performed on a predetermined two-dimensional surface of the initial monochrome model presented in the multi-dimensional stereoscopic state, the predetermined two-dimensional surface has a drawing trajectory corresponding to the drawing operation. The step of transforming the initial monochrome model into a multicolor multidimensional model on the page and storing it as multicolor multidimensional data includes: recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets to obtain the position data and color attributes of the sub-triangular facets that intersect with the depicted trajectory, wherein different sub-triangular facets have different position data and color attributes, and all the sub-triangular facets constitute the multicolor multidimensional model.

5. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 4, characterized in that, The step of recursively dividing the triangular facets of the predetermined two-dimensional surface into several sub-triangular facets includes: Obtain the number of intersections of the vertices of the triangular facet in the depicted trajectory; If the number of intersections is greater than 0 and less than 3, then the triangular facet is recursively divided to generate several sub-triangular facets. If the number of intersections is 3, then the drawing operation is performed on the triangular facet.

6. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 5, characterized in that, The steps of recursively dividing the triangular facet to generate several sub-triangular facets include: The three sides of the triangular facets with an intersection number greater than 0 and less than 3 are sequentially divided and judged. If the side length is less than a preset side length, the division of that side is stopped. If the side length is greater than or equal to the preset side length, then the side is split to recursively split the triangular facet and generate several sub-triangular facets until the side length of the split sub-triangular facet is less than the preset side length, at which point the splitting stops.

7. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 4, characterized in that, The method for slicing and printing the multi-color, multi-dimensional model also includes: The predetermined two-dimensional surface is subjected to a drawing position identification process to identify the drawing positions on the predetermined two-dimensional surface that have been drawn and the undrawn positions that have not been drawn. The triangular facets at the undepicted locations are recursively segmented with coarse granularity, and the triangular facets at the depicted locations are recursively segmented with fine granularity to generate several sub-triangular facets. The area of ​​the sub-triangular facets generated by the coarse granular recursive segmentation is greater than the area of ​​the sub-triangular facets generated by the fine granular recursive segmentation.

8. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 4, characterized in that, The side length of the sub-triangular facets recursively divided is greater than or equal to 0.08 mm.

9. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 4, characterized in that, The location data includes the position coordinates of the vertices of each of the sub-triangle facets that intersect with the depicted trajectory.

10. The method for slicing and printing a multi-color, multi-dimensional model as described in claim 4, characterized in that, The location data includes the process of recursively dividing the triangular facets of each of the two-dimensional surfaces.