Intelligent photocuring 3D printing model optimization method
Through the intelligent optical curing 3D printing model optimization method, the geometric features and material properties of the 3D model are automatically analyzed and optimized, and the problems of unstable printing quality and waste in traditional optical curing 3D printing technology are solved, achieving more efficient and economical 3D printing effect.
Patent Information
- Application Number
- CN202411649912.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-11-19
AI Technical Summary
Traditional photocuring 3D printing technology relies on manual setting of printing parameters, resulting in unstable printing quality, serious waste of materials, and lack of intelligent optimization methods.
By automatically analyzing the geometric features and material properties of the 3D model, the potential weaknesses in the model are identified, and an intelligent optical curing 3D printing model optimization method is adopted, including parsing geometric information in the model file, identifying key feature areas, generating an adversarial network optimization model, Pareto optimization and virtual reality testing.
It improves the quality and stability of the printing model, reduces material consumption and printing time, enhances the intelligence and automation level of the system, and realizes a more efficient and economical 3D printing solution.
Smart Images

Figure CN119388758A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photocuring 3D printing, and in particular to an intelligent photocuring 3D printing model optimization method. Background Art
[0002] Stereolithography (SLA) is a high-precision additive manufacturing technology that forms three-dimensional objects by solidifying photosensitive resin layer by layer. This technology has high resolution and excellent surface finish and is widely used in medical devices, precision industrial parts, jewelry making and other fields. Although SLA has significant advantages, it still faces several challenges in practical applications.
[0003] Traditional light-curing 3D printing relies on manual experience to set printing parameters (such as filling rate, layer thickness, printing speed, etc.), and these parameters have a direct impact on printing quality. However, due to the complexity of the model and changes in the printing environment, a single parameter setting cannot meet the needs of all models, resulting in unstable printing quality, and often problems such as model surface defects and insufficient structural strength. Due to the lack of intelligent optimization methods, the traditional printing process often causes waste of materials. The support structure and filling method in the model are usually set manually by the user. These settings may lead to unreasonable use of materials, thereby increasing production costs and time.
[0004] With the development of technology, the market demand for efficient and accurate light-curing 3D printing technology is growing. In order to improve printing efficiency, reduce material waste, and ensure printing quality, an intelligent method is urgently needed to optimize the model and adjust the printing parameters to meet different printing needs. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes an intelligent light-curing 3D printing model optimization method, which automatically analyzes the geometric features and material properties of the 3D model, identifies potential weaknesses in the model, and intelligently optimizes the 3D printing model.
[0006] The present invention is implemented by the following technical solutions: In a first aspect, the present invention provides an intelligent light-curing 3D printing model optimization method, the method comprising the following steps: Get the 3D printing model file uploaded by the user; Analyze the geometric information in the model file and extract the triangle mesh structure, normal vector information and surface area; Identify key feature areas of surfaces, corners and edges in the model, collect printing parameter data, and generate target model summary files; Define the optimized printing target according to the target model summary file, generate the optimization model based on the generative adversarial network, evaluate the model quality through the discriminator network, analyze the results of multi-objective optimization, and find the optimal balance between different targets; Use virtual reality to test the optimized model and printing parameters, and make adaptive corrections based on the simulation test results to adjust to the optimal printing parameters.
[0007] As a further solution of the present invention, when parsing the geometric information in the model file, a 3D printing model file uploaded by a user is received through a user interface, and the file is stored on a server; 3D model data is read according to the file format; wherein, when parsing the geometric information, it includes: Extract the vertex, edge and face information of the model to obtain the triangular mesh structure; Calculate the normal vector of each face and triangle to obtain the normal vector information; The total area of the model surface and the area of the triangle are calculated to obtain the surface area of the 3D printed model.
[0008] As a further solution of the present invention, the format of the 3D printing model file includes but is not limited to STL and OBJ formats. When the normal vector information is calculated, the normal vector n of the triangle △ABC is calculated by vector intersection: n = (AB × AC) Among them, AB and AC are vectors from point A to B and C respectively; that is: AB=BA; AC=CA; among them, A, B, C are the coordinates of the three vertices of the triangle, A( , , ), B( , , ), C ( , , ); × represents the vector cross product operation, and the result of the calculation is a normal vector perpendicular to the plane △ABC.
[0009] As a further solution of the present invention, when the normal vector information is calculated, the calculation formula of the area S of the triangle △ABC is:
[0010] in, is the area of triangle △ABC; It represents the modulus of the vector cross product AB×AC, that is, the size of the cross product of the two side vectors of the triangle, and represents the area of the parallelogram formed by the two side vectors on the plane of the triangle.
[0011] As a further solution of the present invention, the key feature areas of the surface, corners and edges in the model are identified. When the surface in the model is identified, the normal vector n of each point P on the surface is calculated using the curvature formula:
[0012] In the formula, The curvature is used to describe the degree of curvature of a point on the surface. The greater the curvature, the more severe the curvature of the surface around the point. is the normal vector of the point on the actual surface; Represents the estimated value of the normal vector of the point, which is obtained by averaging the normal vectors of neighboring points; is the modulus of the difference between the two normal vectors, indicating the difference between the normal vector of the point and its estimated value; Represents the distance between adjacent vertices on the model, calculated using the Euclidean distance in three-dimensional space.
[0013] As a further solution of the present invention, the key feature area of the corner in the model is identified. When identifying the corner, the normal vector of the point is used to calculate the angle, where:
[0014] In the formula, It is the angle between two adjacent faces and is used to identify corner features in the model; is the arccosine function, which is used to find the angle from the dot product of the normal vector. The result is the angle. and are the normal vectors of two adjacent triangular faces, representing the directions of the two faces in three-dimensional space; is the dot product of two normal vectors, which is used to calculate the angle between the two normal vectors; the calculation formula for the dot product value is:
[0015] In the formula, is the angle between the two vectors.
[0016] As a further solution of the present invention, the optimization printing target defined according to the target model summary file includes the strength, material consumption and printing time of the model; wherein the objective function of the optimization target setting is:
[0017] In the formula, , and is the target weight, , , They are the strength of the model, material consumption and printing time.
[0018] As a further solution of the present invention, when generating an optimization model based on a generative adversarial network, a group of high-quality model samples, including models before and after optimization, are collected as training data; a generator network and a discriminator network are established, wherein the input of the generator is the optimization target parameter, and the output is the generated 3D model; the input of the discriminator is the comparison between the generated model and the real model, and the output is the score of the model quality; the generator loss and the discriminator loss are calculated respectively through the loss function; adversarial training is performed with the real model and the generated model, the trained discriminator is used to evaluate the generated model, the quality score is output, and the quality score of the model and the result that meets the objective function are used for comprehensive evaluation.
[0019] As a further solution of the present invention, when analyzing the results of multi-objective optimization and finding the optimal balance point between different objectives, Pareto optimization is used to find the optimal balance point based on multiple optimization objectives of the determined model strength, material consumption and printing time; the trade-off relationship between different objectives is determined by drawing the Pareto front of the objective function, the Pareto front is analyzed, and the optimal balance point is reached according to the objective weights.
[0020] As a further solution of the present invention, when using virtual reality to test the optimized model and printing parameters, Unity is selected as the VR platform, the optimized 3D model is imported into the VR environment, and the printing parameters of printing speed, material type, and layer thickness are set for virtual simulation; the printing parameters are adjusted according to the test results, and the adjusted parameters are retested in the virtual environment, and the testing and adjustment process is repeated until the optimal printing parameters are found.
[0021] The present invention also includes a computer device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the intelligent light-curing 3D printing model optimization method.
[0022] The present invention also includes a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the intelligent light-curing 3D printing model optimization method.
[0023] Compared with the prior art, the intelligent light-curing 3D printing model optimization method provided by the present invention has the following beneficial effects: 1. Improved the quality of printed models, accuracy and stability. The present invention accurately analyzes the geometric information of the model (such as triangular mesh structure, normal vector, surface area), ensuring that every detail in the printing process is accurately captured and processed, reducing printing defects. By identifying and optimizing key feature areas in the model (such as curved surfaces, corners and edges), the strength and stability of the printed model can be effectively improved, preventing structural problems during the printing process.
[0024] 2. Reduced material consumption and shortened printing time. The present invention uses a generative adversarial network (GAN) optimization model for multi-objective optimization, which can reduce material consumption while meeting strength requirements. For example, the system can identify and reduce unnecessary support structures, thereby saving materials. The calculation of material consumption in the optimization objective function can accurately estimate and optimize the amount of material used to reduce waste. By optimizing the model and printing parameters, the optimal printing speed, layer thickness and other parameters can be selected to reduce printing time. By using a virtual reality platform to simulate and test the optimized model, the printing time and effect can be verified in a virtual environment, thereby avoiding time waste in actual printing.
[0025] 3. Improved automation and intelligence of the optimization process. The present invention can automatically parse the 3D model files uploaded by users, automatically extract geometric information, reduce manual operations, and improve work efficiency. Through the generative adversarial network (GAN) and Pareto optimization algorithm, it can intelligently find the best balance point for model optimization and automatically adjust the model to meet multiple optimization goals (such as strength, material consumption, and printing time).
[0026] 4. Optimize design flexibility to achieve multi-objective balance and personalized adjustment. The Pareto optimization method allows users to make trade-offs between strength, material consumption and printing time to ensure the best balance between different goals. For example, the weights of the optimization goals can be adjusted according to actual needs to adapt to different application scenarios. According to the specific needs and printing tasks of the user, the system can make adaptive adjustments to ensure that the final printing effect meets expectations. By simulating and testing printing parameters through virtual reality (VR), the system can make optimization adjustments in a virtual environment, reducing the number and cost of trials in actual printing. The discriminator network in the generative adversarial network can automatically evaluate the quality of the optimization model and reduce dependence on manual evaluation.
[0027] 5. Improved the printing adaptability and printing efficiency of the model. By adaptively correcting the model, the system can adjust the printing parameters to adapt to different printing conditions and requirements, thereby improving the adaptability of the model in different printing environments. Virtual simulation and adjustment using the VR platform can determine the optimal printing settings before actual printing to ensure that the printing effect of the model meets the requirements. Through automated geometric information analysis and optimized model generation, the model design and printing preparation process is accelerated and overall work efficiency is improved. By accurately calculating normal vectors, curvatures and corners, errors in model design and printing are reduced, and printing accuracy and consistency are improved.
[0028] In summary, the intelligent photocuring 3D printing model optimization method of the present invention significantly improves the quality, efficiency and material utilization of the printed model through automated geometric information analysis, curvature and corner calculation, generative adversarial network optimization, Pareto optimization and virtual reality testing. It not only improves the accuracy and strength of the model, but also reduces material waste and printing time, while enhancing the intelligence and automation level of the system, ultimately bringing a more efficient and economical 3D printing solution.
[0029] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings: Figure 1 The figure is a flow chart of an intelligent light-curing 3D printing model optimization method according to an embodiment of the present invention.
[0031] Figure 2 The present invention is a flowchart of parsing geometric information in the intelligent light-curing 3D printing model optimization method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0033] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0034] The following will be combined with the drawings in the exemplary embodiments of the present invention to clearly and completely describe the technical solutions in the exemplary embodiments of the present invention. Obviously, the exemplary embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0035] Due to the complexity of the model and changes in the printing environment, a single parameter setting cannot meet the needs of all models, resulting in unstable printing quality, and problems such as model surface defects and insufficient structural strength. Due to the lack of intelligent optimization methods, the traditional printing process often causes waste of materials. The support structure and filling method in the model are usually set manually by the user. These settings may lead to unreasonable use of materials, thereby increasing production costs and time. The present invention provides an intelligent light-curing 3D printing model optimization method, which automatically analyzes the geometric features and material properties of the 3D model, identifies potential weaknesses in the model, and intelligently optimizes the 3D printing model.
[0036] The technical solution of the present invention is further described below in conjunction with specific embodiments: See also Figure 1 As shown, Figure 1 A flow chart of an intelligent light-curing 3D printing model optimization method provided by the present invention. An intelligent light-curing 3D printing model optimization method provided in one embodiment of the present invention comprises the following steps: Step S10: Obtain the 3D printing model file uploaded by the user.
[0037] Step S20: parse the geometric information in the model file to extract the triangle mesh structure, normal vector information and surface area.
[0038] In this step, when parsing the geometric information in the model file, the 3D printing model file uploaded by the user is received through the user interface, and the file is stored on the server; the 3D model data is read according to the file format; wherein, see Figure 2 As shown, when parsing geometric information, it includes: Step S201, extracting vertex, edge and face information of the model to obtain a triangular mesh structure; Step S202, calculating the normal vector of each face and triangle to obtain normal vector information; Step S203: Calculate the total area of the model surface and the area of the triangles to obtain the surface area of the 3D printed model.
[0039] In this embodiment, the format of the 3D printing model file includes but is not limited to STL and OBJ formats. When calculating the normal vector information, the normal vector n of the triangle △ABC is calculated by vector intersection: n = (AB × AC) Among them, AB and AC are vectors from point A to B and C respectively; that is: AB=BA; AC=CA; among them, A, B, C are the coordinates of the three vertices of the triangle, A( , , ), B( , , ), C ( , , ); × represents the vector cross product operation, and the result of the calculation is a normal vector perpendicular to the plane △ABC.
[0040] Among them, when the normal vector information is calculated, the calculation formula of the area S of the triangle △ABC is:
[0041] in, is the area of triangle △ABC; It represents the modulus of the vector cross product AB×AC, that is, the size of the cross product of the two edge vectors of the triangle, and represents the triangle formed by the two edge vectors on the plane.
[0042] Among them, the key feature areas of the surface, corners and edges in the model are identified. When identifying the surface in the model, the normal vector n of each point P on the surface is calculated using the curvature formula:
[0043] In the formula, The curvature is used to describe the degree of curvature of a point on the surface. The greater the curvature, the more severe the curvature of the surface around the point. is the normal vector of the point on the actual surface; Represents the estimated value of the normal vector of the point, which is obtained by averaging the normal vectors of neighboring points; is the modulus of the difference between the two normal vectors, indicating the difference between the normal vector of the point and its estimated value; Represents the distance between adjacent vertices on the model, calculated using the Euclidean distance in three-dimensional space.
[0044] Step S30: Identify key feature areas of surfaces, corners and edges in the model, collect printing parameter data, and generate a target model summary file.
[0045] In this step, the key feature areas of the corners in the model are identified. When identifying the corners, the angle is calculated using the normal vector of the point, where:
[0046] In the formula, It is the angle between two adjacent faces and is used to identify corner features in the model; is the arccosine function, which is used to find the angle from the dot product of the normal vector. The result is the angle. and are the normal vectors of two adjacent triangular faces, representing the directions of the two faces in three-dimensional space; is the dot product of two normal vectors, which is used to calculate the angle between the two normal vectors; the calculation formula for the dot product value is:
[0047] In the formula, is the angle between the two vectors.
[0048] Among them, the optimization printing targets defined according to the target model summary file include the strength, material consumption and printing time of the model; among them, the objective function of the optimization target setting is:
[0049] In the formula, , and is the target weight, , , They are the strength of the model, material consumption and printing time.
[0050] For example, when identifying key feature areas of surfaces, corners and edges in a model, if a sharp edge in the model is identified as an area requiring special treatment, the printing parameter record is set to a light curing time of 10 seconds, a light source intensity of 80%, and a speed of 20 mm / s. The summary file content includes model data, feature areas and parameter recommendations, forming a JSON file for further processing, which can ensure the logical correctness and completeness of the 3D printing model optimization method.
[0051] When calculating, if you have the following triangle vertex coordinates: A(1,0,0), B(0,1,0), C(0,0,1); Normal vector: AB=(-1,1,0) and AC=(-1,0,1); n=AB×AC=(1,1,1).
[0052] The area of the triangle is: .
[0053] When identifying corners, if the normal vectors of two adjacent faces are (1,0,0) and (0,1,0), the angle between them is:
[0054] Step S40, define the optimized printing target according to the target model summary file, generate the optimization model based on the generative adversarial network, evaluate the model quality through the discriminator network, analyze the results of multi-objective optimization, and find the optimal balance point between different targets.
[0055] In this step, when generating an optimization model based on a generative adversarial network, a set of high-quality model samples, including models before and after optimization, are collected as training data; a generator network and a discriminator network are established, wherein the input of the generator is the optimization target parameter, and the output is the generated 3D model; the input of the discriminator is the comparison between the generated model and the real model, and the output is the score of the model quality; the generator loss and the discriminator loss are calculated respectively through the loss function; adversarial training is performed with the real model and the generated model, and the trained discriminator is used to evaluate the generated model, and the quality score is output, and a comprehensive evaluation is performed using the quality score of the model and the result that meets the objective function.
[0056] In this embodiment, when analyzing the results of multi-objective optimization and finding the optimal balance point between different objectives, Pareto optimization is used to find the optimal balance point based on multiple optimization objectives of the determined model strength, material consumption and printing time; the trade-off relationship between different objectives is determined by drawing the Pareto front of the objective function, and the Pareto front is analyzed to reach the optimal balance point according to the objective weights.
[0057] Step S50: Use virtual reality to test the optimized model and printing parameters, and make adaptive corrections based on the simulation test results to adjust to the optimal printing parameters.
[0058] In this step, when using virtual reality to test the optimized model and printing parameters, select Unity as the VR platform, import the optimized 3D model into the VR environment, set the printing parameters of printing speed, material type, and layer thickness for virtual simulation; adjust the printing parameters according to the test results, retest the adjusted parameters in the virtual environment, and repeat the testing and adjustment process until the optimal printing parameters are found.
[0059] Suppose you want to optimize a model of a printed part and test its performance in a VR environment: (1) Model import: Import the optimized part model (such as the bracket) into Unity.
[0060] (2) Set printing parameters: Configure the virtual printer's printing speed to 50 mm / s, the material type to PLA, and the layer thickness to 0.2 mm.
[0061] (3) Simulate printing: Simulate the printing process in Unity to observe whether there is any misalignment between layers or support structure failure.
[0062] (4) Performance testing: Using virtual mechanics tools to evaluate the strength of the bracket, it was found that some parts may not be strong enough.
[0063] (5) Parameter adjustment: Reduce the printing speed to 40 mm / s, increase the density of the support structure, and perform virtual testing again.
[0064] (6) Optimization loop: Repeat the above steps until the optimal printing parameters are obtained.
[0065] Through the above steps, the printing model and parameters can be efficiently tested and optimized in a virtual environment, reducing the trial and error costs in actual printing.
[0066] In the present invention, the intelligent light-curing 3D printing model optimization method ensures that every detail in the printing process is accurately captured and processed by accurately parsing the geometric information of the model (such as triangular mesh structure, normal vector, surface area), thereby reducing printing defects. By identifying and optimizing key feature areas (such as curved surfaces, corners and edges) in the model, the strength and stability of the printed model can be effectively improved, and structural problems in the printing process can be prevented. By performing multi-objective optimization through the generative adversarial network (GAN) optimization model, material consumption can be reduced while meeting strength requirements. For example, the system can identify and reduce unnecessary support structures, thereby saving materials. The calculation of material consumption in the optimization objective function can accurately estimate and optimize the amount of material used and reduce waste. In addition, by optimizing the model and printing parameters, the optimal printing speed, layer thickness and other parameters can be selected to reduce printing time. By using a virtual reality platform to simulate and test the optimized model, the printing time and effect can be verified in a virtual environment, thereby avoiding time waste in actual printing.
[0067] The present invention can automatically parse the 3D model files uploaded by users, automatically extract geometric information, reduce manual operations, and improve work efficiency. Through the generative adversarial network (GAN) and the Pareto optimization algorithm, the optimal balance point of model optimization can be intelligently found, and the model can be automatically adjusted to meet multiple optimization goals (such as strength, material consumption, and printing time). The Pareto optimization method allows users to make trade-offs between strength, material consumption, and printing time to ensure the optimal balance between different goals. For example, the weights of the optimization goals can be adjusted according to actual needs to adapt to different application scenarios. According to the specific needs of the user and the printing task, the system can make adaptive adjustments to ensure that the final printing effect meets expectations. By simulating and testing the printing parameters through virtual reality (VR), the system can make optimization adjustments in a virtual environment, reducing the number and cost of trials in actual printing. The discriminator network in the generative adversarial network can automatically evaluate the quality of the optimization model and reduce dependence on manual evaluation.
[0068] The present invention makes adaptive corrections to the model, and the system can adjust the printing parameters to adapt to different printing conditions and requirements, thereby improving the adaptability of the model in different printing environments. Virtual simulation and adjustment using the VR platform can determine the optimal printing settings before actual printing to ensure that the printing effect of the model meets the requirements. Through automated geometric information analysis and optimized model generation, the model design and printing preparation process are accelerated, and the overall work efficiency is improved. By accurately calculating normal vectors, curvatures, and corners, errors in model design and printing are reduced, and printing accuracy and consistency are improved.
[0069] In summary, the intelligent photocuring 3D printing model optimization method of the present invention significantly improves the quality, efficiency and material utilization of the printed model through automated geometric information analysis, curvature and corner calculation, generative adversarial network optimization, Pareto optimization and virtual reality testing. It not only improves the accuracy and strength of the model, but also reduces material waste and printing time, while enhancing the intelligence and automation level of the system, ultimately bringing a more efficient and economical 3D printing solution.
[0070] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.
[0071] In one embodiment, a computer device is also provided in an embodiment of the present invention, comprising at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the intelligent photo-curing 3D printing model optimization method.
[0072] In one embodiment, the present invention further provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the steps of the intelligent light-curing 3D printing model optimization method.
[0073] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be realized by instructing the relevant hardware through a computer program represented by computer instructions, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory.
[0074] Non-volatile memory may include read-only memory, magnetic tape, floppy disk, flash memory or optical storage, etc. Volatile memory may include random access memory or external cache memory. As an illustration and not limitation, RAM may be in various forms, such as static random access memory or dynamic random access memory, etc.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent light-curing 3D printing model optimization method, characterized in that: The method comprises the following steps: Get the 3D printing model file uploaded by the user; Analyze the geometric information in the model file and extract the triangle mesh structure, normal vector information and surface area; Identify key feature areas of surfaces, corners and edges in the model, collect printing parameter data, and generate target model summary files; Define the optimized printing target according to the target model summary file, generate the optimization model based on the generative adversarial network, evaluate the model quality through the discriminator network, analyze the results of multi-objective optimization, and find the optimal balance between different targets; Use virtual reality to test the optimized model and printing parameters, and make adaptive corrections based on the simulation test results to adjust to the optimal printing parameters.
2. The intelligent light-curing 3D printing model optimization method according to claim 1, characterized in that: When parsing the geometric information in the model file, the 3D printing model file uploaded by the user is received through the user interface, and the file is stored on the server; the 3D model data is read according to the file format; wherein, when parsing the geometric information, it includes: Extract the vertex, edge and face information of the model to obtain the triangular mesh structure; Calculate the normal vector of each face and triangle to obtain the normal vector information; The total area of the model surface and the area of the triangle are calculated to obtain the surface area of the 3D printed model.
3. The intelligent light-curing 3D printing model optimization method according to claim 2, characterized in that: The formats of the 3D printing model file include STL and OBJ formats. When calculating the normal vector information, the normal vector n of the triangle △ABC is calculated by vector intersection: n = (AB × AC) Among them, AB and AC are vectors from point A to B and C respectively; that is: AB=BA; AC=CA; among them, A, B, C are the coordinates of the three vertices of the triangle, A( , , ), B( , , ), C ( , , ); × represents the vector cross product operation, and the result of the calculation is a normal vector perpendicular to the plane △ABC.
4. The intelligent light-curing 3D printing model optimization method according to claim 3, characterized in that: When the normal vector information is calculated, the calculation formula for the area S of the triangle △ABC is: in, is the area of triangle △ABC; It represents the modulus of the vector cross product AB×AC, that is, the size of the cross product of the two side vectors of the triangle, and represents the area of the parallelogram formed by the two side vectors on the plane of the triangle.
5. The intelligent light-curing 3D printing model optimization method according to claim 4, characterized in that: Identify the key feature areas of surfaces, corners and edges in the model. When identifying surfaces in the model, the normal vector n of each point P on the surface is calculated using the curvature formula: In the formula, The curvature is used to describe the degree of curvature of a point on the surface. The greater the curvature, the more severe the curvature of the surface around the point. is the normal vector of the point on the actual surface; Represents the estimated value of the normal vector of the point, which is obtained by averaging the normal vectors of neighboring points; is the modulus of the difference between the two normal vectors, indicating the difference between the normal vector of the point and its estimated value; Represents the distance between adjacent vertices on the model, calculated using the Euclidean distance in three-dimensional space.
6. The intelligent light-curing 3D printing model optimization method according to claim 5, characterized in that: Identify the key feature areas of the corners in the model. When identifying corners, use the normal vector of the point to calculate the angle, where: In the formula, It is the angle between two adjacent faces and is used to identify corner features in the model; is the arccosine function, which is used to find the angle from the dot product of the normal vector. The result is the angle. and are the normal vectors of two adjacent triangular faces, representing the directions of the two faces in three-dimensional space; is the dot product of two normal vectors, which is used to calculate the angle between the two normal vectors; the calculation formula for the dot product value is: In the formula, is the angle between the two vectors.
7. The intelligent light-curing 3D printing model optimization method according to claim 6, characterized in that: The optimization printing targets defined in the target model summary file include the strength of the model, material consumption, and printing time; the objective function of the optimization target setting is: In the formula, , and is the target weight, , , They are the strength of the model, material consumption and printing time.
8. The intelligent light-curing 3D printing model optimization method according to any one of claims 1 to 7, characterized in that: When generating an optimization model based on a generative adversarial network, a set of high-quality model samples, including models before and after optimization, are collected as training data; a generator network and a discriminator network are established, wherein the input of the generator is the optimization target parameter, and the output is the generated 3D model; the input of the discriminator is the comparison between the generated model and the real model, and the output is the score of the model quality; the generator loss and the discriminator loss are calculated respectively through the loss function; adversarial training is performed with the real model and the generated model, and the trained discriminator is used to evaluate the generated model, and the quality score is output, and a comprehensive evaluation is performed using the quality score of the model and the result that meets the objective function.
9. The intelligent light-curing 3D printing model optimization method according to claim 8, characterized in that: Analyze the results of multi-objective optimization and find the optimal balance point between different objectives. Use Pareto optimization to find the optimal balance point based on the multiple optimization objectives of model strength, material consumption and printing time. Determine the trade-off relationship between different objectives by drawing the Pareto front of the objective function, analyze the Pareto front, and reach the optimal balance point according to the objective weights.
10. The intelligent light-curing 3D printing model optimization method according to claim 9, characterized in that: When using virtual reality to test the optimized model and printing parameters, select Unity as the VR platform, import the optimized 3D model into the VR environment, set the printing parameters of printing speed, material type, and layer thickness for virtual simulation; adjust the printing parameters according to the test results, retest the adjusted parameters in the virtual environment, and repeat the testing and adjustment process until the best printing parameters are found.
Citation Information
Patent Citations
Three-dimensional model compensation method and device for three-dimensional printing and storage medium
CN117774328A
Photocuring 3D printing method, device and equipment and readable storage medium
CN118700542A
Fused deposition modeling process parameter monitoring method based on domain adversarial network
CN118887605A
System and method for three-dimensional printing
US20220288860A1
3D object design synthesis and optimization using existing designs
WO2020023811A1
Cited By
3D printing intelligent control system
CN119704676A
Intelligent optimization method and system for printing task of laser printer
CN121070293A
3D printing intelligent orientation method based on virtual experiment
CN121973449A