Path determination method based on 3D printing system, unit cell and related equipment
By applying path determination method and compatible unit cell filling technology in 3D printing systems, the problems of high cost and poor effect of 3D printing are solved, and the model strength and printing effect are improved without increasing costs.
Patent Information
- Application Number
- CN202510257894.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-05-13
Smart Images

Figure CN119974537A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of 3D printing technology, and in particular, relates to a path determination method, a unit cell and related equipment based on a 3D printing system. Background Art
[0002] 3D printing is a cumulative manufacturing technology, also known as additive manufacturing. It uses digital model files as the basis and uses special wax materials, powdered metals or plastics and other adhesive materials to print layer by layer of adhesive materials to create three-dimensional objects.
[0003] In the related art, in order to avoid using redundant support structures inside the 3D model, a lattice structure needs to be used to fill the 3D model during the 3D model printing process, and the filling density is increased to make the 3D model reach the required strength. However, the above method will increase the printing cost and affect the 3D printing effect. Summary of the invention
[0004] The embodiments of the present application provide a path determination method, a unit cell and related equipment based on a 3D printing system to solve the problem of high cost and poor effect of 3D printing.
[0005] In a first aspect, an embodiment of the present application provides a path determination method based on a 3D printing system, which is applied to a computer device. The path determination method based on the 3D printing system includes: determining a field of action of an object to be printed; based on the field of action, determining a target grid model of the object to be printed, wherein the target grid model includes multiple cubic grids; determining critical information of each cubic grid; based on the critical information, generating compatible cells of each cubic grid; based on the compatible cells, filling the multiple cubic grids, and slicing the filled target grid model to obtain multiple filled slice layers; determining a 3D printing path for each filled slice layer, wherein the 3D printing path is used to instruct the 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path.
[0006] In some embodiments, the action field includes a scalar field and a vector field, and determining the target mesh model of the object to be printed based on the action field includes: determining the initial mesh model of the object to be printed; determining the evaluation index value of each initial cubic mesh in the initial mesh model based on the scalar field and the vector field; and splitting the initial cubic mesh based on the evaluation index value until the initial mesh model meets the splitting end condition to obtain the target mesh model.
[0007] In some embodiments, the critical information includes a grid size and a grid position, and generating a compatible unit cell of each cubic grid based on the critical information includes: determining position superposition information of adjacent cubic grids based on the grid position; and adjusting the unit cell of each cubic grid based on the grid size and the position superposition information to obtain the compatible unit cell.
[0008] In some embodiments, the method further includes: determining a unit cell center; constructing multiple planes based on the unit cell center using multiple plane functions to obtain a unit cell; and adjusting size information of the unit cell based on the grid size of the multiple cubic grids to obtain the unit cell.
[0009] In some embodiments, adjusting the unit cells of each cubic grid based on the grid size and the position superposition information to obtain the compatible unit cells includes: selecting adjacent first grids and second grids from the multiple cubic grids based on the position superposition information; if the first grid size of the first grid is larger than the second grid size of the second grid, performing compatibility processing on the surface of the unit cells in the first grid facing the second grid to obtain the compatible unit cells; if the first grid size of the first grid is smaller than or equal to the second grid size of the second grid, not performing compatibility processing on the surface of the unit cells in the first grid facing the second grid.
[0010] In some embodiments, the compatibility processing of the surface of the unit cell in the first grid facing the second grid to obtain the compatible unit cell includes: taking the surface of the unit cell in the first grid facing the second grid as the target surface; determining the midpoint of each edge in the target surface; connecting the midpoints to obtain a midpoint line, and extending the midpoint line along the target direction to obtain the compatible unit cell.
[0011] In some embodiments, the determining of the 3D printing path of each filled slice layer enables the 3D printing system to 3D print the object to be printed according to the 3D printing path, including: determining the 3D printing path corresponding to each filled slice layer based on the plane expression of each compatible unit cell; determining the printing order between the multiple filled slice layers; and using the 3D printing system to 3D print the object to be printed according to the printing order and the 3D printing path.
[0012] In a second aspect, an embodiment of the present application provides a unit cell for filling in a cubic grid as described in any one of the above-mentioned items, wherein the unit cell includes a plurality of faces, each face has an equal area, two adjacent faces are perpendicular to each other, and two opposite faces are parallel to each other; wherein each face is provided with a receiving cavity, and the receiving cavity is provided with a vertex and a plurality of supporting surfaces, and each supporting surface extends from the vertex along the diagonal direction of the receiving cavity.
[0013] In some embodiments, each of the faces comprises a square face.
[0014] In some embodiments, the receiving cavities within each of the faces are the same.
[0015] In some embodiments, the receiving cavity comprises a square pyramid.
[0016] In some embodiments, the plurality of receiving cavities have the same apex.
[0017] In some embodiments, the plurality of unit cells include at least two layers of first unit cells and second unit cells, and the receiving cavity of the first unit cell is connected to the receiving cavity of the second unit cell.
[0018] In some embodiments, along the arrangement direction of the first unit cell and the second unit cell, if the projection of the second unit cell is within the projection range of the first unit cell, the support surface of the second unit cell facing the first unit cell and several surfaces of the second unit cell perpendicular to the first unit cell all extend into the accommodating cavity of the first unit cell facing the second unit cell.
[0019] In a third aspect, an embodiment of the present application provides a path determination device based on a 3D printing system, and the path determination device based on the 3D printing system includes: an information determination module, which is used to determine the action field of the object to be printed; a grid determination module, which is used to determine the target grid model of the object to be printed based on the action field, and the target grid model contains multiple cubic grids; a critical determination module, which is used to determine the critical information of each cubic grid; a cell generation module, which is used to generate compatible cells of each cubic grid based on the critical information; a cell filling module, which is used to fill the multiple cubic grids based on the compatible cells, and slice the filled target grid model to obtain multiple filled slice layers; a 3D printing module, which is used to determine the 3D printing path of each filled slice layer, and the 3D printing path is used to instruct the 3D printing system to 3D print the object to be printed according to the 3D printing path.
[0020] In a fourth aspect, an embodiment of the present application provides a computer device, comprising a processor and a memory, wherein the processor is configured to implement a path determination method based on a 3D printing system as described in any one of the above when executing a computer program stored in the memory.
[0021] In a fifth aspect, an embodiment of the present application provides a computer storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the path determination method based on a 3D printing system described in any one of the above items is implemented.
[0022] The path determination method based on the 3D printing system provided in the embodiment of the present application determines the target grid model of the object to be printed based on the action field of the object to be printed, and the target grid model contains multiple cubic grids. The above method generates an adaptive target grid model according to the action field, and can optimize the internal grid structure of the target grid model, so that the strength of the 3D model corresponding to the object to be printed is enhanced without increasing the printing cost, and the 3D printing effect is improved; and the present application determines the critical information of each three-dimensional square grid; based on the critical information, generates a compatible unit cell of each cubic grid; based on the compatible unit cell, fills the multiple cubic grids to obtain the filled target grid model. The above method generates a compatible unit cell according to the critical information of the cubic grid, so that the compatible unit cell can meet the requirements of self-support and isotropy, thereby improving the 3D printing effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the application environment of the path determination method based on the 3D printing system provided in an embodiment of the present application;
[0024] Figure 2 is a schematic flow chart of a path determination method based on a 3D printing system provided in an embodiment of the present application;
[0025] Figure 3 is a schematic cross-sectional view of a target grid model provided in an embodiment of the present application;
[0026] Figure 4 is a flow chart of a method for determining a target grid model provided in an embodiment of the present application;
[0027] Figure 5 It is a schematic diagram of the process of the unit cell construction method provided in the embodiment of the present application;
[0028] Figure 6 It is a flowchart of the compatibility processing method provided in the embodiment of the present application;
[0029] Figure 7 is a schematic diagram of unit cell stacking provided in an embodiment of the present application;
[0030] Figure 8 is a schematic structural diagram of a compatible unit cell provided in the first embodiment of the present application;
[0031] Fig. 9 is a schematic structural diagram of a compatible unit cell provided in the second embodiment of the present application;
[0032] Fig.10 It is a flowchart of a method for determining a 3D printing path provided in an embodiment of the present application;
[0033] Fig.11 is a schematic diagram of a 3D printing path provided in an embodiment of the present application;
[0034] Fig. 12A is a schematic structural diagram of a unit cell provided in the first embodiment of the present application;
[0035] Fig. 12B is a schematic structural diagram of a unit cell provided in the second embodiment of the present application;
[0036] Fig. 12C is a schematic structural diagram of a unit cell provided in the third embodiment of the present application;
[0037] Fig.12D is a schematic structural diagram of a unit cell provided in the fourth embodiment of the present application;
[0038] Fig.12E is a schematic structural diagram of a unit cell provided in the fifth embodiment of the present application;
[0039] Fig.12F is a schematic structural diagram of a unit cell provided in the sixth embodiment of the present application;
[0040] Fig.13 is a schematic structural diagram of a path determination device based on a 3D printing system provided in an embodiment of the present application;
[0041] Fig.14 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.
[0042] Component Symbol
[0043] Computer equipment 10
[0044] Memory 11
[0045] Processor 12
[0046] Communication bus 13
[0047] 3D Printing System 20
[0048] Unit Cell 30
[0049] Surface 31
[0050] Accommodating chamber 32
[0051] Vertex 321
[0052] Cavity surface 322
[0053] Support surface 323
[0054] Path determination device 100 based on 3D printing system
[0055] Information determination module 101
[0056] Grid determination module 102
[0057] Criticality determination module 103
[0058] Unit cell generation module 104
[0059] Cell filling module 105
[0060] 3D Printing Module 106 DETAILED DESCRIPTION
[0061] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0062] In the description of the present application, it should be understood that the terms indicating the orientation or position information are based on the orientation or position information shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, it should be noted that the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0063] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication, it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0064] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0065] 3D printing is a cumulative manufacturing technology, also known as additive manufacturing. It is based on digital model files and uses special wax materials, powdered metals or plastics and other adhesive materials to print layers of adhesive materials to create three-dimensional objects. 3D printing technology can include selective curing of photosensitive resin (Stereo Lithography Apparatus, SLA) technology, selective laser sintering of powder materials (Selective Laser Sintering, SLS) technology, fused deposition (Fused Deposition Modeling, FDM) technology, 3D jet printing (3 Three Dimension Printing, 3DP) technology and vacuum injection molding (Poly-Urethan-Guss, PUG) technology. The specific principles of the above 3D printing technology can refer to the relevant technology and will not be repeated here. The embodiment of this application is explained by taking FDM technology as an example.
[0066] FDM technology is a layer-based additive manufacturing technology, and the printing of the upper layer needs to rely on the support of the lower layer. In the related art, in order to avoid the use of redundant support structures inside the 3D model, during the 3D model printing process, it is necessary to use a lattice structure to fill the inside of the 3D model, and increase the filling density to make the 3D model reach the desired strength. Among them, the filling method can include uniform filling and adaptive filling. When the filling method is uniform filling, the method of increasing the filling density to make the 3D model reach the desired strength will increase the printing cost, and too high a filling density will affect the smoothness and detail performance of the model surface, affecting the 3D printing effect. When the filling method is adaptive filling, for example, the lattice of the triply periodic minimal surface (TPMS) type is gradually filled in the Z-axis direction. However, due to the characteristics of the TPMS type lattice represented by a global implicit function, it is difficult to accurately control the gradual filling process of the TPMS type lattice in the entire space, and the 3D printing effect cannot be guaranteed. For another example, a filling structure that satisfies the maximum overhang angle and wall thickness manufacturability can be automatically generated based on diamond units. This filling structure can meet the self-supporting conditions and can achieve adaptive filling inside the 3D model. However, this structure itself is anisotropic, which makes the strength of the 3D model in various directions may vary greatly, affecting the 3D printing effect. For another example, a self-supporting hollow filling structure can be used to eliminate redundant internal pillars and pillars that do not meet the self-supporting constraint conditions through sparsity optimization, and at the same time, the angle between the internal pillars is optimized through the overhang angle optimization step to obtain a better internal self-supporting frame. However, this self-supporting method is based on a rod-shaped structure, and the printing efficiency is low when using FDM technology, and the 3D printing effect cannot be guaranteed. For another example, adaptive filling can be performed based on a porous structure similar to a bone or an elliptical hollow structure, but the above structure has the problem of lack of connectivity, and due to the large number of cross-sectional fractures, the printing efficiency is low when using FDM technology, and the 3D printing effect cannot be guaranteed.
[0067] In view of this, it is necessary to provide a path determination method, device, equipment and storage medium based on a 3D printing system, which can solve the problems of high printing cost and poor printing effect.
[0068] Figure 1 : is an application scenario diagram of the path determination method based on the 3D printing system provided in the embodiment of the present application. As an embodiment, the path determination method based on the 3D printing system provided in the embodiment of the present application can be applied to a computer device 10. The computer device 10 includes but is not limited to any electronic product that can interact with a user through a keyboard, mouse, remote control, touchpad or voice control device, such as a personal computer, tablet computer, smart phone, etc. Figure 1As shown, the application scenario of the path determination method based on the 3D printing system also includes a 3D printing system 20. The 3D printing system 20 is also called a three-dimensional printer, a stereo printer, and is a rapid prototyping process equipment, which is usually realized by printing materials using digital technology. The 3D printing system 20 is often used to manufacture models or parts in the fields of mold manufacturing, industrial design, etc.
[0069] In some embodiments, the computer device 10 is connected to the 3D printing system 20 by communication, and the connection mode may include wired connection and wireless connection. When the computer device 10 is connected to the 3D printing system 20 by wire, the communication connection may be performed through a charging cable or a data cable. When the computer device 10 is connected to the 3D printing system 20 by wireless, the connection may be performed through wireless communication modes such as Bluetooth, Wi-Fi, ZigBee, and cellular networks.
[0070] In some embodiments, the user can input a three-dimensional model file in the computer device 10 by means of a keyboard, a mouse, a remote control, a touchpad or a voice control device, etc. The three-dimensional model file is used to describe the geometric shape of the object to be printed, and the format of the three-dimensional model file may include file formats such as STL, OBJ, FBX, and Collada. The embodiment of the present application is described by taking the format of the three-dimensional model file as the STL file format as an example, and the surface of the object to be printed is represented by a triangular face. Each triangular face is defined by three vertices, and these vertices are arranged in a certain order to form the outer surface of the object to be printed. In some embodiments, the computer device 10 can obtain the field of action of the object to be printed by parsing the three-dimensional model file of the object to be printed, and determine the target grid model of the object to be printed based on the field of action, and the target grid model contains multiple cubic grids. The computer device 10 is also used to generate a compatible unit cell of each cubic grid based on the critical information of each cubic grid. Based on the compatible unit cell, the multiple cubic grids are filled to obtain the filled target grid model. In some embodiments, the computer device 10 is equipped with slicing software, which may include FlashPrint, Cura, Slic3r and other software. The slicing software is used to slice the filled target mesh model to obtain a filled slice layer. Each filled slice layer has its corresponding printing information, such as the color of the printing material, the shape and size of the model, the contour features of the model and other information. The computer device 10 generates corresponding printing instructions for each filled slice layer, such as 3D printing path, extrusion amount and printing speed, and obtains a G code file. The computer device 10 sends the G code file to the 3D printing system 20, and the 3D printing system stacks the materials layer by layer based on the G code file to construct a complete 3D model of the object to be printed.
[0071] In other embodiments, the 3D printing system 20 can obtain the action field of the object to be printed by parsing the three-dimensional model file of the object to be printed, and determine the target grid model of the object to be printed based on the action field, wherein the target grid model contains multiple cubic grids. Based on the critical information of each cubic grid, a compatible unit cell of each cubic grid is generated. Based on the compatible unit cell, the multiple cubic grids are filled to obtain the filled target grid model. In some embodiments, the 3D printing system 20 is equipped with slicing software, which may include FlashPrint, Cura, Slic3r and other software. The slicing software is used to slice the filled target grid model to obtain a filled slice layer. Each filled slice layer has its corresponding printing information, such as the color of the printing material, the shape and size of the model, the contour features of the model, etc. The 3D printing system 20 generates corresponding printing instructions for each filled slice layer, such as 3D printing path, extrusion amount and printing speed, etc., to obtain a G code file. The 3D printing system stacks materials layer by layer based on the G code file to construct a complete 3D model of the object to be printed. The embodiment of the present application is described by taking the use of a computer device 10 to parse a three-dimensional model file and obtain a G-code file as an example.
[0072] In the above application scenario provided by the embodiment of the present application, the computer device generates an adaptive target grid model according to the field of action of the object to be printed, and can optimize the internal grid structure of the target grid model, so that the strength of the 3D model corresponding to the object to be printed is enhanced without increasing the printing cost, and the 3D printing effect is improved. And the computer device generates a compatible unit cell according to the critical information of each cubic grid, so that the compatible unit cell can meet the requirements of self-support and isotropy, and improve the 3D printing effect.
[0073] Figure 2 is a schematic flow chart of a path determination method based on a 3D printing system provided in an embodiment of the present application. Figure 2 As shown, the path determination method based on the 3D printing system is applied to a computer device (e.g., Figure 1 The computer device 10) comprises the following steps:
[0074] S11, determining the action field of the object to be printed.
[0075] In at least one embodiment of the present application, the object to be printed may represent an object that needs to be 3D printed, which may include but is not limited to automobile parts, aircraft parts, prostheses, orthotics, surgical guides, artworks or sculptures, household items, and toys.
[0076] In some embodiments, the action field is used to represent the effect of the field on the object to be printed, and the action field includes at least one of a scalar field and a vector field. For example, the action field is a scalar field; another example is that the action field is a vector field; another example is that the action field includes a scalar field and a vector field. Among them, a scalar field can represent a field that can be fully characterized by size, and a scalar field can include a temperature field, a density field, a distance field, etc. A vector field can represent a function from one vector to another vector, and a vector field can include a stress field, an electromagnetic field, etc. The embodiment of the present application is described by taking the example that the action field includes a scalar field and a vector field, the scalar field is a distance field, and the vector field is a stress field.
[0077] In some embodiments, the determining of the action field of the object to be printed may include: determining the distance field information and stress field information of the object to be printed. The distance field information is used to describe the geometric shape and boundary of the surface of the object to be printed, and the distance field information may include a set of minimum distances from any point in the spatial region of the object to be printed to the surface of the object to be printed. The shape of the spatial region of the object to be printed may include shapes such as a cube and a cylinder, and the size of the spatial region may be determined based on the construction platform of the 3D printing system and the size of the object to be printed. In some embodiments, the spatial region is discretized into a series of regularly arranged grid points, that is, the continuous space is divided into small voxels (volume pixels), and each voxel represents a small area in the spatial region. The boundary coordinates of the surface of the object to be printed are obtained by parsing the three-dimensional model file of the object to be printed. The method for determining the distance field information of the object to be printed includes: using a distance function to determine the minimum distance value between any voxel in the spatial region of the object to be printed and the boundary coordinates of the object to be printed; and using multiple minimum distance values as distance field information. The distance function may include a Euclidean distance function, a Manhattan distance function, or other distance metric functions suitable for specific applications.
[0078] In some embodiments, the forces borne by the object to be printed in different directions may be different, and the stress field information is used to describe the stress distribution inside the object to be printed, and the stress can represent the force borne per unit area. In some embodiments, the stress field information of the object to be printed can be determined by constructing a finite element model and applying boundary conditions to the finite element model. Exemplarily, first, a finite element model is constructed, and boundary conditions can be applied to the finite element model in order to simulate the stress distribution of the object to be printed in actual conditions. Afterwards, the established finite element model is mathematically discretized and the finite element model is divided into a finite number of units. Finally, by determining the stress and strain of each unit, the stress and strain distribution of the entire object to be printed can be obtained. Among them, the finite element model is used to accurately reflect the actual physical structure of the object to be printed, including factors such as the geometric shape of the structure, material properties, and assembly relationships. Boundary conditions may include information such as displacement constraints, force loads, or pressure.
[0079] S12, determining a target grid model of the object to be printed based on the action field, wherein the target grid model includes a plurality of cubic grids.
[0080] In at least one embodiment of the present application, a target grid model of the object to be printed is generated based on the action field, and the target grid model includes multiple cubic grids, and the shapes of the multiple cubic grids are the same, but the sizes of the cubic grids are different. Among them, the minimum size and the maximum size of the cubic grid can be determined based on the size information of the object to be printed, and the minimum size of the cubic grid is greater than the diameter of the nozzle in the 3D printing system. In some embodiments, each cubic grid is used to fill unit cells (for example, compatible unit cells), and the size of the filled unit cells is the same as the size of the cubic grid. Combined Figure 3 A schematic cross-sectional view of a target grid model provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, based on the distance field information and the stress field information, a smaller-sized cubic grid is generated near the boundary position of the 3D model of the object to be printed, which is used to fill the smaller-sized unit cells, and a larger-sized cubic grid is generated near the center position of the 3D model of the object to be printed, which is used to fill the larger-sized unit cells. The larger-sized cubic grid can be split into multiple smaller-sized cubic grids, for example, the larger-sized cubic grid can be split into eight smaller-sized cubic grids.
[0081] In some embodiments, the unit cell is a cubic structure including multiple faces, for example, the unit cell includes six faces, each of which has the same shape. The unit cell provided in the embodiment of the present application has self-support and isotropy, wherein self-support can mean that there is a good gradual transition between adjacent 3D printing paths, and there will be no 3D printing path hanging in the air. Isotropy can mean that the performance of the unit cell is the same in all directions.
[0082] S13, determining critical information of each three-dimensional square grid.
[0083] In at least one embodiment of the present application, each cube grid has critical information, and the critical information may include grid size and grid position, wherein the grid size may indicate the size of the cube grid, and the grid position may indicate the position of the cube grid in the target grid model, for example, the grid position may be the center coordinate of the cube grid.
[0084] S14, generating compatible unit cells of each cubic grid based on the critical information.
[0085] In at least one embodiment of the present application, based on the grid position in the critical information, adjacent cubic grids can be determined. Exemplarily, any one cubic grid is selected from a plurality of cubic grids as the first grid, and based on the grid position, a cubic grid adjacent to the first grid can be determined as the second grid. For example, the cubic grids above, below, and on the side of the first grid are used as second grids. The size of the second grid may be less than or equal to the size of the first grid, or may be greater than the size of the first grid. The sizes of multiple second grids may be the same or different, and are not limited here. Among them, the selection order of the first grids can be set according to actual needs, for example, from the boundary position of the object to be printed to the center position, or from the center position of the object to be printed to the boundary position. The number of first grids selected each time can be determined according to the computing power of the computer device, for example, the number of first grids selected each time can be 1 or more.
[0086] In some embodiments, in order to enable unit cells of different sizes to achieve self-support when stacked together, the unit cells corresponding to each cubic grid can be processed for compatibility based on critical information to obtain compatible unit cells, so that the compatible unit cells located below can provide support for the adjacent upper unit cells.
[0087] In some embodiments, the generating of compatible unit cells of each cubic grid based on the critical information includes: determining the position superposition information of adjacent cubic grids based on the grid position; adjusting the unit cells of each cubic grid based on the grid size and the position superposition information to obtain the compatible unit cells. In some embodiments, taking the adjacent cubic grids as the first grid and the second grid as an example, the position superposition information may include the position relationship between the first grid and the second grid and the number of superpositions of the second grid and the first grid. The position relationship may represent the superposition position of the second grid in the first grid, including the second grid on the side of the first grid, the second grid above the first grid, and the second grid below the first grid. The number of superpositions may include the number of superpositions of second grids of the same size on the side of the first grid, the number of superpositions of second grids of the same size above the first grid, and the number of superpositions of second grids of the same size below the first grid.
[0088] In some embodiments, adjusting the unit cells of each cubic grid based on the grid size and the position superposition information to obtain the compatible unit cells includes: selecting adjacent first and second grids from the multiple cubic grids based on the position superposition information; if the first grid size of the first grid is larger than the second grid size of the second grid, performing compatibility processing on the surface of the unit cells in the first grid facing the second grid to obtain the compatible unit cells; if the first grid size of the first grid is smaller than or equal to the second grid size of the second grid, then not performing compatibility processing on the surface of the unit cells in the first grid facing the second grid. The embodiment of the present application compares the first grid size of the first grid with the second grid size of the second grid, and when the first grid size is larger than the second grid size, performs compatibility processing on the pre-filled unit cells in the first grid, so that the larger unit cells provide support for the smaller unit cells.
[0089] In some embodiments, the surface of the unit cell in the first grid facing the second grid is processed for compatibility. For example, if the second grid is located above the first grid, the upper surface of the unit cell in the first grid is processed for compatibility; if the second grid is located below the first grid, the lower surface of the unit cell in the first grid is processed for compatibility; if the second grid is located on the side of the first grid, the side surface of the unit cell in the first grid is processed for compatibility. Wherein, the upper surface may represent the surface on which the unit cell in the first grid contacts the unit cell in the second grid when the second grid is located above the first grid. The lower surface may represent the surface on which the unit cell in the first grid contacts the unit cell in the second grid when the second grid is located below the first grid. The side surface may represent the surface on which the unit cell in the first grid contacts the unit cell in the second grid when the second grid is located on the side of the first grid.
[0090] S15, filling each of the cubic grids based on the compatible unit cells, and slicing the filled target grid model to obtain a plurality of filled slice layers.
[0091] In at least one embodiment of the present application, there is a corresponding relationship between the compatible unit cells and the cube grid in the target grid model, and by querying the corresponding relationship, multiple compatible unit cells are filled into the corresponding cube grid to obtain the target grid model. The target grid model can simultaneously meet the requirements of self-support, adaptability and isotropy.
[0092] In some embodiments, after determining the filled target mesh model, the slicing software can be called to slice the filled target mesh model. The same slice layer will only slice the compatible cells adjacent to the left and right, and will not cut the compatible cells stacked up and down. Based on this rule, multiple slice layers after filling can be determined. Each slice layer has its corresponding printing information, such as the color of the printing material, the shape and size of the model, the contour features of the model, and other information.
[0093] S16, determining a 3D printing path for each filled slice layer, wherein the 3D printing path is used to instruct a 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path.
[0094] In at least one embodiment of the present application, the 3D printing system realizes 3D printing by printing layer by layer, and each filled slice layer has a 3D printing path. After the computer device determines the filling structure of the compatible unit cells in each filled slice layer, the plane expression constituting each compatible unit cell can be calculated, and the plane expression is used to describe the shape and position of the compatible unit cell, as well as the interconnection mode between the compatible unit cells. The 3D printing path can be determined by calculating the intersection line of the Z plane and each compatible unit cell. After determining the intersection line of the Z plane and each compatible unit cell, these intersection lines can be connected to form the 3D printing path of the layer. The computer device sends the 3D printing path of the slice layer to the 3D printing system, so that the 3D printing system performs 3D printing on the object to be printed according to the 3D printing path.
[0095] The path determination method based on the 3D printing system provided in the embodiment of the present application determines the target grid model of the object to be printed based on the action field of the object to be printed, and the target grid model contains multiple cubic grids. The above method generates an adaptive target grid model according to the action field, and can optimize the internal grid structure of the target grid model, so that the strength of the 3D model corresponding to the object to be printed is enhanced without increasing the printing cost, and the 3D printing effect is improved; and the present application determines the critical information of each three-dimensional square grid; based on the critical information, generates a compatible unit cell of each cubic grid; based on the compatible unit cell, fills the multiple cubic grids to obtain the filled target grid model. The above method generates a compatible unit cell according to the critical information of the cubic grid, so that the compatible unit cell can meet the requirements of self-support and isotropy, thereby improving the 3D printing effect.
[0096] In at least one embodiment of the present application, before determining the target grid model of the object to be printed, an initial grid model of the object to be printed can be constructed first, and then the initial grid model can be adjusted based on the action field of the object to be printed to obtain the target grid model, wherein the action field includes a scalar field and a vector field. Figure 4is a flow chart of a target grid model determination method provided in an embodiment of the present application, and the target grid model determination method is applied to a computer device. Figure 4 As shown, the following steps are included:
[0097] S21, determining an initial grid model of the object to be printed.
[0098] In at least one embodiment of the present application, the initial grid model includes a plurality of cubic grids of the same shape and size (for ease of description, referred to as "initial cubic grids" in the present application). The size of the initial cubic grid may be a maximum size determined according to the size information of the object to be printed, or a minimum size determined according to the size information of the object to be printed, or a size between the minimum size and the maximum size. The present application embodiment takes the example of the size of the initial cubic grid being the maximum size determined according to the size information of the object to be printed.
[0099] S22, determining an evaluation index value of each initial cubic mesh in the initial mesh model based on the scalar field and the vector field.
[0100] In at least one embodiment of the present application, a scalar field may represent a field that can be fully characterized by size, and the scalar field may include a temperature field, a density field, a distance field, and the like. A vector field may represent a function of one vector corresponding to another vector, and the vector field may include a stress field, an electromagnetic field, and the like. The present application embodiment is described by taking the scalar field as a distance field and the vector field as a stress field as an example. Based on the distance field information and the stress field information, an evaluation index value is set for each initial cube mesh in the initial mesh model. Exemplarily, the stress value and the distance field value of each initial cube mesh are determined; based on the stress value and the distance field value, the evaluation index value of each initial cube mesh is determined. The evaluation index values of different initial cube meshes may be the same or different. For example, the evaluation index value of the initial cube mesh with a large stress value and a large distance field value is set to be large, and the evaluation index value of the initial cube mesh with a small stress value and a small distance field value is set to be small.
[0101] S23, splitting the initial cube mesh based on the evaluation index value until the initial mesh model meets the splitting end condition, thereby obtaining the target mesh model.
[0102] In at least one embodiment of the present application, the method of splitting the initial cubic grid based on the evaluation index value until the initial grid model meets the splitting end condition includes: splitting the initial cubic grid with a large evaluation index value to obtain multiple small cubic grids; determining the evaluation index value of each small cubic grid, and determining the evaluation index variance of the initial grid model based on the evaluation index values of the multiple small cubic grids and the evaluation index values of the multiple initial cubic grids; if the index variance is less than or equal to a preset variance threshold, or the size of the small cubic grid is the minimum size, then it is determined that the initial grid model meets the splitting end condition. The grid model that meets the splitting end condition is used as the target grid model. The evaluation index variance is used to describe the degree of difference in the evaluation index of the cubic grids in the initial grid model. The smaller the evaluation index variance, the smaller the degree of difference in the evaluation index of the cubic grids in the initial grid model; the larger the evaluation index variance, the greater the degree of difference in the evaluation index of the cubic grids in the initial grid model. The preset variance threshold can be set according to actual needs and is not limited here. Based on the target grid model, the grid position, grid size and adjacency relationship with other cubic grids of each cubic grid can be determined.
[0103] In the path determination method based on the 3D printing system provided in an embodiment of the present application, the evaluation index value of each initial cubic mesh in the initial mesh model is determined based on the scalar field and the vector field of the object to be printed, and the initial cubic mesh is split based on the evaluation index value to obtain an adaptive cell filling method, which can optimize the internal mesh structure of the target mesh model, so that the strength of the 3D model corresponding to the object to be printed is enhanced without increasing the printing cost, thereby improving the 3D printing effect.
[0104] In at least one embodiment of the present application, a self-supporting and isotropic unit cell is constructed, and unit cells of multiple sizes can be obtained by adjusting the size information of the unit cell. Figure 5 is a schematic diagram of a unit cell construction method provided in an embodiment of the present application, and the unit cell construction method is applied to a computer device. Figure 5 As shown, the following steps are included:
[0105] S31, determine the unit cell center.
[0106] In at least one embodiment of the present application, the center of the unit cell can be set according to actual needs. For example, the center of the unit cell can be (0.5, 0.5, 0.5), which is not limited here.
[0107] S32, based on the unit cell center, construct multiple planes using multiple plane functions to obtain a unit cell.
[0108] In at least one embodiment of the present application, a unit cube grid is constructed based on the center of the unit cell, and six planes are constructed using multiple plane functions, and the plane structure within the unit cube grid is the structure of the unit cell.
[0109] Among them, the plane function includes the following 6 formulas, which are recorded as Formula 1 to Formula 6 respectively:
[0110] Formula 1: y+z-1=0.
[0111] Formula 2: -y+z=0.
[0112] Formula 3: x+z-1=0.
[0113] Formula 4: -x+z=0.
[0114] Formula 5: x+y-1=0.
[0115] Formula 6: -x+y=0.
[0116] S33, adjusting the size information of the unit cell based on the grid sizes of the multiple cubic grids to obtain the unit cell.
[0117] In at least one embodiment of the present application, the size information of the unit cell is adjusted based on the grid size of the cubic grid in the target grid model to obtain unit cells of different sizes. The unit cell is coordinate-transformed based on the position of the cubic grid in the target grid model to obtain unit cells of different positions.
[0118] In the path determination method based on the 3D printing system provided in the embodiment of the present application, based on the center of the unit cell, multiple planes are constructed using multiple plane functions to obtain the unit cell, and then the size information of the unit cell is adjusted to obtain the unit cell that needs to be filled in each cubic grid in the target grid model, thereby improving the efficiency of the unit cell filling determination.
[0119] In at least one embodiment of the present application, a compatible surface is obtained by performing compatibility processing on the surface of the unit cells in the first grid facing the second grid, and support is provided to the unit cells corresponding to the adjacent second grid through the compatible surface. Figure 6 1 is a flow chart of a compatibility processing method provided in an embodiment of the present application, and the compatibility processing method is applied to computer equipment. Figure 6 As shown, the following steps are included:
[0120] S41, taking the surface of the unit cells in the first grid facing the second grid as the target surface.
[0121] In at least one embodiment of the present application, if the second grid is located above the first grid, the upper surface of the unit cell in the first grid is used as the target surface; if the second grid is located below the first grid, the lower surface of the unit cell in the first grid is used as the target surface; if the second grid is located on the side of the first grid, the side surface of the unit cell in the first grid is used as the target surface.
[0122] For example, Figure 7 Schematic diagram of the unit cell stacking provided in the embodiment of the present application. Figure 7 As shown, the larger unit cell is used as the unit cell in the first grid, and the smaller unit cell is used as the unit cell in the second grid. The smaller unit cell is located above the larger unit cell, and 4 smaller unit cells can be connected above the larger unit cell. Figure 7 Take a larger unit cell connected to a smaller unit cell as an example. Since the upper surface of the larger unit cell contacts the smaller unit cell, the upper surface of the larger unit cell is used as the target surface. Before the target surface is compatible, the position where the smaller unit cell and the larger unit cell are connected will be suspended, and the larger unit cell cannot provide stable support for the smaller unit cell.
[0123] S42, determining the midpoint of each edge in the target surface.
[0124] In at least one embodiment of the present application, the target surface includes 6 edges, namely, two intersecting edges in the middle and edges around the edges. By determining the midpoint of each edge, 5 midpoints can be obtained, wherein the midpoints of the two intersecting edges in the middle are the same and are the intersection points of the two edges.
[0125] S43, connecting the midpoints to obtain a midpoint line, and extending the midpoint line along a target direction to obtain the compatible unit cell.
[0126] In at least one embodiment of the present application, the midpoints are connected to obtain a midpoint line. If the second grid is located above the first grid, the target direction is vertically downward, and the midpoint line is extended vertically downward to generate a new surface. For example, Figure 8 Schematic diagram of the structure of the compatible unit cell provided in the first embodiment of the present application. Figure 8 As shown, the target surface of the unit cell in the first grid is fused with the lower surface of the unit cell in the second grid, and the compatible unit cell in the first grid located below provides stable support for the unit cell in the second grid located above.
[0127] In some embodiments, if the second grid is located below the first grid, the target direction is vertically upward, and the midpoint line is extended vertically upward to generate a new surface. The target surface of the unit cell in the first grid is compatible with the upper surface of the unit cell in the second grid, and the upper surface of the unit cell in the second grid provides support for the unit cell in the first grid.
[0128] In some embodiments, if the second grid is located on the side of the first grid, the target direction is the horizontal direction, and the midpoint line is extended in the horizontal direction to generate a new surface. The target surface of the unit cell in the first grid is compatible with the side surface of the unit cell in the second grid, and the unit cell in the second grid is supported by the target surface. Since the horizontal surface cannot be supported, when the midpoint line is extended in the horizontal direction to generate a new surface, no horizontal surface will be added. For example, Fig. 9 is a schematic diagram of the structure of a compatible unit cell provided in the second embodiment of the present application. Fig. 9 As shown, the six faces of the unit cell are all processed for compatibility, and the side faces have fewer horizontal faces compared to the upper and lower faces.
[0129] In the path determination method based on the 3D printing system provided in an embodiment of the present application, a compatible surface is obtained by performing compatibility processing on the surface of the unit cell in the first grid facing the second grid, and support is provided to the unit cell corresponding to the adjacent second grid through the compatible surface, so that the unit cell can meet the requirements of self-support and isotropy, thereby improving the 3D printing effect.
[0130] Fig.10 3D printing path determination method provided in the embodiment of the present application is applied to computer equipment. Fig.10 As shown, the following steps are included:
[0131] S51, based on the plane expression of each compatible unit cell, determining the 3D printing path corresponding to each filled slice layer.
[0132] In at least one embodiment of the present application, based on the vertex coordinates, side lengths, and normal vectors of each compatible unit cell, a plane expression of each compatible unit cell can be determined, and the plane expression is used to describe the shape and position of the compatible unit cells, and how they are connected to each other to form the object to be printed. In some embodiments, in order to determine the 3D printing path of each filled slice layer, the intersection line of each compatible unit cell and the Z plane can be determined based on the plane expression of each compatible unit cell, and these intersection lines are connected to obtain the 3D printing path of the slice layer.
[0133] For example, Fig.11 Schematic diagram of the 3D printing path provided in the embodiment of the present application. Fig.11As shown, the object to be printed is a cylindrical model, the middle position of the cylindrical model is filled with a larger compatible unit cell, and the boundary position is filled with a smaller compatible unit cell. The intersection line in the circular area is the 3D printing path of the slice layer.
[0134] S52, determining the printing order between the plurality of filled slice layers.
[0135] In at least one embodiment of the present application, the plurality of filled slice layers are sorted in a top-to-bottom order or a bottom-to-top order, based on which the printing order between the plurality of filled slice layers can be determined.
[0136] S53, performing 3D printing on the object to be printed by using a 3D printing system according to the printing sequence and the 3D printing path.
[0137] In at least one embodiment of the present application, the computer device converts the printing sequence and the 3D printing path into a G code file, and sends the G code file to a 3D printing system. The 3D printing system is used to perform 3D printing on the object to be printed.
[0138] In the path determination method based on the 3D printing system provided in the embodiment of the present application, based on the plane expression of each compatible unit cell, the 3D printing path corresponding to each slice layer is determined, the printing order between the multiple slice layers is determined, and according to the printing order and the 3D printing path, the 3D printing system is used to perform 3D printing on the object to be printed. By planning the printing path, the above method can reduce the ineffective movement of the 3D printing system during the printing process and improve the printing efficiency.
[0139] In some embodiments, in combination Fig. 12A , 12B 12C, 12D, 12E and 12F illustrate the schematic diagrams of the structure of the unit cell provided in the embodiments of the present application. Figures 12A to 12F As shown, the unit cell 30 is a cubic structure, and the unit cell 30 includes 6 faces 31, which are respectively recorded as face 31a, face 31b, face 31c, face 31d, face 31e and face 31f. The area of each face 31 is equal, two adjacent faces 31 are perpendicular to each other, and two opposite faces 31 are parallel to each other. For example, face 31a is parallel to face 31b, face 31c is parallel to face 31d, and face 31e is parallel to face 31f. Face 31a is perpendicular to face 31c, face 31d, face 31e and face 31f respectively. In some embodiments, each face 31 includes a square face, for example, each face 31 can be a square. Based on this, the unit cell 30 includes 12 edges, and the length of each edge is equal. The unit cell 30 includes 8 tops, and each top can be the intersection of three edges.
[0140] In some embodiments, each of the faces 31 is provided with a receiving cavity 32, and the volumes of the receiving cavities 32 in the multiple faces 31 are the same. The receiving cavity 32 may be a square pyramid with an open bottom, and the area of the bottom opening is equal to the area of the face 31. In some embodiments, the receiving cavity 32 includes a vertex 321 and four cavity surfaces 322, and the four cavity surfaces 322 have the same vertex 321, and each cavity surface 322 is an isosceles triangle. In some embodiments, as Figures 12A to 12F As shown, each of the surfaces 31 a , 31 b , 31 c , 31 d , 31 e and 31 f has an accommodation cavity 32 , that is, the unit cell 30 includes six accommodation cavities 32 , and the six accommodation cavities 32 may have the same vertex 321 .
[0141] In some embodiments, the accommodating cavity 32 is provided with a plurality of supporting surfaces 323, for example, the accommodating cavity 32 is provided with two supporting surfaces 323. The two supporting surfaces 323 have the same shape and area. Each supporting surface 323 extends from the vertex 321 along the diagonal direction of the accommodating cavity 32. In some embodiments, each supporting surface 323 may be an isosceles triangle, and the length of the straight line from the vertex 321 to the opposite side of each supporting surface 323 is taken as the extension length, and the length of the straight line from the vertex 321 to the plane where the bottom of the accommodating cavity 32 is taken as the height of the accommodating cavity, and the extension length is the same as the height of the accommodating cavity. For each accommodating cavity 32, the opposite side of the vertex 321 in one of the supporting surfaces is taken as the first side, and the opposite side of the vertex 321 in the other supporting surface is taken as the second side, and the surface obtained by the intersection of the first side and the second side coincides with the surface where the bottom of the accommodating cavity 32 is located.
[0142] In some embodiments, the plurality of unit cells 30 include at least two layers of first unit cells and second unit cells, and the accommodation cavity 32 of the first unit cell is connected to the accommodation cavity 32 of the second unit cell. The second unit cell may be located above, below, or on the side of the first unit cell. The size of the second unit cell may be less than or equal to the size of the first unit cell, or may be greater than the size of the first unit cell, which is not limited herein.
[0143] In some embodiments, along the arrangement direction of the first unit cell and the second unit cell, if the projection of the second unit cell is within the projection range of the first unit cell, indicating that the size of the second unit cell is smaller than the size of the first unit cell, the support surface 323 of the second unit cell facing the first unit cell and the several surfaces 31 of the second unit cell perpendicular to the first unit cell are extended to the first unit cell facing the second unit cell The cavity 32, until it contacts the cavity surface 322 in the cavity 32. Among them, the second unit cell has four surfaces 31 perpendicular to the first unit cell, and one surface 31 or two surfaces 31 can be selected from the four surfaces for extension based on the position superposition information of the first unit cell and the second unit cell. Along the arrangement direction of the first unit cell and the second unit cell, the projection of the selected surface 31 is inside the projection of the first unit cell and is not at the edge position of the projection of the first unit cell. Exemplarily, when the second unit cell is located on the side of the first unit cell, since the surface in the horizontal direction cannot be supported, one surface 31 is selected from the four surfaces for extension. When the second unit cell is located above or below the first unit cell, two faces 31 may be selected from the four faces for extension.
[0144] The unit cell 30 provided in the embodiment of the present application is isotropic, and when the first unit cell is connected to the second unit cell, the support surface 323 of the second unit cell facing the first unit cell and several surfaces 31 of the second unit cell perpendicular to the first unit cell are extended into the accommodating cavity 32 of the first unit cell facing the second unit cell, so that unit cells of different sizes can be self-supporting when stacked together.
[0145] See also Fig.13 , Fig.13 1 is a schematic diagram of the structure of the path determination device based on the 3D printing system provided in an embodiment of the present application. In some embodiments, the path determination device 100 based on the 3D printing system may include multiple functional modules composed of computer program segments. The computer program of each program segment in the path determination device 100 based on the 3D printing system may be stored in the memory of the computer device and executed by at least one processor to execute (see Figure 2 Description) Functions of 3D printing.
[0146] In some embodiments, the path determination device 100 based on the 3D printing system can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an information determination module 101, a grid determination module 102, a critical determination module 103, a cell generation module 104, a cell filling module 105, and a 3D printing module 106. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, which are stored in a memory. In some embodiments, the functions of each module will be described in detail in subsequent embodiments.
[0147] The information determination module 101 can be used to determine the field of action of the object to be printed.
[0148] The grid determination module 102 may be used to determine a target grid model of the object to be printed based on the action field, wherein the target grid model includes a plurality of cubic grids.
[0149] The criticality determination module 103 may be used to determine criticality information of each cubic square grid.
[0150] The unit cell generation module 104 may be configured to generate a compatible unit cell of each cubic grid based on the critical information.
[0151] The unit cell filling module 105 may be used to fill the plurality of cubic grids based on the compatible unit cells, and to slice the filled target grid model to obtain a plurality of filled slice layers.
[0152] The 3D printing module 106 may be used to determine a 3D printing path for each filled slice layer, and the 3D printing path is used to instruct the 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path.
[0153] It can be understood that the path determination device 100 based on the 3D printing system and the path determination method based on the 3D printing system in the above-mentioned embodiment belong to the same inventive concept. The specific implementation method of each module of the path determination device 100 based on the 3D printing system corresponds to the steps of the path determination method based on the 3D printing system in the above-mentioned embodiment, and this application will not go into details here.
[0154] The module division described above is a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0155] Fig.14 Schematic diagram of the structure of the computer device provided in the embodiment of the present application. Fig.14 As shown, the computer device 10 includes a memory 11, at least one processor 12 and at least one communication bus 13. The at least one processor 12 is used to execute the path determination method based on the 3D printing system when the computer program stored in the memory 11 is executed, and the at least one communication bus 13 is configured to realize the connection and communication between the memory 11 and the at least one processor 12.
[0156] Those skilled in the art should understand that Fig.14The structure of the computer device shown does not constitute a limitation of the embodiments of the present application. The computer device 10 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components.
[0157] In some embodiments, the computer device 10 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. The computer device 10 can also be connected to user devices, which include but are not limited to any electronic product that can interact with the user through a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smart phone, digital camera, etc.
[0158] It should be noted that the computer device 10 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.
[0159] Although not shown, the power supply connected to the computer device 10 may include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The computer device 10 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which are not described in detail here.
[0160] In some embodiments, a computer program is stored in the memory 11, and when the computer program is executed by at least one processor 12, all or part of the steps in the path determination method based on the 3D printing system are implemented. The memory 11 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0161] In some embodiments, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the computer device 10, etc.
[0162] In some embodiments, at least one processor 12 is the control core (ControlUnit) of the computer device 10, and uses various interfaces and lines to connect various components of the entire computer device 10, and executes various functions and processes data of the computer device 10 by running or executing programs or modules stored in the memory 11, and calling data stored in the memory 11. For example, when at least one processor 12 executes the computer program stored in the memory, it implements all or part of the steps of the path determination method based on the 3D printing system in the embodiment of the present application; or implements all or part of the functions of the path determination device based on the 3D printing system. At least one processor 12 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips.
[0163] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute parts of the methods of various embodiments of the present application.
[0164] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic, for example, the division of modules is a logical function division, and there may be other division methods in actual implementation.
[0165] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0166] In addition, each functional module in each embodiment of the present application 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 above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0167] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or, and the singular does not exclude the plural. Multiple units or devices stated in the specification can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0168] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.
Claims
1. A path determination method based on a 3D printing system, characterized in that: The path determination method based on the 3D printing system includes: Determine the field of action of the object to be printed; Based on the action field, determining a target grid model of the object to be printed, wherein the target grid model includes a plurality of cubic grids; Determine the critical information of each cubic square grid; Based on the critical information, generating compatible unit cells of each cubic grid; Based on the compatible unit cell, each of the cubic grids is filled, and the filled target grid model is sliced to obtain a plurality of filled slice layers; A 3D printing path for each filled slice layer is determined, wherein the 3D printing path is used to instruct a 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path.
2. The path determination method based on the 3D printing system according to claim 1, characterized in that: The action field includes a scalar field and a vector field, and determining a target grid model of the object to be printed based on the action field includes: Determining an initial grid model of the object to be printed; Determining an evaluation index value of each initial cubic grid in the initial grid model based on the scalar field and the vector field; Based on the evaluation index value, the initial cubic mesh is split until the initial mesh model meets the splitting end condition, thereby obtaining the target mesh model.
3. The path determination method based on the 3D printing system according to claim 1, characterized in that: The critical information includes a grid size and a grid position, and generating compatible cells of each cubic grid based on the critical information includes: Based on the grid positions, determining position superposition information of adjacent cubic grids; Based on the grid size and the position superposition information, the unit cell corresponding to each cubic grid is adjusted to obtain the compatible unit cell.
4. The path determination method based on the 3D printing system according to claim 3, characterized in that: The method further comprises: Determine the unit cell center; Based on the unit cell center, multiple planes are constructed using multiple plane functions to obtain a unit cell; Based on the grid sizes of the multiple cubic grids, the size information of the unit cell is adjusted to obtain the unit cell.
5. The path determination method based on the 3D printing system according to claim 3, characterized in that: The step of adjusting the unit cell corresponding to each cubic grid based on the grid size and the position superposition information to obtain the compatible unit cell includes: Based on the position superposition information, selecting adjacent first grids and second grids from the plurality of cubic grids; If a first grid size of the first grid is larger than a second grid size of the second grid, performing compatibility processing on a surface of a unit cell in the first grid facing the second grid to obtain the compatible unit cell; If the first grid size of the first grid is smaller than or equal to the second grid size of the second grid, no compatibility processing is performed on the surface of the unit cells in the first grid facing the second grid.
6. The path determination method based on the 3D printing system according to claim 5, characterized in that: The step of performing compatibility processing on the surface of the unit cell in the first grid facing the second grid to obtain the compatible unit cell comprises: The surface of the unit cell in the first grid facing the second grid is used as the target surface; determining the midpoint of each edge in the target surface; The midpoints are connected to obtain a midpoint line, and the midpoint line is extended along a target direction to obtain the compatible unit cell.
7. The path determination method based on a 3D printing system according to claim 1, characterized in that: The step of determining a 3D printing path for each filled slice layer, wherein the 3D printing path is used to instruct a 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path, comprises: Determining a 3D printing path corresponding to each filled slice layer based on a plane expression of each compatible unit cell; Determining a printing order between the plurality of filled slice layers; According to the printing sequence and the 3D printing path, the object to be printed is 3D printed using the 3D printing system.
8. A unit cell for filling in a cubic grid as claimed in any one of claims 1 to 7, characterized in that: The unit cell includes a plurality of faces, each of which has an equal area, two adjacent faces are perpendicular to each other, and two opposite faces are parallel to each other; wherein each face is provided with a receiving cavity, the receiving cavity is provided with a vertex and a plurality of supporting surfaces, and each supporting surface extends from the vertex along the diagonal direction of the receiving cavity.
9. The unit cell according to claim 8, characterized in that Each of the faces comprises a square face.
10. The unit cell according to claim 8, characterized in that The volume of the accommodating cavity in each surface is the same.
11. The unit cell according to claim 8, characterized in that The accommodating cavity comprises a square pyramid shape.
12. The unit cell according to claim 8, wherein The plurality of receiving cavities have the same apex.
13. The unit cell according to claim 8, characterized in that The plurality of unit cells include at least two layers of first unit cells and second unit cells, and the accommodation cavity of the first unit cells is connected to the accommodation cavity of the second unit cells.
14. The unit cell according to claim 13, wherein: Along the arrangement direction of the first unit cell and the second unit cell, if the projection of the second unit cell is located within the projection range of the first unit cell, the supporting surface of the second unit cell facing the first unit cell and several surfaces of the second unit cell perpendicular to the first unit cell all extend into the accommodating cavity of the first unit cell facing the second unit cell.
15. A path determination device based on a 3D printing system, characterized in that: The path determination device based on the 3D printing system includes: An information determination module, used to determine the action field of the object to be printed; A grid determination module, used to determine a target grid model of the object to be printed based on the action field, wherein the target grid model includes a plurality of cubic grids; A critical determination module, used to determine the critical information of each cubic square grid; A unit cell generation module, used for generating compatible unit cells of each cubic grid based on the critical information; A unit cell filling module, used to fill the plurality of cubic grids based on the compatible unit cells, and slice the filled target grid model to obtain a plurality of filled slice layers; The 3D printing module is used to determine a 3D printing path for each filled slice layer, wherein the 3D printing path is used to instruct the 3D printing system to perform 3D printing on the object to be printed according to the 3D printing path.
16. A computer device, characterized in that: The computer device comprises a processor and a memory, and the processor is used to implement the path determination method based on a 3D printing system according to any one of claims 1 to 7 when executing a computer program stored in the memory.
17. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the path determination method based on the 3D printing system according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Optimization method and system of lattice support, computer equipment, medium and computer program product
CN121245001A