Three-dimensional model layout method and device, storage medium and electronic equipment

CN118061533BActive Publication Date: 2026-08-11GUANGZHOU HEIGE ZHIZAO INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-19
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0004]本发明实施例提供了一种三维模型排版方法、装置、存储介质及电子设备,以至少解决相关技术中存在三维模型的排版效率不理想的技术问题

Benefits of technology

[0009]在本发明实施例中,通过获模型获取模块,用于获取待打印的多个三维模型,以及与多个三维模型分别对应的用户案例信息;模型匹配模块,用于基于用户案例信息从多个三维模型中,确定与目标案例信息匹配的目标三维模型;案例排版模块,用于对目标三维模型进行排版处理,得到与目标案例信息匹配的目标排版结果,以基于目标排版结果进行三维打印。达到了将同一用户案例的三维模型集中排版打印的目的,通过摆放的方式来提高打印后分拣的效率,极大的提高三维模型预处理的效率和生产排产效率,减少加工时间;实现了提高三维模型的打印排版效率的技术效果,进而解决了相关技术中存在三维模型的排版效率不理想的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118061533B_ABST
    Figure CN118061533B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, storage medium, and electronic device for 3D model layout. The method includes: acquiring multiple 3D models to be printed, and user case information corresponding to each of the multiple 3D models; determining a target 3D model matching the target case information from the multiple 3D models based on the user case information; performing layout processing on the target 3D model to obtain a target layout result matching the target case information; and performing 3D printing based on the target layout result. This invention solves the technical problem of unsatisfactory 3D model layout efficiency in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of 3D printing technology, and more specifically, to a 3D model layout method, apparatus, storage medium, and electronic device. Background Technology

[0002] Automatic placement is an indispensable part of 3D printing data preprocessing. It requires placing more printing data within a limited platform to improve post-printing sorting efficiency. Printing 3D models of the same case separately makes it difficult to locate and correct errors during sorting. Currently, there is no efficient and centralized method for printing 3D models of the same case in large-scale production scenarios. Relying solely on labels for sorting and packaging is prone to errors and leads to less than ideal sorting efficiency, ultimately reducing the printing efficiency of 3D models.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This invention provides a method, apparatus, storage medium, and electronic device for 3D model typesetting, to at least solve the technical problem of unsatisfactory typesetting efficiency of 3D models in related technologies.

[0005] According to one aspect of the present invention, a three-dimensional model layout method is provided, comprising: acquiring a plurality of three-dimensional models to be printed, and user case information corresponding to the plurality of three-dimensional models respectively; determining a target three-dimensional model matching the target case information from the plurality of three-dimensional models based on the user case information; performing layout processing on the target three-dimensional model to obtain a target layout result matching the target case information, and performing three-dimensional printing based on the target layout result.

[0006] According to another aspect of the present invention, a three-dimensional model layout device is provided, comprising: a model acquisition module for acquiring multiple three-dimensional models to be printed, and user case information corresponding to the multiple three-dimensional models respectively; a model matching module for determining a target three-dimensional model that matches the target case information from the multiple three-dimensional models based on the user case information; and a case layout module for performing layout processing on the target three-dimensional model to obtain a target layout result that matches the target case information, so as to perform three-dimensional printing based on the target layout result.

[0007] According to another aspect of the present invention, a non-volatile storage medium is provided, which stores a plurality of instructions adapted for a three-dimensional model layout method to be loaded by a processor and executed at any one of them.

[0008] According to another aspect of the present invention, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement any one of the three-dimensional model layout methods.

[0009] In this embodiment of the invention, a model acquisition module is used to acquire multiple 3D models to be printed, as well as user case information corresponding to each of the multiple 3D models; a model matching module is used to determine a target 3D model that matches the target case information from the multiple 3D models based on the user case information; and a case layout module is used to perform layout processing on the target 3D model to obtain a target layout result that matches the target case information, and then perform 3D printing based on the target layout result. This achieves the goal of centrally layouting and printing 3D models of the same user case, improving the efficiency of post-printing sorting through placement, greatly improving the efficiency of 3D model preprocessing and production scheduling, and reducing processing time; it realizes the technical effect of improving the printing layout efficiency of 3D models, thereby solving the technical problem of unsatisfactory layout efficiency of 3D models in related technologies. Attached Figure Description

[0010] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0011] Figure 1 This is a flowchart of an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0012] Figure 2 This is a schematic diagram of a tooth base model for an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0013] Figure 3 This is a schematic diagram of an oral cavity model according to an optional three-dimensional model layout method provided in an embodiment of the present invention;

[0014] Figure 4 This is a schematic diagram of an oral cavity model, which is another optional three-dimensional model layout method provided by an embodiment of the present invention.

[0015] Figure 5 This is a layout diagram of an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0016] Figure 6 This is a schematic diagram of the target layout of an optional three-dimensional model layout method provided by an embodiment of the present invention;

[0017] Figure 7 This is a multi-case layout diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention;

[0018] Figure 8 This is a bounding box diagram of an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0019] Figure 9 This is a schematic diagram of the connection structure of an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0020] Figure 10 This is a schematic diagram of the base plate for an optional three-dimensional model layout method provided according to an embodiment of the present invention;

[0021] Figure 11 This is a dental application diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention;

[0022] Figure 12 This is a schematic diagram of an optional three-dimensional model layout device provided according to an embodiment of the present invention. Detailed Implementation

[0023] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] This invention provides a method embodiment for three-dimensional model layout. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0026] Figure 1 This is a flowchart of a three-dimensional model layout method according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:

[0027] Step S102: Obtain multiple 3D models to be printed, and user case information corresponding to each of the multiple 3D models;

[0028] It is understandable that the multiple 3D models to be printed are a mixture of multiple cases and have not been classified according to user case information. It is necessary to obtain the user case information corresponding to each of the multiple 3D models for subsequent classification and layout.

[0029] In one optional embodiment, obtaining multiple 3D models to be printed includes: obtaining multiple initial models to be printed; performing defect verification on the multiple initial models to obtain verification results corresponding to each of the multiple initial models; determining that the verification results corresponding to each of the multiple initial models indicate that they are abnormal models with defects; and repairing the abnormal models to obtain multiple 3D models.

[0030] It's understandable that multiple initial models can be viewed as a mixture of multiple case studies. To ensure that the multiple initial models used are free of anomalies and have no missing or lost parts, so that they can be matched with the target case information later, defect verification is performed on multiple initial models, resulting in verification results for each initial model. Based on the verification results, the abnormal models are repaired to obtain multiple 3D models.

[0031] Optionally, the verification process can take several forms. For example, if the initial 3D model is composed of triangular facets, it's expected that all facets form a closed region with all facets pointing outwards, thus constituting a closed model. If defects such as holes or inverted triangular facets are detected in the initial model, it's determined that the initial model is not closed. An inverted triangular facet is a collective defect in a 3D model, referring to a triangular facet whose normal vector points inwards. In a normal 3D model, all facet normal vectors should point towards the outer surface of the model. When the normal vector of a facet points inwards, i.e., towards the inside of the model, it's called an inverted triangular facet. This defect can cause errors in model operations, such as rendering or physics simulation.

[0032] Optionally, different repair methods will be used for different defects. If the verification result shows that there are holes, the edge of the hole in the initial model with holes will be determined and the edge will be automatically repaired so that the model forms a closed area.

[0033] Optionally, if the verification result indicates the existence of inverted triangular facets, the normal vectors of the inverted triangular facets are determined, and these normal vectors are reversed to form a closed region in the initial model. Finally, after automatic repair, the repaired 3D models can be used for the next step.

[0034] Step S104: Based on the user case information, determine the target 3D model that matches the target case information from multiple 3D models;

[0035] It is understandable that target case information is used as the basis for model selection. Among the user case information corresponding to the multiple 3D models mentioned above, the model that matches the target case information is determined and used as the target 3D model. In other words, target 3D models with consistent target case information can use models from the same case or user. Through the above process, the target 3D model with the target case information is selected from multiple 3D models containing mixed case information.

[0036] In one optional embodiment, determining a target 3D model that matches the target case information from multiple 3D models based on user case information includes: determining case identifiers corresponding to the multiple 3D models respectively according to the user case information; using the case identifier of the target 3D model indicated by the target case information as the target case identifier; and determining the target 3D model that matches the target case identifier from the case identifiers corresponding to the multiple 3D models respectively.

[0037] It is understandable that the case identifiers corresponding to multiple 3D models contain the correspondence between each 3D model and a specific user case identifier. By finding the user case identifier of the target 3D model, i.e., the target case identifier, the target 3D model can be selected from multiple 3D models.

[0038] Optionally, the user case information corresponding to the above multiple 3D models can be stored in a predetermined database. The process of matching the target case identifier involves comparison and matching processes, such as database queries, condition filtering, comparison, and matching operations.

[0039] Optionally, each user case information (case) imported and processed has a corresponding naming rule, generally XXX_XXX_XXX. In the initial classification, if they are located in the same folder, the same user case is identified based on the same file naming prefix (underscore).

[0040] Step S106: The target 3D model is processed to obtain a target layout result that matches the target case information, and 3D printing is performed based on the target layout result.

[0041] It is understandable that the target 3D model belongs to the target case information, and its layout processing can be regarded as a centralized layout processing of models in the same case, obtaining a target layout result that matches the target case information. The target layout result obtained through the above processing can achieve better 3D printing efficiency for the target 3D models included in the target case information and reduce sorting workload.

[0042] In one optional embodiment, the target 3D model is processed for layout to obtain a target layout result that matches the target case information. This includes: classifying the target 3D model that matches the target case information to obtain the 3D model type corresponding to the target 3D model; and, if there are multiple target 3D models, processing the multiple target 3D models for layout based on the 3D model types corresponding to the multiple target 3D models to obtain a target layout result that matches the target case information.

[0043] It is understandable that the target 3D models matching the target case information are classified to obtain the corresponding 3D model types. When the same target case information matches multiple target 3D models, centralized layout processing is performed based on the respective 3D model types of each target 3D model to obtain the target layout result for that target case information. Through this process, target 3D models of the same target case information can be centrally laid out. Using this method to obtain the target layout result can improve the efficiency of 3D printing. Printing multiple target 3D models together by their respective 3D model types can avoid errors caused by case sorting.

[0044] Optionally, the types of 3D models produced by photopolymerization can be broadly categorized into: dental, orthopedic, headphone, and toy models, etc. These categories can be further subdivided: dental models include abutment teeth, full jaw models, replicas, orthodontic models, and jaw pads; orthodontic models include braces; and headphone models include headphone shells. In related technologies, the information carried by the dental model is transferred to the shell-shaped orthodontic appliance or subsequent fabrication steps via a labeling unit. This facilitates classification during sorting and packaging, allowing for the sorting and packaging of shell-shaped orthodontic appliances within the same bag as needed. Since classification is required based on patients as application cases, errors during sorting make it difficult to visually identify which models belong to which patients, leading to inefficient sorting and consequently reduced 3D model printing efficiency. Because dental applications are particularly reliant on classifying models within the same case, dental applications are preferred as examples, but not limited to dental applications.

[0045] Taking dental applications as an example, multiple target 3D models are matched for the same target case information. These multiple target 3D models each correspond to their own 3D model type, meaning that multiple types of models may exist within the same case. Specifically, in dental applications, the 3D model type can include at least an abutment tooth model and an oral cavity model. The oral cavity model can be understood as including jawbone modeling, which may include features such as implant hole location modeling. The abutment tooth model is used to represent single-tooth implant modeling. Matching these two models constitutes the complete 3D model of the target case information.

[0046] It's important to note that in dental applications, a prosthetic model is a model used to simulate a patient's oral cavity. These models are typically made of artificial materials or using 3D printing technology and can be used for diagnosis, treatment planning, teaching, and the fabrication of braces and implants. Dental prosthetic models provide a better understanding of a patient's oral structure and problems, serving as an adjunct to treatment. An abutment tooth model is a dental model replicated based on the morphology of the patient's abutment teeth for the fabrication of implants and other restorations. Oral models include full-jaw models and partial-jaw models. A full-jaw model is a model created based on the morphology of the entire mandible or maxilla, used to simulate the structure and morphology of the entire maxillofacial region. A partial-jaw model is a model created based on the morphology of one side of the mandible and maxilla, used to simulate the structure and morphology of one side of the maxillofacial region. Half-mouth or quarter-mouth models can also be generated as needed.

[0047] Optionally, the oral model mentioned above may include a full jaw model and a partial jaw model (also known as a generational model). The full jaw model includes digital models of both sides of the oral cavity, and the partial jaw model includes a digital model of one side of the oral cavity (or half of one side, or one-quarter of one side).

[0048] Figure 2 This is a schematic diagram of a base tooth model for an optional three-dimensional model layout method provided by an embodiment of the present invention, as shown below. Figure 2 As shown, the upper part of the abutment tooth model is the crown, and the lower part is the part that is inserted into the implant hole.

[0049] Figure 3 This is a schematic diagram of a dental model according to an optional three-dimensional model layout method provided by an embodiment of the present invention, such as... Figure 3 The image shows a half-mouth (half-jaw) model, with an implant hole in the middle of the teeth on one side for installing dental implants.

[0050] Figure 4 This is a schematic diagram of an oral cavity model, illustrating another optional three-dimensional model layout method provided by an embodiment of the present invention. Figure 4 The image shows a full jaw model, which is a complete model of the upper or lower jaw, including two implant holes for installing dental implants.

[0051] It should be noted that the examples of target 3D models and 3D model types mentioned above are for illustrative purposes only and are not limited to dental applications.

[0052] In one optional embodiment, the target 3D models matching the target case information are classified to obtain the 3D model types corresponding to each target 3D model. This includes: for one target 3D model among multiple target 3D models, determining the 3D model type corresponding to the target 3D model using at least one of the following methods: determining the model volume of the target 3D model; determining the 3D model type corresponding to the target 3D model based on a preset volume threshold and the model volume; determining the model shape of the target 3D model; determining the 3D model type corresponding to the target 3D model based on the model shape; determining the maximum planar area of ​​the target 3D model; determining the 3D model type corresponding to the target 3D model based on a preset area threshold and the maximum planar area; projecting the target 3D model along a preset direction to obtain the projection features of the target 3D model; obtaining the 3D model type corresponding to the target 3D model based on the projection features; and obtaining the 3D model types corresponding to multiple target 3D models by using the method of determining the 3D model type corresponding to the target 3D model.

[0053] It is understandable that multiple target 3D models, due to the existence of various 3D model types, need to be classified according to their 3D model types. For a single target 3D model, several methods can be used to determine its corresponding 3D model type, and the selection of methods includes at least one of the following:

[0054] One approach is to determine the volume of the target 3D model, and based on a preset volume threshold and the model volume, determine the corresponding 3D model type.

[0055] One approach is to determine the shape of the target 3D model and, based on that shape, determine the corresponding 3D model type.

[0056] One approach is to determine the maximum planar area of ​​the target 3D model, and then determine the 3D model type corresponding to the target 3D model based on a preset area threshold and the maximum planar area.

[0057] Another method is to project the target 3D model along a preset direction to obtain the projection features of the target 3D model, and based on the projection features, obtain the 3D model type corresponding to the target 3D model.

[0058] It should be noted that using one or more of the above methods to determine the type can improve the accuracy of 3D model type classification. Through the above processing, multiple target 3D models can be automatically identified and classified.

[0059] Optionally, taking dental applications as an example, the specific explanation of determining the target 3D model type using model volume is provided above. Suppose that the oral cavity model can include full-jaw models and partial-jaw models. The method for determining the model volume is as follows: the volume calculation is the normal formula V = L * W * H (length, width, height), where V represents the model volume, L represents the model length, W represents the model width, and H represents the model height. By setting a volume threshold, models larger than the threshold can be judged as oral cavity models, and those smaller than the threshold as abutment tooth models, etc., and similar classifications can be performed to obtain target 3D models of different 3D model types matched within the same target case information. For this application scenario, since the volume difference between a single tooth and a model with jawbone modeling is significant, the abutment tooth model can be determined using the model volume threshold method. Oral cavity models with a volume threshold greater than the threshold can be further divided into full-jaw models and partial-jaw models.

[0060] For other 3D model applications, such as human figurines, there are also differences in volume between the arms, torso, head, etc. of the human body model. The same method described above can be used to distinguish them by the volume of the model.

[0061] Optionally, taking dental applications as an example, for the maximum planar area of ​​the target 3D model, the maximum planar area of ​​the abutment tooth model is the smallest, the maximum planar area of ​​the half-jaw model is medium, and the maximum planar area of ​​the full-jaw model is the largest among the three. An area threshold can be set to distinguish and classify different 3D model types.

[0062] Optionally, taking dental applications as an example, for the projected shape of the target 3D model, the abutment tooth model is cylindrical, the substitute model is arc-shaped (C-shaped), and the full jaw model is D-shaped. The target 3D model is projected along a predetermined direction (e.g., the z-axis direction, i.e., the axial direction from the root to the crown). The target 3D model is then classified according to the shape or size of the projection. To further distinguish between hemi-jaw and full jaw models, the target 3D model needs to be projected to obtain a projection image, and the bounding box of the target 3D model needs to be calculated and compared with the proportion of the actual obtained projection image to differentiate them.

[0063] It should be noted that, since the abutment tooth model differs significantly from the full / partial jaw model, it is preferable to determine the abutment tooth model using at least one of the aforementioned methods: model volume, planar area, and projected shape. However, the difference between the full and partial jaw models is smaller than that between the abutment tooth models; therefore, the abutment tooth models can be initially selected based on model volume, and then further classified using at least one of the methods: planar area and projected shape.

[0064] In one optional embodiment, based on the three-dimensional model types corresponding to the multiple target three-dimensional models, the multiple target three-dimensional models are processed for layout to obtain a target layout result that matches the target case information. This includes: processing the multiple target three-dimensional models for layout according to layout parameters to obtain a target layout result that matches the target case information. The layout parameters include at least one of the following: preset model spacing parameters, platform spacing parameters, and number of angle adjustments. The platform spacing parameters are the distances between the multiple target three-dimensional models and the forming platform, and the number of angle adjustments is the number of times the placement angle of the corresponding target three-dimensional model can be adjusted during the layout process.

[0065] It is understandable that, according to predetermined layout parameters, multiple target 3D models can be laid out to achieve centralized printing layout of models matching the same target case information. Layout parameters include at least one of the following: preset model spacing parameters, platform spacing parameters, and the number of angle adjustments. Model spacing parameters control the distance between models to ensure they are not overly crowded or scattered during layout. Platform spacing parameters are the distances between multiple target 3D models and the forming platform, helping to ensure that the models are correctly aligned with the plane of the forming platform during the forming process. The number of angle adjustments is the number of times the placement angle of the target 3D models can be adjusted during the layout process, preventing repeated re-layout cycles and ensuring layout efficiency. By adjusting and optimizing the above layout parameters, a target layout result matching the target case information can be obtained to meet different layout needs and conditions. This helps improve the layout efficiency and accuracy of the same case, providing support for subsequent forming or processing.

[0066] In one optional embodiment, based on the three-dimensional model types corresponding to the multiple target three-dimensional models respectively, the multiple target three-dimensional models are processed for layout to obtain a target layout result that matches the target case information. This includes: determining the three-dimensional model type as a first three-dimensional model and determining the three-dimensional model type as a second three-dimensional model among the multiple target three-dimensional models; when there are multiple first three-dimensional models, the multiple first three-dimensional models are processed for layout using a predetermined first distance interval to obtain a first layout result, wherein the first distance interval is a model spacing parameter; and the first layout result and the second three-dimensional model are processed for layout using a predetermined second distance interval to obtain a target layout result, wherein the second distance interval is a model spacing parameter.

[0067] It is understandable that when processing the layout of multiple target 3D models, it can be based on their corresponding 3D model types. Firstly, they can be categorized into first 3D models and second 3D models. This classification is merely an example and is not limited to just two categories. For multiple first 3D models, a predetermined first spacing can be used for layout processing to obtain a first layout result. Based on the first layout result, a second layout process is performed with the second 3D models. During this process, a predetermined second spacing is used to maintain an appropriate distance between the first layout result and the second 3D models, thus obtaining the final target layout result. This method considers the characteristics and needs of different model types. By adjusting the spacing and layout method, a more optimized layout effect is achieved, ensuring the accuracy and rationality of the layout and meeting the needs of different model types.

[0068] Optionally, taking dental applications as an example, an example of the layout processing of multiple target 3D models will be given. Figure 5 This is a layout diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention, as shown below. Figure 5 As shown, the target case is matched with 5 abutment tooth models. The abutment tooth models are a type of model, namely the first three-dimensional model mentioned above. The models between the 5 abutment tooth models and the distance between the abutment tooth models and the molding platform are set according to the first distance interval. The 5 abutment tooth models are arranged as the first layout result.

[0069] Figure 6 This is a target layout diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention, as shown below. Figure 6 As shown, the first layout result is combined with the oral cavity model (such as a hemi-jaw model) for layout, and then the layout is also performed according to the set second distance interval to obtain the target layout result.

[0070] Optionally, the first layout result and the second 3D model are arranged together. Multiple candidate layout results can be obtained using an enumeration method, each corresponding to a different layout area. The layout result with the smallest layout area is selected as the target layout result. The model's angle is adjusted an enumerated number of times (not exceeding the number of adjustment angles set in the layout parameters). Preferably, under the parameter constraints of a model spacing of 0.1mm and a platform spacing of 0.1mm, the model placement is continuously adjusted to maximize the efficiency of arranging the target 3D model.

[0071] Optionally, for a target 3D model, a target layout result is generated for one case. If there are multiple pre-defined user cases, target layout results are generated separately for each pre-defined user case. The target layout results for multiple pre-defined user cases can be generated separately and then centrally laid out on the printer's forming platform according to the platform size of different printers. Figure 7 This is a multi-case layout diagram illustrating an optional three-dimensional model layout method provided by an embodiment of the present invention, such as... Figure 7 As shown, the target layout results of the two cases are laid out on the molding platform for centralized printing and layout processing.

[0072] In an optional embodiment, after the target 3D model is processed for layout, the method further includes: when there are multiple target 3D models, adding a predetermined connection structure between the multiple target 3D models that match the target case information, so as to form a connection relationship between the 3D models of the same user case.

[0073] It is understandable that, when there are multiple target 3D models, in order to establish connections between 3D models belonging to the same user case, a predetermined connection structure can be added between these multiple target 3D models that have been matched and belong to the same target case. This method allows multiple target 3D models to be connected together, facilitating subsequent sorting after printing and clearly identifying which 3D models belong to the same user case.

[0074] Optionally, the aforementioned predetermined connection structure can be a rigid connection or a flexible connection.

[0075] In an optional embodiment, the method further includes: generating a predetermined connection structure based on a shortest distance path, wherein the shortest distance path is the line connecting the two points with the shortest distance among all points between the two target 3D models; and / or, identifying feature holes in the target 3D models and generating the predetermined connection structure based on a strategy of avoiding feature holes.

[0076] It is understandable that when generating a predetermined connection structure, it can be based on the shortest distance path, which refers to the line connecting the two points with the shortest distance among all points between the two target 3D models. Generating the connection structure based on the shortest distance path ensures the effectiveness of the connection structure and reduces unnecessary connection costs. Alternatively, it can be based on feature holes in the target 3D models, generating the predetermined connection structure based on a strategy of avoiding these feature holes. Feature holes refer to openings or hollow parts with specific shapes and sizes in the target 3D models. Avoiding feature holes prevents conflicts or interference with these feature holes in the connection structure, ensuring the feasibility and correctness of the connection structure. These two optional methods of generating connection structures improve the accuracy and reliability of the generated predetermined connection structure, providing better support and assurance for subsequent manufacturing and processing.

[0077] Optionally, the two target 3D models mentioned above are just examples, and the number can be set to a predetermined number. For a predetermined number of target 3D models to which a predetermined connection structure is to be added, the shortest distance path between the predetermined number of target 3D models is determined; based on the shortest distance path between the predetermined number of target 3D models, a predetermined connection structure is added to the predetermined number of target 3D models; by using the method of pre-setting a predetermined connection structure for the predetermined number of target 3D models, the predetermined connection mechanism is added between the multiple target 3D models.

[0078] It is understandable that, for a predetermined number of target 3D models to which a predetermined number of connection structures are to be added, the first step is to determine the shortest path between these models. Adding the predetermined connection mechanisms allows the predetermined number of target 3D models to be connected together, forming a complete structure or case distribution.

[0079] Optionally, feature holes included in multiple target 3D models are identified to obtain feature hole distribution information; based on the feature hole distribution information, an avoidance connection strategy is generated, wherein the avoidance connection strategy includes: prohibiting the addition of predetermined connection structures at the positions of feature holes included in multiple target 3D models; and using the avoidance connection strategy to add predetermined connection structures between multiple target 3D models.

[0080] It is understandable that adopting an avoidance connection strategy may include prohibiting the location of feature holes included in multiple target 3D models, and adding a predetermined connection structure to avoid interference or conflict with these feature holes in the connection mechanism.

[0081] In one optional embodiment, adding a predetermined connection structure between multiple target 3D models that match the target case information includes: generating a bounding box for a first target 3D model among the two target 3D models; determining the geometric center point in the bounding box, and determining the connection point between the geometric center point and the second target 3D model among the two target 3D models that is closest to it; using the line connecting the geometric center point and the connection point as the shortest distance path between the two target 3D models; and / or, when the predetermined connection structure intersects with a feature hole, reducing the predetermined connection structure until the predetermined connection structure does not intersect with the feature hole.

[0082] It can be understood that for the first target 3D model among two target 3D models, a bounding box is generated. The bounding box is a geometry used to approximate the target 3D model. The geometric center point in the bounding box is determined, which can be the center point of the bounding box. The connection point between the geometric center point and the second target 3D model is then determined by calculating the shortest distance from the bounding box center point to the surface of the second target 3D model. The line connecting the bounding box center point and the connection point is taken as the shortest path between the two target 3D models. This path is used to generate the connection structure to connect the two target 3D models together.

[0083] Optionally, a predetermined number (e.g., two) of target 3D models are divided to obtain a first target 3D model and a second target 3D model; a bounding box is generated for the first target 3D model; the geometric center point in the bounding box is determined, and the connection point between the geometric center point and the second target 3D model is determined; the line connecting the geometric center point and the connection point is taken as the shortest distance path between the predetermined number of target 3D models.

[0084] Optionally, the aforementioned first target 3D model is a tooth abutment model. Considering the specific arrangement of tooth abutment models, bounding boxes are generated for multiple tooth abutment models. Figure 8 This is a bounding box diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention, as shown below. Figure 8 The bounding box shown is a 3D rectangle that encloses the first target 3D model, and the center point of this 3D model is determined. XYZ is a schematic diagram of the spatial coordinate system. The coordinates of the eight corner points of the packaging box are shown. The geometric center point can be represented as (x1+x2) / 2, (y1+y2) / 2, (z1+z2) / 2. Since the first layout result and the second target 3D model need to be connected on the bottom surface, only the center points of (x1+x2) / 2 and (y1+y2) / 2 on the XY plane need to be determined as the geometric center points.

[0085] Optionally, based on multiple target 3D models, connection structure prediction information is generated; if the connection structure prediction information and feature hole distribution information indicate that a predetermined connection structure intersects with a feature hole, an abnormal connection structure is identified; the abnormal connection structure is reduced and adjusted until the connection structure prediction information and feature hole distribution information indicate that no predetermined connection structure intersects with a feature hole, and a predetermined connection structure is added between multiple target 3D models.

[0086] Optionally, taking dental applications as an example, since both full-jaw and partial-jaw models have implant holes, these implant holes are used as feature holes. The predetermined connecting structure cannot penetrate these holes and must be avoided. Once the predetermined connecting structure touches the hole, it needs to automatically shrink until it no longer penetrates. The size of the predetermined connecting structure is adjustable; that is, both the width and thickness can be set. The specific parameter values ​​need to be considered in conjunction with the printing material and process level. Preferably, the height is set to 2 mm and the width to 5 mm.

[0087] Figure 9 This is a schematic diagram of the connection structure of an optional three-dimensional model layout method provided by an embodiment of the present invention, such as... Figure 9 The image shows the target layout result from a bottom-up perspective, with the predetermined connection structure on the bottom surface marked as 901.

[0088] In an optional embodiment, before performing layout processing on the target 3D model to obtain a target layout result matching the target case information, the method further includes: obtaining the feature surface corresponding to the target 3D model; determining the spatial angle adjustment strategy of the target 3D model based on the feature surface; and performing rotation and straightening processing on the target 3D model using the spatial angle adjustment strategy of the target 3D model.

[0089] It can be understood that obtaining the feature surfaces corresponding to the target 3D model is crucial. These feature surfaces refer to faces in the model with specific shapes, sizes, or positions, which can provide characteristic information about the target 3D model. Based on these feature surfaces, a spatial angle adjustment strategy is determined to achieve the best angle adjustment effect. By rotating and straightening the target 3D model, it is ensured that each target 3D model is in the correct position and angle, facilitating subsequent layout processing.

[0090] Optionally, a spatial angle adjustment strategy can be determined based on the type of the target 3D model. Different 3D model types may require different spatial angle adjustment strategies.

[0091] In one optional embodiment, obtaining the feature surface corresponding to the target 3D model includes: superimposing preset detection triangular facets with multiple triangular facets included in the target 3D model to calculate the area error corresponding to each of the multiple triangular facets; comparing the area error corresponding to each of the multiple triangular facets with a predetermined error threshold to obtain the comparison result corresponding to each of the multiple triangular facets; determining the target facet whose area error is less than the error threshold among the multiple triangular facets; when there are multiple target facets, determining multiple candidate planes composed of facets among the multiple target facets; and determining the plane with the largest area among the multiple candidate planes as the feature surface corresponding to the target 3D model.

[0092] It is understandable that by superimposing the predetermined detection triangles onto multiple triangles included in the target 3D model, and calculating them one by one, using these detection triangles as plane baselines, the area errors corresponding to each triangle can be obtained. Comparing the area errors of each triangle with a predetermined error threshold determines the comparison results for each triangle. Target faces whose area errors are less than the predetermined error threshold can be considered to coincide with the plane containing the detection triangles, which serves as the detection benchmark. In the case of multiple target faces, the faces included in these target faces can be connected to form multiple candidate planes, all of which can be considered to coincide with the detection triangles. The plane with the largest area among the candidate planes is then selected as the feature surface corresponding to the target 3D model.

[0093] Optionally, the aforementioned feature surface can be the maximum base plane. There are various ways to determine the maximum base plane; for ease of understanding, we will still use dental applications as an example. The method for detecting the maximum base plane of a tooth is as follows: A triangular facet is designated as the detection triangular facet. The designated detection triangular facet is superimposed on a 3D tooth model composed of triangular facets (i.e., the target 3D model). The area errors corresponding to the multiple triangular facets included in the target 3D model are determined, and an error threshold is set as e. When the corresponding area error is greater than the error threshold e, the designated detection triangular facet is considered to be uneven with the facet on the 3D tooth model; otherwise, they are considered to be on the same plane. When the designated detection triangular facet is on the same plane as a facet of the target 3D model, the two are superimposed, and the search continues for the next triangular facet, and the error threshold is judged again. The above steps are repeated until the plane with the largest area in the target 3D model, i.e., the maximum base plane, is obtained.

[0094] In one optional embodiment, the spatial angle adjustment strategy includes adjusting the rotation angle and rotation axis of the target 3D model. Based on the feature surface corresponding to the target 3D model, the spatial angle adjustment strategy of the target 3D model is determined, including: determining the normal vector corresponding to the feature surface; and determining the rotation angle and rotation axis based on the normal vector using the cross product operation method.

[0095] It is understandable that determining the normal vector corresponding to the feature surface, which represents the vector of the surface orientation, indicates the direction and inclination of the surface. By determining the normal vector corresponding to the feature surface, we can better understand the direction and characteristics of the feature surface, and thus determine the correct rotation angle and rotation axis.

[0096] Optionally, the maximum bottom plane of the target 3D model is used as the feature surface to obtain the corresponding normal vector. Using the cross product operation, the rotation angle and rotation axis are calculated based on the vector values ​​before and after rotation. The cross product operation is a binary operation of vectors in vector space, and its result is a directed vector rather than a scalar. Based on the aforementioned rotation angle and rotation axis, any target 3D model can be rotated to the desired spatial position, thus achieving the alignment process.

[0097] In an optional embodiment, the method further includes: preprocessing the target 3D model to obtain a preprocessed target 3D model, wherein the preprocessing includes: hollowing out the target 3D model and / or adding a support structure to the target 3D model.

[0098] Understandably, in order to save materials and ensure that the target 3D model does not deform, multiple target 3D models are preprocessed separately. These preprocessed models are then arranged in a layout to generate the final target layout. The preprocessing methods described above can include hollowing out elements and / or adding support structures.

[0099] Optionally, after arranging the target 3D model, based on the identified 3D model type, the target 3D model is hollowed out. Hollowing out the 3D model refers to hollowing out the bottom surface of a model whose input is solid. The hollowing algorithm, based on the set hollowing wall thickness and accuracy value (preset value), overlaps the same model after shrinking (offset), and then leaves the bottom surface empty, forming the hollowed-out target 3D model. Since the target 3D model is hollowed out, a base plate needs to be added to the hollowed-out area. To prevent deformation and shrinkage of the 3D model, the printed 3D model needs a base plate to overcome deformation. Furthermore, considering factors such as leakage, material saving, and processing, a base plate needs to be added to the printed 3D model, preferably in a honeycomb shape.

[0100] Optionally, taking dental applications as an example, if the target 3D model is a base tooth model and a half-jaw model, Figure 10 This is a schematic diagram of a base plate for an optional three-dimensional model layout method provided by an embodiment of the present invention. Figure 10 As shown, the abutment tooth model is connected to the hemi-jaw model through the generated honeycomb-shaped base plate.

[0101] Optionally, support can be added to the target 3D model. Based on the identified 3D model type, it can be determined whether a support structure needs to be added. For suspended models (which can be set during the layout stage), support can be added to add columns or other mechanisms to support the suspended model for printing. Alternatively, support can be added to the target 3D model after it has been hollowed out to ensure that the hollowed-out model will not fall off during printing.

[0102] Optionally, the support structure can be added in at least one of the following ways: for the target 3D model that needs to be supported, its lowest point can be found, that is, the lowest point is supported.

[0103] Taking dental applications as an example, based on the specific requirements of dental applications, such as the upper surface of the abutment tooth and the prosthesis hole, it is necessary to leave these areas unsupported. This allows for automatic avoidance of areas where support is unnecessary, such as the outer surface of the target 3D model or the designed holes in the target 3D model that are not supported. These holes are for wearing or working areas. It should be noted that since the added support structure needs to be removed in the end, the support strategy can be set in the support contact point area to ensure that the support can be easily disassembled without falling off during model printing.

[0104] Through step S102, multiple 3D models to be printed and corresponding user case information are obtained. Step S104 determines the 3D model types corresponding to the multiple target 3D models, where each 3D model type includes at least a base tooth model representing a single tooth and an oral cavity model with jawbone modeling. Step S106 involves layout processing of the target 3D models to obtain target layout results matching the target case information, and then performing 3D printing based on these target layout results. This achieves the goal of centrally layouting and printing 3D models from the same user case, improving post-printing sorting efficiency through placement, greatly enhancing the efficiency of 3D model preprocessing and production scheduling, and reducing processing time. It achieves the technical effect of improving the printing layout efficiency of 3D models, thereby solving the technical problem of unsatisfactory layout efficiency of 3D models in related technologies.

[0105] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation method, with a preferred application scenario being dental applications. Figure 11 This is a dental application diagram of an optional three-dimensional model layout method provided by an embodiment of the present invention, as shown in the figure. Figure 11 The steps shown are explained in detail below.

[0106] The design model based on the 3D dental treatment plan is to obtain a three-dimensional dental model as the initial model. The 3D dental model is a model output by the design software, and the dental model is a digital three-dimensional body composed of a series of triangular facets.

[0107] Multiple initial models are input for defect verification. The initial model is composed of triangular facets. It is expected that all triangular facets form a closed region, and the normal vectors of all triangular facets face outward, which is considered to be a closed model.

[0108] If defects such as holes or inverted triangular facets are detected in the initial model, it is determined that the initial model is not closed, i.e., it has defects. If the verification result shows that there are holes, the edges of the holes in the initial model are identified and automatically repaired to form a closed region in the model.

[0109] If the verification result indicates the presence of inverted triangular facets, the normal vectors of the inverted triangular facets are determined, and these normal vectors are reversed to form a closed region in the initial model. By automatically repairing multiple input initial models, a repaired model is obtained, ensuring that the model has no broken surfaces and remains closed, resulting in multiple 3D models ready for printing.

[0110] The features of the multiple 3D models from different application cases are identified, and they are classified in two steps to determine the target 3D model that belongs to the same application case (i.e., belongs to the target case information).

[0111] The initial classification process involves identifying multiple 3D models corresponding to user case information. Based on the case identifiers provided in the user case information, multiple target 3D models belonging to the same case can be distinguished. Next, it's necessary to determine the 3D model type corresponding to each of the multiple target 3D models. Based on one or more parameters, including model volume, planar area, and projected shape, the multiple target 3D models can be classified.

[0112] Based on the identified 3D model type of the target 3D model, multiple target 3D models are automatically aligned. Alignment is fundamental to printing; only correct alignment can meet the printing process requirements. The automatically aligned target 3D models are then automatically grouped together according to the same case set, maximizing the number of models that can fit into the printing platform. To conserve printing material, prevent leakage, and ensure no deformation occurs during processing, selective cutouts and / or support structures can be added to multiple target 3D models.

[0113] The automatic layout method involves laying out the abutment tooth models (i.e., the first target 3D model) from multiple target 3D models as a whole. Then, the first layout result from the multiple abutment tooth models is further laid out with the full-jaw model or partial-jaw model (i.e., the second target 3D model). A connecting rod (i.e., a predetermined connection structure) is generated between the first layout result and the full-jaw or partial-jaw model to establish a solid connection. This ensures that the printed parts remain connected and are easy to disassemble, forming a strong bond. The connecting rod can be generated by finding the shortest distance between the first layout result and the full-jaw or partial-jaw model, while also avoiding the implant hole.

[0114] Using the above method, it is possible to centrally type and print the model of the same case, and process the model of other cases in the same way, and process the type printing of multiple cases on the printing platform.

[0115] The above-described optional implementation methods can achieve the following effects: They can significantly improve the efficiency of processing and manipulating dental models, reduce manual processing time after 3D printing, and provide a better printing experience and the advantages of prototype model products. Integrating and automating the generation process in model layout application scenarios improves 3D printing efficiency, greatly saves data processing time, and significantly boosts production efficiency.

[0116] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0117] This embodiment also provides a three-dimensional model typesetting device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the terms "module" and "device" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0118] According to embodiments of the present invention, an apparatus embodiment for implementing a three-dimensional model layout method is also provided. Figure 12 This is a schematic diagram of a three-dimensional model typesetting device according to an embodiment of the present invention, such as... Figure 12 As shown, the above-mentioned 3D model layout device includes: a model acquisition module 1202, a model matching module 1204, and a case layout module 1206. The device will be described below.

[0119] The model acquisition module 1202 is used to acquire multiple 3D models to be printed, as well as user case information corresponding to each of the multiple 3D models;

[0120] The model matching module 1204, connected to the model acquisition module 1202, is used to determine the target 3D model that matches the target case information from multiple 3D models based on the user case information.

[0121] The case layout module 1206 is connected to the model matching module 1204 and is used to perform layout processing on the target 3D model to obtain the target layout result that matches the target case information, so as to perform 3D printing based on the target layout result.

[0122] This invention provides a 3D model layout device. A model acquisition module 1202 is used to acquire multiple 3D models to be printed, and user case information corresponding to each 3D model. A model matching module 1204, connected to the model acquisition module 1202, is used to determine a target 3D model matching the target case information from the multiple 3D models based on the user case information. A case layout module 1206, connected to the model matching module 1204, is used to perform layout processing on the target 3D model to obtain a target layout result matching the target case information, and then perform 3D printing based on the target layout result. This achieves the goal of centrally layouting and printing 3D models of the same user case, improving the efficiency of post-printing sorting through placement, greatly improving the efficiency of 3D model preprocessing and production scheduling, and reducing processing time. It achieves the technical effect of improving the printing layout efficiency of 3D models, thereby solving the technical problem of unsatisfactory 3D model layout efficiency in related technologies.

[0123] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0124] It should be noted that the model acquisition module 1202, model matching module 1204, and case layout module 1206 correspond to steps S102 to S106 in the embodiments. The instances and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can run on a computer terminal.

[0125] It should be noted that the optional or preferred implementation methods of this embodiment can be found in the relevant descriptions in the embodiments, and will not be repeated here.

[0126] The aforementioned 3D model layout device may also include a processor and a memory. The model acquisition module 1202, the model matching module 1204, the case layout module 1206, etc., are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to realize the corresponding functions.

[0127] The processor contains a core that retrieves the corresponding program unit from memory. One or more cores may be configured. Memory may include non-persistent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory includes at least one memory chip.

[0128] This invention provides a non-volatile storage medium storing a program that, when executed by a processor, implements a three-dimensional model layout method.

[0129] This invention provides an electronic device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: acquiring multiple 3D models to be printed, and user case information corresponding to each of the multiple 3D models; determining a target 3D model matching the target case information from the multiple 3D models based on the user case information; performing layout processing on the target 3D model to obtain a target layout result matching the target case information; and performing 3D printing based on the target layout result. The device described herein can be a server, PC, etc.

[0130] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: acquiring multiple three-dimensional models to be printed, and user case information corresponding to each of the multiple three-dimensional models; determining a target three-dimensional model matching the target case information from the multiple three-dimensional models based on the user case information; performing layout processing on the target three-dimensional model to obtain a target layout result matching the target case information, and performing three-dimensional printing based on the target layout result.

[0131] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0132] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0133] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0134] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0135] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0136] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0137] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0138] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0139] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0140] The above are merely embodiments of the present invention and are not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A method for layout of three-dimensional models, characterized in that, include: Obtain multiple 3D models to be printed, and user case information corresponding to each of the multiple 3D models; Based on the user case information, determine the case identifiers corresponding to the multiple 3D models respectively; The case identifier of the target 3D model indicated by the target case information is used as the target case identifier; Among the case identifiers corresponding to the plurality of 3D models, the target 3D model that matches the target case identifier is determined; The target 3D model that matches the target case information is classified to obtain the 3D model type corresponding to the target 3D model. The classification includes at least one of the following methods: - Determine the model volume of the target 3D model; based on a preset volume threshold and the model volume, determine the 3D model type corresponding to the target 3D model; - Determine the model shape of the target 3D model; Based on the model shape, determine the type of the three-dimensional model corresponding to the target three-dimensional model; - Determine the maximum planar area of ​​the target 3D model, and determine the 3D model type corresponding to the target 3D model based on a preset area threshold and the maximum planar area; or - Project the target 3D model along a preset direction to obtain the projection features of the target 3D model; Based on the projection features, the type of the three-dimensional model corresponding to the target three-dimensional model is determined; Based on the 3D model type, the target 3D model is processed for layout to obtain a target layout result that matches the target case information, and then 3D printing is performed based on the target layout result.

2. The method according to claim 1, characterized in that, When there are multiple target 3D models, the multiple target 3D models are arranged according to their respective 3D model types to obtain the target layout result that matches the target case information.

3. The method according to claim 2, characterized in that, The three-dimensional model types corresponding to the multiple target three-dimensional models are determined respectively, thus obtaining the three-dimensional model types corresponding to the multiple target three-dimensional models respectively.

4. The method according to claim 2, characterized in that, The step involves processing the layout of multiple target 3D models based on their respective 3D model types to obtain a target layout result that matches the target case information, including: According to the layout parameters, the multiple target 3D models are processed to obtain the target layout result that matches the target case information. The layout parameters include at least one of the following: preset model spacing parameters, platform spacing parameters, and number of angle adjustments. The platform spacing parameters are the distances between the multiple target 3D models and the forming platform, and the number of angle adjustments is the number of times the placement angle of the corresponding target 3D model can be adjusted during the layout process.

5. The method according to claim 2, characterized in that, The step involves processing the layout of multiple target 3D models based on their respective 3D model types to obtain a target layout result that matches the target case information, including: Among the multiple target 3D models, the 3D model type is determined to be a first 3D model, and the 3D model type is determined to be a second 3D model; When there are multiple first three-dimensional models, a predetermined first distance interval is used to perform layout processing on the multiple first three-dimensional models to obtain a first layout result, wherein the first distance interval is a model spacing parameter; Using a predetermined second distance interval, the first layout result and the second three-dimensional model are processed to obtain the target layout result, wherein the second distance interval is a parameter of the model spacing.

6. The method according to claim 1, characterized in that, After the target 3D model is processed for layout, the method further includes: When there are multiple target 3D models, a predetermined connection structure is added between multiple target 3D models that match the target case information to form a connection relationship between the 3D models of the same user case.

7. The method according to claim 6, characterized in that, The method further includes: The predetermined connection structure is generated based on the shortest distance path, where the shortest distance path is the line connecting the two points with the shortest distance among all points between the two target 3D models; and / or, Identify the feature holes in the target 3D model, and generate the predetermined connection structure based on a strategy to avoid the feature holes.

8. The method according to claim 6, characterized in that, Add a predetermined connection structure between multiple target 3D models that match the target case information, including: Generate a bounding box for the first target 3D model among the two target 3D models; determine the geometric center point within the bounding box, and determine the closest connection point between the geometric center point and the second target 3D model among the two target 3D models; take the line connecting the geometric center point and the connection point as the shortest distance path between the two target 3D models; and / or, When the predetermined connection structure intersects with the feature hole, the predetermined connection structure is reduced until the predetermined connection structure and the feature hole no longer intersect.

9. The method according to claim 1, characterized in that, The process of obtaining multiple 3D models to be printed includes: Obtain multiple initial models to be printed; Defect verification is performed on the multiple initial models to obtain the verification results corresponding to each of the multiple initial models; The verification results corresponding to the multiple initial models are determined to be defective abnormal models. The abnormal model is repaired to obtain the multiple three-dimensional models.

10. The method according to claim 1, characterized in that, Before performing layout processing on the target 3D model to obtain a target layout result matching the target case information, the method further includes: Obtain the feature surfaces corresponding to the target 3D model; Based on the feature surfaces, determine the spatial angle adjustment strategy for the target 3D model; The target 3D model is rotated and straightened using a spatial angle adjustment strategy.

11. The method according to claim 10, characterized in that, Obtaining the feature surfaces corresponding to the target 3D model includes: The preset detection triangular facets are superimposed on the multiple triangular facets included in the target three-dimensional model to calculate the area error corresponding to each of the multiple triangular facets. The area errors corresponding to the multiple triangular facets are compared with a predetermined error threshold to obtain the comparison results corresponding to the multiple triangular facets. Among the plurality of triangular facets, the target facet whose area error is less than the error threshold is identified by the comparison result indication. When there are multiple target patches, multiple candidate planes composed of patches are identified among the multiple target patches; The plane with the largest area among the multiple candidate planes is determined as the feature surface corresponding to the target 3D model.

12. The method according to claim 11, characterized in that, The spatial angle adjustment strategy includes adjusting the rotation angle and rotation axis of the target 3D model. Determining the spatial angle adjustment strategy of the target 3D model based on its corresponding feature surfaces includes: Determine the normal vector corresponding to the feature surface; Based on the normal vector, the cross product operation method is used to determine the rotation angle and the rotation axis.

13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: The target 3D model is preprocessed to obtain a preprocessed target 3D model, wherein the preprocessing includes: hollowing out the target 3D model and / or adding a support structure to the target 3D model.

14. A three-dimensional model typesetting device, characterized in that, include: The model acquisition module is used to acquire multiple 3D models to be printed, as well as user case information corresponding to each of the multiple 3D models; The model matching module is used to determine the case identifiers corresponding to the multiple 3D models based on the user case information. The case identifier of the target 3D model indicated by the target case information is used as the target case identifier; Among the case identifiers corresponding to the plurality of 3D models, the target 3D model that matches the target case identifier is determined; The case layout module is used to perform layout processing on the target 3D model to obtain a target layout result that matches the target case information, so as to perform 3D printing based on the target layout result; The device is further configured to classify the target 3D model that matches the target case information to obtain the 3D model type corresponding to the target 3D model, wherein the classification includes at least one of the following methods: - Determine the model volume of the target 3D model; based on a preset volume threshold and the model volume, determine the 3D model type corresponding to the target 3D model; - Determine the model shape of the target 3D model; based on the model shape, determine the 3D model type corresponding to the target 3D model; - Determine the maximum planar area of ​​the target 3D model, and determine the 3D model type corresponding to the target 3D model based on a preset area threshold and the maximum planar area; or - Project the target 3D model along a preset direction to obtain the projection features of the target 3D model; based on the projection features, determine the 3D model type corresponding to the target 3D model.

15. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores multiple instructions, which are adapted to be loaded by a processor and executed by the three-dimensional model layout method according to any one of claims 1 to 13.

16. An electronic device, characterized in that, include: One or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the three-dimensional model layout method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Tooth modeling method based on dental crown and tooth root characteristics

    CN106295170A

  • Multi-task parallelism printing packing method and system based on 3D printing

    CN108536401A

  • Multi-model 3D printing method, apparatus, 3D printing apparatus, and storage medium

    CN109408001A

  • Three-dimensional printing data preprocessing method and device and digital operation platform

    CN114211753A