Method of processing three-dimensional model and method of manufacturing three-dimensional object

By obtaining the spatial internal lattice and surface contour of the three-dimensional model and setting connectors, the surface and interior of the three-dimensional model are automatically and uniformly latticed, which solves the problem of low efficiency in the existing technology, realizes the rapid and uniform lattice of the three-dimensional model, and improves the molding quality and aesthetics of the three-dimensional object.

CN120807848APending Publication Date: 2025-10-17GUANGZHOU HEIGE ZHIZAO INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510882660.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing lattice design software is inefficient when processing complex three-dimensional models and requires manual adjustments, resulting in poor consistency in the generated lattice structure, affecting the molding quality and aesthetics of the three-dimensional objects.

Method used

By obtaining the spatial internal lattice and surface contours of the three-dimensional model and setting connectors, the surface and interior of the three-dimensional model are automatically uniformly latticed. Multiple planes are used to intersect the model to determine edges and holes. The preset unit lattice expansion and segmentation technology is used to generate a uniform internal lattice structure.

Benefits of technology

It realizes the automation and rapid crystallization of three-dimensional models, improves efficiency, reduces dependence on operator skills, and ensures the uniformity and aesthetics of the lattice structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120807848A_ABST
    Figure CN120807848A_ABST
Patent Text Reader

Abstract

A method of processing a three-dimensional model and a method of manufacturing a three-dimensional object are disclosed. The method comprises the following steps: acquiring a spatial internal lattice of a three-dimensional model; obtaining a space surface profile of the three-dimensional model, wherein the space surface profile surrounds a space internal lattice; and setting a connecting piece for connecting the space surface contour and the space internal lattice to obtain a processed target three-dimensional model. According to the invention, the technical problem of low efficiency in the three-dimensional model lattice process is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of 3D printing, in particular to a method for processing a three-dimensional model and a method for manufacturing a three-dimensional object. BACKGROUND

[0002] In the field of contemporary 3D printing technology, lattice structure as an efficient internal model design method is increasingly attracting attention and being widely applied. Lattice structure not only can significantly reduce the use of printing materials, achieve the effect of lightweight, but also can optimize energy absorption and increase surface area while maintaining structural strength, thus showing its unique advantages in many industries such as aerospace, automotive, medical, etc. However, existing lattice design software and methods mostly rely on local lattice design, and users need to manually select the area of the model that needs to be lattice processed. This process is not only time-consuming and laborious, but also due to the subjectivity and skill difference of the design, the consistency of the generated lattice structure is poor, and the aesthetic and practicality are limited.

[0003] Especially when dealing with complex geometric 3D models, the limitations of traditional lattice methods are more obvious. Designers often face challenges such as how to achieve uniform lattice inside and outside the model while ensuring structural stability, and how to establish effective connections between lattice units of different densities and shapes to ensure the overall mechanical properties and visual effects of the model. Although the lattice design software on the market provides rich design tools and lattice options, it still falls short in automatically, quickly and aesthetically converting the entire three-dimensional model into a lattice structure. These software usually require experienced designers to make detailed manual adjustments, which poses a considerable obstacle to large-scale production and rapid prototyping.

[0004] The lattice processing method of the prior art is to process the entire three-dimensional model, that is, the lattice form and size of the three-dimensional model inside and surface are the same. At this time, if the lattice is too large, the surface part of the three-dimensional model contour smaller than a single lattice will be lost or changed, resulting in poor surface precision of the final printed three-dimensional object and affecting the forming quality of the three-dimensional model.

[0005] In view of the above problems, no effective solution has been proposed so far. SUMMARY

[0006] The embodiments of the present application provide a method for processing a three-dimensional model and a method for manufacturing a three-dimensional object to at least solve the technical problem of low efficiency in the lattice process of a three-dimensional model.

[0007] According to an aspect of some embodiments of the present application, there is provided a method for processing a three-dimensional model, comprising: obtaining a spatial inner lattice of the three-dimensional model; obtaining a spatial surface contour of the three-dimensional model, the spatial surface contour enclosing the spatial inner lattice; and connecting the spatial surface contour and the spatial inner lattice to obtain a target three-dimensional model after processing.

[0008] In some embodiments, the spatial surface contour has a plurality of edges and a hole defined by the edges.

[0009] In some embodiments, the plurality of edges and the hole are determined by intersection lines of a plurality of first planes and a plurality of second planes with the three-dimensional model, wherein the first planes intersect the second planes.

[0010] In some embodiments, the size of the spatial inner lattice is determined by a size of the three-dimensional model.

[0011] In some embodiments, the spatial inner lattice comprises a plurality of stacked unit cells, each of which is enclosed by the spatial surface contour.

[0012] In some embodiments, the spatial inner lattice comprises a plurality of stacked unit cells, and an area of the unit cells on a predetermined plane is an integer multiple of an area of the hole defined by the edges on the predetermined plane.

[0013] In some embodiments, the spatial inner lattice comprises a plurality of unit cells, and the unit cells are selected from at least one of the following: a cuboid, a cube, a sphere, a circular truncated cone, an octahedron, and a decahedron.

[0014] According to another aspect of some embodiments of the present application, there is also provided a method for processing a three-dimensional model, comprising: obtaining an initial three-dimensional model; determining a preset unit lattice based on the initial three-dimensional model; expanding the preset unit lattice to obtain an inner lattice within a space of the initial three-dimensional model, the inner lattice not intersecting an outer contour of the initial three-dimensional model; slicing the initial three-dimensional model based on a plurality of planes to obtain a plurality of initial slice contours, wherein at least two of the initial slice contours intersect in space; combining the plurality of initial slice contours to obtain a surface contour corresponding to the initial three-dimensional model; and connecting the surface contour and the inner lattice to obtain a target three-dimensional model after processing.

[0015] In some embodiments, expanding the preset unit lattice to obtain the inner lattice within the space of the initial three-dimensional model comprises: expanding the preset unit lattice to obtain a lattice tiling network corresponding to the initial three-dimensional model; determining a plurality of unit lattices within the initial three-dimensional model in the lattice tiling network; and filling the plurality of unit lattices within the initial three-dimensional model with a preset unit cell to obtain the inner lattice.

[0016] In some embodiments, the initial three-dimensional model is divided based on the plurality of planes to obtain a plurality of initial slice contours, including: dividing the initial three-dimensional model based on each plane of the preset unit cell lattice to obtain a plurality of initial slice contours corresponding to each plane.

[0017] In some embodiments, the plurality of initial slice contours are combined to obtain a surface contour corresponding to the initial three-dimensional model, including: determining an initial point set of each of the plurality of initial slice contours; deleting redundant points in the initial point set of each of the plurality of initial slice contours to obtain a plurality of simplified point sets; determining a plurality of simplified slice contours based on the plurality of simplified point sets; deleting redundant line segments in the plurality of simplified slice contours respectively to obtain a plurality of target slice contours; and connecting the plurality of target slice contours to obtain the surface contour.

[0018] In some embodiments, the redundant points in the initial point set of each of the plurality of initial slice contours are deleted to obtain the plurality of simplified point sets, including: calculating intersection points of each of the plurality of initial slice contours and all planes for slicing corresponding to a first remaining axis direction to obtain a plurality of intersection point sets, wherein the first remaining axis direction represents an axis direction other than an axis direction corresponding to the initial slice contour among the plurality of axis directions; merging the plurality of intersection point sets with the corresponding initial point sets respectively to obtain a plurality of optimized point sets; calculating an included angle between a line segment formed by each of the plurality of optimized points and two adjacent points in front and behind in the plurality of optimized point sets respectively; determining redundant points based on the included angle; and deleting the redundant points from the plurality of optimized point sets to obtain the simplified point sets.

[0019] In some embodiments, the redundant line segments in the plurality of simplified slice contours are deleted respectively to obtain the plurality of target slice contours, including: determining a polygon formed by two adjacent simplified slice contours corresponding to two axis directions respectively; deleting a portion of the simplified slice contour corresponding to a second remaining axis direction through the polygon, wherein the second remaining axis direction is an axis direction other than the two axis directions among the plurality of axis directions; and repeating the above steps until all the simplified slice contours are traversed to obtain the plurality of target slice contours.

[0020] In some embodiments, the plurality of target slice contours are connected to obtain the surface contour, including: dividing the plurality of target slice contours into a plurality of slice contour segments according to a plurality of unit cells in an internal lattice; determining feature points of the plurality of slice contour segments respectively; and connecting the feature points located in the same unit cell to obtain the surface contour.

[0021] In some embodiments, the connecting the surface profile and the internal lattice to obtain the processed target three-dimensional model comprises: determining a plurality of unit lattices in the internal lattice close to the surface profile; connecting the surface profile and a vertex if the unit lattice has the vertex to obtain the target three-dimensional model; or adding a connecting rod in the internal lattice if the unit lattice does not have the vertex, and connecting the connecting rod and the surface profile to obtain the target three-dimensional model.

[0022] In some embodiments, the surface profile has a plurality of edges and an edge-defined window, and an area of the edge-defined window on a predetermined plane is an integer multiple of an area of the preset unit lattice on the predetermined plane.

[0023] According to another aspect of the embodiments of the present application, a method for manufacturing a three-dimensional object is also provided, comprising: obtaining a processed target three-dimensional model according to any one of the above-mentioned methods for processing a three-dimensional model; slicing the target three-dimensional model to obtain a plurality of slice maps of the target three-dimensional model; and three-dimensional printing based on the plurality of slice maps to obtain the three-dimensional object.

[0024] According to still another aspect of the embodiments of the present application, a non-volatile storage medium is also provided, which comprises a stored program, wherein the program, when executed, controls a device in which the non-volatile storage medium is located to perform any one of the above-mentioned methods for processing a three-dimensional model.

[0025] In the embodiments of the present application, the method for processing a three-dimensional model is adopted, the spatial internal lattice of the three-dimensional model is obtained, the spatial surface profile of the three-dimensional model is obtained, the spatial surface profile surrounds the spatial internal lattice, the connecting member connecting the spatial surface profile and the spatial internal lattice is set, and the processed target three-dimensional model is obtained, so that the purpose of automatically and quickly uniformly lattice the surface and the internal of the three-dimensional model is achieved, thereby realizing the technical effects of improving the efficiency of lattice of the three-dimensional model and reducing the dependence on the technical personnel, and further solving the technical problem of low efficiency in the process of lattice of the three-dimensional model. BRIEF DESCRIPTION OF DRAWINGS

[0026] The accompanying drawings, which are included to provide a further understanding of the present application and constitute a part of this application, illustrate embodiments of the present application and together with the description serve to explain the present application. In the drawings:

[0027] Figure 1 Fig. 1 shows a hardware structure block diagram of a computer terminal for implementing the method for processing a three-dimensional model;

[0028] Figure 2 Fig. 2 is a flow diagram of the method for processing a three-dimensional model according to an embodiment of the present application;

[0029] Figure 3is a schematic view of a redundant profile (side) provided according to some embodiments of the present application;

[0030] Figure 4 is a multi-angle rendering of a lattice result of a three-dimensional model provided according to some embodiments of the present application;

[0031] Figure 5 is another multi-angle rendering of a lattice result of a three-dimensional model provided according to some embodiments of the present application;

[0032] Figure 6 is a flowchart of a lattice method combining slice profile and unit tiling provided according to some embodiments of the present application;

[0033] Figure 7 is a structural block diagram of a device for processing a three-dimensional model provided according to some embodiments of the present application;

[0034] Figure 8 is a cross-sectional view of a three-dimensional model provided according to some embodiments of the present application;

[0035] Figure 9 is a schematic view of a three-dimensional model provided according to some embodiments of the present application;

[0036] Figure 10 is another schematic view of a three-dimensional model provided according to some embodiments of the present application. DETAILED DESCRIPTION

[0037] In order to make the persons skilled in the art better understand the present application scheme, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the persons skilled in the art without creative labor should belong to the scope of protection of the present application.

[0038] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0039] According to an embodiment of the present invention, an embodiment of a method for processing a three-dimensional model is provided. It should be noted that the steps shown in the flowchart of 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 can be executed in an order different from that shown here.

[0040] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG1 shows a hardware structure block diagram of a computer terminal for implementing a method for processing a three-dimensional model. Figure 1 As shown, the computer terminal 10 may include one or more (illustrated as 102a, 102b, ..., 102n in the figure) processors (the processor may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices), a memory 104 for storing data. 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 BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0041] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry." The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuitry may be a single, independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10. As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0042] The memory 104 can be used to store software programs of application software and modules, such as program instructions / data storage devices corresponding to the method for processing a three-dimensional model in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, i.e., implements the method for processing a three-dimensional model of the application program as described above. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include memories disposed remotely with respect to the processor, which can be connected to the computer terminal 10 through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0043] The display can be, for example, a liquid crystal display (LCD) in the form of a touch screen, which can enable a user to interact with the user interface of the computer terminal 10.

[0044] Figure 2 is a flowchart of the method for processing a three-dimensional model according to the embodiments of the present application, as shown in Figure 2 The method includes the following steps:

[0045] In step S201, a spatial internal lattice of the three-dimensional model is obtained.

[0046] In this step, the spatial internal lattice of the three-dimensional model is obtained, which is an important link in the lattice design process. Figure 8 is a cross-sectional view of a three-dimensional model according to some embodiments of the present application, as shown in Figure 8 The spatial internal lattice 820 of the three-dimensional model includes first unit cells 821, 823, 824, and 825, the cross sections of which are, for example, triangular, and further includes second unit cells 822 and 826, the cross sections of which are, for example, quadrangular.

[0047] In step S202, a spatial surface contour of the three-dimensional model is obtained, which encloses the spatial internal lattice.

[0048] In this step, referring to Figure 8As shown, the spatial surface profile 810 of the three-dimensional model encloses the spatial internal lattice 820. The model can be cut by a set of planes to generate the spatial surface profile, which is optimized to form a coherent and simplified model boundary description while clearly defining the internal lattice region composed of cuboid cells. Through means such as the winding number algorithm, the cell lattice completely located inside the model is determined and selected for cell filling. The optimized spatial surface profile ensures the aesthetics and connectivity of the lattice structure, and accurately encloses and limits the spatial distribution of the internal lattice, providing a basis for subsequent link connection and smoothing processing, and realizing the harmony and performance optimization of the internal and external structures.

[0049] In step S203, a connecting piece connecting the spatial surface profile and the spatial internal lattice is set to obtain a processed target three-dimensional model.

[0050] Referring to Figure 8 As shown, a connecting piece 830 connecting the spatial surface profile 810 and the spatial internal lattice 820 is set to obtain a processed target three-dimensional model. In this step, the previously optimized spatial surface profile and the selected filled cell of the spatial internal lattice can be started. By adding carefully designed connecting pieces (links), these links connect each edge of the surface profile and its feature points along the X, Y, and Z axis directions of the model to the vertices of the internal lattice, realizing seamless docking of the internal and external structures. Especially at the intersection of the links, a sphere is introduced to smooth the connection, ensuring the harmony and stability of the overall structure.

[0051] Through the above steps, the purpose of automatically and quickly uniformly lattice the surface and internal of the three-dimensional model is achieved, thereby realizing the technical effects of improving the efficiency of lattice of the three-dimensional model and reducing the dependence on the technical personnel, and further solving the technical problem of low efficiency in the lattice process of the three-dimensional model.

[0052] As an optional embodiment, the spatial surface profile has a plurality of edges and a hole defined by the edges. Figure 9 is a schematic diagram of a three-dimensional model according to some embodiments of the present application, referring to Figure 9 As shown, the spatial surface profile has a plurality of edges 920, which define a hole 910.

[0053] In some embodiments, after slicing or cutting the three-dimensional model, a plurality of boundary lines (edges) exist on the generated profile line, such as Figure 9 the edges 920 in , and these edges jointly define a hole or opening region of the model surface, such as Figure 9 the hole 910 in , and the hole defined by the edges refers to the vacant part enclosed by the edges on the model surface.

[0054] As an optional embodiment, the plurality of edges and holes are determined by intersection lines of the plurality of first planes and the plurality of second planes with the three-dimensional model, wherein the first planes intersect the second planes. Figure 10 is another schematic diagram of a three-dimensional model according to some embodiments of the present application, referring to Figure 10 As shown, the plurality of edges 1060 and holes 1050 are determined by intersection lines of the plurality of first planes 1010, 1020 and the plurality of second planes 1030, 1040 with the three-dimensional model, wherein the first planes intersect the second planes.

[0055] In some embodiments, the first planes and the second planes can be defined according to preset parameters and dimensions of the model. These planes are distributed in the three-dimensional space for slicing or segmenting the three-dimensional model, and the first planes and the second planes are along different coordinate axis directions or arbitrary set directions respectively, and their intersection points and intersection lines are used for subsequent feature extraction. The three-dimensional model intersects the first planes and the second planes, and a series of intersection lines are generated, such as the edges 920 shown in Figure 9 The intersection lines form closed figures, such as the holes 910 shown in Figure 9 These figures are related to the features of the model surface, such as the outlines of the edges and the holes. By analyzing the closure of the intersection lines, the edges of the three-dimensional model surface, i.e. the boundary lines of the model, and the holes, i.e. the hollow areas enclosed by the edges of the model surface, can be accurately located.

[0056] As an optional embodiment, the size of the space internal lattice is determined by the size of the three-dimensional model.

[0057] In some embodiments, when the structural dimensions of the three-dimensional model are obtained, including the size range in the X, Y, Z axis directions, the size of the space internal lattice can be set, including the edge length parameter of the unit cell. The selection of this parameter is directly related to the density of the lattice and the final performance of the model. The edge length parameter usually needs to consider the final use of the model, the properties of the printing material, and the design goals of the lattice structure. For example, in the application scenario of pursuing light weight and high permeability, the lattice edge length can be designed to be larger to reduce the amount of material used; and in the application scenario of requiring high mechanical strength, the lattice edge length can be smaller to increase the density of the lattice.

[0058] As an optional embodiment, the space internal lattice includes a plurality of stacked unit cells, and each unit cell is surrounded by a space surface profile.

[0059] In some embodiments, the space internal lattice refers to a set of ordered and regular structures formed inside the three-dimensional model, which is stacked by a plurality of unit cells according to a preset rule. The unit cell is the basic unit of the lattice structure, which can be a cube, a tetrahedron, a hexahedron, etc., such as Figure 8The unit cells 821, 823, 824, and 825 shown in the figure may be tetrahedrons, and the unit cells 822 and 826 may be hexahedrons. Each unit cell has a specific structural pattern inside, such as a frame type, a honeycomb type, or a spiral type. In the construction of the lattice inside the space, the unit cells are arranged in a stacked form. This arrangement follows certain rules, such as orthogonal stacking along the X, Y, and Z coordinate axes, or adaptive layout based on the shape characteristics of the model. The edges of the unit cells need to strictly match or slightly embed within the contour of the spatial surface to ensure seamless connection between the lattice structure and the model surface, avoiding the occurrence of suspended or unenclosed structures.

[0060] As an optional embodiment, the lattice inside the space includes a plurality of stacked unit cells, and the area of ​​the unit cells on the predetermined plane is an integer multiple of the area of ​​the hole defined by the edge on the predetermined plane.

[0061] In some embodiments, the unit cell is the basic unit that constitutes the lattice inside the space, and its area on a predetermined plane needs to be designed to be an integer multiple of the area of ​​the hole defined by the edge on the same plane. This requirement is proposed to ensure that the unit cell filling will not conflict with the hole area on the surface of the model. That is, no part of the unit cell will block, cover or invade the hole, thereby maintaining the original functionality and design aesthetics of the hole. At the same time, the integer multiple relationship means that the distribution of the unit cells around the hole has a certain regularity and symmetry, which helps to enhance the unity and aesthetics of the entire model structure.

[0062] As an optional embodiment, the internal lattice of the space includes a plurality of unit cells, and the unit cells are selected from at least one of the following: a cuboid, a cube, a sphere, a frustum, an octahedron, and a decahedron.

[0063] In some embodiments, unit cells are the basic components of lattice structures and can be considered as the "building blocks" that form complex three-dimensional networks. Different unit cell shapes have different effects on the performance of the model after lattice formation. The specific choice depends on the design goals and model requirements. For example, Figure 8 The unit cells 822 and 826 shown in the figure may be cuboid unit cells. The cuboid is the most common unit cell shape, which is easy to design and print and suitable for most scenarios, especially when it is necessary to control the extension degree of the lattice in different directions; Figure 8The unit cells 821, 823, 824, 825 shown in the middle can be tetrahedrons, which provide a more uniform distribution of structure, suitable for designs that seek uniformity and symmetry; spheres can provide similar structural properties in all directions, which can be particularly advantageous for models that need to resist forces in all directions, but can not be easily stacked continuously; truncated cones have a gradual change in structural properties, which can form a gradient from the large base to the small top, suitable for designs that require a gradual change in strength or permeability; complex polyhedral unit cell shapes such as octahedrons and decagons provide more unique mechanical properties, such as higher stiffness and strength, and possibly more complex energy absorption patterns, suitable for applications that require high performance or customized mechanical properties.

[0064] According to the embodiments of the present application, a method for processing a three-dimensional model is also provided, which comprises: obtaining an initial three-dimensional model; determining a preset unit cell lattice based on the initial three-dimensional model; expanding the preset unit cell lattice to obtain an internal lattice in the space of the initial three-dimensional model, the internal lattice not intersecting with the outer contour of the initial three-dimensional model; slicing the initial three-dimensional model based on a plurality of planes to obtain a plurality of initial slice contours, wherein at least two initial slice contours intersect in space; combining the plurality of initial slice contours to obtain a surface contour corresponding to the initial three-dimensional model; and connecting the surface contour and the internal lattice to obtain a target three-dimensional model after processing.

[0065] Obtaining the initial three-dimensional model can comprise obtaining the dimensions of the initial three-dimensional model, usually based on the geometric boundary information of the model. Specifically, first, the original three-dimensional model file of the printed part needs to be imported, and then the actual dimensions of the model in the three-dimensional coordinate system (X, Y, Z) are measured, which can be represented as the dimensions in the three axis directions, respectively, i.e. where d0 represents the x-axis, d1 represents the y-axis, and d2 represents the z-axis, respectively represent the minimum and maximum coordinates on the coordinate axis.

[0066] The preset unit cell lattice is set according to the dimensions of the initial three-dimensional model and application requirements, including the edge length parameter of the unit cell, for example, assuming that the unit cell adopted is a cuboid, the edge length dimension can be set as The selection of this parameter directly affects the density of the lattice and the final performance of the model, for example, a smaller edge length will produce a higher density of the lattice, suitable for parts that require higher strength or a more delicate appearance; a larger edge length is suitable for areas that need to reduce weight or simplify structure.

[0067] Based on the model size and the lattice edge length, the number of lattices in each axis direction can be calculated, and then the calculated lattice number and the interval of the surface slice plane can be used to determine the set of slice planes along the X, Y, and Z axis directions. These planes are distributed at predetermined intervals and are perpendicular to the respective axes, and their role is to accurately divide the model to generate a series of surface slice contours, which will be used for subsequent optimization of surface details and filling of internal lattice structures.

[0068] Based on the preset unit cell expansion to obtain the internal lattice in the initial three-dimensional model space, in essence, the model space is grid segmented according to the lattice edge length parameter, and then the lattice filling process is performed according to the judgment standard of whether the lattice is completely located inside the model. The unit cell can be of any type, such as a simple box type, a spherical type, or other complex structures, and the specific type is selected depending on the design goal and application requirement, such as the mechanical performance, permeability, or aesthetic degree of the lattice. The filling of the unit cell follows the preset rules and parameters to ensure that each internal lattice is properly and uniformly filled to form an overall lattice structure.

[0069] Before performing the three-dimensional model slicing, first ensure that a series of plane sets in the X, Y, and Z axis directions have been calculated according to the size information of the initial model and the edge length parameter of the preset unit cell lattice. These planes are distributed at predetermined intervals in the three-dimensional space, covering the entire volume of the model, and are prepared for subsequent slicing operations. Next, using these pre-determined plane sets, the initial three-dimensional model can be layer-by-layer divided in the X, Y, and Z three main axis directions. This process essentially involves intercepting the cross-section of the model along each axis at a specific plane position, thereby generating a series of two-dimensional contours, i.e., initial slice contours, so each initial slice contour corresponds to an axis direction, and there are at least two initial slice contours intersecting in space. Each set of planes will generate a corresponding set of initial slice contours, which reflect the specific structural characteristics of the model in the corresponding axis direction.

[0070] Firstly, the initial 3D model is sliced by a series of planes in X, Y, Z axis directions, and a plurality of initial slice contours corresponding to each axis direction are obtained. These contours can be regarded as two-dimensional polygonal line segments on the corresponding planes, and contain the geometric information of a specific layer of the model, such as edges, holes and internal structure boundaries. Next, the initial contours obtained from different axial slices can be effectively combined to form the complete surface contour of the 3D model. The initial slice contours may contain too many vertices and line segments, especially in the case of complex model surface structure or dense grid. Therefore, the contours need to be simplified to remove redundant vertices and reduce data volume while maintaining the integrity of the model surface features. The initial slice contours may be separate fragments before merging, and a method needs to be designed to ensure that the contours form a connected body after combination without breaks or isolated parts to facilitate subsequent lattice link processing.

[0071] Before the connection starts, the optimization of the surface slice contour of the initial 3D model (including contour simplification, redundant line segment removal and contour connectivity processing) and the identification and cell filling of the internal lattice have been completed. At this time, the model is divided into two parts: surface contour and internal lattice. The surface contour represents the appearance features of the model, while the internal lattice constitutes the skeleton and support structure of the model. Through effective connection of the surface contour and the internal lattice, combined with the addition of spherical connection points, a lattice target 3D model can be finally obtained. This model not only maintains consistency with the original model in appearance, but also realizes weight reduction, material saving and mechanical property improvement through optimization of the internal lattice structure.

[0072] As an optional embodiment, the internal lattice in the space of the initial 3D model is obtained based on the preset unit lattice expansion, including: expanding the preset unit lattice to obtain a lattice tiling network corresponding to the initial 3D model; determining a plurality of unit lattices located inside the initial 3D model in the lattice tiling network; filling the plurality of unit lattices located inside the initial 3D model with a preset unit cell to obtain the internal lattice.

[0073] In some embodiments, the position of all unit lattices on the non-boundary within the size range of the model can be described by the 6 surface slice planes surrounding it as:

[0074]

[0075] First, based on the preset unit cell size, a lattice tiling network can be expanded in three-dimensional space. This network forms a uniform grid covering the entire model volume by dividing the three-dimensional space into a series of regularly arranged cubes (or unit cells of selected shape). In the expanded lattice tiling network, the next step is to identify which unit cells are completely located inside the initial three-dimensional model. This process is achieved by comparing each unit cell with the geometric boundaries of the three-dimensional model. Specifically, the winding number algorithm or other similar methods can be used to determine whether the vertices of each unit cell are all located inside the closed surface of the model. If so, it indicates that the unit cell belongs to the model interior and can be used as an object for subsequent lattice filling. Once the multiple unit cells located inside the model are determined, the preset unit cell is used for filling. The unit cell refers to the basic unit that constitutes the lattice structure, which can be various geometric shapes such as simple frame type, spherical type, diamond type or other complex structures, depending on design requirements and desired mechanical properties. The filling of the unit cell needs to follow the preset rules to ensure that each unit cell is filled with unit cells, thereby forming a solid and uniform internal lattice system.

[0076] As an optional embodiment, the initial three-dimensional model is divided based on multiple planes to obtain multiple initial slice contours, including: the initial three-dimensional model is divided based on the preset unit cell of each plane to obtain multiple initial slice contours corresponding to each plane.

[0077] In some embodiments, a set of preset unit cells can be defined first, which will serve as the basic unit for dividing the 3D model space. The shape of these cells is usually a cuboid, but other geometric shapes such as spheres or cylinders can also be used according to design requirements. Each unit cell is arranged along the X, Y, Z three main axis directions to form a three-dimensional tiling network. Based on the size of the preset unit cell, a series of corresponding planes can be determined. These planes are carefully arranged to ensure that they can uniformly and finely cut the three-dimensional model along each axis direction. The spacing S between the planes (i.e. the distance between every two adjacent slice planes) is determined by the edge length L of the unit cell and a spacing factor K, where the spacing factor K represents the number of times the edge length of the unit cell is multiplied by the spacing.

[0078] Specifically, the number of lattices in each axis direction can be calculated according to the edge length of the unit cell, for example, which can be represented as:

[0079]

[0080] where, is the number of unit cells, is the size of the initial three-dimensional model in the coordinate axis, The size of the preset unit lattice is determined. Considering that the width is not necessarily equal, the excess width can be evenly distributed to the two sides of the lattice. The boundary width on each axis on the two sides (i.e., 1 / 2 of the excess width) is calculated as follows:

[0081]

[0082] Then, an interval factor s (s≥0 and is an integer) can be set, which indicates that the interval of the multiple slice planes is 1 / 2 of the length of the internal unit lattice in the same direction s , i.e. In this way, the surface can be made more dense, and the internal lattice can be relatively large. Finally, based on the number of unit lattices corresponding to each axis direction and the interval of the slice planes, the multiple slice planes The calculation formula of the position coordinates is as follows:

[0083]

[0084] Once the positions of the planes are determined, the next step is to use these planes to slice the initial three-dimensional model. At the position where each plane intersects the model, a two-dimensional contour is generated, which describes the cross-sectional shape of the model on the plane. These cross-sectional contours reflect the surface features and internal structure of the model and provide profile views of the model in different directions.

[0085] As an optional embodiment, the multiple initial slice contours are combined to obtain a surface contour corresponding to the initial three-dimensional model, including: determining a respective initial point set of the multiple initial slice contours; deleting redundant points in the respective initial point set of the multiple initial slice contours to obtain multiple simplified point sets; determining multiple simplified slice contours based on the multiple simplified point sets; respectively deleting redundant line segments in the multiple simplified slice contours to obtain multiple target slice contours; and connecting the multiple target slice contours to obtain the surface contour.

[0086] In some embodiments, the initial three-dimensional model can be sliced using the obtained multiple planes to obtain multiple initial slice contours At this point, directly merging all the initial slice contours together will lead to the following problems: Since the model's mesh may be very fine, resulting in too many contour vertices, it needs to be simplified to reduce the amount of data; some line segments on some contours are located inside the quadrilateral mesh formed by the contours in the other two directions, causing redundancy and unsightliness, and a design method needs to be designed to remove them; the merged contour is not guaranteed to be a connected body, and a design method needs to be designed to connect them. Therefore, we can start by determining the initial point set of the initial slice contour, and go through point simplification and line segment optimization until the target slice contour is finally formed and connected into a surface contour. This series of steps ensures that the lattice design is not only structurally stable and reliable, but also visually beautiful and smooth.

[0087] As an optional embodiment, redundant points in the initial point sets of each of the multiple initial slicing contours are deleted to obtain multiple simplified point sets, including: respectively calculating the intersection points of the multiple initial slicing contours and all planes used for slicing corresponding to the first remaining axis direction to obtain multiple intersection point sets, wherein the first remaining axis direction represents the axis direction in the multiple axis directions except the axis direction corresponding to the initial slicing contour; merging the multiple intersection point sets with the corresponding initial point sets to obtain multiple optimized point sets; respectively calculating the angle formed by each of the multiple optimized points and the line segment between the two adjacent points in the multiple optimized point sets; determining redundant points based on the angle; and deleting redundant points from the multiple optimized point sets to obtain simplified point sets.

[0088] In some embodiments, for For each initial slice outline in , the set of intersections between it and all planes used for slicing in the other two directions can be calculated: and insert into In the example, the set of optimized points after inserting the intersection point is recorded as Then Simplify. The principle of simplification is that the inserted intersection points must be retained, and for other points, the angle formed by it and the line segments between the previous and next points is calculated. If it is less than the threshold, the point is deleted and iterated until it can no longer be simplified.

[0089] As an optional embodiment, redundant line segments in multiple simplified slice contours are deleted respectively to obtain multiple target slice contours, including: determining a polygon formed by two adjacent simplified slice contours corresponding to two axial directions; deleting a portion of the simplified slice contour corresponding to a second remaining axial direction that passes through the polygon, wherein the second remaining axial direction is an axial direction other than the two axial directions in the multiple axial directions; repeating the above steps until all simplified slice contours are traversed to obtain multiple target slice contours.

[0090] In some embodiments, Figure 3Fig. 2 is a schematic diagram of a redundant contour (side view) according to some embodiments of the present application, as Figure 3 shown, some of the contour segments fall inside the quadrilateral grid formed by the other two direction contours, causing redundancy and unattractiveness, so the redundant segments need to be removed.

[0091] In each unit cell, all the surfaces (6 for a cubic cell) can be taken, and the orientation of each surface is denoted as the first direction The other two direction adjacent slice contours are obtained and form a quadrilateral The angle between the first direction and the quadrilateral is calculated, if it is less than 45 degrees, then the quadrilateral grid is kept, and the surface contour in the first direction is checked and the inside part is removed.

[0092] As an optional embodiment, connecting multiple target slice contours to obtain a surface contour includes: dividing the multiple target slice contours into multiple slice contour segments according to multiple unit cells in an internal cell; determining feature points of the multiple slice contour segments; and connecting the feature points in the same unit cell to obtain the surface contour.

[0093] In some embodiments, all the surface contours {P'} can be split into multiple slice contour segments according to the intersection points to obtain a set {S}. And the segments are assigned to cells and surfaces. In this optional embodiment, a cubic cell is used, so each cell has 6 surfaces, and the segment set assigned according to the surface is denoted as For each slice contour segment in {S}, the feature points are calculated. For example, if there is only one point in the segment, then the point is added as a feature point; or the feature point can be the point with the maximum curvature and the distance to the two ends exceeding a certain threshold; when the segment is a closed curve, the feature point can also be randomly selected.

[0094] Then, the feature points in the same cell ​The feature points on the surface contour are connected. For example, they can be connected by straight-line links, but there can be links that pass outside the model; another method is to confine the links to the model surface within the lattice (which can be extracted using Boolean operations), and use a pathfinding algorithm to make the connections, which can be much more time-consuming but produces accurate paths along the model surface. After processing and filtering as described above, the optimized surface contour forms a connected body, and the surface contour is obtained and denoted as {P''}. In addition, each edge of the optimized surface contour {P''} can be replaced by a link, and a sphere is added at the connection between the links, so as to make the surface smooth.

[0095] As an optional embodiment, the surface contour is connected with the internal lattice to obtain a processed target three-dimensional model, including: determining a plurality of unit lattices near the surface contour in the internal lattice; connecting the surface contour with a vertex in the case that the unit lattice has the vertex to obtain the target three-dimensional model; or adding a connecting rod in the internal lattice in the case that the unit lattice does not have the vertex, and connecting the connecting rod with the surface contour to obtain the target three-dimensional model.

[0096] In some embodiments, the surface contour and the internal lattice can be connected by adding a connecting rod. Generally, the added connecting rod is along the direction of the three coordinate axes, and such an aesthetic appearance is better. First, the lattices near the surface can be selected, and then the connecting rod is added to connect the surface contour and the vertices near the surface of the lattices. If the vertex to be connected is empty, a connecting rod needs to be added in the internal lattice to make the internal structure of the lattice connected with the vertex.

[0097] Figure 4 is a multi-angle implementation effect diagram of a three-dimensional model lattice result according to some embodiments of the present application, Figure 5 is another multi-angle implementation effect diagram of a three-dimensional model lattice result according to some embodiments of the present application. As shown in the figure, a simple frame type unit cell is used, and s = 1. The lattice result has good rationality and aesthetic appearance, and the algorithm can achieve millisecond-level running efficiency. When the simple frame type unit cell is used, the lattice result has good permeability in the X-axis, Y-axis and Z-axis directions.

[0098] As an optional embodiment, the surface contour has a plurality of edges and a window defined by the edges, and the area of the preset unit lattice on the predetermined plane is an integer multiple of the area of the window defined by the edges on the predetermined plane.

[0099] In some embodiments, the surface of the three-dimensional model is decomposed into a series of two-dimensional contours, i.e. surface contours, by slicing. These contours include the edge lines (edges) of the model, as well as the boundaries of the openings or windows on the surface of the model. The preset unit lattice is a three-dimensional unit arranged regularly in the internal space of the model, which constitutes the basis of the lattice structure. The projected area of the unit lattice on the predetermined plane should be an integer multiple of the projected area of the window defined by the edge on the plane, the main purpose being to ensure that the lattice structure does not intrude into or obstruct the window on the surface of the model, so as to maintain the original function and design aesthetics of the window. By making the lattice area an integer multiple of the window area, the designer can accurately plan the layout of the lattice, so that the lattice units maintain a certain distance from the window boundary, or completely bypass the window area without overlapping with the window, thereby avoiding affecting the openness and permeability of the window.

[0100] As an optional embodiment, a method for manufacturing a three-dimensional object is also provided, comprising: obtaining a target three-dimensional model according to the method for processing a three-dimensional model in any one of the above; slicing the target three-dimensional model to obtain a plurality of slice graphs of the target three-dimensional model; and performing three-dimensional printing based on the plurality of slice graphs to obtain the three-dimensional object.

[0101] In some embodiments, slicing is the process of converting a three-dimensional model into two-dimensional layers that can be recognized by a 3D printer. The target three-dimensional model is decomposed into a series of consecutive two-dimensional slice graphs through slicing, each slice graph representing the geometric shape and material distribution information of the model on a specific layer. These slice graphs are the basis for building objects layer by layer in the 3D printing process, and they describe in detail the printing path and material deposition amount of each layer. The slice graphs obtained after slicing are sent to the 3D printer, which can print materials layer by layer according to these slice graphs, and finally reconstruct the three-dimensional object corresponding to the target three-dimensional model. During the printing process, the 3D printer will deposit materials along the path on the slice graph to build each layer of the lattice structure.

[0102] As an optional embodiment, a lattice method combining slice contours and unit tiling is also provided, Figure 6 is a flowchart of a lattice method combining slice contours and unit tiling according to some embodiments of the present application, as Figure 6 shown, the above method comprises:

[0103] T101: obtaining a three-dimensional model file, and performing tiling unit lattice division on the space where the three-dimensional model is located, the shape of the unit lattice being mainly cuboid type.

[0104] T102: determining which unit lattices are completely inside the three-dimensional model, and filling the unit lattices with unit cells, the type of unit cell being arbitrary.

[0105] T103: Design parameters and slice plane set. Using each plane in the plane set, slice the three-dimensional model to obtain a set of surface slice contours.

[0106] T104: Merge surface slice contours and optimize.

[0107] T105: Surface slice contour link, link connection increases the ball.

[0108] T106: The optimized surface slice contour and internal lattice are connected by link using appropriate method.

[0109] The lattice method provided by the optional embodiment combines slice contours and unit paving, does not need complex manual local design, can automatically and quickly convert the three-dimensional model, improves the efficiency of lattice design, and has uniform, beautiful, and transparent conversion effect, and has high practical value.

[0110] It should be noted that, for the foregoing method embodiments, in order to simply describe, the foregoing method embodiments are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the action sequence described, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.

[0111] From the above description of the embodiments, those skilled in the art can clearly understand that the method for processing a three-dimensional model according to the above embodiments can be realized by means of software and necessary general hardware platforms, and of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device) to execute the method described in each embodiment of the present application.

[0112] According to the optional embodiment of the present application, a device for implementing the above method for processing a three-dimensional model is also provided, Figure 7 is a structural block diagram of a device for processing a three-dimensional model according to some embodiments of the present application, as Figure 7 shown, the device includes a first acquisition module 701, a second acquisition module 702, and a setting module 703, and the device will be described below.

[0113] The first obtaining module 701 is configured to obtain a space internal lattice of the three-dimensional model.

[0114] The second obtaining module 702 is connected with the first obtaining module 701 and is configured to obtain a space surface contour of the three-dimensional model, the space surface contour surrounding the space internal lattice.

[0115] The setting module 703 is connected with the second obtaining module 702 and is configured to set a connecting piece connecting the space surface contour and the space internal lattice, so as to obtain a processed target three-dimensional model.

[0116] It should be noted that the first obtaining module 701, the second obtaining module 702 and the setting module 703 correspond to steps S201 to S203 in the embodiment, and the plurality of modules have the same instances and application scenarios as the corresponding steps, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules can run in the computer terminal 10 provided in the embodiment as a part of the device.

[0117] An optional embodiment of the present application can provide a computer device. In some embodiments, the computer device can be located in at least one network device of a plurality of network devices of a computer network in the present embodiment. The computer device comprises a memory and a processor.

[0118] The memory can be used to store software programs and modules, such as program instructions / modules corresponding to the method and device for processing a three-dimensional model in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the above-mentioned method for processing a three-dimensional model. The memory can include a high-speed random access memory and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory can further include a memory remotely arranged with respect to the processor, and these remote memories can be connected to the computer terminal through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0119] The processor can call the information and application programs stored in the memory through a transmission device to execute the following steps: obtaining a space internal lattice of a three-dimensional model; obtaining a space surface contour of the three-dimensional model, the space surface contour surrounding the space internal lattice; and setting a connecting piece connecting the space surface contour and the space internal lattice, so as to obtain a processed target three-dimensional model.

[0120] Optionally, the processor can further execute the program code of the following steps: the space surface contour has a plurality of edges and a hole defined by the edges.

[0121] Optionally, the processor can further execute program codes of the following steps: determining the edges and holes by intersecting the three-dimensional model with the first planes and the second planes.

[0122] Optionally, the processor can further execute program codes of the following steps: determining the size of the space internal lattice by the size of the three-dimensional model.

[0123] Optionally, the processor can further execute program codes of the following steps: the space internal lattice comprises a plurality of stacked unit cells, and each unit cell is surrounded by the space surface profile.

[0124] Optionally, the processor can further execute program codes of the following steps: the space internal lattice comprises a plurality of stacked unit cells, and the area of the unit cells on a predetermined plane is an integer multiple of the area of the hole defined by the edges on the predetermined plane.

[0125] Optionally, the processor can further execute program codes of the following steps: the space internal lattice comprises a plurality of unit cells, and the unit cells are selected from at least one of the following: cuboid, cube, sphere, circular truncated cone, octahedron, and icosahedron.

[0126] With the embodiments of the present application, a method for processing a three-dimensional model is provided. The method comprises the following steps: obtaining a space internal lattice of the three-dimensional model; obtaining a space surface profile of the three-dimensional model, the space surface profile surrounding the space internal lattice; and setting a connector connecting the space surface profile and the space internal lattice, to obtain a target three-dimensional model after processing. The method can automatically and quickly lattice the surface and the internal of the three-dimensional model, thereby improving the efficiency of the lattice of the three-dimensional model and reducing the dependence on the technical skills of the operator.

[0127] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0128] Embodiments of the present application also provide a non-volatile storage medium. In some embodiments, the non-volatile storage medium can be used to save the program codes executed by the method for processing a three-dimensional model provided by the above-mentioned embodiments.

[0129] In some embodiments, in the present embodiment, the non-volatile storage medium can be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals.

[0130] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: obtaining a spatial inner lattice of the three-dimensional model; obtaining a spatial surface contour of the three-dimensional model, the spatial surface contour enclosing the spatial inner lattice; and setting a connector connecting the spatial surface contour and the spatial inner lattice to obtain a processed target three-dimensional model.

[0131] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the spatial surface contour has a plurality of edges and a hole defined by the edges.

[0132] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the plurality of edges and the hole are determined by a plurality of first planes and a plurality of second planes intersecting the three-dimensional model, wherein the first planes intersect the second planes.

[0133] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the size of the spatial inner lattice is determined by the size of the three-dimensional model.

[0134] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the spatial inner lattice includes a plurality of stacked unit cells, each unit cell being enclosed by the spatial surface contour.

[0135] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the spatial inner lattice includes a plurality of stacked unit cells, and the area of the unit cell on a predetermined plane is an integer multiple of the area of the hole defined by the edges on the predetermined plane.

[0136] In some embodiments, in the present embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the spatial inner lattice includes a plurality of unit cells, and the unit cells are selected from at least one of the following: a cuboid, a cube, a sphere, a circular truncated cone, an octahedron, a decahedron.

[0137] The embodiment of the present application further provides a computer program product comprising a computer program, which, when executed by a processor, can realize the following: obtaining a space internal lattice of a three-dimensional model; obtaining a space surface contour of the three-dimensional model, the space surface contour surrounding the space internal lattice; and setting a connecting piece connecting the space surface contour and the space internal lattice to obtain a processed target three-dimensional model.

[0138] The above-mentioned embodiment numbers of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0139] In the above-mentioned embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0140] In several embodiments provided in the present application, it should be understood that the disclosed technical contents can be implemented by other manners. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and in actual implementation, there can be another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or modules shown or discussed can be indirect coupling or communication connection through some interfaces, units or modules, which can be electrical or other forms.

[0141] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed to multiple units. According to actual needs, part or all of the units can be selected to achieve the purpose of the present embodiment.

[0142] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be realized in the form of hardware or in the form of software functional unit.

[0143] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a nonvolatile storage medium. Based on such understanding, the technical solutions of the present application, essentially or in part, or all or part of the technical solutions, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, and various media that can store program codes.

[0144] The above description is only the preferred embodiment of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.

Claims

1. A method for processing a three-dimensional model, characterized in that: include: Obtaining the spatial internal lattice of the three-dimensional model; Acquire a spatial surface contour of a three-dimensional model, wherein the spatial surface contour surrounds the spatial internal lattice; Connectors are provided to connect the surface contour of the space and the internal lattice of the space to obtain a processed target three-dimensional model.

2. The method according to claim 1, characterized in that The spatial surface contour has a plurality of edges and apertures defined by the edges.

3. The method according to claim 2, characterized in that The plurality of edges and the hole are determined by intersection lines of a plurality of first planes and a plurality of second planes with the three-dimensional model, wherein the first planes intersect the second planes.

4. The method according to claim 1, wherein The size of the lattice inside the space is determined by the size of the three-dimensional model.

5. The method according to claim 1, wherein The internal lattice of the space includes a plurality of stacked unit cells, each of which is surrounded by the surface contour of the space.

6. The method according to claim 2, characterized in that The spatial internal lattice includes a plurality of stacked unit cells, and an area of ​​the unit cells on a predetermined plane is an integer multiple of an area of ​​the hole defined by the edge on the predetermined plane.

7. The method according to claim 1, characterized in that The internal lattice of the space includes a plurality of unit cells, and the unit cells are selected from at least one of the following: a cuboid, a cube, a sphere, a frustum, an octahedron, and a decahedron.

8. A method for processing a three-dimensional model, characterized in that: include: Obtaining an initial three-dimensional model; determining a preset unit lattice based on the initial three-dimensional model; Expanding the preset unit lattice to obtain an internal lattice in the initial three-dimensional model space, wherein the internal lattice does not intersect with the outer contour of the initial three-dimensional model; Slicing the initial three-dimensional model based on multiple planes to obtain multiple initial slice contours, wherein at least two of the initial slice contours intersect in space; Combining the multiple initial slice contours to obtain a surface contour corresponding to the initial three-dimensional model; The surface contour and the internal lattice are connected to obtain a processed target three-dimensional model.

9. The method according to claim 8, characterized in that The expanding based on the preset unit lattice to obtain the internal lattice in the initial three-dimensional model space includes: Expanding the preset unit lattice to obtain a lattice tiling network corresponding to the initial three-dimensional model; determining a plurality of unit cells in the lattice tiling network located inside the initial three-dimensional model; The plurality of unit lattices located inside the initial three-dimensional model are filled with preset unit cells to obtain the internal lattice.

10. The method according to claim 8, characterized in that The initial three-dimensional model is segmented based on multiple planes to obtain multiple initial slice contours, including: The initial three-dimensional model is segmented based on each plane of the preset unit lattice to obtain a plurality of initial slice contours corresponding to each plane.

11. The method according to claim 8, characterized in that Combining the multiple initial slice contours to obtain a surface contour corresponding to the initial three-dimensional model includes: determining an initial point set for each of the plurality of initial slice contours; Deleting redundant points in the initial point sets of the respective multiple initial slice contours to obtain multiple simplified point sets; determining a plurality of simplified slice contours based on the plurality of simplified point sets; Deleting redundant line segments in the plurality of simplified slice contours respectively to obtain a plurality of target slice contours; The plurality of target slice contours are connected to obtain the surface contour.

12. The method according to claim 10, characterized in that The step of deleting redundant points from the initial point sets of the plurality of initial slice contours to obtain a plurality of simplified point sets includes: respectively calculating intersection points of the multiple initial slicing contours and all planes for slicing corresponding to first remaining axis directions to obtain multiple intersection point sets, wherein the first remaining axis direction represents an axis direction among the multiple axis directions except the axis direction corresponding to the initial slicing contour; Merging the multiple intersection point sets with the corresponding initial point sets to obtain multiple optimized point sets; In the plurality of optimized point sets, respectively calculating the angle formed by each of the plurality of optimized points and the line segments between the two adjacent points before and after them; Determining the redundant point based on the angle; The redundant points are deleted from the multiple optimized point sets to obtain the simplified point set.

13. The method according to claim 10, characterized in that The step of respectively deleting redundant line segments in the plurality of simplified slice contours to obtain a plurality of target slice contours includes: Determine a polygon consisting of two adjacent simplified slice outlines corresponding to two axis directions; Deleting a portion of the simplified slice outline corresponding to a second remaining axis direction that passes through the polygon, wherein the second remaining axis direction is an axis direction other than the two axis directions in the multiple axis directions; Repeat the above steps until all simplified slice contours are traversed to obtain the multiple target slice contours.

14. The method according to claim 10, characterized in that The connecting the plurality of target slice contours to obtain the surface contour comprises: dividing the plurality of target slice contours into a plurality of slice contour segments according to a plurality of unit cells in the internal lattice; determining a feature point of each of the plurality of slice contour segments; The surface profile is obtained by connecting the feature points located in the same unit cell.

15. The method according to claim 8, characterized in that Connecting the surface contour and the internal lattice to obtain a processed target three-dimensional model includes: determining a plurality of unit cells in the internal lattice close to the surface contour; In the case where the unit cell has vertices, connecting the surface contour with the vertices to obtain the target three-dimensional model; Or when there is no vertex in the unit cell, connecting rods are added inside the unit cell, and the connecting rods are connected to the surface contour to obtain the target three-dimensional model.

16. The method according to claim 8, characterized in that The surface profile has a plurality of edges and windows defined by the edges, and the area of ​​the predetermined unit cell on a predetermined plane is an integer multiple of the area of ​​the windows defined by the edges on the predetermined plane.

17. A method for manufacturing a three-dimensional object, characterized in that: include: Obtaining a processed target three-dimensional model according to the method for processing a three-dimensional model according to any one of claims 1 to 16; Slicing the target three-dimensional model to obtain a plurality of slice images of the target three-dimensional model; Three-dimensional printing is performed based on the multiple slice images to obtain a three-dimensional object.

18. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for processing a three-dimensional model according to any one of claims 1 to 7.