Method for manufacturing target object, determination apparatus, computer-readable storage medium, and electronic device
By optimizing the support structure design of 3D printing, the problems of three-dimensional models falling off and low accuracy during the printing process are solved, achieving higher success rate and accuracy, while reducing material consumption.
Patent Information
- Application Number
- PCT/CN2024/135865
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-07
- Filing Date
- 2024-11-29
- Publication Date
- 2025-07-03
AI Technical Summary
In the existing 3D printing technology, unreasonable support structure design leads to problems such as the three-dimensional model being easily shedded and the molding accuracy is low.
By obtaining the data files and material attribute parameters of the three-dimensional model, a finite element model of the initial support structure is generated, and the stress intensity conditions are determined and adjusted to optimize the support structure design.
It improves the printing success rate and molding accuracy of the three-dimensional model, reduces redundant support structures, and saves printing materials.
Smart Images

Figure CN2024135865_03072025_PF_FP_ABST
Abstract
Description
Method for manufacturing target object, determination device, computer-readable storage medium, and electronic device
[0001] Related Application
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 7, 2024, with application number 202410175111X, and invention name “Method, device and electronic device for determining support data of three-dimensional model”, and the Chinese patent application filed with the China Patent Office on December 29, 2023, with application number 2023118741549, and invention name “Method, device, storage medium and electronic device for determining support structure”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of 3D printing structure optimization, and in particular to a method for manufacturing a target object, a determination device, a computer-readable storage medium, and an electronic device. Background Art
[0004] 3D printing is an additive manufacturing technology that creates three-dimensional objects by layering materials. It overcomes structural obstacles currently unattainable with traditional machining, enabling the simplified production of arbitrarily complex components. While current 3D printing technologies vary widely, and the details of their implementation vary significantly, adding additional support structures to improve the success rate of model printing is almost a necessary step in the molding process. A poorly designed support structure, such as insufficient support, directly impacts the accuracy and success rate of printed models.
[0005] With the maturity of structural simulation CAE (Computer Aided Engineering) technology and the development of 3D printing, research on resolving 3D printing-related process difficulties based on mechanical simulation methods has become a hot topic. In DLP (Digital Light Processing) 3D printing, guiding support structure design based on support mechanical property simulation methods is highly effective and meaningful. Currently, there are many types of support structures, including tree fork, scaffolding, and column types, but most are generated based on model geometry and practical experience, and currently lack accurate and reasonable evaluation methods.
[0006] Currently, most support structure designs rely on a combination of geometric feature detection and empirical experience. This involves roughly determining the location of support structure contact points by examining the model's printability characteristics, and then adjusting the density of supports through extensive 3D printing practice. For example, if an angle greater than 45° is detected between the model's outline and the vertical, supports are then placed at equal intervals or with other custom distributions on inclined surfaces, or manually based on empirical experience.
[0007] Existing support determination methods rely solely on geometric analysis, adding supports by detecting the printability of the model's geometric features. While these methods incorporate optimizations based on practical 3D printing experience, they remain overly simplistic and fail to address the fundamental structural performance issues. The support structures generated by these methods often suffer from issues such as irrational topology, structural redundancy, low molding efficiency, and poor precision.
[0008] Furthermore, when 3D printing is used to construct complex 3D objects under the constraints of gravity, it is often necessary to start from the location with the lowest gravitational potential energy and work backwards in the opposite direction of gravity. The fundamental reason for this is that local objects cannot maintain their original positions under the constraints of gravity. In this case, a support structure that can self-support from a fixed position is needed to maintain the object's position in space.
[0009] In the actual construction process, in addition to gravity constraints, there are often more environmental constraints that affect the conditions for self-support. Just as the support is still a three-dimensional object, it will be affected by the material or physical stress inside the object. Therefore, a support form that can adapt to complex stress conditions is needed for application in the complex field of three-dimensional printing.
[0010] Conventional supports typically use independent cylindrical shapes as their foundation. However, the taller the cylinder, the less effective the radius is in resisting stress. Related technologies also present a technical problem: when printing 3D models based on 3D printing data that includes support data, the printed 3D models suffer from unstable support conditions.
[0011] To address the above-mentioned problems, no effective solutions have been proposed so far.
[0012] Application Contents
[0013] The purpose of the embodiments of the present application is to provide a method for manufacturing a target object, a determination device, a computer-readable storage medium and an electronic device, so as to at least solve the problem that the support structure determined by the prior art is unreasonable, which causes the three-dimensional model to fall off easily during the 3D printing process.
[0014] The purpose of the embodiments of the present application is also to provide a method, device and electronic device for determining support data of a three-dimensional model, so as to at least solve the technical problem in the related art that the support of the printed three-dimensional model is unstable when printing a three-dimensional model based on three-dimensional printing data including support data. Technical Solutions
[0015] The technical solution adopted in the embodiment of this application is:
[0016] In order to achieve the above-mentioned first purpose, the first aspect of an embodiment of the present application provides a method for manufacturing a target object, including: obtaining a data file and material property parameters of a printing model, where the printing model is a three-dimensional digital model of the target object to be printed; generating an initial support structure and a target finite element model including the initial support structure based on the data file and the material property parameters; determining whether the target finite element model meets the stress intensity condition; if the target finite element model does not meet the stress intensity condition, adjusting the initial support structure in the target finite element model so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining the target support structure; and performing 3D printing on the printing model based on the target support structure, thereby obtaining an entity including the support structure and the printing model.
[0017] In some embodiments, an initial support structure and a target finite element model including the initial support structure are generated according to a data file and material property parameters, including: generating a finite element model of a printed model according to the data file and material property parameters to obtain a first finite element model; generating a parametric file of the initial support structure according to the data file, the initial support structure being a structure that supports the printed model during the printing process; generating a finite element model of the initial support structure according to the parametric file to obtain a second finite element model; merging the first finite element model and the second finite element model according to the parametric file to obtain a target finite element model including the initial support structure and the printed model.
[0018] In some embodiments, generating a finite element model of the initial support structure according to the parameterized file to obtain a second finite element model includes: dividing and modeling the initial support structure according to the parameterized file to obtain the second finite element model.
[0019] In some embodiments, a first finite element model and a second finite element model are merged according to a parameterized file to obtain a target finite element model including an initial support structure and a printed model, including: determining the position coordinates of the connection node between the initial support structure and the printed model according to the parameterized file to obtain the contact position coordinates; determining the polyhedron unit in the first finite element model that is closest to the connection node according to the contact position coordinates to obtain the target polyhedron unit; utilizing the multi-point constraint equation in the finite element method to couple and transfer the mechanical relationship between the target polyhedron unit and the second finite element model to obtain the initial finite element model; applying boundary constraints and load constraints to the initial finite element model to obtain the target finite element model.
[0020] In some embodiments, based on the contact position coordinates, the polyhedral unit in the first finite element model that is closest to the connection node is determined to obtain the target polyhedral unit, including: based on the contact position coordinates, using an algorithm for constructing a kd tree to determine the polyhedral unit in the first finite element model that is closest to the connection node to obtain the target polyhedral unit.
[0021] In some embodiments, determining whether the target finite element model meets the stress intensity condition includes: calculating the stress of all nodes in the target finite element model to obtain a target stress distribution, and calculating the displacement deformation of all nodes in the target finite element model according to the data file to obtain a target displacement distribution, wherein the displacement deformation includes the displacement of the corresponding nodes in the printed model and the target finite element model, and the displacement of the corresponding nodes in the initial support structure and the target finite element model; determining whether the target finite element model meets the stress intensity condition based on the target stress distribution and the target displacement distribution, and determining that the nodes in the target finite element model meet the stress intensity condition when the stress of the nodes in the target finite element model is less than or equal to the yield stress of the material.
[0022] In some embodiments, a finite element model of the printed model is generated according to the data file and material property parameters to obtain a first finite element model, including: meshing the printed model according to the data file to obtain mesh model data; and constructing a finite element model of the printed model using polyhedron units according to the mesh model data and material property parameters to obtain the first finite element model.
[0023] In some embodiments, adjusting the initial support structure in the target finite element model includes adding and deleting connecting rods in the initial support structure in the target finite element model according to nodes in the target finite element model that do not meet stress strength conditions.
[0024] In some embodiments, the parametric file includes support data corresponding to the three-dimensional model; based on the data file, a parametric file of an initial support structure is generated, where the initial support structure is a structure that supports the printed model during the printing process, including:
[0025] According to a data file of a three-dimensional model, wherein the three-dimensional model is located in a voxel space formed by an X-axis, a Y-axis, and a Z-axis, and the voxel space includes a plurality of voxels; a target source voxel is determined from the plurality of voxels; a target secondary voxel corresponding to the target source voxel is determined in the negative direction of the Z-axis; a voxel type judgment is performed on the target secondary voxel to determine the voxel type result of the target secondary voxel; and support data corresponding to the three-dimensional model is obtained based on the voxel type result.
[0026] In some embodiments, determining a target source voxel from a plurality of voxels includes: obtaining a support point corresponding to a three-dimensional model; determining a target voxel vertex corresponding to the support point; and determining a target source voxel corresponding to the target voxel vertex from a plurality of voxels.
[0027] In some embodiments, support data corresponding to the three-dimensional model is obtained based on the voxel type result, including: determining the next level of voxels based on whether the voxel type result is a blocking voxel type result, until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained.
[0028] In some embodiments, based on whether the voxel type result is a blocking voxel type, the next level of voxels is determined until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained, including: when the voxel type of the target secondary voxel is a blocking voxel type, determining the target adjacent voxel corresponding to the target secondary voxel, wherein the Z coordinate corresponding to the target adjacent voxel is the same as the Z coordinate corresponding to the target secondary voxel; using the target adjacent voxel as a new source voxel to determine the next level of voxels, until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data is obtained, wherein the base plate coordinate is the smallest coordinate of the three-dimensional model in the Z-axis direction.
[0029] In some embodiments, determining a target neighboring voxel corresponding to a target sub-voxel includes: determining at least one candidate neighboring voxel corresponding to the target sub-voxel, wherein the Z coordinate corresponding to the at least one candidate neighboring voxel is the same as the Z coordinate corresponding to the target sub-voxel, and the distance between the at least one candidate neighboring voxel and the target sub-voxel is less than a first predetermined threshold; and determining the target neighboring voxel from the at least one candidate neighboring voxel.
[0030] In some embodiments, the next level voxel is determined based on whether the voxel type result is a blocking voxel type, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and support data corresponding to the three-dimensional model is obtained, including: when the voxel type of the target secondary voxel is not a blocking voxel type, the voxel directly below the target secondary voxel is determined as the next level voxel, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and support data is obtained.
[0031] In some embodiments, based on whether the voxel type result is a type result of a blocking voxel type, the next level voxel is determined until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and before the support data corresponding to the three-dimensional model is obtained, it also includes: when the support point includes the model outer surface support point and the model inner surface support point, and the base plate coordinate includes the first base plate coordinate and the second base plate coordinate, the first base plate coordinate corresponding to the model outer surface support point is determined, and the second base plate coordinate corresponding to the model inner surface support point is determined, wherein the first base plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction, and the second base plate coordinate is the minimum coordinate of the hollow space inside the three-dimensional model in the Z-axis direction.
[0032] In some embodiments, determining a target voxel vertex corresponding to a support point includes: determining at least one candidate voxel vertex corresponding to the support point, wherein a distance between at least one candidate voxel vertex and the support point is less than a second predetermined threshold; and determining a target voxel vertex from the at least one candidate voxel vertex.
[0033] In some embodiments, determining a target voxel vertex from at least one candidate voxel vertex includes: determining the number of supported times corresponding to at least one candidate voxel vertex; and determining a target voxel vertex from at least one candidate voxel vertex based on the number of supported times corresponding to at least one candidate voxel vertex.
[0034] In some embodiments, determining a target voxel vertex from at least one candidate voxel vertex includes: determining connection parameters of at least one candidate voxel vertex connected to a support point; and determining a target voxel vertex from at least one candidate voxel vertex based on the connection parameters of at least one candidate voxel vertex connected to a support point.
[0035] In some embodiments, determining a target source voxel corresponding to a target voxel vertex from a plurality of voxels includes: determining at least one candidate source voxel corresponding to the target voxel vertex from a plurality of voxels, wherein the Z coordinate corresponding to the at least one candidate source voxel is less than or equal to the Z coordinate corresponding to the target voxel vertex; and determining the target source voxel from the at least one candidate source voxel.
[0036] In some embodiments, after determining the target source voxel from multiple voxels, it also includes: determining whether the target secondary voxel corresponding to the target source voxel can be determined in the negative direction of the Z axis; if the determination result is that the target secondary voxel corresponding to the target source voxel cannot be determined, determining the connecting rod data connected to the predetermined surface by the support point.
[0037] In some embodiments, the connecting rod shape represented by the connecting rod data is a shape of hemispherical ends with a cylindrical center.
[0038] In some embodiments, the support point and the target voxel data are connected via a frustum-shaped connector. The frustum-shaped connector includes a cusp and a bottom surface. The cusp is connected to the support point, and the bottom surface is connected to the target voxel data.
[0039] In some embodiments, the radius of the bottom surface is the same as the radius of the cylinder corresponding to the target voxel data.
[0040] In some embodiments, the voxel is a hollow voxel, and the target surface of the voxel is formed by two cylinders intersecting on a diagonal line.
[0041] In some embodiments, the resolution of the voxels is greater than a predetermined multiple of the radius of the cylinder.
[0042] In some embodiments, the radius of the cylinder is determined according to the distance between the corresponding voxel and the three-dimensional model, and the collision probability corresponding to the distance.
[0043] A second aspect of an embodiment of the present application provides a device for manufacturing a target object, including: an acquisition unit for acquiring a data file and material property parameters of a printing model, where the printing model is a three-dimensional model to be printed; a generation unit for generating an initial support structure and a target finite element model including the initial support structure based on the data file and the material property parameters; a determination unit for determining whether the target finite element model meets the stress strength condition; an adjustment unit for adjusting the initial support structure in the target finite element model when the target finite element model does not meet the stress strength condition, so that the adjusted target finite element model meets the stress strength condition and obtains the target support structure; and a printing unit for 3D printing the printing model according to the target support structure.
[0044] In some embodiments, the generation unit includes: a first generation subunit, used to generate a finite element model of the printing model according to the data file and material property parameters, to obtain a first finite element model; a second generation subunit, used to generate a parametric file of the initial support structure according to the data file, the initial support structure being a structure that supports the printing model during the printing process; a third generation subunit, used to generate a finite element model of the initial support structure according to the parametric file, to obtain a second finite element model; a merging subunit, used to merge the first finite element model and the second finite element model according to the parametric file, to obtain a target finite element model including the initial support structure and the printing model.
[0045] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for manufacturing a target object.
[0046] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of manufacturing a target object.
[0047] In order to achieve the above-mentioned second purpose, the fifth aspect of the embodiment of the present application provides a method for determining support data of a three-dimensional model, including: obtaining a three-dimensional model, wherein the three-dimensional model is located in a voxel space composed of an X-axis, a Y-axis, and a Z-axis, and the voxel space includes multiple voxels; determining a target source voxel from the multiple voxels; determining a target secondary voxel corresponding to the target source voxel in the negative direction of the Z-axis; performing voxel type judgment on the target secondary voxel to determine the voxel type result of the target secondary voxel; and obtaining support data corresponding to the three-dimensional model based on the voxel type result.
[0048] In some embodiments, determining a target source voxel from a plurality of voxels includes: obtaining a support point corresponding to a three-dimensional model; determining a target voxel vertex corresponding to the support point; and determining a target source voxel corresponding to the target voxel vertex from a plurality of voxels.
[0049] In some embodiments, support data corresponding to the three-dimensional model is obtained based on the voxel type result, including: determining the next level of voxels based on whether the voxel type result is a blocking voxel type result, until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained.
[0050] In some embodiments, based on whether the voxel type result is a blocking voxel type, the next level of voxels is determined until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained, including: when the voxel type of the target secondary voxel is a blocking voxel type, determining the target adjacent voxel corresponding to the target secondary voxel, wherein the Z coordinate corresponding to the target adjacent voxel is the same as the Z coordinate corresponding to the target secondary voxel; using the target adjacent voxel as a new source voxel to determine the next level of voxels, until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data is obtained, wherein the base plate coordinate is the smallest coordinate of the three-dimensional model in the Z-axis direction.
[0051] In some embodiments, determining a target neighboring voxel corresponding to a target sub-voxel includes: determining at least one candidate neighboring voxel corresponding to the target sub-voxel, wherein the Z coordinate corresponding to the at least one candidate neighboring voxel is the same as the Z coordinate corresponding to the target sub-voxel, and the distance between the at least one candidate neighboring voxel and the target sub-voxel is less than a first predetermined threshold; and determining the target neighboring voxel from the at least one candidate neighboring voxel.
[0052] In some embodiments, the next level voxel is determined based on whether the voxel type result is a blocking voxel type, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and support data corresponding to the three-dimensional model is obtained, including: when the type result is that the voxel type of the target secondary voxel is not a blocking voxel type, the voxel directly below the target secondary voxel is determined as the next level voxel, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and support data is obtained.
[0053] In some embodiments, based on whether the voxel type result is a type result of a blocking voxel type, the next level voxel is determined until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and before the support data corresponding to the three-dimensional model is obtained, it also includes: when the support point includes the model outer surface support point and the model inner surface support point, and the base plate coordinate includes the first base plate coordinate and the second base plate coordinate, the first base plate coordinate corresponding to the model outer surface support point is determined, and the second base plate coordinate corresponding to the model inner surface support point is determined, wherein the first base plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction, and the second base plate coordinate is the minimum coordinate of the hollow space inside the three-dimensional model in the Z-axis direction.
[0054] In some embodiments, determining a target voxel vertex corresponding to a support point includes: determining at least one candidate voxel vertex corresponding to the support point, wherein a distance between at least one candidate voxel vertex and the support point is less than a second predetermined threshold; and determining a target voxel vertex from the at least one candidate voxel vertex.
[0055] In some embodiments, determining a target voxel vertex from at least one candidate voxel vertex includes: determining the number of supported times corresponding to at least one candidate voxel vertex; and determining a target voxel vertex from at least one candidate voxel vertex based on the number of supported times corresponding to at least one candidate voxel vertex.
[0056] In some embodiments, determining a target voxel vertex from at least one candidate voxel vertex includes: determining connection parameters of at least one candidate voxel vertex connected to a support point; and determining a target voxel vertex from at least one candidate voxel vertex based on the connection parameters of at least one candidate voxel vertex connected to a support point.
[0057] In some embodiments, determining a target source voxel corresponding to a target voxel vertex from a plurality of voxels includes: determining at least one candidate source voxel corresponding to a target voxel vertex from a plurality of voxels, wherein the Z coordinate corresponding to the at least one candidate source voxel is less than or equal to the Z coordinate corresponding to the target voxel vertex; and determining the target source voxel from the at least one candidate source voxel.
[0058] In some embodiments, after determining the target source voxel corresponding to the target voxel vertex from multiple voxels, it also includes: determining whether the target secondary voxel corresponding to the target source voxel can be determined in the negative direction of the Z axis; if the determination result is that the target secondary voxel corresponding to the target source voxel cannot be determined, determining the connecting rod data connected to the predetermined surface by the support point.
[0059] In some embodiments, the connecting rod shape represented by the connecting rod data is a shape of hemispherical ends with a cylindrical center.
[0060] In some embodiments, the support point and the target voxel data are connected via a frustum-shaped connector. The frustum-shaped connector includes a cusp and a bottom surface. The cusp is connected to the support point, and the bottom surface is connected to the target voxel data.
[0061] In some embodiments, the radius of the bottom surface is the same as the radius of the cylinder corresponding to the target voxel data.
[0062] In some embodiments, the voxel is a hollow voxel, and the target surface of the voxel is formed by two cylinders intersecting on a diagonal line.
[0063] In some embodiments, the resolution of the voxels is greater than a predetermined multiple of the radius of the cylinder.
[0064] In some embodiments, the radius of the cylinder is determined according to the distance between the corresponding voxel and the three-dimensional model, and the collision probability corresponding to the distance.
[0065] According to a sixth aspect of an embodiment of the present application, a device for determining support data of a three-dimensional model is provided, comprising: a first acquisition module for acquiring a three-dimensional model, wherein the three-dimensional model is located in a voxel space formed by an X-axis, a Y-axis, and a Z-axis, and the voxel space includes multiple voxels; a first determination module for determining a target source voxel from multiple voxels; a second determination module for determining a target secondary voxel corresponding to the target source voxel in the negative direction of the Z-axis; a third determination module for performing voxel type judgment on the target secondary voxel and determining the voxel type result of the target secondary voxel; and a fourth determination module for obtaining support data corresponding to the three-dimensional model based on the voxel type result.
[0066] According to a seventh aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement any of the above-mentioned methods for determining support data of a three-dimensional model.
[0067] In an eighth aspect of an embodiment of the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned methods for determining support data of a three-dimensional model. Beneficial effects
[0068] The beneficial effect of the first aspect provided by the embodiment of the present application is: applying the technical solution of the present application, first obtaining the data file and material property parameters of the three-dimensional model to be printed, and then generating an initial support structure and a target finite element model including the initial support structure based on the data file and the material property parameters; then determining whether the target finite element model meets the stress intensity condition; when the target finite element model does not meet the stress intensity condition, adjusting the initial support structure in the target finite element model so that the adjusted target finite element model meets the stress intensity condition, and obtaining the target support structure; finally, 3D printing the print model according to the target support structure. Compared with the prior art, in which the support structure is difficult to analyze efficiently and accurately, resulting in unreasonable design, which leads to various problems in the 3D printing process, the present application generates an initial support structure and a target finite element model including the initial support structure based on the data file and material property parameters of the printing model, and determines whether the stress strength conditions are met in the target finite element model. If not, the initial support structure in the target finite element model is adjusted to ensure that the target support structure obtained is better. In other words, the support structure design of the model can be guided by the actual force results of the model and the support, and it can be judged whether the support structure design is reasonable and whether the strength is sufficient to support the model to ensure successful model printing. That is, it avoids the 3D model from falling off due to unreasonable support structure during the 3D printing process, ensures that the 3D model does not fall off the plate, and effectively improves the model deformation caused by insufficient support structure, ensuring that the final printed 3D model has high accuracy. In addition, through the technical solution of the present application, while rationally designing the support structure, it can be determined whether there is redundant support structure, thereby reducing the redundant support structure in the model, thereby reducing the consumption of printing materials and saving costs.
[0069] The second beneficial effect provided by the embodiment of the present application is that: in the embodiment of the present application, a three-dimensional model is obtained, wherein the three-dimensional model is located in a voxel space composed of an X-axis, a Y-axis, and a Z-axis, and the voxel space includes a plurality of voxels; a target source voxel is determined from the plurality of voxels; a target secondary voxel corresponding to the target source voxel is determined in the negative direction of the Z-axis; a voxel type judgment is performed on the target secondary voxel to determine the voxel type result of the target secondary voxel; and support data corresponding to the three-dimensional model is obtained based on the voxel type result. Through the above steps, the voxels used for support are determined step by step, thereby obtaining support data, and support is added to the three-dimensional model based on the support data. After the support addition is completed, the printing data of the three-dimensional model is generated, and the three-dimensional model is printed based on the printing data of the three-dimensional model. Through the above method, when the three-dimensional model is printed according to the printing data, the support of the printed three-dimensional model will be more stable, thereby solving the technical problem in the related art that the support of the printed three-dimensional model is unstable when the three-dimensional printing data including the support data is printed. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or exemplary technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0071] FIG1 shows a hardware structure block diagram of a mobile terminal for executing a method for manufacturing a target object provided in an embodiment of the present application;
[0072] FIG2 is a schematic flow chart showing a method for manufacturing a target object according to an embodiment of the present application;
[0073] FIG3 shows a schematic diagram of a process for merging a first finite element model and a second finite element model according to an embodiment of the present application;
[0074] FIG4 shows a schematic diagram of the light-curing process principle of DLP 3D printing provided in an embodiment of the present application;
[0075] FIG5 shows a target displacement distribution result diagram of a mechanical simulation of a printed model and an initial support structure according to an embodiment of the present application;
[0076] FIG6 shows a target stress distribution result diagram of a mechanical simulation of a printed model and an initial support structure provided according to an embodiment of the present application;
[0077] FIG7 shows a schematic flow chart of a specific method for manufacturing a target object according to an embodiment of the present application;
[0078] FIG8 shows a structural block diagram of an apparatus for manufacturing a target object according to an embodiment of the present application;
[0079] FIG9 is a flowchart of a method for determining support data of a three-dimensional model according to an embodiment of the present application;
[0080] FIG10 is a schematic diagram of a model provided in an optional embodiment of the present application;
[0081] FIG11 is a schematic diagram of a partial flow voxel waterfall (support body) on the outer surface of a model provided in an optional embodiment of the present application;
[0082] FIG12 is a schematic diagram of a voxel waterfall of a flow on the outer surface of a model provided in an optional embodiment of the present application;
[0083] FIG13 is a schematic diagram of a flow voxel waterfall on a local portion of the outer surface of a model provided in an optional embodiment of the present application;
[0084] FIG14 is a schematic diagram of a local flow voxel waterfall inside a model provided in an optional embodiment of the present application;
[0085] FIG15 is a schematic diagram showing the relationship between support points and voxels provided in an optional embodiment of the present application;
[0086] FIG16 is a schematic diagram of the number of times a voxel is supported corresponding to an optional embodiment of the present application;
[0087] FIG17 is a schematic diagram showing the direction of voxels when the voxel type of the target secondary voxel is a blocking voxel type, provided in an optional embodiment of the present application;
[0088] FIG18 is a schematic diagram of a connector provided in an optional embodiment of the present application connected to a surface of an object;
[0089] FIG19 is a comparison diagram of simplified and non-simplified voxel data provided in an optional embodiment of the present application;
[0090] FIG20 is a comparison diagram of simplified and non-simplified model voxel data provided in an optional embodiment of the present application;
[0091] FIG21 is a schematic diagram of simplified and non-simplified voxel data including print data provided by an optional embodiment of the present application;
[0092] FIG22 is a voxel data overlap comparison diagram provided in an optional embodiment of the present application;
[0093] FIG23 is a schematic diagram of a connector component provided in an optional embodiment of the present application;
[0094] FIG24 is a comparison diagram of different voxel resolutions provided in an optional embodiment of the present application;
[0095] FIG25 is a cross-sectional view of an optional embodiment of the present application in which the voxel resolution is equal to 8 times the radius of the cylinder;
[0096] FIG26 is a schematic diagram of a truncated cone-shaped connector provided in an optional embodiment of the present application;
[0097] FIG27 is a schematic diagram of another embodiment of the present invention including a truncated cone-shaped connector;
[0098] FIG28 is a schematic diagram of a frustum-shaped connector provided in an optional embodiment of the present application;
[0099] Figure 29 is a schematic diagram of a connector provided in an optional embodiment of the present application;
[0100] FIG30 is a top view of a model provided in an optional embodiment of the present application;
[0101] FIG31 is a schematic diagram of a base provided in an optional embodiment of the present application;
[0102] FIG32 is a structural block diagram of an apparatus for determining support data for a three-dimensional model according to an embodiment of the present application;
[0103] Among them, the above drawings include the following figure marks: 102, processor; 104, memory; 106, transmission device; 108, input and output device; 11, printer cover; 12, forming platform; 13, Z-axis assembly; 14, material tray; 15, protective glass; 16, light shield. DETAILED DESCRIPTION
[0104] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0105] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0106] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0107] As introduced in the background technology, the support structure determined in the prior art is unreasonable, which causes the three-dimensional model to easily fall off during the 3D printing process. To solve the above problem, the embodiments of the present application provide a method for manufacturing a target object, a determination device, a computer-readable storage medium and an electronic device.
[0108] The following is an introduction to the terms that appear in this application:
[0109] pwf: pixel waterfall, an alias for the support involved in this application, similar to the scaffolding-shaped support.
[0110] 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.
[0111] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of a method for manufacturing a target object in an embodiment of the present application. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0112] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method of manufacturing a target object in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices via a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0113] In this embodiment, a method for manufacturing a target object that runs on a mobile terminal, a computer terminal, or a similar computing device 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.
[0114] FIG2 is a flow chart of a method for manufacturing a target object according to an embodiment of the present application. As shown in FIG2 , the method includes the following steps:
[0115] Step S201, obtaining a data file and material property parameters of a printing model, where the printing model is a three-dimensional model to be printed;
[0116] Specifically, the above data file can be in STL (STereoLithography) data format or other data formats, depending on the calculation program of the simulation analysis, and this application does not impose any specific restrictions on this.
[0117] Specifically, for DLP 3D printing technology, although the photosensitive resin of the support structure and model is not 100% completely photocured in the actual molding process, considering the complexity of the resin material, the material properties of the photosensitive resin after complete photocuring can be approximated and then detailed corrections can be made through rigorous test comparisons at a later stage. Considering that the current application scenario can be approximated by linear static simulation analysis, in linear static simulation analysis, the elastic modulus and Poisson's ratio are physical property parameters that determine the material stress and strain of the model under load. Considering the influence of gravity, density parameters need to be provided. Therefore, the above-mentioned material property parameters include but are not limited to the elastic modulus, Poisson's ratio and density of the resin.
[0118] Step S202: generating an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters;
[0119] Specifically, the above-mentioned initial support structure can be generated from the printable geometric features of the model and a large amount of 3D printing practical experience.
[0120] Step S203, determining whether the target finite element model meets the stress intensity condition;
[0121] Step S204: If the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining a target support structure.
[0122] Step S205 : performing 3D printing on the printing model according to the target support structure.
[0123] Through the above embodiment, the data file and material property parameters of the three-dimensional model to be printed are first obtained, and then an initial support structure and a target finite element model including the initial support structure are generated according to the data file and the material property parameters; then, it is determined whether the target finite element model meets the stress intensity condition; when the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining the target support structure; finally, the printing model is 3D printed according to the target support structure. Compared with the prior art, in which the support structure is difficult to analyze efficiently and accurately, resulting in unreasonable design, which leads to various problems in the 3D printing process, the present application generates an initial support structure and a target finite element model including the initial support structure based on the data file and material property parameters of the printing model, and determines whether the stress strength conditions are met in the target finite element model. If not, the initial support structure in the target finite element model is adjusted to ensure that the target support structure obtained is better. In other words, the support structure design of the model can be guided by the actual force results of the model and the support, and it can be judged whether the support structure design is reasonable and whether the strength is sufficient to support the model to ensure successful model printing. That is, it avoids the 3D model from falling off due to unreasonable support structure during the 3D printing process, ensures that the 3D model does not fall off the plate, and effectively improves the model deformation caused by insufficient support structure, ensuring that the final printed 3D model has high accuracy. In addition, through the technical solution of the present application, while rationally designing the support structure, it can be determined whether there is redundant support structure, thereby reducing the redundant support structure in the model, thereby reducing the consumption of printing materials and saving costs.
[0124] In an optional solution, generating an initial support structure and a target finite element model including the initial support structure based on the data file and the material property parameters includes: generating a finite element model of the printed model based on the data file and the material property parameters to obtain a first finite element model; generating a parameterized file of the initial support structure based on the data file, wherein the initial support structure is a structure that supports the printed model during printing; generating the finite element model of the initial support structure based on the parameterized file to obtain a second finite element model; and merging the first finite element model and the second finite element model based on the parameterized file to obtain the target finite element model including the initial support structure and the printed model. In this embodiment, by separately establishing a finite element model of the printed model and a finite element model of the initial support structure, and then merging the first finite element model with the second finite element model to obtain the target finite element model, the obtained target finite element model is ensured to be more compatible, preparing for the subsequent determination of whether the target finite element model meets the stress strength conditions, further ensuring that the subsequent target support structure is better, thereby further ensuring the high accuracy of the final printed three-dimensional model, and further reducing the consumption of subsequent printing materials.
[0125] Specifically, the parameterized file includes a file characterizing the geometric features of the initial support structure and the connection relationship between the initial support structure and the printing model.
[0126] Specifically, the parametric file includes data information such as the connection relationship of the initial support structure, the positions of the connection nodes inside the initial support structure, the positions of the connection nodes between the initial support structure and the printed model, and the cross-sectional shape and size of the support rods between any two connection points of the initial support structure.
[0127] In other embodiments, generating the finite element model of the initial support structure according to the parametric file to obtain the second finite element model includes: dividing and modeling the initial support structure according to the parametric file to obtain the second finite element model. In this embodiment, dividing and modeling the initial support structure ensures that the process of generating the second finite element model is relatively simple and efficient, and also ensures that the process of subsequently merging the first finite element model and the second finite element model is relatively simple.
[0128] In actual applications, considering the slender beam characteristics of the initial support structure, one-dimensional Euler-Bernoulli beam elements can be used for rapid and simplified modeling. Of course, those skilled in the art can also use other element division methods for division and modeling, such as one-dimensional rod elements, etc., and this application does not impose specific limitations on this. In practice, it is only necessary to complete the element stiffness calculation of the initial support structure.
[0129] In other embodiments, the finite element model of the initial support structure is generated according to the parametric file to obtain a second finite element model, including: as shown in Figure 3, according to the parametric file, determining the position coordinates of the connection node between the initial support structure and the printed model to obtain the contact position coordinates; according to the contact position coordinates, determining the polyhedron unit in the first finite element model that is closest to the connection node to obtain the target polyhedron unit; using the multi-point constraint equation in the finite element method, coupling and transferring the mechanical relationship between the target polyhedron unit and the second finite element model to obtain the initial finite element model; applying boundary constraints and load constraints to the initial finite element model to obtain the target finite element model. In this embodiment, the position coordinates of the connection node between the initial support structure and the printed model are first determined, and then the polyhedron unit closest to the connection node in the first finite element model is determined based on the position coordinates. Then, the multi-point constraint equation is used to couple and transfer the mechanical relationship between the polyhedron unit and the second finite element model. Finally, boundary constraints and load constraints are applied to obtain the target finite element model, which ensures a good match between the first finite element unit and the second finite element unit during the merging process, that is, a good adaptability is ensured, further ensuring that the deformation of the printed model is more realistic and reasonable, and at the same time ensuring that the target finite element model can be better analyzed and adjusted subsequently.
[0130] Specifically, the above-mentioned polyhedral units can be tetrahedral units, hexahedral units, or other polyhedral units, which are specifically determined according to the grid division method of the printed model in the process of generating the first finite element model.
[0131] Specifically, the multi-point constraint equation in the finite element method is a linear relationship equation established between the degrees of freedom of different grids or different units, which realizes the mutual coupling and transmission of physical field information between the degrees of freedom of different models or different degrees of freedom of the same model. The multi-point constraint equation is the constraint relationship between the two degrees of freedom. The degree of freedom is the unknown quantity contained in the node of the calculation model unit in the finite element analysis. In the polyhedral unit in the first finite element model, each node contains 3 degrees of freedom, namely the displacement degrees of freedom in three directions (U x U y U z ), and each node in the one-dimensional beam element in the second finite element model contains 6 degrees of freedom, namely the displacement degrees of freedom in three directions (U x U y U z ), and the three degrees of rotational freedom (Rot x Rot y Rot z ).
[0132] Specifically, the boundary constraint is the type of constraint on the specified degree of freedom of the specified node in the finite element simulation analysis model, such as complete fixation, that is, the displacement in the three directions is zero (U x =U y =U z =0), and the rotation in the three directions is also zero (Rot x =Rot y =Rot z =0). Load constraints refer to the load conditions that the model needs to withstand in the finite element simulation analysis model. There are many types of load constraints, such as concentrated force, body force, distributed force, etc. Gravity is often included.
[0133] FIG4 is a schematic diagram of the principle of the light curing process of DLP 3D printing in this application. As can be seen from FIG4 , during the 3D printing process, the equipment required includes but is not limited to a printer cover 11, a molding platform 12, a Z-axis assembly 13, a material tray 14, a protective glass 15, and a light shield 16.
[0134] Specifically, during the 3D printing process, the bottom of the support structure is completely fixed to the build platform, moving slowly up and down with the DLP printer's lift, so dynamic effects can be ignored. This means that a fixed constraint is applied to the bottom of the initial support structure in the initial finite element model. There are two main load constraints: the model's own weight and the peeling force between each layer of liquid resin and the material tray after light curing during the DLP 3D molding process. Because the peeling force is primarily determined by the slice area, the calculation relationship was obtained through extensive internal testing and summary.
[0135] According to some exemplary embodiments of the present application, based on the contact position coordinates, determining the polyhedral unit in the first finite element model that is closest to the connection node to obtain the target polyhedral unit includes: based on the contact position coordinates, using an algorithm for constructing a kd tree to determine the polyhedral unit in the first finite element model that is closest to the connection node to obtain the target polyhedral unit. In this embodiment, an algorithm for constructing a kd tree is used to determine the polyhedral unit in the first finite element model that is closest to the connection node. Since the kd tree can conveniently store the surface nodes of the first finite element model and the end contact points of the second finite element model, it is possible to more efficiently find the nearest model surface node that best fits each support point, thereby further ensuring that the merging process is relatively fast.
[0136] Specifically, considering that the number of nodes of the surface unit of the first finite element model is large, an algorithm for constructing a kd tree is adopted.
[0137] In another exemplary embodiment, determining whether the target finite element model meets the stress intensity condition includes: calculating the stress of all nodes in the target finite element model to obtain a target stress distribution, and calculating the displacement deformation of all nodes in the target finite element model according to the data file to obtain a target displacement distribution, wherein the displacement deformation includes the displacement of the corresponding nodes in the printed model and the target finite element model, and the displacement of the corresponding nodes in the initial support structure and the target finite element model; determining whether the target finite element model meets the stress intensity condition based on the target stress distribution and the target displacement distribution, and determining that the nodes in the target finite element model meet the stress intensity condition when the stress of the nodes in the target finite element model is less than or equal to the yield stress of the material. In this embodiment, the stress and displacement deformation of all nodes in the target finite element model are calculated to obtain the target stress distribution and target displacement distribution. Then, based on the target stress distribution and target displacement distribution, it is determined whether the target finite element model meets the stress intensity condition. When the stress of the node is less than or equal to the yield stress of the material, it is determined that the node meets the stress intensity condition. This can more accurately determine whether the node meets the stress intensity condition. At the same time, the specific location of the node that does not meet the stress intensity condition can also be determined, preparing for subsequent adjustment of the initial support structure in the target finite element model based on the result.
[0138] Specifically, if the target finite element model contains nodes that meet the stress intensity condition at a preset percentage or more, the target finite element model is determined to meet the stress intensity condition. The preset percentage can be 80%, 85%, 90%, 95%, 98%, or other percentages. In actual application, those skilled in the art can set the preset percentage based on empirical values or obtain the result through multiple experiments, and this application does not impose any specific restrictions on this.
[0139] Specifically, the above stress intensity condition can be the von Mises yield criterion or other types of stress intensity conditions. Those skilled in the art can flexibly select appropriate stress intensity conditions according to actual needs, and this application does not impose any specific restrictions on this.
[0140] The formula for the von Mises yield criterion is: Among them, the left side of the above formula is the von Mises stress of the node, the right side is the yield stress of the material, and σ1, σ2 and σ3 are the principal stresses of the node in each direction.
[0141] Figure 5 is a target displacement distribution result diagram of the mechanical simulation of the printed model and the initial support structure in this application. In Figure 5, different grayscale values represent different displacement variables; Figure 6 is a target stress distribution result diagram of the mechanical simulation of the printed model and the initial support structure in this application. Different grayscale values represent different sizes of von Mises stress.
[0142] Specifically, a strength check can be performed on the target finite element model to identify potential risk areas within the printed model and support structure. For example, by designing with a certain safety margin, locations where the ratio of stress to the tensile and compressive strength of the resin material reaches 90% can be detected. By adjusting the upper limit of the displacement and stress display to the risk threshold, risk areas within the printed model and support structure can be easily identified.
[0143] According to other exemplary embodiments of the present application, a finite element model of the printed model is generated based on the data file and the material property parameters to obtain a first finite element model, including: meshing the printed model based on the data file to obtain mesh model data; and constructing the finite element model of the printed model using polyhedron units based on the mesh model data and the material property parameters to obtain the first finite element model. In this embodiment, meshing the printed model to obtain mesh model data, and then constructing the finite element model of the printed model using polyhedron units based on the mesh model data and the material property parameters to obtain the first finite element model, can divide the originally complex printed model into a relatively concise and clear finite element model, preparing for the subsequent more convenient merging of the printed model with the initial support structure.
[0144] Specifically, meshing the printed model uses tetrahedral unstructured meshes, which are highly adaptable and automated, given the geometric complexity of the printed model. Because finite element analysis (FEA) requires high mesh quality, surface mesh reconstruction is performed before volume meshing, ultimately resulting in a better volume mesh model. Using tetrahedral elements to construct the FEA model of the printed model only requires calculating the element stiffness of the printed model.
[0145] Of course, in addition to using tetrahedral unstructured grids to divide the printed model, hexahedral structured grids can also be used. This application does not limit the specific grid division algorithm as long as it can meet the conditions for constructing the finite element model.
[0146] In some other optional solutions of the present application, the initial support structure in the target finite element model is adjusted, including: adding and deleting connecting rods in the initial support structure in the target finite element model according to the nodes in the target finite element model that do not meet the stress intensity conditions. In this embodiment, adding and deleting connecting rods in the initial support structure in the target finite element model according to the nodes that do not meet the stress intensity conditions can minimize the occurrence of insufficient support rods in the final target support structure, and can also minimize the occurrence of a large number of redundant support rods, thereby further ensuring that the target support structure is relatively reasonable.
[0147] Specifically, if there are risk nodes on the surface of the printed model, that is, the lack of support on the surface of the printed model leads to high stress, it is necessary to add individual support connecting rods manually or using an automatic algorithm; if there are risk nodes in the initial support structure, that is, the stress of the initial support structure reaches the upper limit, it is necessary to add individual support connecting rods around the risk node manually or using an automatic algorithm; if some support nodes are subjected to very small forces or even almost zero, this section of connecting rods can be ignored. This operation can be achieved by automatically marking invalid rods by the program, and multiplying the stiffness matrix of the beam unit section by a very small number, and finally modifying the parametric file of the original input initial support structure.
[0148] The addition and deletion of the initial support structure can be controlled independently. This feature can be enabled if you wish to optimize the material cost of the initial support structure. After manually or automatically adding rods and automatically deleting redundant connecting rods, an updated initial support structure is obtained. Step S203 is then executed to update the finite element model only for the changed local support data. Finally, new simulation results are obtained until risk-free nodes are found.
[0149] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for manufacturing a target object of the present application will be described in detail below with reference to specific embodiments.
[0150] This embodiment relates to a specific method for manufacturing a target object, as shown in FIG7 , including the following steps:
[0151] Step S1: obtaining a data file and material property parameters of a printing model, where the printing model is a three-dimensional model to be printed;
[0152] Step S2: Meshing the printed model according to the data file to obtain mesh model data; constructing a finite element model of the printed model using polyhedral units based on the mesh model data and material property parameters to obtain a first finite element model;
[0153] Step S3: Generate a parameterized file of an initial support structure based on the data file. The initial support structure is a structure that supports the printed model during the printing process. The parameterized file includes a file that characterizes the geometric features of the initial support structure and the connection relationship between the initial support structure and the printed model.
[0154] Step S4: According to the parameterized file, the initial support structure is divided and modeled using one-dimensional beam elements to obtain a second finite element model;
[0155] Step S5: merging the first finite element model and the second finite element model according to the parameterized file to obtain a target finite element model including an initial support structure and a printed model;
[0156] Step S6: Determine whether the target finite element model meets the stress intensity condition;
[0157] Step S7: If the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted so that all nodes in the adjusted target finite element model meet the stress intensity condition, thereby obtaining the target support structure;
[0158] Step S8: Perform 3D printing on the printing model according to the target support structure.
[0159] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0160] The present application also provides a device for manufacturing a target object. It should be noted that the device for manufacturing a target object of the embodiment of the present application can be used to execute the method for manufacturing a target object provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred embodiments, and the details that have been described will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
[0161] The following introduces the device for manufacturing a target object provided in an embodiment of the present application.
[0162] FIG8 is a schematic diagram of a device for manufacturing a target object according to an embodiment of the present application. As shown in FIG8 , the device includes:
[0163] An acquisition unit 10 is used to acquire a data file and material property parameters of a printing model, where the printing model is a three-dimensional model to be printed;
[0164] Specifically, the above data file can be in STL (STereoLithography) data format or other data formats, depending on the calculation program of the simulation analysis, and this application does not impose any specific restrictions on this.
[0165] Specifically, for DLP 3D printing technology, although the photosensitive resin of the support structure and model is not 100% completely photocured in the actual molding process, considering the complexity of the resin material, the material properties of the photosensitive resin after complete photocuring can be approximated and then detailed corrections can be made through rigorous test comparisons at a later stage. Considering that the current application scenario can be approximated by linear static simulation analysis, in linear static simulation analysis, the elastic modulus and Poisson's ratio are physical property parameters that determine the material stress and strain of the model under load. Considering the influence of gravity, density parameters need to be provided. Therefore, the above-mentioned material property parameters include but are not limited to the elastic modulus, Poisson's ratio and density of the resin.
[0166] A generating unit 20 is configured to generate an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters;
[0167] Specifically, the above-mentioned initial support structure can be generated from the printable geometric features of the model and a large amount of 3D printing practical experience.
[0168] A determination unit 30 is used to determine whether the target finite element model meets the stress intensity condition;
[0169] An adjusting unit 40 is configured to adjust the initial support structure in the target finite element model when the target finite element model does not meet the stress intensity condition, so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining a target support structure;
[0170] The printing unit 50 is used to perform 3D printing on the printing model according to the target support structure.
[0171] Through the above embodiment, the data file and material property parameters of the three-dimensional model to be printed are acquired by the acquisition unit, and the initial support structure and the target finite element model including the initial support structure are generated according to the data file and the material property parameters by the generation unit; the target finite element model is determined by the determination unit to determine whether it meets the stress intensity condition; when the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted by the adjustment unit so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining the target support structure; and the printing model is 3D printed according to the target support structure by the printing unit. Compared with the prior art, in which the support structure is difficult to analyze efficiently and accurately, resulting in unreasonable design, which leads to various problems in the 3D printing process, the present application generates an initial support structure and a target finite element model including the initial support structure based on the data file and material property parameters of the printing model, and determines whether the stress strength conditions are met in the target finite element model. If not, the initial support structure in the target finite element model is adjusted to ensure that the target support structure obtained is better. In other words, the support structure design of the model can be guided by the actual force results of the model and the support, and it can be judged whether the support structure design is reasonable and whether the strength is sufficient to support the model to ensure successful model printing. That is, it avoids the 3D model from falling off due to unreasonable support structure during the 3D printing process, ensures that the 3D model does not fall off the plate, and effectively improves the model deformation caused by insufficient support structure, ensuring that the final printed 3D model has high accuracy. In addition, through the technical solution of the present application, while rationally designing the support structure, it can be determined whether there is redundant support structure, thereby reducing the redundant support structure in the model, thereby reducing the consumption of printing materials and saving costs.
[0172] In an optional solution, the generation unit includes: a first generation subunit for generating a finite element model of the printed model based on the data file and the material property parameters to obtain a first finite element model; a second generation subunit for generating a parameterized file of the initial support structure based on the data file, the initial support structure being a structure that supports the printed model during the printing process; a third generation subunit for generating the finite element model of the initial support structure based on the parameterized file to obtain a second finite element model; and a merging subunit for merging the first finite element model and the second finite element model based on the parameterized file to obtain the target finite element model including the initial support structure and the printed model. In this embodiment, by separately establishing the finite element model of the printed model and the finite element model of the initial support structure, and then merging the first finite element model with the second finite element model to obtain the target finite element model, the obtained target finite element model is ensured to be more suitable, which prepares for the subsequent determination of whether the target finite element model meets the stress strength conditions, further ensures that the subsequent target support structure is better, thereby further ensuring the high accuracy of the final printed three-dimensional model, and further reducing the consumption of subsequent printing materials.
[0173] Specifically, the parameterized file includes a file characterizing the geometric features of the initial support structure and the connection relationship between the initial support structure and the printing model.
[0174] Specifically, the parametric file includes data information such as the connection relationship of the initial support structure, the positions of the connection nodes inside the initial support structure, the positions of the connection nodes between the initial support structure and the printed model, and the cross-sectional shape and size of the support rods between any two connection points of the initial support structure.
[0175] In other embodiments, the third generation subunit includes a first partitioning module configured to partition and model the initial support structure based on the parameterized file to obtain the second finite element model. In this embodiment, partitioning and modeling the initial support structure ensures a simple and efficient process for generating the second finite element model, and also facilitates the subsequent merging of the first and second finite element models.
[0176] In actual applications, considering the slender beam characteristics of the initial support structure, one-dimensional Euler-Bernoulli beam elements can be used for rapid and simplified modeling. Of course, those skilled in the art can also use other element division methods for division and modeling, such as one-dimensional rod elements, etc., and this application does not impose specific limitations on this. In practice, it is only necessary to complete the element stiffness calculation of the initial support structure.
[0177] In other embodiments, the third generation subunit includes: a first determination module, used to determine the position coordinates of the connection node between the initial support structure and the printed model according to the parameterized file, and obtain the contact position coordinates; a second determination module, used to determine the polyhedron unit in the first finite element model that is closest to the connection node according to the contact position coordinates, and obtain the target polyhedron unit; a coupling module, used to use the multi-point constraint equation in the finite element method to couple and transfer the mechanical relationship between the target polyhedron unit and the second finite element model, and obtain the initial finite element model; a constraint module, used to apply boundary constraints and load constraints to the initial finite element model, and obtain the target finite element model. In this embodiment, the position coordinates of the connection node between the initial support structure and the printed model are determined, and based on the position coordinates, the polyhedron unit in the first finite element model that is closest to the connection node is determined. The multi-point constraint equation is used to couple and transfer the mechanical relationship between the polyhedron unit and the one-dimensional beam unit in the second finite element model, and boundary constraints and load constraints are applied to obtain the target finite element model. This ensures that the first finite element unit and the second finite element unit are well matched during the merging process, that is, the adaptability is well ensured, further ensuring that the deformation of the printed model is more realistic and reasonable, and at the same time ensuring that the target finite element model can be better analyzed and adjusted subsequently.
[0178] Specifically, the above-mentioned polyhedral units can be tetrahedral units, hexahedral units, or other polyhedral units, which are specifically determined according to the grid division method of the printed model in the process of generating the first finite element model.
[0179] Specifically, the multi-point constraint equation is a linear relationship equation established between the degrees of freedom of different grids or different units, which realizes the mutual coupling and transmission of physical field information between the degrees of freedom of different models or different degrees of freedom of the same model. The multi-point constraint equation is the constraint relationship between the degrees of freedom of the two. The degree of freedom is the unknown quantity contained in the node of the calculation model unit in the finite element analysis. In the polyhedral unit in the first finite element model, each node contains 3 degrees of freedom, namely the displacement degrees of freedom in three directions (U x U y U z ), and each node in the one-dimensional beam element in the second finite element model contains 6 degrees of freedom, namely the displacement degrees of freedom in three directions (U x U y U z ), and the three degrees of rotational freedom (Rot x Rot y Rot z ).
[0180] Specifically, the boundary constraint is the type of constraint on the specified degree of freedom of the specified node in the finite element simulation analysis model, such as complete fixation, that is, the displacement in the three directions is zero (U x =U y =U z =0), and the rotation in the three directions is also zero (Rot x =Rot y =Rot z =0). Load constraints refer to the load conditions that the model needs to withstand in the finite element simulation analysis model. There are many types of load constraints, such as concentrated force, body force, distributed force, etc. Gravity is often included.
[0181] Figure 4 is a schematic diagram of the principle of the light-curing process of DLP light-curing 3D printing in this application. As can be seen from Figure 4, during the 3D printing process, the equipment required includes but is not limited to a printer cover 11, a molding platform 12, a Z-axis assembly 13, a material tray 14, a protective glass 15 and a light shield 16.
[0182] Specifically, during the 3D printing process, the bottom of the support structure is completely fixed to the build platform, moving slowly up and down with the DLP printer's lift, so dynamic effects can be ignored. This means that a fixed constraint is applied to the bottom of the initial support structure in the initial finite element model. There are two main load constraints: the model's own weight and the peeling force between each layer of liquid resin and the material tray after light curing during the DLP 3D molding process. Because the peeling force is primarily determined by the slice area, the calculation relationship was obtained through extensive internal testing and summary.
[0183] According to some exemplary embodiments of the present application, the second determination module includes: a determination submodule for determining, based on the contact position coordinates, the polyhedral unit closest to the connection node in the first finite element model using an algorithm for constructing a kd tree, to obtain the target polyhedral unit. In this embodiment, the algorithm for constructing a kd tree is used to determine the polyhedral unit closest to the connection node in the first finite element model. Since the kd tree can store the surface nodes of the first finite element model and the end contact points of the second finite element model, it is possible to more efficiently find the nearest model surface node that best fits each support point, thereby further ensuring a relatively fast merging process.
[0184] Specifically, considering that the number of nodes of the surface unit of the first finite element model is large, an algorithm for constructing a kd tree is adopted.
[0185] In another exemplary embodiment, the above-mentioned determination unit includes: a calculation subunit, which is used to calculate the stress of all nodes in the above-mentioned target finite element model to obtain a target stress distribution, and calculate the displacement deformation of all nodes in the above-mentioned target finite element model according to the above-mentioned data file to obtain a target displacement distribution, wherein the above-mentioned displacement deformation includes the displacement of the corresponding nodes in the above-mentioned printed model and the above-mentioned target finite element model, and the displacement of the corresponding nodes in the above-mentioned initial support structure and the above-mentioned target finite element model; a determination subunit, which is used to determine whether the above-mentioned target finite element model meets the above-mentioned stress intensity condition based on the above-mentioned target stress distribution and the above-mentioned target displacement distribution, and when the stress of the node in the above-mentioned target finite element model is less than or equal to the yield stress of the material, it is determined that the node in the above-mentioned target finite element model meets the above-mentioned stress intensity condition. In this embodiment, the stress and displacement deformation of all nodes in the target finite element model are calculated to obtain the target stress distribution and target displacement distribution. Based on the target stress distribution and target displacement distribution, it is determined whether the target finite element model meets the stress intensity condition. When the stress of the node is less than or equal to the yield stress of the material, the node is determined to meet the stress intensity condition. This can more accurately determine whether the node meets the stress intensity condition. At the same time, the specific location of the node that does not meet the stress intensity condition can also be determined, preparing for subsequent adjustment of the initial support structure in the target finite element model based on the result.
[0186] Specifically, if the target finite element model contains nodes that meet the stress intensity condition at a preset percentage or more, the target finite element model is determined to meet the stress intensity condition. The preset percentage can be 80%, 85%, 90%, 95%, 98%, or other percentages. In actual application, those skilled in the art can set the preset percentage based on empirical values or obtain the result through multiple experiments, and this application does not impose any specific restrictions on this.
[0187] Specifically, the above stress intensity condition can be the von Mises yield criterion or other types of stress intensity conditions. Those skilled in the art can flexibly select appropriate stress intensity conditions according to actual needs, and this application does not impose any specific restrictions on this.
[0188] The formula for the von Mises yield criterion is: Among them, the left side of the above formula is the von Mises stress of the node, the right side is the yield stress of the material, and σ1, σ2 and σ3 are the principal stresses of the node in each direction.
[0189] Figure 5 is a target displacement distribution result diagram of the mechanical simulation of the printed model and the initial support structure in this application. In Figure 5, different grayscale values represent different displacement variables; Figure 6 is a target stress distribution result diagram of the mechanical simulation of the printed model and the initial support structure in this application. Different grayscale values represent different sizes of von Mises stress.
[0190] Specifically, a strength check can be performed on the target finite element model to identify potential risk areas within the printed model and support structure. For example, by designing with a certain safety margin, locations where the ratio of stress to the tensile and compressive strength of the resin material reaches 90% can be detected. By adjusting the upper limit of the displacement and stress display to the risk threshold, risk areas within the printed model and support structure can be easily identified.
[0191] According to other exemplary embodiments of the present application, the first generation subunit includes: a second division module for meshing the printed model according to the data file to obtain mesh model data; and a construction module for constructing the finite element model of the printed model using polyhedron units based on the mesh model data and the material property parameters to obtain the first finite element model. In this embodiment, meshing the printed model to obtain mesh model data, and constructing the finite element model of the printed model using polyhedron units based on the mesh model data and material property parameters to obtain the first finite element model, can divide the originally complex printed model into a more concise and clear finite element model, paving the way for the subsequent easier merging of the printed model with the initial support structure.
[0192] Specifically, meshing the printed model uses tetrahedral unstructured meshes, which are highly adaptable and automated, given the geometric complexity of the printed model. Because finite element analysis (FEA) requires high mesh quality, surface mesh reconstruction is performed before volume meshing, ultimately resulting in a better volume mesh model. Using tetrahedral elements to construct the FEA model of the printed model only requires calculating the element stiffness of the printed model.
[0193] Of course, in addition to using tetrahedral unstructured grids to divide the printed model, hexahedral structured grids can also be used. This application does not limit the specific grid division algorithm as long as it can meet the conditions for constructing the finite element model.
[0194] In some other optional solutions of the present application, the adjustment unit includes: an addition and deletion sub-unit, which is used to add and delete connecting rods in the initial support structure in the target finite element model according to the nodes in the target finite element model that do not meet the stress intensity conditions when the target finite element model does not meet the stress intensity conditions. In this embodiment, adding and deleting connecting rods in the initial support structure in the target finite element model according to the nodes that do not meet the stress intensity conditions can minimize the occurrence of insufficient support rods in the final target support structure, and can also minimize the occurrence of a large number of redundant support rods, thereby further ensuring that the target support structure is relatively reasonable.
[0195] Specifically, if there are risk nodes on the surface of the printed model, that is, the lack of support on the surface of the printed model leads to high stress, it is necessary to add individual support connecting rods manually or using an automatic algorithm; if there are risk nodes in the initial support structure, that is, the stress of the initial support structure reaches the upper limit, it is necessary to add individual support connecting rods around the risk node manually or using an automatic algorithm; if some support nodes are subjected to very small forces or even almost zero, this section of connecting rods can be ignored. This operation can be achieved by automatically marking invalid rods by the program, and multiplying the stiffness matrix of the beam unit section by a very small number, and finally modifying the parametric file of the original input initial support structure.
[0196] The addition and removal of initial support structures can be controlled independently. This feature can be enabled if you wish to optimize the material costs of the initial support structure. After manually or automatically adding rods and automatically removing redundant connecting rods, an updated initial support structure is obtained. Using the second generation unit, the finite element model is updated only for the changed local support data, ultimately generating new simulation results until a risk-free node is reached.
[0197] The device for manufacturing a target object includes a processor and a memory. The acquisition unit, the first generation unit, the second generation unit, the third generation unit, the merging unit, the determination unit, the adjustment unit, and the printing unit are all stored as program units in the memory. The processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; alternatively, the modules may be located in different processors in any combination.
[0198] An embodiment of the present application provides a computer-readable storage medium, which includes a stored program. When the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for manufacturing the target object.
[0199] Specifically, the method for manufacturing the target object includes:
[0200] Step S201, obtaining a data file and material property parameters of a printing model, where the printing model is a three-dimensional model to be printed;
[0201] Specifically, the above data file can be in STL (STereoLithography) data format or other data formats, depending on the calculation program of the simulation analysis, and this application does not impose any specific restrictions on this.
[0202] Specifically, for DLP 3D printing technology, although the photosensitive resin of the support structure and model is not 100% completely photocured in the actual molding process, considering the complexity of the resin material, the material properties of the photosensitive resin after complete photocuring can be approximated and then detailed corrections can be made through rigorous test comparisons at a later stage. Considering that the current application scenario can be approximated by linear static simulation analysis, in linear static simulation analysis, the elastic modulus and Poisson's ratio are physical property parameters that determine the material stress and strain of the model under load. Considering the influence of gravity, density parameters need to be provided. Therefore, the above-mentioned material property parameters include but are not limited to the elastic modulus, Poisson's ratio and density of the resin.
[0203] Step S202 , generating an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters;
[0204] Specifically, the above-mentioned initial support structure can be generated from the printable geometric features of the model and a large amount of 3D printing practical experience.
[0205] Step S203, determining whether the target finite element model meets the stress intensity condition;
[0206] Step S204: If the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining a target support structure.
[0207] Step S205 : performing 3D printing on the printing model according to the target support structure.
[0208] In some embodiments, an initial support structure and a target finite element model including the initial support structure are generated according to a data file and material property parameters, including: generating a finite element model of a printed model according to the data file and material property parameters to obtain a first finite element model; generating a parametric file of the initial support structure according to the data file, the initial support structure being a structure that supports the printed model during the printing process; generating a finite element model of the initial support structure according to the parametric file to obtain a second finite element model; merging the first finite element model and the second finite element model according to the parametric file to obtain a target finite element model including the initial support structure and the printed model.
[0209] In some embodiments, generating a finite element model of the initial support structure according to the parameterized file to obtain a second finite element model includes: dividing and modeling the initial support structure according to the parameterized file to obtain the second finite element model.
[0210] In some embodiments, a first finite element model and a second finite element model are merged according to a parameterized file to obtain a target finite element model including an initial support structure and a printed model, including: determining the position coordinates of the connection node between the initial support structure and the printed model according to the parameterized file to obtain the contact position coordinates; determining the polyhedron unit in the first finite element model that is closest to the connection node according to the contact position coordinates to obtain the target polyhedron unit; utilizing the multi-point constraint equation in the finite element method to couple and transfer the mechanical relationship between the target polyhedron unit and the second finite element model to obtain the initial finite element model; applying boundary constraints and load constraints to the initial finite element model to obtain the target finite element model.
[0211] In some embodiments, based on the contact position coordinates, the polyhedral unit in the first finite element model that is closest to the connection node is determined to obtain the target polyhedral unit, including: based on the contact position coordinates, using an algorithm for constructing a kd tree to determine the polyhedral unit in the first finite element model that is closest to the connection node to obtain the target polyhedral unit.
[0212] In some embodiments, determining whether the target finite element model meets the stress intensity condition includes: calculating the stress of all nodes in the target finite element model to obtain a target stress distribution, and calculating the displacement deformation of all nodes in the target finite element model according to the data file to obtain a target displacement distribution, wherein the displacement deformation includes the displacement of the corresponding nodes in the printed model and the target finite element model, and the displacement of the corresponding nodes in the initial support structure and the target finite element model; determining whether the target finite element model meets the stress intensity condition based on the target stress distribution and the target displacement distribution, and determining that the nodes in the target finite element model meet the stress intensity condition when the stress of the nodes in the target finite element model is less than or equal to the yield stress of the material.
[0213] In some embodiments, a finite element model of the printed model is generated according to the data file and material property parameters to obtain a first finite element model, including: meshing the printed model according to the data file to obtain mesh model data; and constructing a finite element model of the printed model using polyhedron units according to the mesh model data and material property parameters to obtain the first finite element model.
[0214] In some embodiments, adjusting the initial support structure in the target finite element model includes adding and deleting connecting rods in the initial support structure in the target finite element model according to nodes in the target finite element model that do not meet stress strength conditions.
[0215] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0216] 1) In the method for manufacturing a target object of the present application, the data file and material property parameters of the three-dimensional model to be printed are first obtained, and then an initial support structure and a target finite element model including the initial support structure are generated based on the data file and the material property parameters; then, it is determined whether the target finite element model meets the stress intensity condition; when the target finite element model does not meet the stress intensity condition, the initial support structure in the target finite element model is adjusted so that the adjusted target finite element model meets the stress intensity condition, thereby obtaining the target support structure; finally, the printing model is 3D printed based on the target support structure. Compared with the prior art, in which the support structure is difficult to analyze efficiently and accurately, resulting in unreasonable design, which leads to various problems in the 3D printing process, the present application generates an initial support structure and a target finite element model including the initial support structure based on the data file and material property parameters of the printing model, and determines whether the stress strength conditions are met in the target finite element model. If not, the initial support structure in the target finite element model is adjusted to ensure that the target support structure obtained is better. In other words, the support structure design of the model can be guided by the actual force results of the model and the support, and it can be judged whether the support structure design is reasonable and whether the strength is sufficient to support the model to ensure successful model printing. That is, it avoids the 3D model from falling off due to unreasonable support structure during the 3D printing process, ensures that the 3D model does not fall off the plate, and effectively improves the model deformation caused by insufficient support structure, ensuring that the final printed 3D model has high accuracy. In addition, through the technical solution of the present application, while rationally designing the support structure, it can be determined whether there is redundant support structure, thereby reducing the redundant support structure in the model, thereby reducing the consumption of printing materials and saving costs.
[0217] 2) In the device for manufacturing a target object of the present application, the data file and material property parameters of the three-dimensional model to be printed are obtained by the acquisition unit, and the initial support structure and the target finite element model including the initial support structure are generated according to the data file and the material property parameters by the generation unit; the determination unit determines whether the target finite element model meets the stress strength condition; when the target finite element model does not meet the stress strength condition, the adjustment unit adjusts the initial support structure in the target finite element model so that the adjusted target finite element model meets the stress strength condition, thereby obtaining the target support structure; the printing unit 3D prints the print model according to the target support structure. Compared with the prior art, in which the support structure is difficult to analyze efficiently and accurately, resulting in unreasonable design, which leads to various problems in the 3D printing process, the present application generates an initial support structure and a target finite element model including the initial support structure based on the data file and material property parameters of the printing model, and determines whether the stress strength conditions are met in the target finite element model. If not, the initial support structure in the target finite element model is adjusted to ensure that the target support structure obtained is better. In other words, the support structure design of the model can be guided by the actual force results of the model and the support, and it can be judged whether the support structure design is reasonable and whether the strength is sufficient to support the model to ensure successful model printing. That is, it avoids the 3D model from falling off due to unreasonable support structure during the 3D printing process, ensures that the 3D model does not fall off the plate, and effectively improves the model deformation caused by insufficient support structure, ensuring that the final printed 3D model has high accuracy. In addition, through the technical solution of the present application, while rationally designing the support structure, it can be determined whether there is redundant support structure, thereby reducing the redundant support structure in the model, thereby reducing the consumption of printing materials and saving costs.
[0218] In order to solve the technical problem of unstable support conditions for printed three-dimensional models, an embodiment of the present application provides a method for determining a parameterized file of an initial support structure. The parameterized file may include support data corresponding to the three-dimensional model. FIG9 is a flow chart of a method for determining support data for a three-dimensional model according to an embodiment of the present application. As shown in FIG9 , the method includes the following steps:
[0219] Step S902: Acquire a three-dimensional model, wherein the three-dimensional model is located in a voxel space formed by an X-axis, a Y-axis, and a Z-axis, and the voxel space includes a plurality of voxels;
[0220] In step S902 of the present application, a 3D model is obtained. The 3D model can be a model placed in a 3D rectangular coordinate system consisting of the X-axis, Y-axis, and Z-axis. The coordinate system is also located in a space composed of voxels. By obtaining the 3D model in voxel space, the voxel support data corresponding to the 3D model is determined, thereby making the printed 3D model more stable.
[0221] Step S904, determining a target source voxel from a plurality of voxels;
[0222] In step S904, the target source voxel corresponding to the target voxel vertex is determined from the multiple voxels included in the voxel space. That is, the target source voxel corresponding to the target voxel vertex is determined. As can be seen, a target voxel vertex can have eight similar voxels. The target source voxel can be determined from these eight voxels.
[0223] Furthermore, since the support volume is built downward from the support point, the target source voxel can be determined from the four voxels with a lower Z coordinate. The specific settings can be adaptively designed according to the actual application and scenario.
[0224] Step S906 , determining a target secondary voxel corresponding to the target source voxel in the negative direction of the Z axis;
[0225] In step S906 provided in the present application, the target secondary voxel corresponding to the target source voxel is determined in the negative direction of the Z axis, that is, after the target source voxel connected to the support point is determined, the target secondary voxel connected to the target source voxel is determined. By determining the voxels step by step, the purpose of gradually determining the voxels from the support point and connecting to the bottom surface to form a support body can be achieved.
[0226] Step S908, performing voxel type judgment on the target secondary voxel to determine the voxel type result of the target secondary voxel;
[0227] In step S908 provided in this application, the voxel type of the target secondary voxel is determined, so that the next level of voxels can be determined based on the type result, so as to perform targeted processing for different situations.
[0228] Step S910: Obtain support data corresponding to the three-dimensional model according to the voxel type result.
[0229] In step S910 provided in this application, it can be seen that the determination of the support data is related to the type of the current target secondary voxel. This method helps to better select voxels to form support bodies. In this way, support data corresponding to the three-dimensional model is obtained.
[0230] It should be noted that the final support data may include the support point, its corresponding target source voxel, target secondary voxel, and multiple next-level voxels until the voxel with the corresponding Z coordinate corresponding to the base coordinate is determined. With this support data, a support volume can be accurately constructed to support the printed 3D model.
[0231] Through the above steps S902-S910, a three-dimensional model is obtained, wherein the three-dimensional model is located in a voxel space formed by the X-axis, Y-axis, and Z-axis, and the voxel space includes multiple voxels; a target source voxel is determined from the multiple voxels; a target secondary voxel corresponding to the target source voxel is determined in the negative direction of the Z-axis; a voxel type judgment is performed on the target secondary voxel to determine the voxel type result of the target secondary voxel; and support data corresponding to the three-dimensional model is obtained based on the voxel type result. Through the above steps, the voxels used for support are determined step by step, thereby obtaining support data, and support is added to the three-dimensional model based on the support data. After the support addition is completed, print data for the three-dimensional model is generated, and the three-dimensional model is printed based on the print data of the three-dimensional model. Through the above method, when the three-dimensional model is printed according to the print data, the support of the printed three-dimensional model will be more stable, thereby solving the technical problem in the related art that the support of the printed three-dimensional model is unstable when the three-dimensional print data including support data is printed.
[0232] In addition, the above method can be used to optimize the design of 3D model supports. For example, redundant supports can be reduced, thereby reducing printing materials, or supports can be added to the stress-weak parts of the 3D model to reduce the risk of the 3D model falling off during printing and improve printing efficiency. It can also be achieved by avoiding the main part of the 3D model and avoiding adding supports on the surface of the 3D model, which affects the surface quality of the model print.
[0233] As an optional embodiment, determining a target source voxel from multiple voxels includes: obtaining a support point corresponding to the three-dimensional model; determining a target voxel vertex corresponding to the support point; and determining a target source voxel corresponding to the target voxel vertex from multiple voxels.
[0234] In this embodiment, support points corresponding to the 3D model are obtained. The support points can be directly retrieved or obtained through analysis of the 3D model. By adding support at the support points, the 3D model can be supported during printing, thereby smoothly performing 3D printing.
[0235] In this embodiment, target voxel vertices corresponding to the support are also determined. To maximize the stability of the support, the algorithm needs to calculate the most appropriate voxel vertices starting from the support point, so as to connect the voxel vertices to form the support. That is, since the voxel space is composed of multiple voxels, voxels can be understood as cubes, which have multiple vertices.
[0236] Because the embodiments provided herein require determining the data of the support body that supports the 3D model on the 3D model, this can be understood as determining the support body starting from the support point and ending at the lowest Z coordinate of the 3D model (which can also be understood as the coordinate corresponding to the base plate on which the 3D model is placed) to support the 3D model.
[0237] It can be seen that when determining the support body, the connection relationship between the support point and other voxels is used to determine the support body that takes the support point as the starting point and gradually connects to the bottom surface through one voxel after another.
[0238] Therefore, we must first determine the first voxel connected to the support point. When determining the first voxel connected to the support point, we must first determine the target voxel vertex corresponding to the support point, that is, determine the point to be connected, so that we can subsequently determine the first voxel connected to the support point.
[0239] It should be noted that at this point, the determined support point may not fall exactly on a certain voxel vertex, but may also fall exactly on a certain voxel vertex. Therefore, it is necessary to determine the target voxel vertex corresponding to the support point to determine the first point to connect to the support point so that subsequent steps can be performed.
[0240] It should also be noted that when there are multiple support points, it is necessary to determine the target voxel vertices corresponding to the support points respectively. These target voxel vertices may be the same or different and can be selected according to actual conditions.
[0241] In this embodiment, the target source voxel corresponding to the target voxel vertex is also determined from the multiple voxels included in the voxel space. That is, the target source voxel corresponding to the target voxel vertex is determined based on the target voxel vertex. As can be seen, a target voxel vertex can have eight similar voxels. The target source voxel can be determined from these eight voxels.
[0242] Furthermore, since the support volume is built downward from the support point, the target source voxel can be determined from the four voxels with a lower Z coordinate. The specific settings can be adaptively designed according to the actual application and scenario.
[0243] As an optional embodiment, support data corresponding to the three-dimensional model is obtained based on the voxel type result, including: determining the next level of voxels based on whether the voxel type result is a blocking voxel type, until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained.
[0244] In this embodiment, the voxel type result of the target secondary voxel is determined to be a blocking voxel type, and the next-level voxel is determined based on the type result. This means that the selection of the next-level voxel is related to the type of the current target secondary voxel. This approach facilitates better selection of voxels to form support bodies. This approach is used until a voxel with a corresponding Z coordinate equal to the baseplate coordinate is determined, resulting in support data corresponding to the 3D model.
[0245] It should be noted that, through this method, until the voxel whose corresponding Z coordinate is the base coordinate is determined, the next level of voxels will be determined based on the type of the currently determined voxel, and the end will be to determine the voxel that can be connected to the bottom surface, so as to achieve the purpose of determining the voxels step by step, gradually determining the voxels from the support point, connecting to the bottom surface, and forming a support body.
[0246] It should also be noted that the final support data may include the support point, its corresponding target source voxel, target secondary voxel, and multiple next-level voxels until the voxel with the corresponding Z coordinate corresponding to the base coordinate is determined. This support data allows for the accurate construction of a support volume to support the printed 3D model.
[0247] As an optional embodiment, based on whether the voxel type result is a blocking voxel type, the next level of voxels is determined until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data corresponding to the three-dimensional model is obtained, including: when the type result is that the voxel type of the target secondary voxel is a blocking voxel type, the target adjacent voxel corresponding to the target secondary voxel is determined, wherein the Z coordinate corresponding to the target adjacent voxel is the same as the Z coordinate corresponding to the target secondary voxel; the target adjacent voxel is used as a new source voxel to determine the next level of voxels until a voxel whose corresponding Z coordinate is the base plate coordinate is determined, and support data is obtained, wherein the base plate coordinate is the smallest coordinate of the three-dimensional model in the Z-axis direction.
[0248] This embodiment describes the step of determining support data when the voxel type of the target secondary voxel is a blocking voxel. In this case, the step of determining the next voxel downward is blocked, that is, some part of the 3D model blocks the target secondary voxel from finding the next voxel.
[0249] At this time, it is necessary to bypass the three-dimensional model. The way to bypass it is to determine the target adjacent voxel corresponding to the target secondary voxel, that is, to determine the next level voxel with the same Z coordinate next to the target secondary voxel. By extending to the side instead of extending downward, the purpose of bypassing the model part of the three-dimensional model is achieved. After determining the next level voxel, the next level voxel is used as the starting point and the above steps are repeated, that is, the search is continued downward. That is, as mentioned above, the target adjacent voxel is used as the new source voxel to determine the next level voxel. If after extending to the side, the blocking voxel is still found by searching downward, then according to the content described in the embodiment, the voxel with the same Z coordinate will continue to be searched nearby, and the cycle will be repeated until the voxel with the corresponding Z coordinate of the base plate coordinate is determined. The final support data is obtained.
[0250] In this way, the obstruction of the three-dimensional model part is bypassed, making it more convenient to disassemble the printed three-dimensional model. Moreover, the obstruction part of the three-dimensional model is bypassed, so that the support body can fall to the bottom, making the support body supporting the three-dimensional model more supportive.
[0251] As an optional embodiment, determining a target neighboring voxel corresponding to a target sub-voxel includes: determining at least one candidate neighboring voxel corresponding to the target sub-voxel, wherein the Z coordinate corresponding to the at least one candidate neighboring voxel is the same as the Z coordinate corresponding to the target sub-voxel, and the distance between the at least one candidate neighboring voxel and the target sub-voxel is less than a first predetermined threshold; and determining the target neighboring voxel from the at least one candidate neighboring voxel.
[0252] In this embodiment, the steps of determining the target neighboring voxels corresponding to the target secondary voxel are described. First, at least one candidate neighboring voxel corresponding to the target secondary voxel is determined, wherein the distance between the vertex of at least one candidate voxel and the support point is less than a first predetermined threshold value, which ensures that the distance between at least one candidate neighboring voxel and the distance between the target secondary voxel is close, avoiding the collapse problem caused by the distance being too far to withstand the support force when the two are connected. In addition, the Z coordinate corresponding to at least one candidate neighboring voxel is limited to be the same as the Z coordinate corresponding to the target secondary voxel, so as to reduce the stress borne by the determined target neighboring voxel, thereby better forming a support body with supporting force and better supporting the three-dimensional model. It also ensures that the voxels that are searched for sideways after being blocked downwards are not searched in the upward direction, thereby ensuring the smooth execution of the method.
[0253] Then, a target voxel vertex is determined from the at least one candidate voxel vertex. The purpose of determining the target voxel vertex is achieved. The method for determining the target voxel vertex from the at least one candidate voxel vertex is not limited and can be adaptively set based on actual experience and scenarios.
[0254] It should be noted that, when the type result is that the voxel type of the target secondary voxel is a blocking voxel type, after determining at least one candidate neighboring voxel corresponding to the target secondary voxel, if the target neighboring voxel cannot be determined from at least one candidate neighboring voxel, that is, when the secondary source cannot be found nearby, only the initial section of the support body can be retained, and the four vertices at the bottom of the target secondary voxel are connected to the initial three-dimensional model as a truncated support body.
[0255] As an optional embodiment, the next level voxel is determined based on whether the voxel type result is a blocking voxel type, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and the support data corresponding to the three-dimensional model is obtained, including: when the type result is that the voxel type of the target secondary voxel is not a blocking voxel type, the voxel directly below the target secondary voxel is determined as the next level voxel, until the voxel whose corresponding Z coordinate is the base coordinate is determined, and the support data is obtained.
[0256] This embodiment describes the step of determining support data when the voxel type of the target secondary voxel is not a blocking voxel. In this case, the step of determining the next voxel downwards can find a voxel vertically downwards, that is, the step of finding a voxel downwards that does not block the target secondary voxel in the three-dimensional model.
[0257] At this point, you can directly identify the voxel directly below as the next level voxel, and continue searching until you find a voxel with a Z coordinate that matches the baseplate coordinates. This process yields the support data. After determining the voxel directly below as the next level voxel, repeat the above steps, starting with the next level voxel, to continue searching downward. If a non-blocking voxel is found while searching downward, continue searching using the next level voxel as the next level voxel, and so on. This cycle repeats until you find a voxel with a Z coordinate that matches the baseplate coordinates. This yields the final support data.
[0258] This method allows the voxel directly below to be identified as the next level voxel when there is no obstruction, making voxel identification more convenient and ultimately allowing the support to fall to the bottom, ensuring the support for the 3D model has sufficient strength. Furthermore, this method can optimize the design of 3D model supports, for example by reducing redundant supports, thereby reducing printing materials, or by adding supports to weakly stressed areas of the 3D model, reducing the risk of the model falling off during printing and improving printing efficiency. It can also avoid adding supports to the main body of the 3D model, preventing them from affecting the surface quality of the printed model.
[0259] As an optional embodiment, the next level voxel is determined based on whether the voxel type result is a blocking voxel type result, until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and before the support data corresponding to the three-dimensional model is obtained, it also includes: when the support point includes the model outer surface support point and the model inner surface support point, and the base plate coordinate includes the first base plate coordinate and the second base plate coordinate, determine the first base plate coordinate corresponding to the model outer surface support point, and determine the second base plate coordinate corresponding to the model inner surface support point, wherein the first base plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction, and the second base plate coordinate is the minimum coordinate of the hollow space inside the three-dimensional model in the Z-axis direction.
[0260] In this embodiment, the steps for determining the base plate coordinates are described. The steps for determining the base plate coordinates are described in two different cases. First, when the support points include support points on the outer surface of the model and support points on the inner surface of the model, the base plate coordinates corresponding to each of these support points are determined in each case.
[0261] First of all, it should be noted that the support points on the outer surface of the model are easy to understand, that is, the support points on the outside of the model used to support the model. The support points on the inner surface of the model are the support points inside the model. That is, some three-dimensional models are very large. In order to save materials and unnecessary consumption of resources, the interior can be printed as not solid, that is, the interior is hollow. When the internal hollow space is large, a support is also required inside to avoid internal collapse. Therefore, there also needs to be some support points on the inner surface of the model. By determining the above-mentioned support points, the design of the three-dimensional model support can be optimized, and support can be added to the stress-weak parts of the three-dimensional model to reduce the risk of the three-dimensional model falling off during printing. It also avoids adding support on the surface of the three-dimensional model, which affects the surface quality of the model printing.
[0262] On this basis, the methods for obtaining the corresponding base plate coordinates are explained.
[0263] Determine the first base plate coordinate corresponding to the support point on the outer surface of the model. The first base plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction, that is, it can be understood that the first base plate coordinate is the coordinate of the bottom surface where the three-dimensional model is placed.
[0264] It should be noted that in some cases, in order to better obtain the 3D model, the 3D model may be printed in the air. When the model needs to be printed in the air, the first base coordinate is the Z coordinate plus the coordinate of the air height. This method can print a better 3D model.
[0265] Determine the second baseplate coordinates corresponding to the support points on the model's inner surface. These coordinates are the minimum coordinates of the hollow space within the 3D model along the Z axis. This means the second baseplate coordinates are the coordinates of the lowest point in the hollow space. This method allows for better internal support.
[0266] As an optional embodiment, determining the target voxel vertex corresponding to the support point includes: determining at least one candidate voxel vertex corresponding to the support point, wherein the distance between at least one candidate voxel vertex and the support point is less than a second predetermined threshold; and determining the target voxel vertex from the at least one candidate voxel vertex.
[0267] This embodiment describes the steps for determining a target voxel vertex corresponding to a support point. First, at least one candidate voxel vertex corresponding to the support point is determined, where the distance between the at least one candidate voxel vertex and the support point is less than a second predetermined threshold. This ensures that the distance between the at least one candidate voxel vertex and the support point is relatively close, thus preventing collapse caused by the support force being too great when the two are connected.
[0268] Then, a target voxel vertex is determined from the at least one candidate voxel vertex. The purpose of determining the target voxel vertex is achieved. The method for determining the target voxel vertex from the at least one candidate voxel vertex is not limited and can be adaptively set based on actual experience and scenarios.
[0269] As an optional embodiment, determining a target voxel vertex from at least one candidate voxel vertex includes: determining the number of supported times corresponding to at least one candidate voxel vertex; and determining a target voxel vertex from at least one candidate voxel vertex based on the number of supported times corresponding to at least one candidate voxel vertex.
[0270] In this embodiment, the number of supported times corresponding to the candidate voxel vertices is determined, and the number of supported times of the current voxel vertex can be calculated by an independent counter to determine the target voxel vertex from at least one candidate voxel vertex based on the number of supported times corresponding to at least one candidate voxel vertex.
[0271] Since the number of times a voxel vertex is supported can indirectly reflect the support strength of the voxel vertex, that is, it can indicate whether it is stable, the target voxel vertex can be determined by the number of times the voxel vertex is supported.
[0272] In a three-dimensional representation, if the number of times is less than or equal to a predetermined threshold (e.g., 2 in the scenario used in this application), the point is considered not to be in a stable supported state and cannot be used as a target voxel vertex. If it is greater than 2, the point is considered to be in a stable supported state and is preliminarily considered to be a target voxel vertex. In this way, the stability of the determined target voxel vertex can be guaranteed.
[0273] As an optional embodiment, determining a target voxel vertex from at least one candidate voxel vertex includes: determining connection parameters of at least one candidate voxel vertex connected to a support point; and determining a target voxel vertex from at least one candidate voxel vertex based on the connection parameters of at least one candidate voxel vertex connected to a support point.
[0274] In this embodiment, connection parameters of candidate voxel vertices connected to support points are determined, so as to determine a target voxel vertex from at least one candidate voxel vertex based on the connection parameters of at least one candidate voxel vertex connected to the support point.
[0275] The connection parameters may be the length and angle of the connection between the two, etc., which can be adaptively set according to the actual application and scenario.
[0276] Since the stability is different when connected by different connection parameters, the support strength of the voxel vertex can be reflected by the connection parameters, that is, it can indicate whether it is stable. Therefore, the target voxel vertex can be determined by the connection parameters between the voxel vertex and the support point.
[0277] In a 3D representation, if the angle in the connection parameter is too large, the connection between the two points may not be in a stable supported state, and the point is considered unsuitable as a target voxel vertex. If the angle is within a preset range, the connection between the two points is considered to be in a stable supported state, and the point is preliminarily considered a target voxel vertex. This approach ensures the stability of the determined target voxel vertex.
[0278] As an optional embodiment, determining a target source voxel corresponding to a target voxel vertex from a plurality of voxels includes: determining at least one candidate source voxel corresponding to the target voxel vertex from a plurality of voxels, wherein the Z coordinate corresponding to the at least one candidate source voxel is less than or equal to the Z coordinate corresponding to the target voxel vertex; and determining the target source voxel from the at least one candidate source voxel.
[0279] In this embodiment, the steps of determining the target source voxel corresponding to the target voxel vertex from a plurality of voxels included in the voxel space are described. Since one target voxel vertex can have 8 voxels close to it (for example, in a 2×2×2 voxel set, that is, 4 voxels above and 4 voxels below). Since the support body is established from the support point downward, the target source voxel can be determined from the 4 voxels with the Z coordinate lower. Therefore, the number of at least one candidate source data can be set to 4. When set to 4, the amount of calculation can be reduced and the process of the method provided by the present application can be accelerated.
[0280] In addition, when determining the candidate source voxels based on the target voxel vertex, the target voxel vertex is not limited to being on the candidate source voxel, and the search can also be performed with distance as a restriction condition. In this way, the screening criteria for candidate source voxels can be broadened, that is, it is not necessary to use the voxel connected to the target voxel vertex as the source to determine the support body downward. It can be farther away and combined with other support points to a target source voxel, so as to search for the support body downward based on this target source voxel, which can save printing resources to a certain extent.
[0281] It should be noted that the at least one candidate source voxel determined can have a Z coordinate less than or equal to the Z coordinate corresponding to the target voxel vertex, that is, it is limited to searching downward for the determined target source voxel. Therefore, when the support point is connected to the target source voxel, it is connected downward and has a certain supporting force, rather than connected upward and has less supporting force.
[0282] The method of determining the target source voxel from at least one candidate source voxel is not limited here. It can be determined based on the support strength being greater than a predetermined threshold and for the purpose of saving printing resources. When there are multiple support bodies, if adjacent support bodies can correspond to the same target source voxel, the target source voxel can be used as the source to search for voxels downward to construct the support body. That is, it can be seen that multiple support bodies are originally required, but only one support body is required after corresponding to the same target source voxel, which can save printing resources. Therefore, it is possible to achieve the above beneficial effects while ensuring the support strength with the purpose of saving printing resources.
[0283] As an optional embodiment, after determining the target source voxel from multiple voxels, it also includes: determining whether the target secondary voxel corresponding to the target source voxel can be determined in the negative direction of the Z axis; if the determination result is that the target secondary voxel corresponding to the target source voxel cannot be determined, determining the connecting rod data connected to the predetermined surface by the support point.
[0284] In this embodiment, it is determined whether the determination result of the target secondary voxel corresponding to the target source voxel can be determined in the negative direction of the Z axis, so as to perform targeted processing for different determination results. In the case where the determination result is that the target secondary voxel corresponding to the target source voxel cannot be determined, that is, if a secondary voxel of at least one voxel height cannot be generated from the beginning, then a connecting rod will be generated at this time, and the tail end will be connected to the surface of the object to obtain the connecting rod data, that is, the connecting rod data connected to the predetermined surface by the support point is obtained. The predetermined surface is the above-mentioned object surface. Which point on the surface is connected to can be customized according to the actual application and scenario, such as it can be a point vertically downward from the support point. In this way, the processing method when the determination result is that the target secondary voxel corresponding to the target source voxel cannot be determined is explained, which broadens the applicability of this solution.
[0285] As an optional embodiment, the connecting rod shape represented by the connecting rod data is a shape with hemispherical sides and a cylindrical middle.
[0286] This method limits the shape of the connecting rod represented by the connecting rod data. The connecting rod is shaped like two hemispherical shapes connected by a pipe in the middle. This ensures stability while saving resources and making it easy to disassemble.
[0287] It should be noted that, in this application, customized connectors and connecting rod shapes can also be supported to meet different customized needs.
[0288] As an optional embodiment, the support point and the target voxel data are connected via a frustum-shaped connector. The frustum-shaped connector includes a cusp and a bottom surface. The cusp is connected to the support point, and the bottom surface is connected to the target voxel data.
[0289] This embodiment illustrates the connection between support points and target voxel data. In this case, a truncated cone-shaped connector can be used to connect the support points to the target voxel represented by the target voxel data. In this case, it can be understood that only one point is connected to the model, and the bottom surface is connected to the target voxel. This saves printing materials while ensuring stability, and facilitates disassembly of the 3D model.
[0290] As an optional embodiment, the radius of the bottom surface is the same as the radius of the cylinder corresponding to the target voxel data.
[0291] In this embodiment, it is defined that the truncated cone-shaped connector and the cylinder radius corresponding to the target voxel are the same, so that the truncated cone-shaped connector and the target voxel are fully connected, thereby ensuring the stability of the connection.
[0292] As an optional embodiment, the voxel is a hollow voxel, and the target surface of the voxel is formed by two cylinders intersecting on a diagonal line.
[0293] Voxels can be various types of voxels, such as solid voxels, etc., but in this embodiment, the voxels are limited to hollow voxels, that is, the voxels are not a whole cube, but a hollow structure with supporting force. The target surface is the surface related to the supporting force. For example, for voxels with supporting force in only one direction, on the four squares of the voxel perpendicular to the direction of the supporting force, two cylinders with a specific radius are used to connect the two sets of diagonal points of each square, thereby forming a physical expression of this voxel. On the one hand, it can provide supporting force, and on the other hand, it greatly saves printing resources and printing time. That is, it can not only reduce the consumption of materials in the printing process. It is also defined that the target surface is composed of two cylinders crossing on the diagonal line, which ensures the supporting force and stability of the voxel.
[0294] As an optional embodiment, the resolution of the voxel is greater than a predetermined multiple of the radius of the cylinder.
[0295] In this embodiment, the resolution of the voxels is limited to be greater than the radius of the cylinder by a predetermined multiple. This is to prevent the cylinders between voxels from occupying too much space, so that the surface of the cylinder will be embedded in the interior of the adjacent cylinder. Therefore, the resolution of the voxels needs to be greater than the radius of the cylinder by a predetermined multiple. For example, in the scenario used in this application, it can be set to 8 times. The specific setting can be customized as needed.
[0296] As an optional embodiment, the radius of the cylinder is determined according to the distance between the corresponding voxel and the three-dimensional model, and the collision probability corresponding to the distance.
[0297] In this embodiment, since voxels have a certain volume, they may collide with the 3D model. Therefore, when determining the radius of the cylinder within the voxel, the maximum radius of the voxel must be considered to prevent collision with the entity. In cases where collision is possible, this radius can be further reduced to avoid collision, thereby achieving better 3D printing results.
[0298] Based on the above embodiment and optional embodiment, an optional implementation manner is provided, which is described in detail below.
[0299] An optional embodiment of the present application provides a method for determining support data of a three-dimensional model, in which a segmented support structure is proposed. By controlling the length of each cylindrical segment, self-supporting nodes are established at regular intervals, thereby improving the self-supporting ability of each segment to resist other stresses, thereby allowing the support structure to support three-dimensional objects that are farther away from low potential energy.
[0300] FIG10 is a schematic diagram of a model provided in an optional embodiment of the present application, FIG11 is a schematic diagram of a partial flow voxel waterfall (support body) on the outer surface of the model provided in an optional embodiment of the present application, FIG12 is a schematic diagram of a flow voxel waterfall (support body) on the outer surface of the model provided in an optional embodiment of the present application, FIG13 is a schematic diagram of a partial flow voxel waterfall on the outer surface of the model provided in an optional embodiment of the present application, and FIG14 is a schematic diagram of a partial flow voxel waterfall inside the model provided in an optional embodiment of the present application. Detailed descriptions of these are given below:
[0301] S1, obtaining a three-dimensional model, wherein the three-dimensional model is located in a voxel space formed by an X-axis, a Y-axis, and a Z-axis, and the voxel space includes a plurality of voxels;
[0302] Use a number of voxels to surround the entire 3D model (the object to be printed). The voxels that touch the object to be printed are called blocking voxels, and the others are unblocked voxels.
[0303] The voxels included in the voxel space are hollow voxels, and the target surface of the voxel is formed by two cylinders intersecting on the diagonal line. The target surface is the surface related to the support force. More specifically, for voxels with a support force in only one direction, two cylinders of a specific radius are used to connect the two sets of diagonal points of each square on the four squares perpendicular to the direction of the support force, thereby forming a physical representation of this voxel. For example, as shown in Figure 14, the two relatively regular cubes in the middle are the two voxels shown.
[0304] In addition, the size of the voxel can be set by parameters, and it is assumed that the voxel under this parameter will not be subjected to any stress other than gravity. The voxels generated in the first step are stacked in the opposite direction of gravity. Under the assumption of the first step, in the stacked voxels, the upper voxels must be fully supported by the lower voxels. In this way, the support stacked in each segment (the diagonal points of the four faces of each voxel perpendicular to the direction of the force are connected by cylinders) can share the influence of other forces on the current voxel block, thereby reducing support deformation and fracture.
[0305] S2, obtaining support points corresponding to the three-dimensional model;
[0306] As shown in Figure 10, the short cylinder in the figure is the support point. The support point that avoids the voxel waterfall in the thigh area is connected to the target source voxel, the target secondary voxel, and multiple next-level voxels until the support body with the corresponding voxel whose Z coordinate is the base coordinate is determined.
[0307] S3, determining at least one candidate voxel vertex corresponding to the support point, wherein a distance between the at least one candidate voxel vertex and the support point is less than a second predetermined threshold;
[0308] S4, determining connection parameters connecting at least one candidate voxel vertex and a support point respectively;
[0309] FIG15 is a schematic diagram illustrating the relationship between connection parameters between support points and voxels, provided in an optional embodiment of the present application. As shown in FIG15 , point A in the figure represents a support point or support anchor point, and point B represents a voxel vertex. The line connecting the two can represent connection-related parameters. The target voxel vertex can be determined based on the connection parameters of the candidate voxel vertices, such as the parameters used to connect voxels during printing. As shown in the figure, the arrow pointing to line segment 151 indicates that this support segment is too short and too oblique. Therefore, in some cases, the corresponding candidate voxel vertex will not be selected as the target voxel vertex.
[0310] S5, determining the number of times each of at least one candidate voxel vertices is supported;
[0311] FIG16 is a schematic diagram of the number of times a voxel is supported, according to an optional embodiment of the present application. As shown in FIG16 , the target voxel vertex can be determined by combining the number of times a candidate voxel vertex is supported. To represent the entity of the voxel, the faces surrounding each voxel are represented using a cross-connection relationship, primarily diagonal connections. In addition to the cross-connection representation, a separate counter is used to count the number of times the current voxel vertex is supported. In a three-dimensional representation, if the number is less than or equal to 2, the point is considered not to be in a stable supported state, and an attempt is made to find a vertex connected to the next segment in the vertical direction for connection. If the number of times the current voxel vertex is supported is greater than 2, for example, 3 or 4 times, there is no need to find a vertex in the next segment in the vertical direction for connection. Referring to FIG16 , starting from the positive to negative direction along the Z-axis, it can be seen that some voxel vertices are supported 2 times, some are supported 3 times, and some are supported 4 times. For voxel vertices that are supported 2 times, a vertex connected to the next segment in the vertical direction is searched for connection, as shown by line segment 161 in the figure.
[0312] S6, determining a target voxel vertex from the at least one candidate voxel vertex based on connection parameters between the at least one candidate voxel vertex and the support point and the number of times the at least one candidate voxel vertex is supported, wherein the Z coordinate corresponding to the at least one candidate source voxel is less than or equal to the Z coordinate corresponding to the target voxel vertex;
[0313] S7, determining at least one candidate source voxel corresponding to the target voxel vertex from a plurality of voxels included in the voxel space;
[0314] During the implementation of each step, the information about whether the voxel grid connected to each voxel vertex is blocked will be saved. When it starts to pour downward, the algorithm process can determine whether the next voxel is blocked, and then guide the direction of the next flowing voxel.
[0315] It should be noted that, of course, the obstruction may start from the source of the waterfall, so it is also necessary to consider whether the support point is in a narrow area so that the waterfall cannot pour down.
[0316] S8, determining a target source voxel from at least one candidate source voxel;
[0317] S9, determining a target secondary voxel corresponding to the target source voxel in the negative direction of the Z axis;
[0318] S10, determining the next level voxel based on whether the voxel type of the target secondary voxel is a blocking voxel type;
[0319] 1) When the type result indicates that the voxel type of the target secondary voxel is a blocking voxel type, FIG17 is a schematic diagram of the voxel direction when the voxel type of the target secondary voxel is a blocking voxel type, provided in an optional embodiment of the present application. As shown in FIG17 , the following is a description thereof:
[0320] determining at least one candidate neighboring voxel corresponding to the target secondary voxel, wherein a Z coordinate corresponding to the at least one candidate neighboring voxel is the same as a Z coordinate corresponding to the target secondary voxel, and a distance between the at least one candidate neighboring voxel and the target secondary voxel is less than a first predetermined threshold;
[0321] Determine a target neighboring voxel from the at least one candidate neighboring voxel, wherein a Z coordinate corresponding to the target neighboring voxel is the same as a Z coordinate corresponding to the target secondary voxel;
[0322] The target neighboring voxel is used as a new source voxel to determine the next level of voxels until the voxel whose corresponding Z coordinate is the base plate coordinate is determined to obtain support data, where the base plate coordinate is the minimum coordinate of the three-dimensional model in the Z axis direction.
[0323] 2) When the type result shows that the voxel type of the target secondary voxel is not a blocking voxel type, the voxel directly below the target secondary voxel is determined to be the next level voxel, until the voxel whose corresponding Z coordinate is the base coordinate is determined to obtain support data.
[0324] During the first step, the information about whether the voxel grid connected to each voxel vertex is blocked is stored. When the waterfall begins to fall, the algorithm can determine whether the next voxel is blocked and guide the direction of the next voxel flow. Of course, the obstruction may start from the source of the waterfall, so it is also necessary to consider whether the support point is in a narrow area, so that it cannot fall down.
[0325] It should be noted that, when the voxel type of the target secondary voxel is a blocking voxel type, after determining at least one candidate neighboring voxel corresponding to the target secondary voxel, if the target neighboring voxel cannot be determined from the at least one candidate neighboring voxel, FIG18 is a schematic diagram of a connector connected to the object surface provided by an optional embodiment of the present application. As shown in FIG18 , when no secondary source can be found nearby, only the initial waterfall section can be retained, and the four vertices at the bottom of the voxel at the end of the waterfall can be connected to the to-be-printed object as a truncated waterfall support. If a PWF of at least one voxel height cannot be generated from the beginning, then only a connecting rod section will be generated, with the tail connected to the object surface.
[0326] S11, until the voxel whose corresponding Z coordinate is the base plate coordinate is determined, and the support data corresponding to the three-dimensional model is obtained.
[0327] It should be noted that before this, when the support points include the support points on the outer surface of the model and the support points on the inner surface of the model, and the base plate coordinates include the first base plate coordinates and the second base plate coordinates, the first base plate coordinates corresponding to the support points on the outer surface of the model are determined, and the second base plate coordinates corresponding to the support points on the inner surface of the model are determined, wherein the first base plate coordinates are the minimum coordinates of the three-dimensional model in the Z-axis direction, and the second base plate coordinates are the minimum coordinates of the hollow space inside the three-dimensional model in the Z-axis direction.
[0328] Figure 13 shows a schematic diagram of the voxel waterfall created for the exterior of the model, and Figure 14 shows a schematic diagram of the voxel waterfall created for the interior of the model. After the support data is determined, the resulting 3D model is shown in Figure 12.
[0329] It's also worth noting that voxels can be simplified during the above process. Specifically, during actual printing, areas far from support anchors, such as the tail of a model, can be simplified to a certain degree if the connection is to the base plate. If a vertical or flowing PWF segment cannot be generated, the only solution is to connect the bottom four vertices of this PWF segment to the object surface to support the disconnected PWF segment.
[0330] Figure 19 is a comparison diagram of simplified and non-simplified voxel data provided by an optional implementation method of the present application. The left side of the figure is a simplified schematic diagram, and the right side of the figure is an unsimplified schematic diagram. Figure 20 is a comparison diagram of simplified and non-simplified voxel data of the entire model provided by an optional implementation method of the present application. The upper half of the figure is an unsimplified schematic diagram, and the lower half is a simplified schematic diagram. As shown in Figure 19, through simplification, material waste can be reduced on the basis of the supporting model.
[0331] Figure 21 is a schematic diagram of simplified and non-simplified voxel data, including print data, provided in an optional embodiment of the present application. As can be seen from the upper right portion of the figure, the data required for printing is relatively dense, while as can be seen from the lower right portion of the figure, the data required for printing is relatively sparse, which can effectively reduce material consumption. For further intuitive demonstration, Figure 22 is an overlapping comparison diagram of voxel data provided in an optional embodiment of the present application. Figure 22 clearly shows how much material is saved in the simplified version.
[0332] Figure 23 is a schematic diagram of a connector part provided in an optional embodiment of the present application. In the solution provided in an optional embodiment of the present application, the connector part can be predetermined and directly manufactured, that is, the connection of voxels can be achieved by using the connector part in the figure, that is, voxel data can be obtained by splicing, so that more efficient processing can be achieved when the model is actually printed. The above describes the skeleton of the connection between vertices and vertices (all line segments, no three-dimensional entities). The basic method of expressing a line segment as an entity is to add a radius to solidify the line segment into a pipe. Due to the flow requirements of the three-dimensional model, the connection vertex information on the three-dimensional mesh needs to be pre-calculated at the intersection.
[0333] Figure 24 is a comparison diagram of different voxel resolutions provided in an optional embodiment of the present application, and Figure 25 is a cross-sectional schematic diagram of an optional embodiment of the present application when the voxel resolution is equal to 8 times the radius of the cylinder. It can be seen from the figure that the pipe width (abbreviated as pw) is used here to represent different resolutions, wherein pwf xy width (abbreviated as xyw) represents the width and length of a pixel grid, and pwf zwidth (abbreviated as zh) represents the height of a pixel grid. It can be seen from Figure 24 that when the voxel resolution is too small, the connector crossing will be serious, which will have a certain limiting effect. It can be seen from Figure 25 that when the voxel resolution is greater than a predetermined multiple, no serious crossing phenomenon will occur. Therefore, by limiting the radius of the cylinder with a voxel resolution greater than the predetermined multiple, this is to prevent the cylinder between voxels from occupying too much space, so that the surface of the cylinder will be embedded in the interior of the adjacent cylinder. Therefore, it is necessary to have a voxel resolution greater than the radius of the cylinder with a predetermined multiple.
[0334] FIG26 is a schematic diagram of an optional embodiment of the present application including a truncated cone-shaped connector, FIG27 is another schematic diagram of an optional embodiment of the present application including a truncated cone-shaped connector, and FIG28 is a schematic diagram of an optional embodiment of the present application with a truncated cone-shaped connector marked. The truncated cone-shaped connector illustrates the connection method between the support point and the target voxel data, that is, by setting a truncated cone-shaped connector to connect the support point and the target voxel represented by the target voxel data. In this case, it can be understood that there is only one point connected to the model, and the bottom surface is connected to the target voxel. Therefore, it is possible to save materials consumed in printing while ensuring stability, and it is easy to disassemble when disassembling the three-dimensional model.
[0335] It should be noted that the connector can also be as shown in Figure 29, which is a schematic diagram of a connector provided by an optional embodiment of the present application. In some embodiments, it can be cylindrical in the middle, with cones or spheres at both ends. In this way, the shape of the connecting rod represented by the connecting rod data is limited to ensure stable support of the model while saving resources and better disassembly. This makes it more able to avoid collisions with entities. The specific form of the connector can be adaptively selected according to the specific model or connector position.
[0336] It should be noted that, in this application, customized connectors and connecting rod shapes can also be supported to meet different customized needs.
[0337] Figure 30 is a top view of the model provided by an optional embodiment of the present application. It can be seen from the figure that it includes a base plate. The shape of the base plate is determined by the convex hull shape surrounded by all cylindrical coordinates connected to the bottom. The longest side of this convex hull is used as the X-axis, and the direction orthogonal to it is the Y-axis to form a local coordinate system. As the starting coordinate of the center of the circle hollowed out of the base plate, the normal operation of the three-dimensional model printing can be guaranteed by forming a hollow circle, and the occurrence of phenomena such as liquid leakage can be avoided.
[0338] Figure 31 is a schematic diagram of a base provided in an optional embodiment of this application. This base reduces effort when moving a model out of the print zone. This is achieved by designing a base chamfer, using three parameters to control the angle of the chamfer: base height, offset up, and offset down. These parameters represent the upper offset, lower offset, and base height, respectively. This allows the base chamfer to achieve the aforementioned effect.
[0339] The above optional implementation method can achieve at least the following beneficial effects: Through the above steps, the voxels used for support are gradually determined, so that when a 3D model is printed according to the print data, the printed 3D model has more stable support conditions, thereby resolving the technical problem in the related art of unstable support conditions when printing a 3D model based on 3D print data that includes support data. Furthermore, the above method can optimize the design of 3D model supports, for example, by reducing redundant supports, thereby reducing printing materials, or by adding supports to weakly stressed areas of the 3D model, thereby reducing the risk of 3D model printing failure and improving printing efficiency. It can also avoid adding supports to the main body of the 3D model, thereby avoiding affecting the surface quality of the printed model.
[0340] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0341] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, 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 number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0342] According to an embodiment of the present application, a device for implementing the above-mentioned method for determining support data of a three-dimensional model is also provided. Figure 32 is a structural block diagram of the device for determining support data of a three-dimensional model according to an embodiment of the present application. As shown in Figure 32, the device includes: a first acquisition module 3202, a first determination module 3204, a second determination module 3206, a third determination module 3208 and a fourth determination module 3210. The device is described in detail below.
[0343] The first acquisition module 3202 is used to acquire a three-dimensional model, wherein the three-dimensional model is located in a voxel space formed by the X-axis, Y-axis, and Z-axis, and the voxel space includes multiple voxels; the first determination module 3204 is connected to the above-mentioned first acquisition module 3202, and is used to determine the target source voxel from the multiple voxels; the second determination module 3206 is connected to the above-mentioned first determination module 3204, and is used to determine the target secondary voxel corresponding to the target source voxel in the negative direction of the Z-axis; the third determination module 3208 is connected to the above-mentioned second determination module 3206, and is used to perform voxel type judgment on the target secondary voxel and determine the voxel type result of the target secondary voxel; the fourth determination module 3210 is connected to the above-mentioned third determination module 3208, and is used to obtain support data corresponding to the three-dimensional model based on the voxel type result.
[0344] It should be noted here that the above-mentioned first determination module 3204, second determination module 3206, third determination module 3208 and fourth determination module 3210 correspond to steps S902 to S910 in the method for determining support data for implementing a three-dimensional model. The instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiments.
[0345] An embodiment of the present application provides an electronic device, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the above-mentioned methods for manufacturing a target object.
[0346] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0347] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0348] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.
[0349] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0350] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0351] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0352] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0353] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0354] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0355] The above are merely preferred embodiments of the present application and are not intended to limit the present application. Those skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application. Industrial Applicability
[0356] The solution provided by the embodiments of the present disclosure can be applied to the field of 3D printing technology. In the embodiments of the present disclosure, task information of a task to be migrated is obtained, wherein the task to be migrated is at least one printing task that was not completed when a faulty printer in a 3D printing scenario issued an abnormal signal; a target printer is determined from multiple candidate printers based on the task information and a target migration strategy, wherein the target migration strategy is used to match the target printer for the task to be migrated; the task information is sent to the target printer, and the task to be migrated is added to the task sequence of the target printer. This application solves the technical problems of the related art that rely on manual task migration processing when a printing task is abnormal, which is inefficient, costly, and has a high risk of delaying printing production tasks.
Claims
1. A method for manufacturing a target object, characterized in that, Including: Obtain the data file of the printing model and the material property parameters, where the printing model is a three-dimensional digital model of the target object to be printed; Generate an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters; Determine whether the target finite element model meets the stress intensity condition; In the case that the target finite element model does not meet the stress intensity condition, adjust the initial support structure in the target finite element model so that the adjusted target finite element model meets the stress intensity condition, and obtain a target support structure; Perform 3D printing on the printing model according to the target support structure.
2. The method for manufacturing a target object according to claim 1, characterized in that, Generating an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters includes: Generate a finite element model of the printing model according to the data file and the material property parameters to obtain a first finite element model; Generate a parameterized file of the initial support structure according to the data file, where the initial support structure is a structure that supports the printing model during the printing process; Generate a finite element model of the initial support structure according to the parameterized file to obtain a second finite element model; Merge the first finite element model and the second finite element model according to the parameterized file to obtain the target finite element model including the initial support structure and the printing model.
3. The method for manufacturing a target object according to claim 2, wherein, The parameterized file includes the support data corresponding to the three-dimensional model; Generating a parameterized file of the initial support structure according to the data file, where the initial support structure is a structure that supports the printing model during the printing process, includes: According to the data file of the three-dimensional model, where the three-dimensional model is located in a voxel space composed of the X-axis, Y-axis, and Z-axis, and the voxel space includes a plurality of voxels; Determine a target source voxel from the plurality of voxels; Determine a target secondary voxel corresponding to the target source voxel in the negative direction of the Z-axis; Perform a voxel type judgment on the target secondary voxel to determine the voxel type result of the target secondary voxel; Obtain the support data corresponding to the three-dimensional model according to the voxel type result.
4. The method for manufacturing a target object according to claim 3, characterized in that, Determining a target source voxel from the plurality of voxels includes: Obtain the support points corresponding to the three-dimensional model; Determine the target voxel vertices corresponding to the support points; Determine a target source voxel corresponding to the target voxel vertices from the plurality of voxels.
5. The method for manufacturing a target object according to claim 3, characterized in that, Obtaining the support data corresponding to the three-dimensional model according to the voxel type result includes: Determine the next-level voxels according to whether the voxel type result is a blocking voxel type result until the voxel with the corresponding Z coordinate being the bottom plate coordinate is determined, and obtain the support data corresponding to the three-dimensional model.
6. The method for manufacturing a target object according to claim 5, characterized in that, Determine the next-level voxels according to whether the voxel type result is a blocking voxel type result until the voxel with the corresponding Z coordinate being the bottom plate coordinate is determined, and obtain the support data corresponding to the three-dimensional model, including: When the voxel type of the target secondary voxel is the blocking voxel type, determine the target adjacent voxel corresponding to the target secondary voxel, where the Z coordinate corresponding to the target adjacent voxel is the same as the Z coordinate corresponding to the target secondary voxel; Use the target adjacent voxel as the new source voxel to determine the next-level voxel until a voxel with a corresponding Z coordinate equal to the bottom plate coordinate is determined, obtaining the support data, where the bottom plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction.
7. The method of manufacturing a target object according to claim 6, characterized in that, Determining the target adjacent voxel corresponding to the target secondary voxel includes: Determine at least one candidate adjacent voxel corresponding to the target secondary voxel, where the Z coordinate corresponding to the at least one candidate adjacent voxel is the same as the Z coordinate corresponding to the target secondary voxel, and the distance between the at least one candidate adjacent voxel and the target secondary voxel is less than a first predetermined threshold; Determine the target adjacent voxel from the at least one candidate adjacent voxel.
8. The method for manufacturing a target object according to claim 5, characterized in that, Determining the next-level voxel according to whether the voxel type result is the blocking voxel type until a voxel with a corresponding Z coordinate equal to the bottom plate coordinate is determined, obtaining the support data corresponding to the three-dimensional model, includes: When the voxel type of the target secondary voxel is not the blocking voxel type, determine the voxel directly below the target secondary voxel as the next-level voxel until a voxel with a corresponding Z coordinate equal to the bottom plate coordinate is determined, obtaining the support data.
9. The method for manufacturing a target object according to claim 5, characterized in that, Before determining the next-level voxel according to whether the voxel type result is the blocking voxel type until a voxel with a corresponding Z coordinate equal to the bottom plate coordinate is determined, obtaining the support data corresponding to the three-dimensional model, further includes: When the support points include support points on the outer surface of the model and support points on the inner surface of the model, and the bottom plate coordinates include a first bottom plate coordinate and a second bottom plate coordinate, determine the first bottom plate coordinate corresponding to the support point on the outer surface of the model, and determine the second bottom plate coordinate corresponding to the support point on the inner surface of the model, where the first bottom plate coordinate is the minimum coordinate of the three-dimensional model in the Z-axis direction, and the second bottom plate coordinate is the minimum coordinate of the hollow space inside the three-dimensional model in the Z-axis direction.
10. The method for manufacturing a target object according to claim 4, characterized in that, Determining the target voxel vertex corresponding to the support point includes: Determine at least one candidate voxel vertex corresponding to the support point, where the distance between the at least one candidate voxel vertex and the support point is less than a second predetermined threshold; Determine the target voxel vertex from the at least one candidate voxel vertex.
11. The method for manufacturing a target object according to claim 10, characterized in that, Determining the target voxel vertex from the at least one candidate voxel vertex includes: Determine the supported times corresponding to the at least one candidate voxel vertex respectively; According to the supported times corresponding to the at least one candidate voxel vertex respectively, determine the target voxel vertex from the at least one candidate voxel vertex.
12. The method for manufacturing a target object according to claim 10, characterized in that, Determining the target voxel vertex from the at least one candidate voxel vertex includes: Determine the connection parameters of the at least one candidate voxel vertex connected to the support point respectively; Determine the target voxel vertex from the at least one candidate voxel vertex according to the connection parameters of connecting the at least one candidate voxel vertex to the support point respectively.
13. The method for manufacturing a target object according to claim 4, characterized in that, Determining the target source voxel corresponding to the target voxel vertex from the multiple voxels includes: Determine at least one candidate source voxel corresponding to the target voxel vertex from the multiple voxels, wherein the Z coordinate corresponding to the at least one candidate source voxel is less than or equal to the Z coordinate corresponding to the target voxel vertex; Determine the target source voxel from the at least one candidate source voxel.
14. The method for manufacturing a target object according to claim 4, wherein, After determining the target source voxel from the multiple voxels, it further includes: Determine the determination result of whether a target secondary voxel corresponding to the target source voxel can be determined in the negative direction of the Z axis; In the case that the determination result is that a target secondary voxel corresponding to the target source voxel cannot be determined, determine the connecting rod data of the connecting rod connecting the support point to the predetermined surface.
15. The method for manufacturing a target object according to claim 14, wherein, The shape of the connecting rod represented by the connecting rod data is a shape with two hemispherical ends and a cylindrical middle.
16. The method for manufacturing a target object according to claim 4, characterized in that, The support point and the target voxel data are connected by a frustum-shaped connector, and the frustum-shaped connector includes a pointed end and a bottom surface, the pointed end is connected to the support point, and the bottom surface is connected to the target voxel data.
17. The method for manufacturing a target object according to claim 16, wherein, The radius of the bottom surface is the same as the radius of the cylinder corresponding to the target voxel data.
18. The method for manufacturing a target object according to claim 3, characterized in that, The voxel is a hollow voxel, and the target surface of the voxel is formed by two cylinders intersecting diagonally.
19. The method for manufacturing a target object according to claim 18, characterized in that, The resolution of the voxel is greater than a predetermined multiple of the radius of the cylinder.
20. The method for manufacturing a target object according to claim 18, characterized in that, The radius of the cylinder is determined according to the distance between the corresponding voxel and the three-dimensional model and the collision probability corresponding to the distance.
21. The method for manufacturing a target object according to claim 2, wherein, Generating the finite element model of the initial support structure according to the parametric file to obtain a second finite element model includes: According to the parametric file, divide and model the initial support structure to obtain the second finite element model.
22. The method for manufacturing a target object according to claim 2, characterized in that, Generating the finite element model of the initial support structure according to the parametric file to obtain a second finite element model includes: According to the parametric file, determine the position coordinates of the connection nodes between the initial support structure and the printing model to obtain contact position coordinates; According to the contact position coordinates, determine the polyhedron element in the first finite element model that is closest to the connection node to obtain a target polyhedron element; Using the multi-point constraint equation in the finite element method, couple and transfer the mechanical relationship between the target polyhedron element and the second finite element model to obtain an initial finite element model; Apply boundary constraints and load constraints to the initial finite element model to obtain the target finite element model.
23. The method for manufacturing a target object according to claim 22, characterized in that, According to the contact position coordinates, determine the polyhedron element in the first finite element model that is closest to the connection node to obtain a target polyhedron element, including: According to the contact position coordinates, use the algorithm of constructing a k-d tree to determine the polyhedron element in the first finite element model that is closest to the connection node to obtain the target polyhedron element.
24. The method for manufacturing a target object according to any one of claims 1 to 23, characterized in that, Determine whether the target finite element model meets the stress intensity condition, including: Calculate the stresses of all nodes in the target finite element model to obtain the target stress distribution, and calculate the displacement deformation of all nodes in the target finite element model according to the data file to obtain the target displacement distribution. The displacement deformation includes the displacement amounts of the corresponding nodes between the printed model and the target finite element model and the displacement amounts of the corresponding nodes between the initial support structure and the target finite element model. According to the target stress distribution and the target displacement distribution, determine whether the target finite element model meets the stress intensity condition. When the stress of a node in the target finite element model is less than or equal to the yield stress of the material, it is determined that the node in the target finite element model meets the stress intensity condition.
25. The method for manufacturing a target object according to any one of claims 2 to 23, characterized in that, Generate a finite element model of the printed model according to the data file and the material property parameters to obtain a first finite element model, including: Perform mesh division on the printed model according to the data file to obtain mesh model data. According to the mesh model data and the material property parameters, use polyhedron elements to construct the finite element model of the printed model to obtain the first finite element model.
26. The method for manufacturing a target object according to any one of claims 1 to 23, characterized in that, Adjust the initial support structure in the target finite element model, including: Add and delete connecting rods in the initial support structure in the target finite element model according to the nodes in the target finite element model that do not meet the stress intensity condition.
27. A device for manufacturing a target object, characterized in that, Include: An acquisition unit for acquiring a data file and material property parameters of a printed model, where the printed model is a three-dimensional model to be printed. A generation unit for generating an initial support structure and a target finite element model including the initial support structure according to the data file and the material property parameters. A determination unit for determining whether the target finite element model meets the stress intensity condition. An adjustment unit for adjusting the initial support structure in the target finite element model when the target finite element model does not meet the stress intensity condition, so that the adjusted target finite element model meets the stress intensity condition to obtain a target support structure. A printing unit for performing 3D printing on the printed model according to the target support structure.
28. The apparatus for manufacturing a target object according to claim 27, characterized in that, The generation unit includes: A first generation subunit for generating a finite element model of the printed model according to the data file and the material property parameters to obtain a first finite element model. A second generation subunit for generating a parameterized file of the initial support structure according to the data file, where the initial support structure is a structure for supporting the printed model during printing. A third generation subunit for generating a finite element model of the initial support structure according to the parameterized file to obtain a second finite element model. A merging subunit for merging the first finite element model and the second finite element model according to the parameterized file to obtain the target finite element model including the initial support structure and the printed model.
29. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program runs, it controls the device where the computer-readable storage medium is located to execute the method for manufacturing a target object according to any one of claims 1 to 26.
30. An electronic device, characterized in that, Comprising: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for executing the manufacturing of a target object according to any one of claims 1 to 26.
Citation Information
Patent Citations
Three-dimensional printing method
CN107984764A
Hydraulic valve integrated block supporting structure optimization method based on 3D printing
CN111931398A
3D printing data processing method and 3D printing method and device
CN113524688A
3D printing method for hollowed-out internal self-supporting structure and desktop ornament printing method
CN115674684A
Determination method and determination device of supporting structure, storage medium and electronic equipment
CN117719162A