CN116572537B - 3D printing method and system based on overhang recognition and 3D printer - Google Patents

3D printing method and system based on overhang recognition and 3D printer Download PDF

Info

Publication number
CN116572537B
CN116572537B CN202310576974.3A CN202310576974A CN116572537B CN 116572537 B CN116572537 B CN 116572537B CN 202310576974 A CN202310576974 A CN 202310576974A CN 116572537 B CN116572537 B CN 116572537B
Authority
CN
China
Prior art keywords
pixel point
original
slice image
neighborhood
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310576974.3A
Other languages
Chinese (zh)
Other versions
CN116572537A (en
Inventor
杨依哲
刘兵山
贾新建
李鑫
王功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Technology and Engineering Center for Space Utilization of CAS
Original Assignee
Technology and Engineering Center for Space Utilization of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Technology and Engineering Center for Space Utilization of CAS filed Critical Technology and Engineering Center for Space Utilization of CAS
Priority to CN202310576974.3A priority Critical patent/CN116572537B/en
Publication of CN116572537A publication Critical patent/CN116572537A/en
Application granted granted Critical
Publication of CN116572537B publication Critical patent/CN116572537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)

Abstract

The invention discloses a 3D printing method, a system and a 3D printer based on overhang recognition, which comprise the following steps: acquiring slice images of each level of the three-dimensional model; judging whether any pixel point of any slice image is empty at the same position of the slice image of the adjacent lower layer, if so, judging whether a target pixel point meeting the condition exists in the slice image of the adjacent lower layer of the pixel point, and if the angle between the pixel point and the target pixel point is larger than a preset value, determining the pixel point as a pixel point to be supported; determining the pixel points corresponding to the concave positions in the slice image as pixel points to be supported; replacing the pixel values of the pixel points of the same position of the slice images of all lower layers of each pixel point to be supported with the solid pixel values; 3D printing is performed based on the current slice image. The invention can rapidly identify the overhang part and generate the corresponding support, so that the 3D printing quality is ensured, the number of supports is reduced, and the economy and applicability are improved.

Description

3D printing method and system based on overhang recognition and 3D printer
Technical Field
The invention relates to the technical field of 3D printing, in particular to a 3D printing method and system based on overhang recognition and a 3D printer.
Background
In recent years, 3D printing technology is widely applied to model production and product test as a revolutionary technology, two-dimensional layering slicing is carried out on a three-dimensional model, and the three-dimensional model is formed into a solid model through layer-by-layer accumulation printing. In 3D printing, manufacturability analysis is a very important link, and feasibility analysis of printing an object in advance before printing can improve printing efficiency and reduce iteration cost. The identification of the overhang part takes the first place, and the model part beyond the self-supporting angle provided by the material or the process itself must be identified so as to facilitate the subsequent generation of the support and ensure the normal printing.
Because most of the formats of the input models are STL triangular patches, most of the existing methods adopt a mode of evaluating the angles of the triangular patches to identify the hanging parts, and only the judgment of whether the included angle between the normal line of the triangular patches and the printing construction direction exceeds the self-supporting angle of the material is needed to find out the hanging patches. This approach searches very quickly, but does not facilitate the generation of subsequent struts. Firstly, the identified triangular patches need to be clustered to find the patches with the interconnection relation, so that an integral support is generated; secondly, the subsequent support generation is based on the triangular surface patches, complex intersection and other geometric operations cannot be avoided, which may lead to longer subsequent processing time and poorer quality of the generated support.
Accordingly, there is a need to provide a solution to the above-mentioned problems.
Disclosure of Invention
In order to solve the technical problems, the invention provides a 3D printing method, a system and a 3D printer based on overhang recognition.
The technical scheme of the 3D printing method based on overhang recognition is as follows:
acquiring an original slice image of each level in the three-dimensional model to be printed;
judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained; wherein, the preset conditions are as follows: the target pixel point corresponding to any original pixel point is a non-blank pixel point, and the distance between the target pixel point and any original pixel point is nearest;
determining pixel points corresponding to the concave positions of the overhanging region of the three-dimensional model to be printed in each original slice image as second pixel points to be supported, and replacing pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with solid pixel values respectively to obtain all replaced target slice images;
and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
The 3D printing method based on overhang recognition has the following beneficial effects:
the method can simply and quickly identify the overhang part and generate the corresponding support, reduces the number of supports while guaranteeing the 3D printing quality, and improves the economy and applicability.
On the basis of the scheme, the 3D printing method based on overhang recognition can be improved as follows.
Further, the step of judging whether the target pixel point meeting the preset condition exists in the original slice image of the adjacent lower layer of any original pixel point comprises the following steps:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
Further, the step of judging whether the original slice image of the adjacent lower layer of any original pixel point has the target pixel point meeting the preset condition, further comprises the following steps:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
Further, the method further comprises the following steps:
when the maximum expansion times of the neighborhood expansion search mode are reached, if the target pixel point corresponding to any original pixel point is not determined, determining any original pixel point as a first pixel point to be supported.
Further, the neighborhood expansion search mode is as follows: a four-neighborhood expansion search mode or an eight-neighborhood expansion search mode.
Further, the step of acquiring pixels in each original slice image corresponding to the depressions of the overhanging region includes:
acquiring a plurality of neighborhood pixel points of any original pixel point in any original slice image in the original slice image, and determining any original pixel point as a pixel point corresponding to a concave position of a vertical area in the original slice image when the pixel points of each neighborhood pixel point of any original pixel point at the same position of the original slice image of all lower layers are empty respectively until the pixel point corresponding to the concave position of the vertical area in each original slice image is obtained.
The technical scheme of the 3D printing system based on overhang recognition is as follows:
comprising the following steps: the device comprises an acquisition module, a first processing module, a second processing module and an operation module;
the acquisition module is used for: acquiring an original slice image of each level in the three-dimensional model to be printed;
the first processing module is used for: judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained; wherein, the preset conditions are as follows: the target pixel point corresponding to any original pixel point is a non-blank pixel point, and the distance between the target pixel point and any original pixel point is nearest;
the second processing module is used for: determining pixel points corresponding to the concave positions of the overhanging region of the three-dimensional model to be printed in each original slice image as second pixel points to be supported, and replacing pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with solid pixel values respectively to obtain all replaced target slice images;
the operation module is used for: and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
The 3D printing system based on overhang recognition has the following beneficial effects:
the system provided by the invention can simply and quickly identify the overhang part and generate the corresponding support, so that the 3D printing quality is ensured, the number of supports is reduced, and the economy and applicability are improved.
Based on the scheme, the 3D printing system based on overhang recognition can be improved as follows.
Further, the first processing module is specifically configured to:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
Further, the first processing module is specifically further configured to:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
The technical scheme of the 3D printer is as follows:
comprising a control chip which performs the steps of a 3D printing method based on drape recognition as in the present invention.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of a 3D printing method based on drape recognition provided by the present invention;
FIG. 2 is a schematic diagram of original pixels in an embodiment of a 3D printing method based on overhang recognition according to the present invention;
FIG. 3 is a schematic diagram illustrating a first neighborhood expansion in an embodiment of a 3D printing method based on overhang recognition according to the present invention;
FIG. 4 is a schematic diagram of a sagging area recess in an embodiment of a 3D printing method based on sagging identification provided by the present invention;
FIG. 5 shows a schematic diagram of the principle of secondary domain expansion in an embodiment of a 3D printing method based on overhang recognition provided by the invention;
FIG. 6 is a schematic diagram showing a four-neighborhood expansion search coefficient in an embodiment of a 3D printing method based on overhang recognition;
FIG. 7 is a schematic diagram showing eight neighbor expansion search coefficients in an embodiment of a 3D printing method based on drape recognition provided by the present invention;
fig. 8 shows a schematic structural diagram of an embodiment of a 3D printing system based on overhang recognition.
Detailed Description
Fig. 1 shows a schematic flow chart of an embodiment of a 3D printing method based on overhang recognition. As shown in fig. 1, the method comprises the following steps:
step 110: and acquiring an original slice image of each level in the three-dimensional stereo model to be printed.
Wherein, the three-dimensional model to be printed is: a three-dimensional model of an entity that requires 3D printing. The three-dimensional model contains a plurality of layers of original slice images.
It should be noted that, the slice image is a binary bmp image, the pixel value of each pixel point is 0 or 255, where 0 is a blank pixel value (the corresponding pixel point is a blank pixel point), and 255 is a physical pixel value (the corresponding pixel point is a non-blank pixel point).
Step 120: judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained.
Wherein, (1) the original pixel point is: pixels in the original slice image which are not processed are processed. (2) Taking fig. 2 as an example, the pixel point at the upper left side (upper slice pixel point) of fig. 2 is any original pixel point, the pixel point at the lower left side (lower slice pixel point) is the pixel point of the same position of the original slice image of the adjacent lower layer, at this time, the pixel point at the lower left side is a non-blank pixel point, and the original pixel point is discarded, and the next original pixel point is determined. The pixel point at the upper right side (upper slice pixel point) of fig. 2 is any original pixel point, the pixel point at the lower right side (lower slice pixel point) is the pixel point of the same position of the original slice image of the adjacent lower layer, and at this time, the pixel point at the lower right side is a blank pixel point, and the original pixel point is further judged. (3) The target pixel points are: and the pixel points meeting preset conditions in the original slice image of the adjacent lower layer of any original pixel point. (4) The preset conditions are as follows: 1) The target pixel points are non-blank pixel points; 2) The distance between the target pixel point and any original pixel point is nearest.
It should be noted that (1) the actual physical size of each original pixel point is lp×wp. Typically, the geometry of the pixel is square, the side length is pl, and the thickness of the level is lt. Each original pixel point in the original slice image of each level becomes a voxel point after projection, and the positions of the pixel points are the same as the positions of the corresponding voxel points, and the pixel points refer to the positions of the voxels on the slice in the embodiment. (2) The default angle value in this embodiment is set to 30 degrees, and may be adjusted according to actual conditions, which is not limited herein. (3) When a certain original pixel point exists in an original slice image of the adjacent lower layer, a plurality of pixel points meeting the condition 1 in the preset conditions, selecting the pixel point closest to the original pixel point as a target pixel point; if the number of the pixel points closest to the original pixel point is a plurality of, one of the pixel points is selected as a target pixel point corresponding to the original pixel point. (4) As shown in fig. 3, when the angle value between the original pixel point and the to-be-determined pixel point is greater than 30 degrees, the to-be-determined pixel point is determined to be the target pixel point corresponding to the original pixel point.
Step 130: and determining the pixel points in the depression of the overhang region of the three-dimensional model to be printed, which correspond to each original slice image, as second pixel points to be supported, and replacing the pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with the solid pixel values respectively to obtain all replaced target slice images.
Wherein (1) as shown in fig. 4, the pixels in the depressions of the overhanging region are at the local or global lowest point, so these pixels must be supported. (2) The physical pixel value is the exposed pixel, and the pixel value defaults to 255.
Step 140: and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
It should be noted that, the process of performing 3D printing based on slice images of the three-dimensional model is the prior art, and is not repeated here.
Preferably, the step of judging whether the target pixel point meeting the preset condition exists in the original slice image of the adjacent lower layer of any original pixel point comprises the following steps:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
The neighborhood expansion searching mode comprises the following steps: a four-neighborhood expansion search mode or an eight-neighborhood expansion search mode. For different models and process parameters, the speed of the two expansion search modes may be slightly different, but essentially the two methods function the same. In practical use, any expansion search method may be selected for identification, and in this embodiment, a four-neighbor expansion search method is described as an example.
Specifically, based on a four-neighborhood expansion search mode, four neighborhood pixel points obtained by expanding a certain original pixel point in a corresponding original slice image for the first time are obtained. When the pixel point (assumed to be the undetermined pixel point) of any neighborhood pixel point corresponding to the original pixel point at the same position of the original slice image of the adjacent lower layer is a non-blank pixel point, determining the undetermined pixel point as a target pixel point corresponding to the original pixel point.
Preferably, the step of determining whether the target pixel point meeting the preset condition exists in the original slice image of the adjacent lower layer of any original pixel point further includes:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
Specifically, as shown in fig. 5, if each neighborhood pixel corresponding to any one of the original pixel points is a blank pixel point at the same position of the original slice image of the adjacent lower layer after the first neighborhood expansion, performing the second neighborhood expansion to obtain a plurality of new neighborhood pixel points of any one of the original pixel points in the corresponding original slice image, and judging whether the pixel point of any one of the new neighborhood pixel points corresponding to any one of the original pixel points at the same position of the original slice image of the adjacent lower layer is a non-blank pixel point; when a pixel point of one new neighborhood pixel point at the same position of an original slice image of an adjacent lower layer is a non-blank pixel point (assumed to be a to-be-determined pixel point), determining the to-be-determined pixel point as a target pixel point corresponding to any original pixel point; otherwise, repeating the process to perform iterative judgment until a target pixel point corresponding to any original pixel point is obtained.
Preferably, the method further comprises:
when the maximum expansion times of the neighborhood expansion search mode are reached, if the target pixel point corresponding to any original pixel point is not determined, determining any original pixel point as a first pixel point to be supported.
It should be noted that, to facilitate comparison of angle values, sine values of angle values under different conditions may be calculated in advance, that is: tan θ=w pi/lt; w is when searching for the target pixel point at different positions of the original slice image of the adjacent lower layer of a certain original pixel pointThe corresponding different coefficients, this coefficient can be calculated in advance. As shown in fig. 6, in the nth expansion, the w value corresponding to the four adjacent domains is rounded up (n 2 /2)) 0.5 Between n and n; as shown in FIG. 7, the value of w corresponding to the eight neighbors is from n to (2) 0.5 n. After the expansion search is compared with a preset angle value, the number of times of expansion search which is needed at most can be determined in advance, if the number of times is exceeded and a target pixel point is not found, the expansion search can be finished in advance, and the currently detected pixel is necessarily needed to be supported.
Preferably, the step of acquiring pixels in each original slice image corresponding to the depressions of the overhanging region includes:
acquiring a plurality of neighborhood pixel points of any original pixel point in any original slice image in the original slice image, and determining any original pixel point as a pixel point corresponding to a concave position of a vertical area in the original slice image when the pixel points of each neighborhood pixel point of any original pixel point at the same position of the original slice image of all lower layers are empty respectively until the pixel point corresponding to the concave position of the vertical area in each original slice image is obtained.
The technical scheme of the embodiment can simply and rapidly identify the overhang part and generate the corresponding support, so that the 3D printing quality is ensured, the number of supports is reduced, and the economy and applicability are improved.
Fig. 8 shows a schematic structural diagram of an embodiment of a 3D printing system based on overhang recognition. As shown in fig. 8, the system 200 includes: an acquisition module 210, a first processing module 220, a second processing module 230, and a run module 240.
The obtaining module 210 is configured to: acquiring an original slice image of each level in the three-dimensional model to be printed;
the first processing module 220 is configured to: judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained; wherein, the preset conditions are as follows: the target pixel point corresponding to any original pixel point is a non-blank pixel point, and the distance between the target pixel point and any original pixel point is nearest;
the second processing module 230 is configured to: determining pixel points corresponding to the concave positions of the overhanging region of the three-dimensional model to be printed in each original slice image as second pixel points to be supported, and replacing pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with solid pixel values respectively to obtain all replaced target slice images;
the operation module 240 is configured to: and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
Preferably, the first processing module 220 is specifically configured to:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
Preferably, the first processing module 220 is further configured to:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
The technical scheme of the embodiment can simply and rapidly identify the overhang part and generate the corresponding support, so that the 3D printing quality is ensured, the number of supports is reduced, and the economy and applicability are improved.
The steps for implementing the corresponding functions by the parameters and the modules in the 3D printing system 200 based on overhang recognition in the present embodiment are referred to in the above embodiments for a 3D printing method based on overhang recognition, and are not described herein.
The 3D printer provided by the embodiment of the present invention includes a control chip, where the control chip executes the steps of the 3D printing method based on overhang recognition according to the present embodiment, and specifically reference may be made to each parameter and step in the above embodiment of the 3D printing method based on overhang recognition, which is not described herein.
In the description provided herein, numerous specific details are set forth. It will be appreciated, however, that embodiments of the invention may be practiced without such specific details. Similarly, in the above description of exemplary embodiments of the invention, various features of embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. Wherein the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (10)

1. A 3D printing method based on drape recognition, comprising:
acquiring an original slice image of each level in the three-dimensional model to be printed;
judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained; wherein, the preset conditions are as follows: the target pixel point corresponding to any original pixel point is a non-blank pixel point, and the distance between the target pixel point and any original pixel point is nearest;
determining pixel points corresponding to the concave positions of the overhanging region of the three-dimensional model to be printed in each original slice image as second pixel points to be supported, and replacing pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with solid pixel values respectively to obtain all replaced target slice images;
and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
2. The 3D printing method based on overhang recognition according to claim 1, wherein the step of judging whether the target pixel point meeting the preset condition exists in the original slice image of the adjacent lower layer of any original pixel point comprises:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
3. The 3D printing method based on overhang recognition according to claim 2, wherein the step of judging whether the target pixel point meeting the preset condition exists in the original slice image of the adjacent lower layer of any original pixel point further comprises:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
4. The drape recognition-based 3D printing method of claim 3, further comprising:
when the maximum expansion times of the neighborhood expansion search mode are reached, if the target pixel point corresponding to any original pixel point is not determined, determining any original pixel point as a first pixel point to be supported.
5. The drape recognition-based 3D printing method of any of claims 2 to 4, wherein the neighborhood extension search method is: a four-neighborhood expansion search mode or an eight-neighborhood expansion search mode.
6. The overhang recognition-based 3D printing method of claim 1, wherein the step of acquiring pixels in the recesses of the overhang region corresponding to each original slice image comprises:
acquiring a plurality of neighborhood pixel points of any original pixel point in any original slice image in the original slice image, and determining any original pixel point as a pixel point corresponding to a concave position of a vertical area in the original slice image when the pixel points of each neighborhood pixel point of any original pixel point at the same position of the original slice image of all lower layers are empty respectively until the pixel point corresponding to the concave position of the vertical area in each original slice image is obtained.
7. A drape identification-based 3D printing system, comprising: the device comprises an acquisition module, a first processing module, a second processing module and an operation module;
the acquisition module is used for: acquiring an original slice image of each level in the three-dimensional model to be printed;
the first processing module is used for: judging whether any original pixel point in any original slice image is a blank pixel point at the same position of an original slice image of an adjacent lower layer, if so, judging whether target pixel points meeting preset conditions exist in the original slice image of the adjacent lower layer of any original pixel point, if so, judging whether the angle value between any original pixel point and a corresponding target pixel point is larger than a preset angle value, and if so, determining any original pixel point as a first pixel point to be supported until all the first pixel points to be supported are obtained; wherein, the preset conditions are as follows: the target pixel point corresponding to any original pixel point is a non-blank pixel point, and the distance between the target pixel point and any original pixel point is nearest;
the second processing module is used for: determining pixel points corresponding to the concave positions of the overhanging region of the three-dimensional model to be printed in each original slice image as second pixel points to be supported, and replacing pixel values of the pixel points of each first pixel point to be supported and each second pixel point to be supported at the same position of the original slice images of all lower layers with solid pixel values respectively to obtain all replaced target slice images;
the operation module is used for: and 3D printing is carried out on the three-dimensional model to be printed based on all the target slice images and the original slice images which are not replaced.
8. The drape recognition-based 3D printing system of claim 7, wherein the first processing module is specifically configured to:
and acquiring a plurality of neighborhood pixel points which are obtained by expanding any original pixel point in the corresponding original slice image for the first time based on a neighborhood expansion search mode, and determining the pixel point of any neighborhood pixel point in the same position of the original slice image of the adjacent lower layer as a target pixel point corresponding to any original pixel point when the pixel point of any neighborhood pixel point corresponding to any original pixel point in the same position of the original slice image of the adjacent lower layer is a non-blank pixel point.
9. The drape identification based 3D printing system of claim 8, wherein the first processing module is further specifically configured to:
and expanding the neighborhood of any original pixel point again based on the neighborhood expansion search mode when each neighborhood pixel point corresponding to the any original pixel point is a blank pixel point at the same position of the original slice image of the adjacent lower layer, so as to obtain a plurality of new neighborhood pixel points of the any original pixel point in the corresponding original slice image, and carrying out iterative judgment until a target pixel point corresponding to the any original pixel point is obtained.
10. A 3D printer comprising a control chip for performing the drape recognition-based 3D printing method of any one of claims 1 to 6.
CN202310576974.3A 2023-05-19 2023-05-19 3D printing method and system based on overhang recognition and 3D printer Active CN116572537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310576974.3A CN116572537B (en) 2023-05-19 2023-05-19 3D printing method and system based on overhang recognition and 3D printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310576974.3A CN116572537B (en) 2023-05-19 2023-05-19 3D printing method and system based on overhang recognition and 3D printer

Publications (2)

Publication Number Publication Date
CN116572537A CN116572537A (en) 2023-08-11
CN116572537B true CN116572537B (en) 2023-11-07

Family

ID=87537425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310576974.3A Active CN116572537B (en) 2023-05-19 2023-05-19 3D printing method and system based on overhang recognition and 3D printer

Country Status (1)

Country Link
CN (1) CN116572537B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107067471A (en) * 2017-05-10 2017-08-18 河海大学常州校区 A kind of adaptive scanning speed method for improving pendant body model forming quality
WO2022037179A1 (en) * 2020-08-19 2022-02-24 珠海赛纳三维科技有限公司 Data processing method, apparatus, storage medium, and 3d printing apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107067471A (en) * 2017-05-10 2017-08-18 河海大学常州校区 A kind of adaptive scanning speed method for improving pendant body model forming quality
WO2022037179A1 (en) * 2020-08-19 2022-02-24 珠海赛纳三维科技有限公司 Data processing method, apparatus, storage medium, and 3d printing apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FDM三维打印的支撑结构的设计算法;陈岩;王士玮;杨周旺;刘利刚;;中国科学:信息科学(02);全文 *

Also Published As

Publication number Publication date
CN116572537A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN107358636B (en) Loose defect image generation method based on texture synthesis
CN107228860B (en) Gear defect detection method based on image rotation period characteristics
JP2019514126A (en) Robust merging of 3D textured meshes
KR20120089541A (en) Method and system for wafer registration
CN105957113B (en) Manhattan network-based horizontal inscribed rectangle algorithm and device for any connected domain
Rakhmadi et al. Connected component labeling using components neighbors-scan labeling approach
CN115496746A (en) Method and system for detecting surface defects of plate based on fusion of image and point cloud data
CN115586749B (en) Workpiece machining track control method based on machine vision and related device
JP7169393B2 (en) Generating training sets that can be used to inspect semiconductor specimens
Brant et al. A novel electrochemical micro additive manufacturing method of overhanging metal parts without reliance on support structures
CN106233126B (en) Method for characterizing a part
KR20220084303A (en) manufacturing method
CN115861351A (en) Edge detection method, defect detection method and detection device
CN116572537B (en) 3D printing method and system based on overhang recognition and 3D printer
CN113933820B (en) Laser radar external reference calibration method without calibration object
CN114140416A (en) Glass edge detection method and system based on machine vision
CN116258838B (en) Intelligent visual guiding method for duct piece mold clamping system
CN115587989B (en) Workpiece CT image defect detection segmentation method and system
CN115797314B (en) Method, system, equipment and storage medium for detecting surface defects of parts
CN111783648A (en) Method and device for extracting guardrail in road point cloud
CN116542926A (en) Method, device, equipment and storage medium for identifying defects of two-dimension codes of battery
EP4092557A1 (en) Parameterization of digital irregular freeform geometries
CN104021534A (en) Shredded paper splicing method
CN115272549A (en) Method and device for storing, rendering and scheduling super-large digital scene
CN114758161B (en) Image target matching positioning method, storage medium and computer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant