Three-dimensional model processing method and device, storage medium and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2026-08-11
AI Technical Summary
[0005]本发明实施例提供了一种三维模型处理方法、装置、存储介质及电子设备,以至少解决相关技术中三维模型制作过程中打印成功率低的技术问题
[0036]在本发明实施例中,采用获取目标三维模型对应的三维模型数据以及基于三维模型数据进行镂空处理,得到初始模型结构的方式,基于初始模型结构的目标轮廓信息生成底板,以及在初始模型结构的内部生成支撑结构,对底板和支撑结构进行连接,得到目标三维模型,达到了的降低三维模型制作的材料消耗量、时间成本以及失败率目的,从而实现了降低了三维模型制作的材料消耗量与时间成本、提高了三维模型制作的成功率的技术效果,进而解决了相关技术中三维模型制作过程中打印成功率低的技术问题。
Smart Images

Figure CN117885353B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of three-dimensional models, and more specifically, to a three-dimensional model processing method, apparatus, storage medium, and electronic device. Background Technology
[0002] With the development of digitalization, the production of three-dimensional objects is increasingly adopting three-dimensional (3D) printing technology, such as dental models, orthopedic models, headphones, or toys. However, due to the high price of resin printing materials and the difficulty in acquiring the technology, the cost of solid models is relatively high. In addition, after surface exposure, the cured areas need to wait for liquid reflow, and the cross-sectional exposure area of solid models is large, resulting in a long reflow time, which increases the time cost of 3D printing solid models.
[0003] Besides solid models, hollow models can also be made by internally hollowing out, such as hollow dental molds. Figures 1A-1C As shown, for Figure 1A The tooth model in the middle is obtained by hollowing out. Figure 1B The tooth hollow model shown has an internal honeycomb support structure. The hollow wall thickness is generally in the range of 0.5mm to 5mm. The details of the honeycomb support structure are as follows: Figure 1C As shown. However, when the hollow wall thickness is low, the adhesion between the model and the forming platform is insufficient, which can easily lead to the plate falling off and causing printing failure; when the hollow wall thickness is high, the hollow effect is not much different from that of a solid one.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a three-dimensional model processing method, apparatus, storage medium, and electronic device to at least solve the technical problem of low printing success rate in the process of three-dimensional model production in related technologies.
[0006] According to one embodiment of the present invention, a three-dimensional model processing method is provided, comprising: acquiring three-dimensional model data corresponding to a target three-dimensional model; performing hollowing processing based on the three-dimensional model data to obtain an initial model structure, wherein the initial model structure is an open-bottomed model structure with at least a partially hollow interior; generating a base plate including openings based on the target contour information of the initial model structure, and generating a support structure inside the initial model structure; and connecting the base plate and the support structure to obtain the target three-dimensional model.
[0007] Optionally, generating a base plate based on the contour information of the initial model structure includes: obtaining attribute information of the base plate, wherein the attribute information is used to determine the thickness information, hole diameter information, hole diameter wall thickness information, and hole shape information of the base plate; and generating the base plate based on the attribute information and the target contour information.
[0008] Optionally, the target contour information includes: outer contour entity information and inner contour entity information. Generating the base plate based on the attribute information and target contour information includes: generating an initial base plate structure based on the attribute information and outer contour entity information; and performing Boolean subtraction calculation on the inner contour entity information and the initial base plate structure to generate the base plate.
[0009] Optionally, the above-mentioned three-dimensional modeling method further includes: performing Boolean addition calculations on the initial mesh structure and the initial model structure to generate a preset three-dimensional model.
[0010] Optionally, connecting the base plate and the supporting structure includes: generating a preset connection structure at the support landing point corresponding to the supporting structure, the preset connection structure being used to connect the base plate and / or the support landing point corresponding to the other supporting structure, the support landing point being the end of the supporting structure closer to the base plate.
[0011] Optionally, the above-mentioned three-dimensional modeling method further includes generating a support structure at the lowest point inside the initial model structure.
[0012] Optionally, connecting the base plate and the supporting structure to obtain the target 3D model includes: generating a first path set using a preset generation algorithm, wherein the first path set includes multiple path elements, and the path elements are used to represent the topological paths between the support landing points corresponding to the supporting structure; traversing the first path set according to preset conditions to obtain a second path set; generating a first preset connection structure using the second path set; and connecting the support landing points corresponding to the base plate and / or other supporting structures using the first preset connection structure to obtain the target 3D model.
[0013] Optionally, the first path set is traversed according to preset conditions to obtain the second path set, including: traversing the first path set and performing an intersection judgment on the path elements and target contour information to obtain a judgment result; the response determines that the path elements and target contour information do not intersect based on the judgment result, and compares the path length corresponding to the path element with a preset length threshold to obtain a comparison result; the response determines that the path length is less than or equal to the preset length threshold based on the comparison result, and stores the path element in the second path set.
[0014] Optionally, the above-mentioned three-dimensional model method further includes: determining, based on the judgment result, that the path element and the target contour information intersect, and discarding the path element; determining, based on the comparison result, that the path length is greater than a preset length threshold, and discarding the path element.
[0015] Optionally, the above three-dimensional modeling method further includes: in response to the number of first preset connection structures corresponding to the support landing point being less than a preset value, generating a second preset connection structure to connect the base plate and the support structure.
[0016] Optionally, the three-dimensional model is a model structure with an open bottom and at least partially hollow interior, including: a base plate and a support structure. The base plate includes openings, and the support structure is located inside the three-dimensional model. The base plate and the support structure are connected.
[0017] Optionally, a preset connecting structure is provided at the support landing point corresponding to the support structure. The preset connecting structure is used to connect the support landing point corresponding to the base plate and / or other support structures. The support landing point is the end of the support structure that is closer to the base plate.
[0018] Optionally, the wire diameter of the pre-connecting structure is smaller than the opening diameter of the base plate, so that the base plate is open as a whole.
[0019] Optionally, at least part of the support structure is located at the lowest point inside the three-dimensional model.
[0020] According to one embodiment of the present invention, a three-dimensional model processing apparatus is also provided, comprising: an acquisition module for acquiring three-dimensional model data corresponding to a target three-dimensional model; a processing module for performing hollowing processing based on the three-dimensional model data to obtain an initial model structure, wherein the initial model structure is an open-bottom, hollow-internal model structure; a generation module for generating a base plate based on the target contour information of the initial model structure, and generating a support structure inside the initial model structure, wherein the support structure includes at least one of the following: a columnar support structure, a tree-like support structure; and a connection module for connecting the base plate and the support structure to obtain the target three-dimensional model. Optionally, the acquisition module is further configured to acquire attribute information of the base plate, wherein the attribute information is used to determine the thickness information, mesh diameter information, mesh wall thickness information, and mesh shape information of the base plate; the generation module is further configured to generate the base plate based on the attribute information and the target contour information.
[0021] Optionally, the acquisition module is further configured to acquire attribute information of the base plate, wherein the attribute information is used to determine the thickness information, hole diameter information, hole diameter wall thickness information, and hole shape information of the base plate; the generation module is further configured to generate the base plate based on the attribute information and target contour information.
[0022] Optionally, the generation module is also used to: generate an initial base plate structure based on attribute information and outer contour entity information; and perform Boolean subtraction calculation on the inner contour entity information and the initial base plate structure to generate the base plate.
[0023] Optionally, the generation module is also used to: perform Boolean addition calculations on the initial mesh structure and the initial model structure to generate a preset three-dimensional model.
[0024] Optionally, the generation module is also used to: generate a preset connection structure at the support landing point corresponding to the support structure, the preset connection structure being used to connect the base plate and / or the support landing point corresponding to other support structures, the support landing point being the end of the support structure closest to the base plate.
[0025] Optionally, the generation module is also used to generate a support structure at the lowest point inside the initial model structure.
[0026] Optionally, the generation module is further configured to: generate a first path set using a preset generation algorithm, wherein the first path set includes multiple path elements, the path elements being used to represent the topological paths between the support landing points corresponding to the support structure; traverse the first path set according to preset conditions to obtain a second path set; generate a first preset connection structure using the second path set; connect the support landing points corresponding to the base plate and / or other support structures using the first preset connection structure to obtain the target three-dimensional model.
[0027] Optionally, the above-mentioned three-dimensional model processing device further includes a judgment module, used for: traversing the first path set and judging the intersection of path elements and target contour information to obtain a judgment result; responding to determine that the path elements and target contour information do not intersect based on the judgment result, comparing the path length corresponding to the path element with a preset length threshold to obtain a comparison result; responding to determine that the path length is less than or equal to the preset length threshold based on the comparison result, and storing the path element in the second path set.
[0028] Optionally, the above-mentioned three-dimensional model processing device further includes a processing module, used to: discard the path element in response to determining that the path element and the target contour information intersect based on the judgment result; and discard the path element in response to determining that the path length is greater than a preset length threshold based on the comparison result.
[0029] Optionally, the generation module is further configured to: generate a second preset connection structure to connect the base plate and the support structure in response to the first preset connection structure corresponding to the support landing point being less than a preset value.
[0030] Optionally, the three-dimensional model is a model structure with an open bottom and at least partially hollow interior, including: a base plate and a support structure. The base plate includes openings, and the support structure is located inside the three-dimensional model. The base plate and the support structure are connected.
[0031] Optionally, a preset connecting structure is provided at the support landing point corresponding to the support structure. The preset connecting structure is used to connect the support landing point corresponding to the base plate and / or other support structures. The support landing point is the end of the support structure that is closer to the base plate.
[0032] Optionally, the wire diameter of the pre-connecting structure is smaller than the opening diameter of the base plate, so that the base plate is open as a whole.
[0033] Optionally, at least part of the support structure is located at the lowest point inside the three-dimensional model.
[0034] According to one embodiment of the present invention, a non-volatile storage medium is also provided, wherein a computer program is stored in the non-volatile storage medium, and the three-dimensional model processing method described above is executed by running the computer program in the device where the non-volatile storage medium is located.
[0035] According to one embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the three-dimensional model processing method described above through the computer program.
[0036] In this embodiment of the invention, the method of obtaining the three-dimensional model data corresponding to the target three-dimensional model and performing hollowing processing based on the three-dimensional model data to obtain the initial model structure, generating a base plate based on the target contour information of the initial model structure, and generating a support structure inside the initial model structure, and connecting the base plate and the support structure to obtain the target three-dimensional model, achieves the purpose of reducing the material consumption, time cost and failure rate of three-dimensional model making, thereby realizing the technical effect of reducing the material consumption and time cost of three-dimensional model making and improving the success rate of three-dimensional model making, and thus solving the technical problem of low printing success rate in the process of three-dimensional model making in related technologies. Attached Figure Description
[0037] 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:
[0038] Figure 1A It is a schematic diagram of a three-dimensional model structure in related technologies;
[0039] Figure 1B This is another schematic diagram of a three-dimensional model structure in related technologies;
[0040] Figure 1C This is another schematic diagram of a three-dimensional model structure in related technologies;
[0041] Figure 2 This is a hardware structure block diagram of a three-dimensional model processing method according to one embodiment of the present invention;
[0042] Figure 3This is a flowchart of a three-dimensional model processing method according to one embodiment of the present invention;
[0043] Figure 4 This is a longitudinal cross-sectional schematic diagram of a three-dimensional model according to one embodiment of the present invention;
[0044] Figure 5 This is a schematic diagram of the bottom cross-section of a three-dimensional model after it has been hollowed out, according to one embodiment of the present invention;
[0045] Figure 6A This is a schematic diagram of the base plate calculation process of a three-dimensional model according to one embodiment of the present invention;
[0046] Figure 6B This is a schematic diagram of the base plate calculation process for another three-dimensional model according to one embodiment of the present invention;
[0047] Figure 6C This is a schematic diagram of the base plate calculation process of another three-dimensional model according to one embodiment of the present invention;
[0048] Figure 6D This is a schematic diagram of the base plate calculation process of another three-dimensional model according to one embodiment of the present invention;
[0049] Figure 7A This is a schematic diagram of a three-dimensional model support structure calculation process according to one embodiment of the present invention;
[0050] Figure 7B This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0051] Figure 8 This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0052] Figure 9A This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0053] Figure 9B This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0054] Figure 9C This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0055] Figure 9D This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0056] Figure 9E This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0057] Figure 9F This is a schematic diagram of the calculation process of a three-dimensional model support structure according to one embodiment of the present invention;
[0058] Figure 10 This is a schematic diagram of a three-dimensional model support structure according to one embodiment of the present invention;
[0059] Figure 11 This is a schematic diagram of a tooth model according to one embodiment of the present invention;
[0060] Figure 12 This is a schematic diagram of a tooth model according to one embodiment of the present invention;
[0061] Figure 13 This is a schematic diagram of an earphone housing according to one embodiment of the present invention;
[0062] Figure 14 This is a structural block diagram of a three-dimensional model processing device according to one embodiment of the present invention. Detailed Implementation
[0063] 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.
[0064] 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.
[0065] The three-dimensional model processing method embodiments provided in this application can be executed on mobile terminals, computer terminals, or similar computing devices. Figure 2 This is a hardware structure block diagram of a three-dimensional model processing method according to one embodiment of the present invention. Figure 2As shown, the computer terminal 20 (or electronic device 20) may include one or more processors (shown as 202a, 202b, ..., 202n in the figure) (the processor may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 204 for storing data, and a transmission module 206 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 2 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 20 may also include... Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown.
[0066] It should be noted that the aforementioned one or more processors and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be wholly or partially embodied in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuit may be a single, independent processing module, or wholly or partially integrated into any other element within the computer terminal 20 (or electronic device). As involved in the embodiments of this application, the data processing circuit serves as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0067] The memory 204 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the three-dimensional model processing method in this embodiment. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 204, thereby realizing the aforementioned three-dimensional model processing method. The memory 204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 204 may further include memory remotely located relative to the processor, and these remote memories can be connected to the computer terminal 20 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0068] The transmission module 206 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 20. In one example, the transmission module 206 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission module 206 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0069] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user page of the computer terminal 20 (or electronic device).
[0070] It should be noted here that, in some optional embodiments, the above... Figure 2 The computer device (or electronic device) shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 2 This is only one instance of a particular specific instance, and is intended to illustrate the types of components that may exist in the aforementioned computer equipment (or electronic equipment).
[0071] According to an embodiment of the present invention, a method embodiment for processing three-dimensional models is provided. 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.
[0072] Figure 3 This is a flowchart of a three-dimensional model processing method according to one embodiment of the present invention, such as... Figure 3 As shown, the method includes the following steps:
[0073] Step S30: Obtain the 3D model data corresponding to the target 3D model;
[0074] In step S30 above, the 3D model data corresponding to the target 3D model refers to the data representing the shape and structure of the target 3D model in 3D space. 3D model data includes information such as the shape, size, and surface texture of the 3D model, and is usually stored digitally in a computer. It can be used for virtual simulation, design, and manufacturing of 3D models. Processed 3D model data is typically saved in the following file formats: STL, DCM, MAX, FBX, OBJ, etc. For example, a 3D model of a tooth is extracted from medical imaging data. Relevant software is used to process the image data to obtain the 3D model data of the tooth; the obtained 3D model data is processed and converted; and the processed 3D model data is saved in formats such as STL and DCM for further analysis, modification, or application in other software.
[0075] Step S32: Based on the 3D model data, perform hollowing processing to obtain the initial model structure, wherein the initial model structure is an open bottom and at least partially hollow inside.
[0076] In step S32 above, the hollowing-out process refers to hollowing out the target 3D model to form a model structure with an open bottom and at least partially hollow inside. The hollowing-out wall thickness is preferably selected to be 1.5mm to 3.0mm.
[0077] Step S34: Generate a base plate including openings based on the target contour information of the initial model structure, and generate a support structure inside the initial model structure.
[0078] In step S34 above, the target contour information of the initial model structure refers to the outer contour of the target 3D model and the closed contour inside the outer contour. The aforementioned perforated base plate refers to a base plate that is a non-solid closed structure, with openings at least in some locations to allow resin to flow out. The aforementioned support structure includes at least one of the following: a columnar support structure and a tree-like support structure.
[0079] Specifically, the above-mentioned 3D model processing method can be used for 3D printing of objects such as teeth, headphones, toys, and orthopedic models. As long as the object model has a structure with an open bottom and at least partially hollow inside, this processing method can be used. Figure 4 This is a longitudinal cross-sectional schematic diagram of a three-dimensional model according to one embodiment of the present invention, taking a tooth model as an example, as follows: Figure 4 The diagram shows a longitudinal section of the tooth model. The bottom is a base plate 401 generated based on the target contour information of the initial model structure. Columnar or tree-like support structures 403 are generated at the lowest point 402 inside the initial model structure, ensuring that the lowest point inside the tooth model is supported. The support structure 403 supports the lowest point 402 inside the tooth model, preventing damage or printing failure due to insufficient support.
[0080] Step S36: Connect the base plate and the supporting structure to obtain the target three-dimensional model.
[0081] In step S36 above, connecting the base plate and the support structure in the pre-processing software refers to forming a connection at the bottom of the support using a preset connection structure. After obtaining the digital target 3D model, the target 3D model is sliced in the pre-processing software to generate a sliced printing file, which is then printed by a 3D printer to obtain the solid target 3D model. After receiving the sliced printing file, the printer can print the sliced layers one by one, stacking them up to finally obtain the 3D solid target 3D model, such as a dental mold or headphones.
[0082] Through the above steps S30 to S36, by acquiring the 3D model data corresponding to the target 3D model and performing hollowing processing based on the 3D model data to obtain the initial model structure, a base plate is generated based on the target contour information of the initial model structure, and a support structure is generated inside the initial model structure. The base plate and the support structure are connected to obtain the target 3D model. This achieves the goal of reducing the material consumption, time cost and failure rate of 3D model making, thereby realizing the technical effect of reducing the material consumption and time cost of 3D model making and improving the success rate of 3D model making, and thus solving the technical problem of low printing success rate in the process of 3D model making in related technologies.
[0083] Optionally, in step S34, generating the base plate based on the target contour information of the initial model structure includes:
[0084] Step S341: Obtain the attribute information of the base plate, wherein the attribute information is used to determine the thickness information, mesh diameter information, mesh wall thickness information and mesh shape information of the base plate;
[0085] Step S342: Generate a base plate based on attribute information and target contour information.
[0086] Specifically, Figure 5 This is a schematic diagram of the bottom cross-section of a three-dimensional model after it has been hollowed out, according to one embodiment of the present invention. Taking a tooth model as an example, for instance... Figure 5The diagram shows a schematic cross-section of the bottom of a tooth after it has been hollowed out. This diagram is a cross-section of the dental model within a preset range upwards from the bottom. For example, a cross-section of the dental model is taken within a range of 0.0 to 3.0 mm upwards from the bottom. The target contour information of the dental model is obtained through image recognition calculation, including the outer contour entity information and the closed contour information inside the outer contour, i.e., the inner contour entity information. A base plate is generated inside the outer contour. The thickness of the base plate is denoted as h, the hole diameter as r, and the wall thickness between the hole diameters as t. The opening shape of the base plate can be a round hole, a square hole, a hexagonal hole, etc., where h, r, and t can be configured according to requirements. It should be noted that since the inner contour is generally an implant hole or a substitute hole, which belongs to the assembly structure, it cannot be blocked. Therefore, the base plate must avoid the inner closed contour.
[0087] Based on steps S341 to S342 above, the attribute information of the base plate is obtained; the base plate is generated based on the attribute information and target contour information, which can improve the adhesion between the bottom of the three-dimensional model and the forming platform and improve the success rate of the lower projection photocuring surface forming.
[0088] Optionally, in step S342, the target contour information includes: outer contour entity information and inner contour entity information. Generating the base plate based on the attribute information and the target contour information includes:
[0089] Step S3421: Generate the initial base plate structure based on attribute information and outer contour entity information;
[0090] In step S3421, the initial base plate structure is an open structure. For example, it can be a mesh structure, honeycomb structure, grid structure, or annular open structure, where the openings can be circular, square, or other shapes. The aforementioned outer contour entity information refers to the outer contour of the dental model obtained through methods such as graphic image recognition and calculation, denoted as E0.
[0091] Specifically, based on E0, a base plate structure is generated within the outer contour, denoted as E2.
[0092] Step S3422: Perform Boolean subtraction calculation on the inner contour entity information and the initial mesh structure to generate the base plate.
[0093] In step S3422 above, the inner contour entity information is the entity part of the base plate that avoids the implantation hole or the stylist hole and other assembly structures, denoted as E1.
[0094] Specifically, the Boolean subtraction algorithm is used to generate the base plate from E1 and E2, which is the final base plate entity, denoted as E3, i.e., E3 = E2 - E1.
[0095] Based on steps S3421 to S3422 above, an initial base plate structure is generated based on attribute information and outer contour entity information; Boolean subtraction calculation is performed on the inner contour entity information and the initial mesh structure to generate the base plate. The base plate avoids the substitute hole or implant hole of the dental mold to avoid the problem that the substitute or substitute abutment tooth cannot be installed in the hole after printing.
[0096] Optionally, the above-mentioned three-dimensional model processing method further includes:
[0097] Step S37: Perform Boolean addition calculations on the initial base plate structure and the initial model structure to generate a preset three-dimensional model.
[0098] Specifically, E3 is added to the initial model structure using Boolean addition to generate a preset 3D model, which is the 3D model after adding the base plate.
[0099] Specifically, Figure 6A This is a schematic diagram of the base plate calculation process of a three-dimensional model according to one embodiment of the present invention. Figure 6B This is a schematic diagram of the base plate calculation process for another three-dimensional model according to one embodiment of the present invention. Figure 6C This is a schematic diagram of the base plate calculation process for another three-dimensional model according to one embodiment of the present invention. Figure 6D This is a schematic diagram of the base plate calculation process of another three-dimensional model according to one embodiment of the present invention. Figure 6A In the diagram, the outer contour entity 601 is denoted as E0, and the inner contour entity 602 is denoted as E1. Figure 6B In the middle, based on E0, a mesh structure is generated within the outer contour to obtain the initial mesh structure 603, denoted as E2. Figure 6C In the process, Boolean subtraction algorithm is used to generate base plate 604 from E1 and E2. This is the final base plate entity, denoted as E3, i.e., E3 = E2 - E1. Figure 6D In the process, E3 is added to the initial model structure using Boolean addition to generate the three-dimensional model with the base plate.
[0100] Based on step S37 above, Boolean addition calculations are performed on the initial mesh structure and the initial model structure to generate a preset three-dimensional model. The three-dimensional model is equipped with a base plate, which can improve the adhesion between the bottom of the dental mold and the forming platform, increase the success rate of the lower projection light curing surface forming, and the base plate avoids the assembly structure, thus avoiding the problem that the substitute cannot be installed in the hole after printing.
[0101] Optionally, in step S36, connecting the base plate and the supporting structure includes:
[0102] Step S361: Generate a preset connection structure at the support landing point corresponding to the support structure. The preset connection structure is used to connect the base plate and / or the support landing point corresponding to other support structures. The support landing point is the end of the support structure that is close to the base plate.
[0103] Specifically, generating a preset connection structure at the support landing point corresponding to the support structure to connect the base plate and / or other support structures at the support landing point can increase the stability of the support structure. Furthermore, the preset connection structure can help disperse the pressure at the support landing point corresponding to other support structures, reduce single-point pressure, and lower the risk of deformation and damage to the three-dimensional model structure.
[0104] Based on step S361 above, a preset connection structure is generated at the support landing point corresponding to the support structure. The preset connection structure is used to connect the support landing point corresponding to the base plate and / or other support structures. The support landing point is the end of the support structure closest to the base plate. The addition of the preset connection structure can increase the stability of the support structure and reduce the risk of deformation and damage to the three-dimensional model. The preset connection structure includes linear structures, plate structures, planar structures, etc., such as broken line and arc connection structures, square, trapezoidal, and triangular connection structures, etc. This invention does not limit the specific shape of the preset connection structure, as long as it can achieve the connection.
[0105] Optionally, the above-mentioned three-dimensional model processing method further includes:
[0106] Step S38: Generate a support structure at the lowest point inside the initial model structure.
[0107] Specifically, Figure 4 This is a longitudinal cross-sectional schematic diagram of a three-dimensional model according to one embodiment of the present invention, taking a tooth model as an example, as follows: Figure 4 The diagram shows a longitudinal section of the tooth model. The bottom is a base plate 401 generated based on the target contour information of the initial model structure. At the lowest point 402 inside the initial model structure, a support structure 403, such as a columnar or tree-like support, is generated. This support structure helps maintain the stability and integrity of the tooth model. The generation of the above support structure can be adjusted and optimized according to the specific shape and structure of the tooth model to achieve the best support effect.
[0108] Based on step S38 above, a support structure is generated at the lowest point inside the initial model structure, which can avoid the situation of dental mold defects or printing failure due to insufficient support.
[0109] Optionally, in step S36, the base plate and the supporting structure are connected to obtain the target three-dimensional model, including:
[0110] Step S362: A first path set is generated using a preset generation algorithm. The first path set includes multiple path elements, which represent the topological paths between the support landing points corresponding to the support structure.
[0111] Step S363: Traverse the first path set according to preset conditions to obtain the second path set;
[0112] Step S364: Generate a first preset connection structure using the second path set, and connect the support landing points corresponding to the base plate and / or other support structures using the first preset connection structure to obtain the target three-dimensional model.
[0113] Specifically, a first set of usable paths between support landing points, denoted as set A, is generated using a preset generation algorithm. Set A contains multiple path elements, representing multiple topological paths between support landing points corresponding to the support structure. For example, exhaustive search or minimum spanning tree methods can be used to generate the first set of usable paths between support landing points. The first path set is traversed according to preset conditions to obtain a second set of paths, denoted as set B. A first preset connection structure is generated based on set B. This first preset connection structure is used to connect the base plate and the support structure to obtain the target 3D model. The thickness of the preset connection structure is smaller than the aperture of the mesh base plate.
[0114] Based on steps S361 to S364 above, a first path set is generated using a preset generation algorithm. The first path set is then traversed according to preset conditions to obtain a second path set. A first preset connection structure is generated using the second path set. The first preset connection structure is used to connect the support landing points corresponding to the base plate and / or other support structures to obtain the target three-dimensional model. This can avoid the situation of dental mold defects or printing failures due to insufficient support.
[0115] Optionally, in step S363, the first path set is traversed according to preset conditions to obtain the second path set, which includes:
[0116] Step S3631: Traverse the first path set and perform intersection judgment on the path elements and target contour information to obtain the judgment result;
[0117] Step S3632: Based on the judgment result, the response determines that the path element and the target contour information do not intersect. A preset length threshold is used to compare the path length corresponding to the path element to obtain the comparison result.
[0118] Step S3633: Based on the comparison result, if the path length is determined to be less than or equal to a preset length threshold, the path element is stored in the second path set.
[0119] Specifically, we iterate through set A, that is, we select topological paths one by one in set A, denoted as L. (n) And determine whether L is in the x0y plane. (n)The system determines whether the path element intersects with the inner and outer contour curves of the dental model. If the result indicates that the path element and the target contour information do not intersect, a preset length threshold is compared with the path length corresponding to the path element. If the comparison result indicates that the path length is less than or equal to the preset length threshold, the path element is stored in the second path set, i.e., set B.
[0120] Specifically, Figure 7A This is a schematic diagram of a three-dimensional model support structure calculation process according to one embodiment of the present invention. Figure 7B This is a schematic diagram illustrating the calculation process of a three-dimensional model support structure according to one embodiment of the present invention. Figure 7A As shown, set A contains multiple topological paths. Calculate the value of each topological path L. (n) On the x0y plane, check if the path element intersects with the inner and outer contour curves of the 3D model. If the path element and the target contour information do not intersect, compare the preset length threshold with the path length corresponding to the path element to obtain the comparison result. If the comparison result indicates that the path length is less than or equal to the preset length threshold, store the path element in set B. Figure 7B As shown, these are path elements in set B, meaning paths acde, b, and f are paths in set A where the target contour information does not intersect and the path length is less than or equal to a preset length threshold. According to... Figure 7B The result is that a linear solid structure forms a connection at the bottom of the support.
[0121] Furthermore, Figure 8 This is a schematic diagram of a three-dimensional model support structure according to one embodiment of the present invention, such as... Figure 8 As shown, an exhaustive method is used to generate the available set A between support landing points. Given all support landing points on the x0y plane, vectorless lines are drawn between every two points, and all these lines are added to set A. Examples include acedbf and ceadfb. Figures 9A-9F As shown, the minimum spanning tree method is used to generate the available set between support landing points, where, Figure 9A This is a schematic diagram of a calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9B This is a schematic diagram of a calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9C This is a schematic diagram of a calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9D This is a schematic diagram of a calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9E This is a schematic diagram of a calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9FThis is a schematic diagram of the calculation process for a three-dimensional model support structure according to one embodiment of the present invention. Figure 9A The middle section represents all existing support points and the lengths of each side. Figure 9B In the process, find the edge (a,c) with the shortest length between all support points, and ensure that a and c are not on the same tree; Figure 9C In Figure 9B Based on this, continue to select the edge (d, f) with the shortest length, and ensure that d and f are not on the same tree; Figure 9D In Figure 9C Based on this, continue to select edge (b,e), and ensure that b and e are not on the same tree; Figure 9E In Figure 9D Based on this, select the edge (c,f) with the minimum cost, and then merge c, so that the subtree containing c becomes a single subtree; Figure 9F In Figure 9E Based on this, when selecting the edge (a,d) with the minimum cost, it is found that a and d are already on the same tree, so edge (a,d) is discarded. Similarly, edge (c,d) also needs to be discarded, until edge (b,c) satisfies the requirements. Finally, the minimum spanning tree is formed, and each branch of the tree is added to set A.
[0122] Based on steps S3631 to S3633 above, the first path set is traversed, and the intersection of path elements and target contour information is judged to obtain a judgment result. The response determines that the path elements and target contour information do not intersect based on the judgment result, and compares the path length corresponding to the path element with a preset length threshold to obtain a comparison result. The response determines that the path length is less than or equal to the preset length threshold based on the comparison result, and stores the path element in the second path set. This shortens the material reflow time of the 3D model during printing and reduces the probability of defects or printing failures caused by insufficient reflow.
[0123] Optionally, the above-mentioned three-dimensional model processing method further includes:
[0124] Step S3634: Based on the judgment result, the response determines that the path element and the target contour information intersect, and discards the path element.
[0125] Step S3635: Based on the comparison result, if the path length is determined to be greater than a preset length threshold, the path elements are discarded.
[0126] Specifically, determine whether L in set A (n) Does it intersect with the inner and outer contour curves of the dental model on the x0y plane? If the judgment result indicates L... (n) If it intersects with the target contour information, then for L (n) Discard the data. Set the preset length threshold and L... (n)The corresponding path lengths are compared to obtain the comparison result. If the comparison result indicates that the path length is greater than a preset length threshold, then L is... (n) Dispose of it.
[0127] Based on steps S3634 to S3635 above, the response determines that the path element and the target contour information intersect based on the judgment result, and discards the path element; the response determines that the path length is greater than the preset length threshold based on the comparison result, and discards the path element. This can quickly and accurately determine the preset connection structure between the base plate and the support set at the bottom of the 3D model, shorten the material reflow time of the 3D model during the printing process, and reduce the probability of defects or printing failures caused by insufficient reflow.
[0128] Optionally, the above-mentioned three-dimensional model processing method further includes:
[0129] In step S3636, in response to the fact that the number of first preset connection structures corresponding to the support landing point is less than a preset value, a second preset connection structure is generated to connect the base plate and the support structure.
[0130] Specifically, the number of connecting entities extending from each support point is checked. If the number of connecting entities extending from each support point is less than a preset value, at least one additional entity connection is generated to form the shortest connection with the grid base plate, thus connecting the base plate and the support structure. For example, it checks whether each support point extends from at least two connecting entities. If not, one or two additional entities are generated to form the shortest connection with the grid base plate. Figure 10 This is a schematic diagram of a three-dimensional model support structure according to one embodiment of the present invention, such as... Figure 10 As shown, in Figure 7B Based on the path elements in set B shown, examine the number of connecting entities extending from each support landing point in path elements acde, b, and f. Support landing points a, c, d, and e must have at least two connecting entities extending from them, while support landing points b and f must have zero. Therefore, support landing points b and f need to generate two additional connecting entities to form the shortest connection with the grid base plate, thus connecting the base plate and the support structure.
[0131] Based on the above step S3636, in response to the fact that the number of the first preset connection structures corresponding to the support landing point is less than a preset value, a second preset connection structure is generated to connect the base plate and the support structure. The preset connection structure extends from the support landing point and connects with the support structure or the base plate to form a connected structure, thus avoiding the risk that printing will not be possible due to insufficient adhesion between the individual support and the molding platform, or that printing will not be possible due to the support falling into the hole of the molding platform.
[0132] Optionally, the three-dimensional model is a model structure with an open bottom and at least partially hollow interior, including: a base plate and a support structure. The base plate includes openings, and the support structure is located inside the three-dimensional model. The base plate and the support structure are connected.
[0133] Specifically, the 3D model is configured as an open-bottom, at least partially hollow structure. In this structure, the base plate is a non-solid, closed structure with openings at least partially to allow resin to flow out. For example, the base plate can be a mesh structure or a ring-shaped opening structure, with the openings being circular, square, or other shapes. The aforementioned support structure includes at least one of the following: a columnar support structure or a tree-like support structure. Connecting the base plate and the support structure refers to forming a connection at the bottom of the support using a linear solid structure.
[0134] Optionally, a preset connecting structure is provided at the support landing point corresponding to the supporting structure. The preset connecting structure is used to connect the base plate and / or other supporting structures at their corresponding support landing points. The support landing point is the end of the supporting structure closest to the base plate. The preset connecting structure includes linear structures, plate-like structures, planar structures, etc., such as broken line or arc-shaped connecting structures, trapezoidal or triangular connecting structures, etc. This invention does not limit the specific shape of the preset connecting structure, as long as it achieves the connection. Linear connecting structures, such as... Figure 11 As shown in Figure 110, the plate-like connection structure is as follows: Figure 12 As shown in Figure 120.
[0135] In one embodiment, a pre-defined connecting structure extending from a support point is used to connect the base plate to the support points corresponding to other support structures. For example, a pre-defined connecting structure extends from two or more support points, and this pre-defined connecting structure is also connected to the base plate. In another embodiment, a pre-defined connecting structure extending from a support point is used to connect the base plate or other support points corresponding to other support structures. For example, a pre-defined connecting structure extending from one support point is connected to another support point, and then a pre-defined connecting structure corresponding to the other support point is connected to the base plate.
[0136] Specifically, generating a preset connection structure at the support landing point corresponding to the support structure to connect the base plate and / or other support structures at the support landing point can increase the stability of the support structure. Furthermore, the preset connection structure can help disperse the pressure at the support landing point corresponding to other support structures, reduce single-point pressure, and lower the risk of deformation and damage to the three-dimensional model structure.
[0137] Optionally, the wire diameter of the preset connecting structure is smaller than the aperture of the base plate, so that the base plate is generally open. For example, when the preset connecting structure is a linear structure, its diameter is smaller than the aperture of the base plate; when the preset connecting structure is a plate-like structure, its width is smaller than the aperture of the base plate.
[0138] Specifically, the diameter of the pre-installed connecting structure is smaller than the aperture of the base plate, making the base plate entirely open. This design allows the pre-installed connecting structure to pass through the aperture of the base plate while maintaining the integrity of the base plate's surface.
[0139] Optionally, at least part of the support structure is located at the lowest point inside the three-dimensional model.
[0140] Specifically, columnar or tree-like support structures are generated at the lowest point within the initial model structure. These structures help maintain the stability and integrity of the tooth model. The generation of these support structures can be adjusted and optimized based on the shape and structure of the specific 3D model to achieve the best support effect.
[0141] Figures 11-12 This is a schematic diagram of a tooth model according to one embodiment of the present invention, wherein, Figure 11 The preset connection structure 110 is a linear connection structure. Figure 12 The preset connection structure 120 is a plate-shaped connection structure. For example... Figure 11-12 As shown, taking a dental model processing method suitable for downward projection photocuring surface molding technology as an example, the photocuring surface molding uses a digital light source to project layer by layer onto the surface of liquid photosensitive resin in the form of surface light, and then cures and forms layer by layer. The downward projection refers to the light machine being positioned below and projecting light upward. After one layer is cured, the molding platform moves up to make room for the next layer before projection and exposure. This process is repeated layer by layer until all layers are printed to obtain a complete dental model.
[0142] First, the dental mold is hollow inside with an open bottom but a base plate. Compared to a solid dental mold, this saves printing material and reduces printing reflow time, resulting in less overall processing time. Furthermore, compared to a completely open hollow dental mold, the bottom mesh base plate provides greater adhesion, improving the success rate of UV-cured surface printing.
[0143] Secondly, the dental mold features tree-like or columnar supports internally, resulting in a higher printing success rate compared to fixed structures like honeycomb or lattice structures that cannot provide targeted support for critical areas such as the lowest points. Furthermore, due to the small total surface area of the mold's inner surface, less resin material is wasted, and it is easier to clean, effectively reducing cleaning time and cleaning fluid consumption. Additionally, the mold includes pre-designed connecting structures 110 and / or 120 extending from the bottom of the supports, connecting with the bottom or base plate of another support to form a continuous structure. This avoids the risk of insufficient adhesion between a single support and the molding platform, preventing printing failure, or the support falling into holes in the molding platform and failing to print.
[0144] Finally, although the bottom of the dental mold has a pre-set connection structure 110 and / or 120 between the base plate and the support, the thickness of the pre-set connection structure 110 and / or 120 is smaller than the aperture of the grid base plate, and the bottom is still open. Compared with a solid large cross section, the dental mold has a shorter material reflow time during the printing process, which reduces the probability of defects or printing failures caused by insufficient reflow.
[0145] The above-mentioned 3D model processing method is not limited to tooth models, but can also be used for 3D printing of objects such as headphones, toys, and orthopedic models. As long as the object model has a structure with an open bottom and at least partially hollow inside, this processing method can be used to improve the printing success rate.
[0146] Figure 13 This is a schematic diagram of an earphone housing according to one embodiment of the present invention, as shown below. Figure 13 As shown, firstly, the earphone shell is hollow inside, with an open bottom but a base plate. This not only saves printing material but also reduces printing reflow time and overall time consumption. Furthermore, compared to a completely open hollow model, the perforated base plate provides greater adhesive strength, improving the success rate of printing this model.
[0147] Secondly, the earphone shell features a tree-like or columnar support structure, with some of these structures located at the lowest point inside the shell. This increases the stability of the support structure, and the pre-designed connecting structure helps distribute pressure at the support points of other support structures, reducing single-point pressure and avoiding the risk of insufficient adhesion between a single support and the molding platform, or a support falling into a hole in the molding platform and failing to print. Furthermore, due to the small total inner surface area of the earphone shell, less material is wasted and cleaning is easier, effectively reducing cleaning time and cleaning fluid consumption.
[0148] Finally, a pre-defined connecting structure is generated at the support landing point corresponding to the supporting structure to connect the base plate and / or other support structures at their corresponding support landing points. The diameter or width of the pre-defined connecting structure is smaller than the aperture of the base plate, allowing the base plate to remain open overall. This design allows the pre-defined connecting structure to pass through the aperture of the base plate while maintaining the integrity of the base plate's surface.
[0149] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0150] This invention also provides a three-dimensional model processing apparatus for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0151] Figure 14 This is a structural block diagram of a three-dimensional model processing device according to one embodiment of the present invention, such as... Figure 14 As shown, the device includes:
[0152] The acquisition module 141 is used to acquire the three-dimensional model data corresponding to the target three-dimensional model;
[0153] Processing module 142 is used to perform hollowing processing based on 3D model data to obtain an initial model structure, wherein the initial model structure is an open bottom and hollow inside model structure;
[0154] The generation module 143 is used to generate a base plate based on the target contour information of the initial model structure, and to generate a support structure inside the initial model structure, wherein the support structure includes at least one of the following: columnar support structure and tree-like support structure.
[0155] The connection module 144 is used to connect the base plate and the supporting structure to obtain the target three-dimensional model.
[0156] Optionally, the acquisition module 141 is further configured to acquire attribute information of the base plate, wherein the attribute information is used to determine the thickness information, mesh diameter information, mesh wall thickness information and mesh shape information of the base plate; the generation module 143 is further configured to generate the base plate based on the attribute information and the target contour information.
[0157] Optionally, the acquisition module 141 is further configured to acquire attribute information of the base plate, wherein the attribute information is used to determine the thickness information, hole diameter information, hole diameter wall thickness information and hole shape information of the base plate; the generation module 143 is further configured to generate the base plate based on the attribute information and target contour information.
[0158] Optionally, the generation module 143 is also used to: generate an initial base plate structure based on attribute information and outer contour entity information; and perform Boolean subtraction calculation on the inner contour entity information and the initial base plate structure to generate the base plate.
[0159] Optionally, the generation module 143 is also used to: perform Boolean addition calculations on the initial mesh structure and the initial model structure to generate a preset three-dimensional model.
[0160] Optionally, the generation module 143 is further configured to: generate a preset connection structure at the support landing point corresponding to the support structure, the preset connection structure being used to connect the base plate and / or the support landing point corresponding to other support structures, the support landing point being the end of the support structure closer to the base plate.
[0161] Optionally, the generation module 143 is also used to generate a support structure at the lowest point inside the initial model structure.
[0162] Optionally, the generation module 143 is further configured to: generate a first path set using a preset generation algorithm, wherein the first path set includes multiple path elements, the path elements being used to represent the topological paths between the support landing points corresponding to the support structure; traverse the first path set according to preset conditions to obtain a second path set; generate a first preset connection structure using the second path set; connect the support landing points corresponding to the base plate and / or other support structures using the first preset connection structure to obtain the target three-dimensional model.
[0163] Optionally, the above-mentioned three-dimensional model processing device further includes a judgment module 145, which is used to: traverse the first path set and perform intersection judgment on the path elements and target contour information to obtain a judgment result; respond to determine that the path elements and target contour information do not intersect based on the judgment result, compare the path length corresponding to the path element with a preset length threshold to obtain a comparison result; respond to determine that the path length is less than or equal to the preset length threshold based on the comparison result, and store the path element in the second path set.
[0164] Optionally, the processing module 142 is further configured to: respond to the determination that the path element and the target contour information intersect based on the judgment result, and discard the path element; respond to the determination that the path length is greater than a preset length threshold based on the comparison result, and discard the path element.
[0165] Optionally, the generation module 143 is further configured to: generate a second preset connection structure to connect the base plate and the support structure in response to the first preset connection structure number corresponding to the support landing point being less than a preset value.
[0166] Optionally, the three-dimensional model is a model structure with an open bottom and at least partially hollow interior, including: a base plate and a support structure. The base plate includes openings, and the support structure is located inside the three-dimensional model. The base plate and the support structure are connected.
[0167] Optionally, a preset connecting structure is provided at the support landing point corresponding to the support structure. The preset connecting structure is used to connect the support landing point corresponding to the base plate and / or other support structures. The support landing point is the end of the support structure that is closer to the base plate.
[0168] Optionally, the wire diameter of the pre-connecting structure is smaller than the opening diameter of the base plate, so that the base plate is open as a whole.
[0169] Optionally, at least part of the support structure is located at the lowest point inside the three-dimensional model.
[0170] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0171] An embodiment of this application also provides a non-volatile storage medium storing a computer program, wherein the computer program is configured to execute the three-dimensional model processing method in the embodiments of the present invention at runtime.
[0172] Optionally, in this embodiment, the non-volatile storage medium described above can be configured to store a computer program for performing the following steps:
[0173] S1, Obtain the 3D model data corresponding to the target 3D model;
[0174] S2, based on the 3D model data, a hollowing process is performed to obtain the initial model structure, wherein the initial model structure is an open bottom and at least partially hollow inside;
[0175] S3, Generate a base plate including openings based on the target contour information of the initial model structure, and generate a support structure inside the initial model structure;
[0176] S4 connects the base plate and the supporting structure to obtain the target three-dimensional model.
[0177] An embodiment of this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to execute the three-dimensional model processing method in the embodiments of the present invention.
[0178] Optionally, in this embodiment, the processor may be configured to store a computer program for performing the following steps:
[0179] S1, Obtain the 3D model data corresponding to the target 3D model;
[0180] S2, based on the 3D model data, a hollowing process is performed to obtain the initial model structure, wherein the initial model structure is an open bottom and at least partially hollow inside;
[0181] S3, Generate a base plate including openings based on the target contour information of the initial model structure, and generate a support structure inside the initial model structure;
[0182] S4 connects the base plate and the supporting structure to obtain the target three-dimensional model.
[0183] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0184] In the above embodiments of the present invention, 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.
[0185] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0186] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0187] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0188] If the integrated unit is implemented as a software functional unit 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 the present invention, 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, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0189] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for processing three-dimensional models, characterized in that, include: Obtain the 3D model data corresponding to the target 3D model; Based on the three-dimensional model data, a hollowing process is performed to obtain an initial model structure, wherein the initial model structure is an open-bottom, hollow-at least partially hollow model structure; A base plate including openings is generated based on the target contour information of the initial model structure, and a support structure is generated inside the initial model structure. The base plate and the supporting structure are connected to obtain the target three-dimensional model; The connection between the base plate and the supporting structure to obtain the target three-dimensional model includes: A first path set is generated using a preset generation algorithm. The first path set includes multiple path elements, which represent the topological paths between the support landing points corresponding to the support structure. The first path set is traversed according to preset conditions to obtain the second path set; The second path set is used to generate a first preset connection structure, and the first preset connection structure is used to connect the support landing points corresponding to the base plate and / or other support structures to obtain the target three-dimensional model, wherein the support landing point is the end of the support structure closer to the base plate.
2. The three-dimensional model processing method according to claim 1, characterized in that, Generating the base plate based on the target contour information of the initial model structure includes: Obtain the attribute information of the base plate, wherein the attribute information is used to determine the thickness information, hole diameter information, hole diameter wall thickness information, and hole shape information of the base plate; The base plate is generated based on the attribute information and the target contour information.
3. The three-dimensional model processing method according to claim 2, characterized in that, The target contour information includes: outer contour entity information and inner contour entity information. Generating the base plate based on the attribute information and the target contour information includes: An initial base plate structure is generated based on the attribute information and the outer contour entity information; The base plate is generated by performing Boolean subtraction calculations on the inner contour entity information and the initial base plate structure.
4. The three-dimensional model processing method according to claim 3, characterized in that, The method further includes: Boolean addition is performed on the initial base plate structure and the initial model structure to generate a preset three-dimensional model.
5. The three-dimensional model processing method according to claim 1, characterized in that, The method further includes: A support structure is generated at the lowest point inside the initial model structure.
6. The three-dimensional model processing method according to claim 1, characterized in that, The first path set is traversed according to preset conditions to obtain the second path set, which includes: The first path set is traversed, and the intersection of the path elements and the target contour information is judged to obtain the judgment result. Based on the judgment result, the response determines that the path element and the target contour information do not intersect, and compares the path length corresponding to the path element with a preset length threshold to obtain a comparison result. Based on the comparison result, if the path length is determined to be less than or equal to the preset length threshold, the path element is stored in the second path set.
7. The three-dimensional model processing method according to claim 6, characterized in that, The method further includes: Based on the judgment result, if the path element and the target contour information intersect, the path element is discarded. The response determines that the path length is greater than the preset length threshold based on the comparison result, and then discards the path element.
8. The three-dimensional model processing method according to claim 1, characterized in that, The method further includes: In response to the fact that the number of first preset connection structures corresponding to the support landing point is less than a preset value, a second preset connection structure is generated to connect the base plate and the support structure.
9. A three-dimensional model, characterized in that, The three-dimensional model is an open-bottom, hollow-at least partially hollow model structure, including: a base plate and a support structure. The base plate includes an opening, the support structure is located inside the three-dimensional model, and the base plate is connected to the support structure. The connection between the base plate and the supporting structure includes: A first path set is generated using a preset generation algorithm. The first path set includes multiple path elements, which represent the topological paths between the support landing points corresponding to the support structure. The first path set is traversed according to preset conditions to obtain the second path set; The second path set is used to generate a first preset connection structure, and the first preset connection structure is used to connect the support landing points corresponding to the base plate and / or other support structures to obtain the target three-dimensional model, wherein the support landing point is the end of the support structure closer to the base plate.
10. The three-dimensional model according to claim 9, characterized in that, The wire diameter of the preset connection structure is smaller than the opening diameter of the base plate, so that the base plate is open as a whole.
11. The three-dimensional model according to claim 9, characterized in that, At least part of the support structure is located at the lowest point inside the three-dimensional model.
12. A three-dimensional model processing device, characterized in that, include: The acquisition module is used to acquire the 3D model data corresponding to the target 3D model; The processing module is used to perform hollowing processing on the three-dimensional model data to obtain an initial model structure, wherein the initial model structure is an open model structure with at least a partially hollow interior. The generation module is used to generate a base plate including openings based on the target contour information of the initial model structure, and to generate a support structure inside the initial model structure. A connection module is used to connect the base plate and the support structure to obtain the target three-dimensional model; The connection between the base plate and the supporting structure to obtain the target three-dimensional model includes: A first path set is generated using a preset generation algorithm. The first path set includes multiple path elements, which represent the topological paths between the support landing points corresponding to the support structure. The first path set is traversed according to preset conditions to obtain the second path set; The second path set is used to generate a first preset connection structure, and the first preset connection structure is used to connect the support landing points corresponding to the base plate and / or other support structures to obtain the target three-dimensional model, wherein the support landing point is the end of the support structure closer to the base plate.
13. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores a computer program, wherein the device containing the non-volatile storage medium executes the three-dimensional model processing method according to any one of claims 1 to 8 by running the computer program.
14. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the three-dimensional model processing method according to any one of claims 1 to 8 through the computer program.
Citation Information
Patent Citations
Method and apparatus for preprocessing three-dimensional printing data, and digital operation platform
WO2023061307A1