Plane projection 3D printing method, 3D printing device and storage medium
In projection micro-stereoscopic lithography 3D printing technology, using two projection lenses with different accuracy, searching and segmenting the contour features in two-dimensional pictures, efficient 3D printing is achieved, and the high-precision and large-format printing is solved. Balance the problem and improves printing efficiency.
Patent Information
- Application Number
- CN202411094221.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-08
AI Technical Summary
In the existing projection micro-stereoscopic lithography 3D printing technology, the projection area of high-precision projection lens is large, resulting in limited printing efficiency and it is difficult to find a balance between high-precision and large-format printing.
Using two projection lenses with different accuracy, by searching for contour features in two-dimensional pictures, the required area is as small as possible for projection using high-precision projection lenses, and the projection area of low-precision projection lenses is as large as possible, thereby improving printing efficiency. The specific method includes searching for contour features according to preset directions, extracting and saving them as sub-picture areas, and projecting and printing using two projection lenses.
A method of improving 3D printing efficiency while ensuring high precision is realized, and printing efficiency is improved by minimizing the projection area of the high-precision projection lens and maximizing the low-precision projection area.
Smart Images

Figure CN118906450A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 3D printing technology, and in particular to a surface projection 3D printing method, a 3D printing device and a storage medium. Background Art
[0002] Projection micro-stereolithography 3D printing technology is a projection technology based on digital light processing (DLP). In order to improve the efficiency of large-format printing while ensuring high printing accuracy, the 3D printing device corresponding to this projection technology is currently equipped with two projection lenses of different precisions, which can achieve faster printing of larger formats while ensuring high printing accuracy. However, since the area that requires high-precision projection lenses to be projected is large, the printing efficiency of the above 3D printing device is still limited. Summary of the invention
[0003] Based on this, the present application provides a surface projection 3D printing method, a 3D printing device and a storage medium, which can minimize the area projected by a high-precision projection lens as much as possible and improve printing efficiency.
[0004] In a first aspect, the present application provides a surface projection 3D printing method, the method being applicable to a 3D printing device comprising a first projection lens and a second projection lens, wherein the accuracy of the first projection lens is higher than the accuracy of the second projection lens, the method comprising:
[0005] Acquire a two-dimensional image for surface projection 3D printing according to the accuracy of the first projection lens;
[0006] Searching for contour features of the two-dimensional image from a preset direction of the two-dimensional image, when a first first contour feature is found, extracting the image region including the first first contour feature with a single exposure format of the first projection lens and saving it to a first sub-image region, wherein the first contour feature needs to be projected using the first projection lens to ensure molding quality;
[0007] Continue searching in the direction of continued searching, and obtain a first sub-image area and a second sub-image area according to the result of the continued searching, wherein the first sub-image area includes all the first contour features in the two-dimensional image, the second sub-image area is an image area in the two-dimensional image except the first sub-image area, and the second contour features of the second sub-image area are projected using the second projection lens to ensure molding quality;
[0008] Based on the first sub-image area and the second sub-image area, projection and printing are performed using the first projection lens and the second projection lens.
[0009] In a second aspect, the present application provides a 3D printing device, comprising a first projection lens and a second projection lens, wherein the accuracy of the first projection lens is higher than the accuracy of the second projection lens, the 3D printing device also comprises a processor and a memory, wherein the memory is also used to store a computer program, and the processor is used to execute the computer program and implement the surface projection 3D printing method as described above when executing the computer program.
[0010] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the surface projection 3D printing method as described above.
[0011] In the embodiment of the present application, when extracting the first sub-image area that needs to be projected by the first projection lens with high precision in the two-dimensional image, contour features are searched one by one in a preset direction, which can ensure that all contour features in the two-dimensional image can be searched and not missed; when the first first contour feature is searched, the image area including the first first contour feature is extracted and saved to the first sub-image area with the single exposure format size of the first projection lens. The first contour feature needs to be projected by the first projection lens to ensure the molding quality. The first sub-image area and the second sub-image area are obtained according to the result of the continued search, so that the first sub-image area finally obtained can include only all the first contour features as much as possible, and does not include the second contour features, so that the size of the first sub-image area is as small as possible; because the size of the first sub-image area projected by the high-precision first projection lens is as small as possible, and the size of the second sub-image area projected by the low-precision second projection lens is as large as possible, the printing efficiency can be improved as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a flow chart of an embodiment of the surface projection 3D printing method of the present application;
[0013] Figure 2 It is a structural schematic diagram of an embodiment of a 3D printing device in the surface projection 3D printing method of the present application;
[0014] Figure 3 It is the original two-dimensional image before extraction in the first embodiment of the surface projection 3D printing method of the present application;
[0015] Figure 4 is from Figure 3 A second sub-image area extracted from the two-dimensional image;
[0016] Figure 5 is from Figure 3 A first sub-image area extracted from the two-dimensional image;
[0017] Figure 6 It is a flow chart of another embodiment of the surface projection 3D printing method of the present application;
[0018] Figures 7 to 9 This is a schematic diagram of obtaining a new first sub-image area in an embodiment of the surface projection 3D printing method of the present application;
[0019] Figures 10 to 12 This is a schematic diagram of repairing the edge contour that has deviations in the second sub-image area after compression processing in an embodiment of the surface projection 3D printing method of the present application;
[0020] Fig.13 It is a schematic diagram of a fixed seam solution adopted in the related art;
[0021] Fig.14 It is a flow chart of another embodiment of the surface projection 3D printing method of the present application;
[0022] Fig.15 In one embodiment of the surface projection 3D printing method of the present application, Fig.13 The two-dimensional picture of the schematic diagram using a non-fixed stitching scheme;
[0023] Fig.16 It is a flow chart of another embodiment of the surface projection 3D printing method of the present application;
[0024] Figure 17 to Figure 18 It is a schematic diagram of the need for multiple projections and seam positions of two-dimensional images in two embodiments of the surface projection 3D printing method of the present application.
[0025] Description of main components and symbols:
[0026] 1. Light source; 2. First projection lens; 3. Second projection lens; 4. Printing platform; 5. Laser displacement meter; 6. Monitoring camera; 7. Resin tank; 8. Film. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0029] Projection micro-stereolithography 3D printing technology is a projection technology based on digital light processing (DLP). In order to improve the efficiency of large-format printing while ensuring high printing accuracy, the 3D printing device corresponding to this projection technology is currently equipped with two projection lenses of different precisions, which can achieve faster printing of larger formats while ensuring high printing accuracy. However, since the area that requires high-precision projection lenses to be projected is large, the printing efficiency of the above 3D printing device is still limited.
[0030] In the embodiment of the present application, when extracting the first sub-image area that needs to be projected by the first projection lens with high precision in the two-dimensional image, contour features are searched one by one in a preset direction, which can ensure that all contour features in the two-dimensional image can be searched and not missed; when the first first contour feature is searched, the image area including the first first contour feature is extracted and saved to the first sub-image area with the single exposure format size of the first projection lens. The first contour feature needs to be projected by the first projection lens to ensure the molding quality. The first sub-image area and the second sub-image area are obtained according to the result of the continued search, so that the first sub-image area finally obtained can include only all the first contour features as much as possible, and does not include the second contour features, so that the size of the first sub-image area is as small as possible; because the size of the first sub-image area projected by the high-precision first projection lens is as small as possible, and the size of the second sub-image area projected by the low-precision second projection lens is as large as possible, the printing efficiency can be improved as much as possible.
[0031] The method of the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0032] See also Figure 1 , Figure 1 The method of the embodiment of the present application is applicable to a 3D printing device including a first projection lens and a second projection lens, wherein the accuracy of the first projection lens is higher than that of the second projection lens.
[0033] See also Figure 2 In some embodiments, the 3D printing device may include, in addition to the first projection lens 2 and the second projection lens 3, a light source 1, a printing platform 4, a moving device (not shown), a laser displacement meter 5, and a monitoring camera 6.
[0034] The light source 1 is used to generate light for projection; the printing platform 4 is used to form and carry the printed sample; the first projection lens 2 is used to receive the light emitted by the light source 1 and project it onto the printing platform 4; the second projection lens 3 is used to receive the light emitted by the light source 1 and project it onto the printing platform 4, the precision and single exposure format size of the second projection lens 3 are different from those of the first projection lens 2, the precision of the first projection lens 2 is higher than that of the second projection lens 3, and the single exposure format size of the first projection lens 2 is smaller than that of the second projection lens 3; the moving device is a device for controlling the movement of the printing platform 4, the first projection lens 2, and the second projection lens 3, so as to adjust the relative position of the exposure surface of the projection light of the first projection lens 2 and the second projection lens 3; the laser displacement meter 5 is used to check and adjust the horizontal condition of the printing platform 4 and the film 8, record the relative position of the printing platform 4 and the film 8, and facilitate accurate and rapid adjustment to the exposure position; the monitoring camera 6 is used to ensure that the monitoring optical path of the monitoring camera coincides with the projection optical path of the first projection lens 2 and the second projection lens 3.
[0035] Among them, the printing platform 4 is arranged in the resin tank 7, and a virtual printing surface is formed on the printing platform 4. The printing surface is the upper surface of each thin layer of resin to be cured, and is also the lower surface of the film 8. The printing surface coincides with the exposure surface of the projection light path of the first projection lens 2 and the second projection lens 3. The first projection lens 2 and the second projection lens 3 are arranged vertically side by side, and the printing platform 4 is located directly below the first projection lens 2 and the second projection lens 3 along the direction of gravity. During the sample printing process, the light source 1 is kept stationary, and the first projection lens 2 and the second projection lens 3 are moved horizontally to switch the projection accuracy. The printing surface is precisely moved in the xy direction relative to the projection lens to control the exposure position, so as to perform multi-format printing.
[0036] The method includes: step S101 to step S104.
[0037] Step S101: acquiring a two-dimensional image for surface projection 3D printing according to the accuracy of the first projection lens.
[0038] A three-dimensional geometric model can be established on a computer and cut into a series of black and white two-dimensional images at equal intervals in the slicing direction. Each two-dimensional image represents a thin layer in the three-dimensional model, and the image interval is the thickness of each thin layer.
[0039] The 3D printing device in the embodiment of the present application is a composite printing system of two dual projection lenses of different precisions. It is necessary to identify the subtle features in the two-dimensional image projected by the high-precision first projection lens. If the two-dimensional image with a small number of pixels is output according to the low-precision of the second projection lens, the subtle features on the model will be distorted and difficult to identify. Therefore, the two-dimensional image is output according to the high-precision of the first projection lens.
[0040] Step S102: Searching for contour features of the two-dimensional image starting from a preset direction of the two-dimensional image. When a first contour feature is found, extracting the image area including the first first contour feature with the single exposure format of the first projection lens and saving it to a first sub-image area. The first contour feature needs to be projected using the first projection lens to ensure molding quality.
[0041] Contour refers to the shape of the object boundary in the image. In computer vision, contour features are an important feature that can be used to segment, identify, and track objects in the image. The contour of an image refers to a curve composed of continuous points at the edge of the image with the same color and intensity. It can be used for shape analysis and object detection and recognition. Contour features can be used to describe the shape and structure of the contour.
[0042] The preset direction can be set according to actual needs. For example, the preset direction can be the direction from the upper left corner to the lower right corner of the two-dimensional image, or from the upper left corner to the upper right corner of the two-dimensional image, and so on.
[0043] The higher the precision of the projection lens, the smaller the single exposure format size covered by it during projection, and the lower the precision of the projection lens, the larger the single exposure format size covered by it during projection. The first projection lens is a high-precision projection lens, and the second projection lens is a low-precision projection lens. The single exposure format size covered by the first projection lens during projection is smaller than the single exposure format size covered by the second projection lens during projection.
[0044] When searching for contour features in an image, a large number of contour features are obtained. After obtaining the contour features, they are usually screened based on the contour features. In the embodiment of the present application, the curvature, corner points, spacing, etc. of all contour features in the imported two-dimensional image can be calculated by an algorithm, and the contour feature can be judged according to the calculation results whether the molding quality can be ensured when projected using a low-precision second projection lens. If the molding quality cannot be ensured, it means that the contour feature is the first first contour feature, that is, the molding quality needs to be ensured when projected using a high-precision first projection lens. Therefore, the area including the first first contour feature is extracted with the single exposure format size of the first projection lens and saved to the first sub-image area, so that the first sub-image area can include only the first first contour feature as much as possible; on the contrary, if the contour feature ensures the molding quality when projected using a low-precision second projection lens, then the contour feature is a second contour feature, and the area including the second contour feature is extracted with the single exposure format size of the second projection lens and saved to the second sub-image area.
[0045] For example, the curvature of all contour features can be calculated. Combined with the curvature threshold, the corner points whose calculated curvature exceeds the curvature threshold can be determined. Then the spacing between the corner points can be calculated. Combined with the spacing threshold, the corner points greater than or equal to the spacing threshold and the corner points less than the spacing threshold can be determined. If the spacing between the corner points is greater than or equal to the spacing threshold, it means that the corner points are far apart, and the molding quality should be ensured when the low-precision second projection lens is used for projection. If the spacing between the corner points is less than the spacing threshold, it means that the corner points are close together, and the high-precision first projection lens should be used for projection to ensure the molding quality.
[0046] Step S103: Continue searching in the direction of continued searching, and obtain a first sub-image area and a second sub-image area according to the result of the continued search, wherein the first sub-image area includes all first contour features in the two-dimensional image, and the second sub-image area is the image area in the two-dimensional image except the first sub-image area, and the second contour features of the second sub-image area are projected using the second projection lens to ensure molding quality.
[0047] After searching for the first first contour feature, continue searching other unsearched image areas in the search direction, and you can search for the second first contour feature, the third first contour feature, and so on, until you get a first sub-image area that includes all of the first contour features and a second sub-image area excluding the first sub-image area.
[0048] It should be noted that the first sub-image region in the two-dimensional image that finally includes all the first contour features may be one sub-image region or more than two sub-image regions.
[0049] See also Figures 3 to 5 , Figure 3 is the original two-dimensional image before extraction, Figure 5 is the first sub-image region extracted, Figure 4 is the second sub-picture area extracted.
[0050] Step S104: Based on the first sub-image area and the second sub-image area, project and print using the first projection lens and the second projection lens.
[0051] The DLP system can be used to read the first sub-image area and the second sub-image area and project them in sequence, and the first projection lens and the second projection lens with different precision can be switched by the mobile device to control the exposure area and switch the printing precision. After a certain exposure time, a solidified layer of a certain thickness will be generated on the printing platform. After a certain two-dimensional image is projected, the layer is solidified; the printing platform is controlled to rise and fall to solidify the next layer; the exposure is repeated in sequence until all two-dimensional images are projected, and the model is printed.
[0052] In the embodiment of the present application, when extracting the first sub-image area that needs to be projected by the first projection lens with high precision in the two-dimensional image, contour features are searched one by one in a preset direction, which can ensure that all contour features in the two-dimensional image can be searched and not missed; when the first first contour feature is searched, the image area including the first first contour feature is extracted and saved to the first sub-image area with the single exposure format size of the first projection lens. The first contour feature needs to be projected by the first projection lens to ensure the molding quality. The first sub-image area and the second sub-image area are obtained according to the result of the continued search, so that the first sub-image area finally obtained can include only all the first contour features as much as possible, and does not include the second contour features, so that the size of the first sub-image area is as small as possible; because the size of the first sub-image area projected by the high-precision first projection lens is as small as possible, and the size of the second sub-image area projected by the low-precision second projection lens is as large as possible, the printing efficiency can be improved as much as possible.
[0053] See also Figure 6 In some embodiments, step S103, obtaining the first sub-picture area according to the result of continued searching, may include: sub-steps S1031 to S1033.
[0054] Sub-step S1031: when the first contour feature is found, a new area is added, the new area uses the first contour feature as a first boundary, and its size is the size of the single exposure format.
[0055] When the current first contour feature is searched, a preliminary new area is first added, and the new area takes the current first contour feature as the first boundary, and its size is the size of a single exposure format. That is, the new area includes the current first contour feature that is searched, and the current first contour feature is located at the first boundary of the new area.
[0056] Sub-step S1032: when the first distance is greater than the second distance, modify the position of the second boundary of the newly added area, the modified new third boundary of the newly added area is shorter than the size of the third boundary of the newly added area, and includes a first contour feature closest to the second boundary of the newly added area, wherein the second boundary is opposite to the first boundary, the third boundary is perpendicular to the first boundary, the first distance is the distance from the first contour feature closest to the second boundary of the newly added area to the second boundary of the newly added area, and the second distance is the distance between the two closest boundaries between the newly added area and the previous first sub-image area.
[0057] The area currently including the first contour feature includes the newly added area and the previous first sub-image area. The second distance is the distance between the two closest boundaries between the newly added area and the previous first sub-image area, and the second distance can be greater than zero or equal to zero. The second boundary is opposite to the first boundary, and the third boundary is perpendicular to the first boundary; the first distance is a distance inside the newly added area, specifically, the distance from the first contour feature closest to the second boundary of the newly added area to the second boundary of the newly added area.
[0058] If the first distance is greater than the second distance, it means that the idle area in the newly added area close to the second boundary and without the first contour feature is too large. Therefore, the newly added area can be reduced in size and the second boundary can be moved toward the first boundary, so that the new third boundary of the modified newly added area is shorter than the size of the third boundary of the newly added area, and the modified newly added area includes the first contour feature of the second boundary closest to the newly added area.
[0059] The distance between the second boundary of the modified newly added area and the outermost edge of the first contour feature closest to the second boundary of the newly added area before modification can be expressed as a third distance, and the third distance is smaller than the first distance, so that the size of the modified newly added area is as small as possible, and the third distance can be equal to zero or slightly greater than zero. In some embodiments, keeping the size of the second boundary of the modified newly added area unchanged can improve the efficiency of modifying the newly added area.
[0060] Sub-step S1033: adding the modified newly added area to the previous first sub-image area to obtain a new first sub-image area. When all the first contour features are searched, the first sub-image area is obtained.
[0061] The previous first sub-image area is an area including all the first contour features previously searched, the modified new area is a new area including the first contour features currently searched, and the first sub-image area obtained after all the first contour features are searched is an area including all the first contour features.
[0062] The first sub-image area obtained by the above method includes only all the first contour features as much as possible, and does not include the second contour features, so that the size of the first sub-image area is as small as possible. The first sub-image area uses a high-precision first projection lens, so the second sub-image area using a low-precision second projection lens is an area with as large a size as possible. In this way, the printing efficiency can be further improved.
[0063] For example: See Figures 7 to 9 , including the following steps:
[0064] 1) If Figure 7 As shown, the contour features in the two-dimensional image are retrieved starting from the upper left corner to the lower right corner of the two-dimensional image. When the first contour feature is searched, the image is extracted with the single exposure format size of the first projection lens. The extracted image is the first sub-image area (marked as the previous first sub-image area in the figure). At this time, the first contour feature is exactly in the upper left corner of the first sub-image area.
[0065] 2) Continue to search rightward or downward for the first contour features of other regions that have not been searched except the first sub-image region. Figure 7 As shown, taking the rightward search as an example, when the first contour feature is retrieved outside the first sub-image area, a new area with the single exposure format size of the first projection lens is added with the retrieved first contour feature as the left boundary (i.e., the first boundary) (marked as the new area before modification in the figure), and when the distance (i.e., the first distance) from the first contour feature located on the far right in the new area to the right boundary (i.e., the second boundary) is greater than the distance (i.e., the second distance) from the left boundary (i.e., the first boundary) of the new area to the right boundary (i.e., the second boundary) of the first sub-image area (i.e., the previous first sub-image area), the new area is modified to have a constant height and the second boundary is moved to the right edge of the rightmost first contour feature of the new area before modification (i.e., the third distance is zero), and the modified new area is added to the first sub-image area (i.e., the previous first sub-image area) to obtain a new first sub-image area.
[0066] 3) When the first contour feature cannot be found to the right or downward, the width or height of the first sub-image area is made as small as possible. Figure 8 , Fig. 9 As shown, taking downward retrieval as an example, when the lower edge of the first contour feature located at the bottom is still at a certain distance from the lower edge of the first sub-image area, that is, the second distance is equal to zero and the first distance is greater than zero, then the horizontal line with the lower edge of the first contour feature located at the bottom is taken as the lower boundary of the first sub-image area.
[0067] Through the above method, the two-dimensional image of each printed layer can be extracted into two areas, namely, a first sub-image area containing the first contour feature and a second sub-image area not containing the first contour feature, and the first sub-image area containing the first contour feature is made as small as possible, thereby achieving the purpose of minimizing the first sub-image area of the high-precision first projection lens.
[0068] In some embodiments, in step S104, before projecting and printing based on the first sub-image area and the second sub-image area using the first projection lens and the second projection lens, the following may also be included:
[0069] Step S105: compress the second sub-image area so that the actual size of the printed sub-sample of the compressed second sub-image area remains consistent with the theoretical size.
[0070] Since the two-dimensional image is obtained according to the accuracy of the first projection lens, the actual size of the printed subsample of the first sub-image area is consistent with its theoretical size, and the actual size of the printed subsample of the second sub-image area is larger than its theoretical size. If the second sub-image area is not compressed (i.e., the corresponding proportion of pixel compression), the actual size of the final complete printed sample will be larger than its theoretical size.
[0071] For example: a rectangle with a size of 0.58*2.00mm, the accuracy of the first projection lens is 10 microns per pixel, and the accuracy of the second projection lens is 25 microns per pixel. The two-dimensional image is output according to the accuracy of the second projection lens. The two-dimensional image is used to express that the image area of the rectangle is 58*200 pixels (i.e., 0.58*1000 microns / 10 microns per pixel=58 pixels, 2.00*1000 microns / 10 microns per pixel / 10 microns per pixel=200 pixels). If the two-dimensional image is projected using the second projection lens with 25 microns per pixel, the actual size of the printed sample rectangle is 58 pixels*0.025 mm per pixel and 200 pixels*0.025 mm per pixel, i.e., the actual size of the printed sample rectangle is 1.45*5 mm, and the theoretical size of the rectangle is 0.58*2.00 mm. Obviously, the size of the printed sample rectangle is distorted. Therefore, the second sub-image area needs to be compressed before being projected, so that the actual size of the printed sub-sample of the second sub-image area after the compression process is consistent with the theoretical size.
[0072] In some embodiments, during compression processing, it is possible that the number of pixels in the second sub-image area after compression processing is non-integer, while an integer number of pixels is taken during actual projection (for example, the number of pixels in the projection area of the compressed image is 23.2 pixels, while the number of pixels in actual projection is an integer of 24 pixels). Therefore, there is a deviation between the actual size and theoretical size of the printed sub-sample of the second sub-image area after compression processing, which is prone to pixel distortion and image edge blur, affecting the printing effect. Therefore, it is necessary to repair the compressed image so that the edge contour of the compressed image is consistent with that of the original image. Therefore, in this case, the method may also include:
[0073] Step S106: When there is a deviation between the actual size and the theoretical size of the printed sub-sample of the compressed second sub-image area, a repair process is performed on the edge contour of the compressed second sub-image area that causes the deviation to repair the deviation.
[0074] like Fig.10 As shown in the figure, the size of the middle rectangle in the 2D image with 10 micron precision is 278*200 pixels, the width of the left border of the rectangle is 58 pixels, and the width of the right border is 40 pixels. The 2D image is compressed into a projection image suitable for the second projection lens with 25 micron precision. In theory, the width of the middle rectangle should be 278 / 2.5=111.2 pixels, the width of the left border should be 58 / 2.5=23.2 pixels, and the width of the right border should be 40 / 2.5=16 pixels. Fig.11 As shown, when the number of pixels is non-integer, an integer number of pixels is used: the width of the middle rectangle is 111 pixels (although 0.2 pixels are lost, the influence of these 0.2 pixels on the width of the middle rectangle 111.2 pixels is not significant 0.2 / 111.2=0.18%, so the deviation here can be ignored), the width of the left border is 24 pixels (0.8 pixels are added, but the influence of these 0.8 pixels on the width of the left border 23.2 pixels is relatively large 0.8 / 23.2=3.4%, so the deviation here cannot be ignored), and the width of the right border is 16 pixels. In practical applications, a deviation percentage threshold can be set. When the deviation exceeds the deviation percentage threshold, repair processing is required. Fig.12 As shown, in order to make the actual size of the printed sample conform to the theoretical size of the model, the edge contour that produces the deviation needs to be repaired to repair the deviation, that is, the grayscale attenuation can be performed on the right edge of the left frame.
[0075] Since the size of the spatial light modulator is fixed, such as a 2716*1600 pixel DMD, when the resolution of the two-dimensional image of the model exceeds the range covered by a DMD chip, splicing projection printing is required.
[0076] In general splicing projection printing solutions, in order to facilitate image segmentation calculation, an average-division fixed stitching solution is usually adopted. The image is divided into a series of small images at a fixed ratio. For example, an 8148*4800 pixel image is divided into 9 2700*1600 sub-images, and each sub-image represents one-ninth of the projection area in a printing layer. Under the fixed stitching solution, the relative position and step length of the printing surface movement are fixed, that is, starting from the printing starting point, the step length in the x direction is the length of the projection area of the projection lens on the printing surface at a time, and the step length in the y direction is the width of the projection area of the projection lens on the printing surface at a time. For each printing layer, the stitching position is the same and is a regular grid. When performing sample printing, all sub-images of the current layer are projected to the corresponding printing area in sequence according to the position relationship of the sub-images, and a layer of printing is completed through multiple exposures and a small amount of overlap of the connected edges.
[0077] This mode has the problem of low projection efficiency, such as Fig.13As shown in the figure, the effective projection area is smaller than the DMD resolution, but because of the use of a fixed stitching solution, 8 projections are required.
[0078] In order to solve the above problems, an embodiment of the present application proposes a non-fixed stitching solution. This solution processes the image as follows: automatically identify the distribution and area of the effective projection area in the image and divide the image into sub-images suitable for single projection by the spatial light modulator chip according to the resolution of the spatial light modulator chip. These sub-images meet the following requirements: 1) The size of each sub-image does not exceed the resolution size of the spatial light modulator chip; 2) The number of sub-images after segmentation is as small as possible (maximizing projection efficiency and reducing the number of projections). That is, in some embodiments, step S104, based on the first sub-image area and the second sub-image area, before using the first projection lens and the second projection lens for projection and printing, may also include: step S107 and step S108, such as Fig.14 shown.
[0079] Step S107: According to the distribution of the effective projection areas of the first sub-image area and the second sub-image area, the area of each of the effective projection areas and the resolution of the spatial light modulator chip, the first sub-image area and the second sub-image area are respectively divided into sub-images for single projection by an optical machine, so that the size of each divided sub-image does not exceed the resolution of the spatial light modulator chip and the number of divided sub-images is minimized.
[0080] Step S108: determining a printing path of the two-dimensional image according to the divided first sub-image area and the divided second sub-image area, so that the total movement distance of the printing surface of the two-dimensional image relative to the first projection lens and the second projection lens is minimized.
[0081] For example, the above Fig.13 The picture shown can be printed after two projections under the non-fixed stitching scheme. Fig.15 Compared with the fixed stitching solution, the non-fixed stitching solution can greatly improve the printing efficiency of the dual-lens composite precision printing system.
[0082] In some embodiments, step S108, determining the printing path of the two-dimensional image based on the divided first sub-image area and the divided second sub-image area, may include: determining the printing path of the current printing layer based on the divided first sub-image area and the divided second sub-image area, and in combination with the position where the projection of the previous printing layer ends and the relative position where the current printing layer needs to be projected.
[0083] For example, the last two-dimensional image is a small-sized first thread and a large-sized first triangle from left to right. The first thread needs to be projected by a high-precision first projection lens, and the first triangle needs to be projected by a low-precision second projection lens. The current two-dimensional image is a small-sized second thread and a large-sized second triangle from left to right. The second thread needs to be projected by a high-precision first projection lens, and the second triangle needs to be projected by a low-precision second projection lens. The position of the first thread and the position of the first triangle in the last two-dimensional image correspond to the position of the second thread area and the position of the second triangle in the current two-dimensional image. When the last two-dimensional image is projected, it is projected from left to right. The first thread is projected using a high-precision first projection lens first, and then the first triangle is projected using a low-precision second projection lens. When the projection of the last two-dimensional image is finished, the position of the first triangle corresponds to the position of the second triangle. Therefore, when the current two-dimensional image is projected, the second triangle can be projected using a low-precision second projection lens first without moving the printing platform, and then the second thread can be projected using a high-precision first projection lens. That is, when the current two-dimensional image is projected, it is projected from right to left, which can reduce the movement of the printing platform once and improve printing efficiency.
[0084] In some embodiments, the method may further include:
[0085] Step S109: combining the end position of the projection lens of the previous precision and the start position of the projection lens of the next precision to determine the printing path when switching between projection lenses of different precisions between printing layers.
[0086] For example: the previous printing layer uses a low-precision second projection lens, and the next printing layer uses a high-precision first projection lens. There are 3 different threads from left to right in the 2D image of the next layer that need to be projected by the first projection lens. Usually, the printing platform needs to move over a large range 3 times to complete the projection of the next layer of 2D images. Assuming that the position where the second projection lens of the previous printing layer ends is very close to the position of the projection of the middle thread in the 2D image of the next layer, then the high-precision first projection lens can be used to project the thread in the middle of the 2D image first, so as to avoid a large-scale movement of the printing platform at one time, and then project the two threads on both sides of the 2D image separately.
[0087] For each layer in the three-dimensional geometric model, multiple exposures will be completed, and all sub-images of the current layer with two accuracies will be projected in sequence. In order to improve the mechanical properties and eliminate the errors between high and low precision, the junctions of adjacent areas / images are usually given a certain amount of overlap, such as 5-30 microns. Since the embodiment of the present application is a composite precision and adopts a non-fixed stitching scheme, the number of projections at some seams may be as high as 4 times. For example, when a certain adjacent edge is both the junction of the two exposure formats of the second projection lens and the junction of the two exposure formats of the first projection lens, the area needs to be exposed 4 times. Therefore, the grayscale of the image edges that require different numbers of projections is reduced to varying degrees to ensure the appearance and structural performance of the printed sample. Since the position of the seam is not fixed under the non-fixed stitching scheme, it is necessary to first calculate the position where the image needs to be stitched, and then perform grayscale processing of a certain pixel width on these positions that need to be stitched. Therefore, in some embodiments, the method may also include: step S110 and step S111, such as Fig.16 shown.
[0088] Step S110: determining the seam positions between the divided sub-images and the number of projections of the seam positions according to the printing path of the current printing layer.
[0089] Step S111: performing grayscale reduction processing on the image at the seam position according to the seam position and the number of projections of the seam position.
[0090] like Fig.17 As shown in , the two-dimensional image needs 4 projections, of which the medium gray overlapping part (shown by the 4 medium gray edges of the cross in the middle of the figure) needs 2 projections, and the dark gray part (shown by the intersection of the 4 medium gray edges of the cross in the middle of the figure) needs 4 projections. Fig.18 As shown, the two-dimensional image needs to be projected three times, and the overlapping part of the three projections is the stitching position.
[0091] The present application also provides a 3D printing device. It should be noted that the device in the embodiment of the present application can implement the above-mentioned surface projection 3D printing method. For detailed description of the relevant content, please refer to the above-mentioned method part, which will not be repeated here.
[0092] The 3D printing device includes a first projection lens and a second projection lens, the accuracy of the first projection lens is higher than the accuracy of the second projection lens, the 3D printing device also includes a processor and a memory, the memory is also used to store a computer program, and the processor is used to execute the computer program and implement any of the above-described surface projection 3D printing methods when executing the computer program.
[0093] The processor may be a microcontroller unit, a central processing unit or a digital signal processor, etc. The memory may be a Flash chip, a read-only memory, a disk, an optical disk, a USB flash drive or a mobile hard disk, etc.
[0094] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements any of the above-mentioned surface projection 3D printing methods. For detailed descriptions of the relevant contents, please refer to the relevant contents of the above-mentioned surface projection 3D printing method, which will not be repeated here.
[0095] The computer-readable storage medium may be an internal storage unit of the above-mentioned device, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, etc.
[0096] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0097] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0098] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A surface projection 3D printing method, characterized in that: The method is applicable to a 3D printing device including a first projection lens and a second projection lens, wherein the accuracy of the first projection lens is higher than the accuracy of the second projection lens, and the method includes: Acquire a two-dimensional image for surface projection 3D printing according to the accuracy of the first projection lens; Searching for contour features of the two-dimensional image from a preset direction of the two-dimensional image, when a first first contour feature is found, extracting the image region including the first first contour feature with a single exposure format of the first projection lens and saving it to a first sub-image region, wherein the first contour feature needs to be projected using the first projection lens to ensure molding quality; Continue searching in the direction of continued searching, and obtain a first sub-image area and a second sub-image area according to the result of the continued searching, wherein the first sub-image area includes all the first contour features in the two-dimensional image, and the second sub-image area is an image area in the two-dimensional image except the first sub-image area, and the second contour features in the second sub-image area are projected using the second projection lens to ensure molding quality; Based on the first sub-image area and the second sub-image area, projection and printing are performed using the first projection lens and the second projection lens.
2. The method according to claim 1, characterized in that The step of obtaining the first sub-picture region according to the result of the continued search includes: When the first contour feature is found, a new area is added. The new area has the first contour feature as a first boundary and a size equal to the single exposure format. When the first distance is greater than the second distance, the position of the second boundary of the newly added area is modified, and the modified new third boundary of the newly added area is shorter than the size of the third boundary of the newly added area, and includes a first contour feature closest to the second boundary of the newly added area, wherein the second boundary is opposite to the first boundary, the third boundary is perpendicular to the first boundary, the first distance is the distance from the first contour feature closest to the second boundary of the newly added area to the second boundary of the newly added area, and the second distance is the distance between the two closest boundaries between the newly added area and the previous first sub-picture area; The modified newly added area is added to the previous first sub-image area to obtain a new first sub-image area. When all the first contour features are searched, the first sub-image area is obtained.
3. The method according to claim 1, characterized in that Before projecting and printing based on the first sub-image area and the second sub-image area using the first projection lens and the second projection lens, the method further includes: The second sub-image area is compressed so that the actual size of the printed sub-sample of the compressed second sub-image area remains consistent with the theoretical size.
4. The method according to claim 3, characterized in that The method further comprises: When there is a deviation between the actual size and the theoretical size of the printed sub-sample of the compressed second sub-image area, a repair process is performed on the edge contour of the compressed second sub-image area that produces the deviation to repair the deviation.
5. The method according to claim 1, characterized in that: Before projecting and printing based on the first sub-image area and the second sub-image area using the first projection lens and the second projection lens, the method further includes: According to the distribution of the effective projection areas of the first sub-image area and the second sub-image area, the area of each effective projection area, and the resolution of the spatial light modulator chip, the first sub-image area and the second sub-image area are respectively divided into sub-images for single projection by an optical machine, so that the size of each divided sub-image does not exceed the resolution of the spatial light modulator chip, and the number of divided sub-images is minimal; The printing path of the two-dimensional image is determined according to the divided first sub-image area and the divided second sub-image area, so that the total travel of the printing surface of the two-dimensional image relative to the first projection lens and the second projection lens is minimized.
6. The method according to claim 5, characterized in that The step of determining the printing path of the two-dimensional image according to the divided first sub-image area and the divided second sub-image area comprises: The printing path of the current printing layer is determined according to the divided first sub-image area and the divided second sub-image area, in combination with the position where the projection of the previous printing layer ends and the relative position where the current printing layer needs to be projected.
7. The method according to claim 5, characterized in that The method further comprises: The printing path when switching between projection lenses of different precisions between printing layers is determined by combining the ending position of the projection lens of the previous precision and the starting position of the projection lens of the next precision.
8. The method according to claim 7, characterized in that The method further comprises: Determine the seam positions between the divided sub-images and the number of projections of the seam positions according to the printing path of the current printing layer; According to the stitching position and the number of projections of the stitching position, grayscale reduction processing is performed on the image at the stitching position.
9. A 3D printing device, characterized in that: The 3D printing device includes a first projection lens and a second projection lens, the accuracy of the first projection lens is higher than the accuracy of the second projection lens, the 3D printing device also includes a processor and a memory, the memory is also used to store a computer program, and the processor is used to execute the computer program and implement the surface projection 3D printing method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the surface projection 3D printing method according to any one of claims 1 to 8.
