Model processing method and device for light-cured printing, electronic equipment and storage medium
Patent Information
- Application Number
- CN202511330393.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-17
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2045-09-17
AI Technical Summary
[0003]本发明提供了一种光固化打印的模型处理方法、装置、电子设备及存储介质,以解决光固化打印过程中模型容易发生变形会导致模型打印失败的问题
[0015]本发明实施例的技术方案,通过确定目标模型的多个第一切片,目标模型为用于光固化打印的三维数字模型;确定多个第一切片中是否存在符合目标条件的第一切片,目标条件用于指示切片的固化层会在切片的残留液态树脂的作用下发生形变;在多个第一切片中存在符合目标条件的第一切片时,对目标模型执行第一处理操作或第二处理操作,第一处理操作用于对目标模型进行旋转调整使目标模型的多个第二切片中不存在符合目标条件的第二切片,第二处理操作用于将符合目标条件的第一切片中的第一区域与第二区域进行连通,实现了通过确定目标模型的多个第一切片中存在符合目标条件的第一切片时,基于目标模型的多个第一切片进行光固化打印会存在打印失败,进而通过对目标模型执行第一处理操作或第二处理操作,以便于基于多个第二切片或者第二处理操作后的第一切片进行光固化打印,能够避免光固化打印获得的固化层发生形变,从而有效避免打印失败。
Smart Images

Figure CN121105398B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 3D printing technology, and in particular to a method, apparatus, electronic device, and storage medium for processing models for photopolymerization printing. Background Technology
[0002] Photopolymer printing involves layering liquid photosensitive resin to solidify it, creating a solid model. During the process, the model is immersed in the resin. When cavities exist within the printed model, as the model rises, the resin level drops relative to the liquid surface, while the resin within the cavities rises. However, at this stage, the model is not fully cured, and the material is relatively soft. The resin within the cavities can compress the inner walls of the model, making it prone to deformation and potentially causing printing failure. Summary of the Invention
[0003] This invention provides a model processing method, apparatus, electronic device, and storage medium for photopolymer printing, to solve the problem that the model is prone to deformation during the photopolymer printing process, which can lead to model printing failure.
[0004] According to one aspect of the present invention, a model processing method for photopolymer printing is provided, the method comprising:
[0005] Multiple first slices of the target model are determined. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction.
[0006] Determine whether there is a first slice that meets the target conditions among multiple first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after it leaves the liquid resin surface during the photocuring printing process.
[0007] When there is a first slice that meets the target condition among multiple first slices, a first processing operation or a second processing operation is performed on the target model. The first processing operation is used to rotate and adjust the target model so that there is no second slice that meets the target condition among the multiple second slices of the target model. The multiple second slices are obtained by cutting the rotated and adjusted target model layer by layer along the direction perpendicular to the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target condition. The first region is a non-printing region that is closed by the printing region, and the second region is a non-printing region that is not closed by the printing region.
[0008] According to another aspect of the present invention, a model processing apparatus for photopolymer printing is provided, the apparatus comprising:
[0009] The first determining module is used to determine multiple first slices of the target model, which is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction.
[0010] The second determining module is used to determine whether there is a first slice that meets the target conditions among multiple first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after leaving the liquid resin surface during the photocuring printing process.
[0011] The first processing module is used to perform a first processing operation or a second processing operation on the target model when there is a first slice that meets the target conditions among multiple first slices. The first processing operation is used to rotate and adjust the target model so that there are no second slices that meet the target conditions among the multiple second slices of the target model. The multiple second slices are obtained by cutting the rotated and adjusted target model layer by layer along the direction perpendicular to the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target conditions. The first region is a non-printing region that is closed by the printing region, and the second region is a non-printing region that is not closed by the printing region.
[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0013] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the photopolymerization printing model processing method of any embodiment of the present invention.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided that stores computer instructions for causing a processor to execute and implement the photopolymerization printing model processing method of any embodiment of the present invention.
[0015] The technical solution of this invention involves determining multiple first slices of a target model, where the target model is a three-dimensional digital model for photopolymerization printing; determining whether any of the multiple first slices meet target conditions, where the target conditions indicate that the cured layer of the slice will deform under the action of residual liquid resin; and when a first slice meeting the target conditions exists among the multiple first slices, performing a first processing operation or a second processing operation on the target model. The first processing operation involves rotating and adjusting the target model so that no second slice meeting the target conditions exists among the multiple second slices of the target model. The second processing operation involves connecting the first region and the second region of the first slice meeting the target conditions. This achieves the goal that when a first slice meeting the target conditions exists among the multiple first slices of the target model, photopolymerization printing based on the multiple first slices of the target model will fail. By performing the first or second processing operation on the target model, photopolymerization printing based on the multiple second slices or the first slice after the second processing operation can avoid deformation of the cured layer obtained by photopolymerization printing, thereby effectively avoiding printing failure.
[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart illustrating a model processing method for photopolymerization printing provided in an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of a photopolymerization printing process provided in an embodiment of the present invention;
[0020] Figure 3 A flowchart of another model processing method for photopolymerization printing provided in an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of a first slice Voronoi diagram provided in an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of a model processing device for photopolymer printing provided in an embodiment of the present invention;
[0023] Figure 6 This is a schematic diagram of an electronic device for implementing a model processing method for photopolymerization printing, as provided in an embodiment of the present invention. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] Figure 1 This is a flowchart illustrating a model processing method for photopolymer printing according to an embodiment of the present invention. This embodiment is applicable to processing digital models printed using photopolymer printing. The method can be executed by a model processing device for photopolymer printing, which can be implemented in hardware and / or software and configured in an electronic device that implements the model processing method for photopolymer printing. Figure 1 As shown, the model processing method for photopolymer printing includes:
[0027] S101. Determine multiple first slices of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction.
[0028] Photopolymerization printing refers to the process of solidifying liquid photosensitive resin layer by layer using a light source, based on the principle of photopolymerization, to create a three-dimensional solid model. A three-dimensional digital model is a digital virtual medium capable of expressing the shape, structure, texture, and related attributes of a three-dimensional object. Three-dimensional digital models can be constructed using computer technology. The target model has an internal cavity structure.
[0029] The printing direction in photopolymer printing refers to the height direction of the model during the photopolymer printing process. The perpendicular direction to the printing direction refers to a plane direction perpendicular to the height direction of the model. Layer-by-layer cutting refers to the process of continuously cutting the target model into multiple slices according to a preset printing layer thickness. The preset printing layer thickness refers to the pre-set thickness for each slice layer during photopolymer printing, and also represents the distance between two adjacent slice layers. Layer-by-layer cutting can be used to achieve layered representation of the target model.
[0030] The first slice can refer to a slice layer obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction. Specifically, multiple first slices can be obtained by cutting the target model layer by layer based on a preset printing layer thickness using slicing software.
[0031] S102. Determine whether there is a first slice that meets the target conditions among the multiple first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after it leaves the liquid resin surface during the photocuring printing process.
[0032] In the process of photopolymerization printing of multiple first slices based on the target model, the solid model corresponding to the target model is formed by sequentially printing the cured layer of each first slice. When the cured layer of the first slice deforms under the action of the residual liquid resin in the first slice, it indicates that the first slice meets the target conditions.
[0033] For details, please refer to Figure 2 The solid model obtained by photopolymer printing leaves the liquid resin surface as the printing platform rises. The target model contains a cavity structure. When the solid model obtained by photopolymer printing leaves the liquid resin surface, if the boundary of the hollow area above the liquid resin surface is closed, the liquid resin will rise synchronously with the hollow area. This results in residual liquid resin inside the hollow area above the liquid resin surface, which will compress the surrounding solid resin. Therefore, when the cured layer of the first slice leaves the liquid resin surface, whether the residual liquid resin in the hollow area of the cured layer of the first slice causes deformation of the cured layer can be used to determine whether the first slice meets the target conditions.
[0034] S103. When there is a first slice that meets the target condition among multiple first slices, perform a first processing operation or a second processing operation on the target model. The first processing operation is used to rotate and adjust the target model so that there is no second slice that meets the target condition among the multiple second slices of the target model. The multiple second slices are obtained by cutting the rotated and adjusted target model layer by layer along the vertical direction of the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target condition. The first region is a non-printing region closed by the printing region, and the second region is a non-printing region not closed by the printing region.
[0035] Rotation adjustment refers to rotating the target model based on a preset rotation axis. The preset rotation axis can be the X-axis, Y-axis, or a custom rotation axis. Rotation adjustment can be used to change the spatial orientation of the target model. The second slice refers to the sliced layers obtained by cutting the rotated target model layer by layer along the direction perpendicular to the printing direction. The printing area refers to the area where photopolymerization printing takes place. The non-printing area refers to the area where photopolymerization printing does not take place. Non-printing areas enclosed by the printing area are not connected to the outside. Non-printing areas not enclosed by the printing area are connected to the outside.
[0036] For example, the nesting level of the rings in the first slice is determined, and the printable and non-printable areas in the first slice are determined based on the nesting level of the rings. For instance, for rings A and B in the first slice, if ring A is completely contained within ring B, then the nesting level of ring A is the nesting level of ring B plus one; if ring B is the outermost ring, then the nesting level of ring B is 0. Furthermore, rings with an even number of nesting levels represent the outer contour of the model, and rings with an odd number of nesting levels represent the inner contour of the model, thereby determining the printable and non-printable areas in the first slice based on the outer and inner contours of the model.
[0037] Specifically, when multiple first slices meet the target conditions, photopolymer printing based on these first slices of the target model may fail. Therefore, performing a first processing operation on the target model determines the rotated and adjusted target model, resulting in multiple second slices that all meet the target conditions. Performing a second processing operation on the target model can modify the first slices that meet the target conditions by connecting the first and second regions within those slices, thus changing them from meeting to not meeting the target conditions. Finally, photopolymer printing based on multiple second slices, or based on the first slice after the second processing operation, can effectively avoid printing failures. Performing the first processing operation on the target model avoids altering the target model itself. Performing the second processing operation on the target model reduces the operational complexity.
[0038] As an optional implementation of the present invention, performing a first processing operation on the target model includes: determining a target transformation matrix of the target model, wherein the target transformation matrix is used to rotate and adjust the target model so that there are no second slices that meet the target conditions among the multiple second slices of the target model; and performing the first processing operation on the target model based on the target transformation matrix.
[0039] Specifically, the target transformation matrix is a rotation transformation matrix of the target model. The rotation transformation matrix can convert the original coordinates of the model vertices into new coordinates after rotation through matrix multiplication, thereby achieving rotational adjustment of the target model. The first processing operation is performed on the target model based on the target transformation matrix to improve the efficiency of this operation.
[0040] As an optional implementation of this invention, determining the target transformation matrix of the target model includes: determining the target function relationship of the target model, and determining the target transformation matrix based on the target function relationship. The target function relationship is used to indicate the association between the rotation transformation matrix and the second height, where the second height is the cavity height of the target model after rotation adjustment based on the rotation transformation matrix.
[0041] Specifically, by modeling the rotation transformation matrix and the cavity height of the target model, the objective function relationship of the target model can be obtained. Furthermore, the target transformation matrix can be determined based on the preset cavity height of the target model and the objective function relationship. The preset cavity height can be used to ensure that none of the multiple second slices of the target model meet the target conditions. The preset cavity height can be determined iteratively using the gradient descent method, based on the decreasing direction of the cavity height.
[0042] For example, a bounding body can be created for each cavity in the target model. If the cavity is sealed and not connected to the outside, the bounding body only needs to completely surround the cavity; if the cavity is connected to the outside, the shape of the bounding body is determined by the cavity and the horizontal plane at the connection point. Furthermore, the target transformation matrix is determined based on the height of the bounding body of each cavity in the target model and the objective function relationship.
[0043] As an optional implementation of this invention, a second processing operation is performed on the target model, including: determining the target wall thickness in the first slice that meets the target conditions, wherein the target wall thickness is the minimum wall thickness among the wall thicknesses that are adjacent to both the first region and the second region; and performing the second processing operation on the target model based on the target wall thickness.
[0044] Specifically, the wall thickness in the cured layer can refer to the thickness of the solid resin in the cured layer in the direction perpendicular to the printing direction. The target wall thickness is the minimum wall thickness among the wall thicknesses of the cured layer that are adjacent to both the first and second regions. The second processing operation is then performed on the target model based on the target wall thickness to improve the efficiency of the second processing operation and avoid causing excessive changes to the target model itself.
[0045] The technical solution of this invention involves determining multiple first slices of a target model, where the target model is a three-dimensional digital model for photopolymerization printing; determining whether any of the multiple first slices meet target conditions, where the target conditions indicate that the cured layer of the slice will deform under the action of residual liquid resin; and when a first slice meeting the target conditions exists among the multiple first slices, performing a first processing operation or a second processing operation on the target model. The first processing operation involves rotating and adjusting the target model so that no second slice meeting the target conditions exists among the multiple second slices of the target model. The second processing operation involves connecting the first region and the second region of the first slice meeting the target conditions. This achieves the goal that when a first slice meeting the target conditions exists among the multiple first slices of the target model, photopolymerization printing based on the multiple first slices of the target model will fail. By performing the first or second processing operation on the target model, photopolymerization printing based on the multiple second slices or the first slice after the second processing operation can avoid deformation of the cured layer obtained by photopolymerization printing, thereby effectively avoiding printing failure.
[0046] Figure 3 This is a flowchart of another photopolymerization printing model processing method provided by an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of determining whether a first slice meeting the target conditions exists among multiple first slices in the aforementioned embodiments, based on the technical solutions of the above embodiments. Solutions not described in detail in this embodiment can be found in the above embodiments. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 3 As shown, the model processing method for photopolymer printing includes:
[0047] S201. Determine multiple first slices of the target model. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction.
[0048] S202. For each first slice, determine a first pressure and a second pressure. The first pressure is the maximum pressure that the first position can withstand in the direction perpendicular to the printing direction. The second pressure is the pressure applied by the residual liquid resin of the first slice at the first position. The first position is the position corresponding to the minimum wall thickness in the cured layer of the first slice.
[0049] Specifically, based on the geometric characteristics of the cured layer of the first slice, the position corresponding to the minimum wall thickness in the cured layer of the first slice can be determined, thus obtaining the first position. Therefore, based on the first position and the mechanical properties of the solid resin, the first pressure can be determined; based on the first position and the residual liquid resin of the first slice, the second pressure can be determined.
[0050] As an optional embodiment of the present invention, determining the first pressure and the second pressure includes the following steps A1-A4:
[0051] Step A1: Determine the resin yield strength, first wall thickness, and first radius. The first wall thickness is the minimum wall thickness in the first slice, and the first radius is the radius of curvature of the first slice at the minimum wall thickness.
[0052] Step A2: Determine the first pressure based on the resin yield strength, the first wall thickness, and the first radius.
[0053] Step A3: Determine the liquid resin density and the first height. When the third region in the first slice meets the reference conditions, the first height is 0. When the third region in the first slice does not meet the reference conditions, the first height is the vertical distance between the plane where the third region is located and the top interface of the cavity to which it belongs. The third region is a non-printing region that is closed by the printed region adjacent to the minimum wall thickness. The reference condition is that the boundary of the cavity to which the third region belongs above the plane where the third region is located is in a non-closed state.
[0054] Step A4: Determine the second pressure based on the liquid resin density and the first height.
[0055] Here, resin yield strength can refer to the critical stress value at which solid resin transitions from elastic deformation to plastic deformation during the deformation process under stress. Liquid resin density can refer to the mass of liquid resin per unit volume. The wall thickness in the slice can refer to the distance between the inner and outer walls of the printed area in the slice plane. The wall thickness in the cured layer of the slice is related to the wall thickness in the slice. The radius of curvature can refer to the radius of the inscribed circle of the inner wall. The radius of curvature can be used to describe the degree of curvature of the printed area in the slice. For example, refer to... Figure 4 Based on the Voronoi diagram of the first slice, multiple inscribed circles within the printing area of the first slice can be determined, and a central axis is formed by connecting the centers of the multiple inscribed circles; thus, based on the central axis, the diameter of the smallest inscribed circle within the printing area can be determined, and the diameter of the smallest inscribed circle is taken as the first wall thickness, and the radius of curvature of the printing area at the smallest wall thickness is taken as the first radius.
[0056] When the third region in the first slice meets the reference conditions, the boundary of the cavity belonging to the third region in the first slice above the plane where the third region is located is in a non-closed state. Furthermore, after the cured layer of the first slice leaves the liquid resin surface, there is no residual liquid resin in the hollow region corresponding to the third region, and the first height can be set to 0.
[0057] When the third region in the first slice does not meet the reference conditions, the boundary of the cavity to which the third region belongs in the first slice is closed on the plane where the third region is located. Furthermore, after the cured layer of the first slice leaves the liquid resin surface, there is residual liquid resin in the hollow area corresponding to the third region. The first height can be set as the vertical distance between the plane where the third region is located and the top interface of the cavity to which it belongs.
[0058] For example, the first pressure is calculated in the following way:
[0059]
[0060] Where P1 represents the first pressure, δ represents the resin yield strength, t represents the first wall thickness, and r represents the first radius.
[0061] For example, the second pressure is calculated in the following way:
[0062] P2 = ρ × g × h;
[0063] Where P2 represents the second pressure, ρ represents the density of the liquid resin, g represents the gravitational constant, and h represents the first height.
[0064] As an optional implementation of this invention, the process of determining the first altitude includes the following steps B1-B5:
[0065] Step B1: Take the third region in the current first slice as the target region, and take the first slice corresponding to the previous layer of the current first slice as the target slice.
[0066] Step B2: If the target region intersects with the second region in the target slice, then set the target value to 0.
[0067] Step B3: If the target region does not intersect with the non-printing region in the target slice or the target slice does not exist, then set the target value to 1.
[0068] Step B4: If the target region does not intersect with the second region in the target slice but intersects with the first region in the target slice, the target value is set based on the reference value. The reference value is obtained by taking the first region in the target slice that intersects with the target region as the new target region, taking the first slice corresponding to the previous layer of the target slice as the new target slice, and returning the new target value obtained by performing the operation if the target region intersects with the second region in the target slice.
[0069] Step B5: Determine the first height based on the target value and the preset printing layer thickness.
[0070] Specifically, the third region in the current first slice is first taken as the target region, and the first slice corresponding to the previous layer of the current first slice is taken as the target slice. By performing Boolean operations on the target region with the first region, the second region, or the non-printed region in the target slice, it can be determined whether the target region intersects with the first region, the second region, or the non-printed region in the target slice.
[0071] If the target area intersects with the second area in the target slice, it means that the target area is connected to the outside world. The hollow area in the cured layer corresponding to the target area will not have residual liquid resin when it leaves the liquid resin surface, thus setting the target value to 0.
[0072] If the target area does not intersect with the non-printing area in the target slice, it indicates that the target area is the first layer of the cavity, and the target value is set to 1. Similarly, if the target slice does not exist, it indicates that the slice to which the target area belongs is adjacent to the printing platform, and the target value is also set to 1.
[0073] If the target region does not intersect with the second region in the target slice but intersects with the first region in the target slice, then the target value needs to be set based on a reference value. The reference value is obtained by taking the first region in the target slice that intersects with the target region as the new target region, taking the first slice of the layer above the target slice as the new target slice, and repeatedly iterating through steps B2-B4 based on the new target region and the new target slice to determine the new target value. During the iteration process, the target region and the new target region belong to the same cavity.
[0074] When the reference value is 0, the target value is set to 0; when the reference value is not 0, the target value is set to the reference value plus one. Finally, the first height can be set as the product of the target value and the preset printing layer thickness.
[0075] S203. Determine whether the first slice meets the target conditions based on the first pressure and the second pressure.
[0076] Specifically, when the first pressure is less than the corresponding second pressure, the cured layer of the first slice will deform under the action of the residual liquid resin in the first slice, and the first slice meets the target conditions. When the first pressure is not less than the corresponding second pressure, the cured layer of the first slice will not deform under the action of the residual liquid resin in the first slice, and the first slice does not meet the target conditions.
[0077] S204. When there is a first slice that meets the target condition among multiple first slices, perform a first processing operation or a second processing operation on the target model. The first processing operation is used to rotate and adjust the target model so that there is no second slice that meets the target condition among the multiple second slices of the target model. The multiple second slices are obtained by cutting the rotated and adjusted target model layer by layer along the direction perpendicular to the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target condition. The first region is a non-printing region closed by the printing region, and the second region is a non-printing region not closed by the printing region.
[0078] The technical solution of this invention involves determining multiple first slices of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. For each first slice, a first pressure and a second pressure are determined. The first pressure is the maximum pressure that a first position can withstand in the direction perpendicular to the printing direction, and the second pressure is the pressure exerted by the residual liquid resin of the first slice at the first position, where the first position corresponds to the position with the minimum wall thickness in the cured layer of the first slice. Based on the first and second pressures, it is determined whether the first slice meets the target conditions. This achieves the goal of determining whether the cured layer of the first slice will deform under the action of the residual liquid resin, thereby improving the accuracy of the determination. The accuracy of determining whether a first slice meets the target condition exists among multiple first slices is as follows: When a first slice meets the target condition exists among multiple first slices, a first processing operation or a second processing operation is performed on the target model. The first processing operation is used to rotate and adjust the target model so that there are no second slices that meet the target condition among the multiple second slices of the target model. The second processing operation is used to connect the first region and the second region in the first slice that meets the target condition. This achieves the goal of performing the first processing operation or the second processing operation on the target model so that photopolymerization printing can be performed based on multiple second slices or the first slice after the second processing operation. This can avoid deformation of the cured layer obtained by photopolymerization printing, thereby effectively avoiding printing failure.
[0079] Figure 5 This is a schematic diagram of a model processing device for photopolymer printing provided in an embodiment of the present invention. The embodiments of the present invention are applicable to processing digital models printed by photopolymer printing, and the device can be implemented in hardware and / or software. Figure 5As shown, the photopolymerization printing model processing device includes:
[0080] The first determining module 301 is used to determine multiple first slices of the target model, which is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction.
[0081] The second determining module 302 is used to determine whether there is a first slice that meets the target conditions among a plurality of first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after leaving the liquid resin surface during the photocuring printing process.
[0082] The first processing module 303 is used to perform a first processing operation or a second processing operation on the target model when there is a first slice that meets the target conditions among multiple first slices. The first processing operation is used to rotate and adjust the target model so that there are no second slices that meet the target conditions among the multiple second slices of the target model. The multiple second slices are obtained by cutting the rotated and adjusted target model layer by layer along the perpendicular direction of the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target conditions. The first region is a non-printing region that is closed by the printing region, and the second region is a non-printing region that is not closed by the printing region.
[0083] Based on any of the above optional technical solutions, optionally, the second determining module 302 includes: a third determining unit and a fourth determining unit. The third determining unit is used to determine a first pressure and a second pressure for each first slice, where the first pressure is the maximum pressure that a first position can withstand in the direction perpendicular to the printing direction, and the second pressure is the pressure exerted by the residual liquid resin of the first slice at the first position, where the first position is the position corresponding to the minimum wall thickness in the cured layer of the first slice; the fourth determining unit is used to determine whether the first slice meets the target conditions based on the first pressure and the second pressure.
[0084] Based on any of the above optional technical solutions, optionally, the fourth determining unit includes: a fifth determining subunit, a sixth determining subunit, a seventh determining subunit, and an eighth determining subunit. The fifth determining subunit is used to determine the resin yield strength, the first wall thickness, and the first radius, where the first wall thickness is the minimum wall thickness in the first slice, and the first radius is the radius of curvature of the first slice at the minimum wall thickness. The sixth determining subunit is used to determine the first pressure based on the resin yield strength, the first wall thickness, and the first radius. The seventh determining subunit is used to determine the liquid resin density and the first height, where the first height is 0 when the third region in the first slice meets the reference conditions, and the first height is the vertical distance between the plane where the third region is located and the top interface of the cavity to which it belongs when the third region does not meet the reference conditions. The third region is a non-printing region enclosed by the printed region adjacent to the minimum wall thickness, and the reference condition is that the boundary of the cavity to which the third region belongs above the plane where the third region is located is in a non-closed state. The eighth determining subunit is used to determine the second pressure based on the liquid resin density and the first height.
[0085] Based on any of the above optional technical solutions, the process of determining the first height optionally includes: taking the third region in the current first slice as the target region, and taking the first slice corresponding to the upper layer of the current first slice as the target slice; if the target region intersects with the second region in the target slice, then setting the target value to 0; if the target region does not intersect with the non-printing region in the target slice or the target slice does not exist, then setting the target value to 1; if the target region does not intersect with the second region in the target slice but intersects with the first region in the target slice, then setting the target value based on a reference value; the reference value is a new target value obtained by taking the first region in the target slice that intersects with the target region as the new target region, taking the first slice corresponding to the upper layer of the target slice as the new target slice, and returning the operation of if the target region intersects with the second region in the target slice; determining the first height based on the target value and the preset printing layer thickness.
[0086] Based on any of the above optional technical solutions, optionally, the first processing module 303 includes: a ninth determining unit and a second processing unit. The ninth determining unit is used to determine the target transformation matrix of the target model, the target transformation matrix being used to rotate and adjust the target model so that none of the multiple second slices of the target model meet the target conditions; the second processing unit is used to perform a first processing operation on the target model based on the target transformation matrix.
[0087] Based on any of the above optional technical solutions, optionally, the ninth determining unit is specifically used to determine the objective function relationship of the target model and determine the target transformation matrix based on the objective function relationship. The objective function relationship is used to indicate the correlation between the rotation transformation matrix and the second height, which is the cavity height of the target model after rotation adjustment based on the rotation transformation matrix.
[0088] Based on any of the above optional technical solutions, optionally, the first processing module 303 includes: a tenth determining unit and a third processing unit. The tenth determining unit is used to determine the target wall thickness in the first slice that meets the target conditions, where the target wall thickness is the minimum wall thickness among the wall thicknesses adjacent to both the first and second regions; the third processing unit is used to perform a second processing operation on the target model based on the target wall thickness.
[0089] The technical solution of this invention involves a first determining module 301 determining multiple first slices of a target model, where the target model is a three-dimensional digital model for photopolymerization printing. A second determining module 302 determines whether any of the multiple first slices meet target conditions, where the target conditions indicate that the cured layer of the slice will deform under the action of residual liquid resin. When a first processing module 303 finds a first slice that meets the target conditions among the multiple first slices, it performs a first processing operation or a second processing operation on the target model. The first processing operation rotates and adjusts the target model so that no second slice meets the target conditions among the multiple second slices of the target model. The second processing operation connects the first region and the second region of the first slice that meets the target conditions. This achieves the goal of preventing photopolymerization printing failure when a first slice that meets the target conditions is found among the multiple first slices of the target model. By performing the first or second processing operation on the target model, photopolymerization printing can be performed based on multiple second slices or the first slice after the second processing operation, thus avoiding deformation of the cured layer obtained by photopolymerization printing and effectively preventing printing failure.
[0090] The photopolymer printing model processing apparatus provided in this embodiment of the invention can execute the photopolymer printing model processing method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0091] Figure 6This is a schematic diagram of an electronic device for implementing a model processing method for photopolymer printing, provided as an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0092] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0093] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0094] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the model processing method for photopolymer printing.
[0095] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.
[0096] In some embodiments, the photopolymer printing model processing method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the photopolymer printing model processing method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the photopolymer printing model processing method by any other suitable means (e.g., by means of firmware).
[0097] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0098] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0099] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0100] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0101] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0102] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0103] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0104] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for processing models printed by photopolymerization, characterized in that, The method includes: Multiple first slices of a target model are determined. The target model is a three-dimensional digital model for photopolymerization printing. The multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction. Determine whether there is a first slice that meets the target conditions among the plurality of first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after it leaves the liquid resin surface during the photocuring printing process. When a first slice that meets the target condition exists among the plurality of first slices, a first processing operation or a second processing operation is performed on the target model. The first processing operation is used to rotate and adjust the target model so that there are no second slices that meet the target condition among the plurality of second slices of the target model. The plurality of second slices are obtained by cutting the rotated and adjusted target model layer by layer along the direction perpendicular to the printing direction. The second processing operation is used to connect the first region and the second region in the first slice that meets the target condition. The first region is a non-printing region that is closed by the printing region, and the second region is a non-printing region that is not closed by the printing region. Determining whether there is a first slice among the plurality of first slices that meets the target condition includes: For each first slice, a first pressure and a second pressure are determined. The first pressure is the maximum pressure that a first position can withstand in the direction perpendicular to the printing direction. The second pressure is the pressure exerted by the residual liquid resin of the first slice at the first position. The first position is the position corresponding to the minimum wall thickness in the cured layer of the first slice. Based on the first pressure and the second pressure, it is determined whether the first slice meets the target conditions.
2. The method according to claim 1, characterized in that, Determining the first and second pressures includes: Determine the resin yield strength, the first wall thickness, and the first radius, where the first wall thickness is the minimum wall thickness in the first slice, and the first radius is the radius of curvature of the first slice at the minimum wall thickness. The first pressure is determined based on the resin yield strength, the first wall thickness, and the first radius. The density of the liquid resin and the first height are determined. When the third region in the first slice meets the reference conditions, the first height is 0. When the third region in the first slice does not meet the reference conditions, the first height is the vertical distance between the plane where the third region is located and the top interface of the cavity to which it belongs. The third region is a non-printing region that is closed by the printed region adjacent to the minimum wall thickness. The reference condition is that the boundary of the cavity to which the third region belongs on the plane where the third region is located is in a non-closed state. The second pressure is determined based on the density of the liquid resin and the first height.
3. The method according to claim 2, characterized in that, The process of determining the first altitude includes: Take the third region in the current first slice as the target region, and take the first slice corresponding to the previous layer of the current first slice as the target slice; If the target region intersects with the second region in the target slice, then set the target value to 0; If the target region does not intersect with the non-printing region in the target slice or the target slice does not exist, then set the target value to 1; If the target region does not intersect with the second region in the target slice but intersects with the first region in the target slice, the target value is set based on a reference value. The reference value is obtained by taking the first region in the target slice that intersects with the target region as the new target region, taking the first slice corresponding to the previous layer of the target slice as the new target slice, and returning the new target value obtained by performing the operation if the target region intersects with the second region in the target slice. The first height is determined based on the target value and the preset printing layer thickness.
4. The method according to claim 1, characterized in that, Perform a first processing operation on the target model, including: Determine the target transformation matrix of the target model, which is used to rotate and adjust the target model so that there are no second slices that meet the target conditions among the multiple second slices of the target model; The first processing operation is performed on the target model based on the target transformation matrix.
5. The method according to claim 4, characterized in that, Determining the target transformation matrix of the target model includes: The objective function relationship of the target model is determined, and the target transformation matrix is determined based on the objective function relationship. The objective function relationship is used to indicate the correlation between the rotation transformation matrix and the second height, which is the cavity height of the target model after rotation adjustment based on the rotation transformation matrix.
6. The method according to claim 1, characterized in that, Perform a second processing operation on the target model, including: Determine the target wall thickness in the first slice that meets the target conditions, wherein the target wall thickness is the minimum wall thickness among the wall thicknesses that are adjacent to both the first region and the second region; A second processing operation is performed on the target model based on the target wall thickness.
7. A model processing device for photopolymer printing, characterized in that, The device includes: The first determining module is used to determine multiple first slices of the target model, wherein the target model is a three-dimensional digital model for photopolymerization printing, and the multiple first slices are obtained by cutting the target model layer by layer along the direction perpendicular to the printing direction. The second determining module is used to determine whether there is a first slice that meets the target conditions among the plurality of first slices. The target conditions are used to indicate that the cured layer of the slice will deform under the action of the residual liquid resin of the slice. The cured layer of the slice is obtained by photocuring printing based on the slice. The residual liquid resin of the slice is the liquid resin remaining in the hollow area inside the cured layer of the slice after it leaves the liquid resin surface during the photocuring printing process. A first processing module is configured to perform a first processing operation or a second processing operation on the target model when there is a first slice that meets the target condition among the plurality of first slices. The first processing operation is configured to rotate and adjust the target model so that there is no second slice that meets the target condition among the plurality of second slices of the target model. The plurality of second slices are obtained by cutting the rotated and adjusted target model layer by layer along the direction perpendicular to the printing direction. The second processing operation is configured to connect the first region and the second region in the first slice that meets the target condition. The first region is a non-printing region that is closed by the printing region, and the second region is a non-printing region that is not closed by the printing region. The second determining module includes a third determining unit and a fourth determining unit; The third determining unit is used to determine a first pressure and a second pressure for each first slice. The first pressure is the maximum pressure that the first position can withstand in the direction perpendicular to the printing direction. The second pressure is the pressure applied by the residual liquid resin of the first slice at the first position. The first position is the position corresponding to the minimum wall thickness in the cured layer of the first slice. The fourth determining unit is used to determine whether the first slice meets the target conditions based on the first pressure and the second pressure.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the model processing method for photopolymer printing according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the model processing method for photopolymer printing as described in any one of claims 1-6.
Citation Information
Patent Citations
Three-dimensional model printing method and device, electronic equipment and readable storage medium
CN117885347A