CN112873824B - 3D printing picture exposure method and device, electronic equipment and storage medium - Google Patents

3D printing picture exposure method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112873824B
CN112873824B CN202110031955.3A CN202110031955A CN112873824B CN 112873824 B CN112873824 B CN 112873824B CN 202110031955 A CN202110031955 A CN 202110031955A CN 112873824 B CN112873824 B CN 112873824B
Authority
CN
China
Prior art keywords
exposure
picture
contour
type
determining
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
CN202110031955.3A
Other languages
Chinese (zh)
Other versions
CN112873824A (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.)
Shenzhen Chuangxiang 3D Technology Co Ltd
Original Assignee
Shenzhen Chuangxiang 3D Technology Co Ltd
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 Shenzhen Chuangxiang 3D Technology Co Ltd filed Critical Shenzhen Chuangxiang 3D Technology Co Ltd
Priority to CN202110031955.3A priority Critical patent/CN112873824B/en
Publication of CN112873824A publication Critical patent/CN112873824A/en
Application granted granted Critical
Publication of CN112873824B publication Critical patent/CN112873824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/10Processes of additive manufacturing
    • 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/20Apparatus for additive manufacturing; Details thereof or accessories therefor
    • 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
    • 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
    • B33Y10/00Processes of additive manufacturing
    • 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
    • B33Y30/00Apparatus for additive manufacturing; Details thereof or accessories therefor
    • 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

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 embodiment of the invention discloses a 3D printing picture exposure method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: obtaining a layer cutting picture of a model to be printed; determining the image size corresponding to at least one section of complete contour in the slice picture; generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture; and exposing the exposure picture according to the exposure duration. The embodiment of the invention realizes the purpose of setting the exposure time according to the contour size, so that the contours with different sizes have more reasonable exposure time, the problem of underexposure or exposure transition caused by directly adopting the same exposure time is avoided, and the stability and the quality of a printing model are improved.

Description

3D printing picture exposure method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of 3D printing, in particular to a 3D printing picture exposure method and device, electronic equipment and a storage medium.
Background
3D printing is one of the rapid prototyping technologies, which is a technology for building objects by stacking layers one upon another in an accumulative manner using bondable materials such as powdered metals or plastics based on digital model files. 3D printing can generate parts of any shape directly from computer graphic data without machining or any die, thereby greatly shortening the development cycle of products, improving productivity and reducing production costs, and more fields begin to use this technology for component manufacturing.
Currently, one way of 3D printing is photocuring printing, such as LCD (Light Crystal Display) and DLP (Digital Light Processing) photocuring printing technologies. In the photo-curing printing technology, when printing, a plurality of black and white pictures are generated after directly slicing, and then each picture is exposed to solidify and mold photosensitive resin. During exposure, the exposure time of different pattern contour sizes in each picture is the same, which easily causes the short exposure time of the pattern contour and causes unstable model support; or the exposure time with a smaller pattern profile is too long, causing the cured layer to fall off and printing to fail.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for exposing a picture for 3D printing, an electronic device, and a storage medium, so as to reasonably set an exposure time and improve model stability.
In a first aspect, an embodiment of the present invention provides a picture exposure method for 3D printing, including:
obtaining a layer cutting picture of a model to be printed;
determining the image size corresponding to at least one section of complete contour in the slice picture;
generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture;
and exposing the exposure picture according to the exposure duration.
Further, before obtaining the layer cutting picture of the model to be printed, the method further includes:
and slicing the model to be printed to generate a slice layer picture of each slice layer.
Further, the determining the image size corresponding to at least one section of the complete contour in the slice image includes:
identifying at least one complete section of outline in the cut layer picture;
and taking the pixel size of the complete contour in the slice picture as an image size.
The pixel size of the outline is used as the corresponding image size, data statistics is simple and convenient, and convenience is brought to subsequent calculation.
Further, the generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture includes:
determining the contour type of the complete contour according to the image size;
and generating at least one exposure picture according to the contour type and determining the exposure duration of the exposure picture.
By classifying the outlines, a cut-layer picture can generate a plurality of exposure pictures, the types of the outlines in each exposure picture are the same, the exposure time is the same, and the corresponding outlines can be exposed for a reasonable time when the corresponding exposure pictures are exposed.
Further, the determining the contour type of the complete contour according to the image size includes:
if the image size is larger than a preset contour threshold value, determining that the complete contour is of a first contour type;
and if the image size is smaller than or equal to a preset contour threshold value, determining that the complete contour is of a second contour type.
The contours are classified by presetting the contour threshold, and the classification method is simple to operate, easy to implement, small in calculated amount and not prone to influence the 3D printing efficiency.
Further, the generating at least one exposure picture according to the profile type and determining the exposure duration of the exposure picture includes:
if the contour type of at least one section of complete contour is the first contour type and the contour type of at least one section of complete contour is the second contour type, generating a first type of exposure picture according to at least one section of complete contour corresponding to the first contour type, and generating a second type of exposure picture according to at least one section of complete contour corresponding to the second contour type;
setting the exposure duration of the first type of exposure picture as a first preset duration, and setting the exposure duration of the second type of exposure picture as a second preset duration.
Further, the generating at least one exposure picture according to the profile type and determining the exposure duration of the exposure picture includes:
if all the contour types of the complete contour are the first contour type, directly taking the slice picture as a first type of exposure picture, and setting the exposure time length as a first preset time length; or
And if the profile types of all the complete profiles are the second profile type, directly taking the layer cutting picture as a second type of exposure picture, and setting the exposure time length as a second preset time length.
Different exposure time lengths are set for exposure pictures of different types, and the outlines of different sizes are reasonably exposed, so that overexposure and underexposure are avoided, and the stability of the model and the printing quality are improved.
In a second aspect, an embodiment of the present invention provides a 3D printed picture exposure apparatus, including:
the layer cutting picture acquisition module is used for acquiring a layer cutting picture of the model to be printed;
the image size determining module is used for determining the image size corresponding to at least one section of complete outline in the slice picture;
the exposure picture generation module is used for generating at least one exposure picture according to the image size and determining the exposure time of the exposure picture;
and the exposure module is used for exposing the exposure picture according to the exposure duration.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or at least one program is executed by the one or more processors, the one or more processors are caused to implement the 3D printed picture exposure method provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the 3D printed picture exposure method provided by any of the embodiments of the present invention.
The 3D printing image exposure method provided by the embodiment of the invention achieves the purpose of setting the exposure time according to the contour size, so that the contours with different sizes have more reasonable exposure time, the problem of underexposure or transitional exposure caused by directly adopting the same exposure time is avoided, and the stability and the quality of a printing model are improved.
Drawings
Fig. 1 is a schematic flowchart of a 3D printing image exposure method according to an embodiment of the present invention;
FIG. 2A is a schematic diagram of a model to be printed according to an embodiment of the present invention;
fig. 2B is a schematic diagram of a slice picture according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a 3D printing image exposure method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a 3D printed image exposure apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "plurality", "batch" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a schematic flowchart of a 3D printing image exposure method according to an embodiment of the present invention, which is applicable to exposure processing of a photo-curing printing technology. As shown in fig. 1, a 3D printing image exposure method according to an embodiment of the present invention includes:
and S110, acquiring a layer cutting picture of the model to be printed.
Specifically, 3D printing is to print a three-dimensional model, and firstly, slicing is performed on the model to be printed. After slicing, the model to be printed is divided into a plurality of layers, and each slice layer is a picture containing the outline of the model to be printed, namely a slice picture. It will be appreciated that the cut pictures of the model to be printed will typically comprise a plurality of sheets.
And S120, determining the image size corresponding to at least one section of complete contour in the slice picture.
Specifically, a complete contour refers to the contour of an independent pattern in the slice picture, which does not intersect the contours of other patterns. It is understood that a slice of a picture includes at least a complete outline. Generally, for a slightly complex model to be printed, there may be a plurality of portions that are not directly connected in the slice direction, and then the slice picture includes a plurality of independent patterns, each forming a complete outline. Illustratively, as shown in fig. 2A, the module to be printed 1 is sliced in the direction ofbase:Sub>A-base:Sub>A, so as to obtainbase:Sub>A slice picture 2 corresponding to that shown in fig. 2B, which includes two complete outlines: a first profile 3 and a second profile 4. It should be noted that the slice picture is generally a black-and-white picture, the background of the picture is black, and the outline of the pattern is white, and for convenience of clear description, the background and the filling color in the slice picture are omitted in this embodiment.
The image size refers to the pixel size corresponding to the occupied area of a section of complete outline in the slice picture, and is represented by length and width, wherein the length represents the pixel value in the length direction, and the width represents the pixel value in the width direction. If the image size is 10 × 25, it means that the full outline of the segment occupies 10 pixels in the length direction and 25 pixels in the width direction.
S130, generating at least one exposure picture according to the image size and determining the exposure time of the exposure picture.
Specifically, if the image sizes are different, the sizes of the outlines are different. The exposure pictures are generated according to the image sizes, namely the exposure pictures are generated according to the outline sizes, the same type of exposure pictures are generated according to the image sizes with the same specification, and the different types of exposure pictures correspond to different exposure time lengths.
Further, a division standard of the image size may be preset and recorded as a preset contour threshold. And when the image size is larger than a preset contour threshold value, considering that the corresponding complete contour is a large contour, and generating an exposure picture only comprising the large contour. And when the image size is less than or equal to the preset contour threshold value, the corresponding complete contour is considered as a small contour, and an exposure picture only comprising the small contour is generated.
After the size of the outline is divided, the corresponding exposure time length can be further determined according to the size of the outline. Generally, the short exposure duration corresponding to the large profile corresponds to the long exposure duration corresponding to the small profile, and then the exposure duration of the large-profile exposure picture is determined to be the short exposure duration, and the exposure duration of the small-profile exposure picture is determined to be the long exposure duration.
And S140, exposing the exposure picture according to the exposure duration.
Specifically, each exposure picture has its corresponding exposure duration, and the exposure is performed for the corresponding exposure duration according to the requirement during exposure.
The 3D printing image exposure method provided by the embodiment of the invention obtains the layer cutting image of the model to be printed; determining the image size corresponding to at least one section of complete contour in the slice picture; generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture; exposing the exposure picture according to the exposure duration; the purpose of setting the exposure time length according to the contour size is achieved, so that the contours with different sizes have more reasonable exposure time length, the problems of insufficient exposure or exposure transition caused by directly adopting the same exposure time length are avoided, and the stability and the quality of a printing model are improved.
Example two
Fig. 3 is a schematic flowchart of a 3D printed image exposure method according to a second embodiment of the present invention, which is further detailed in the second embodiment. As shown in fig. 3, a 3D printing image exposure method according to a second embodiment of the present invention includes:
s210, slicing the model to be printed to generate a slice layer picture of each slice layer.
Specifically, slicing processing is carried out on the model to be printed by adopting slicing software matched with the 3D printer, and the model to be printed is divided into a plurality of slicing layers. Each sliced layer corresponds to a sliced picture and includes cross-sectional information, i.e., contour information, of the model to be printed.
And S220, obtaining a layer cutting picture of the model to be printed.
Specifically, the cut-layer picture of the model to be printed usually includes a plurality of pieces.
And S230, identifying at least one section of complete contour in the slice picture.
Specifically, a complete outline refers to an outline of an independent pattern in the slice picture, which does not intersect with the outlines of other patterns. As shown in fig. 2A, in the module to be printed 1, the cut layer picture 2 in thebase:Sub>A-base:Sub>A direction is as shown in fig. 2B, and the outline in the cut layer picture 2 is identified, it can be determined that the cut layer picture 2 includes two complete outlines: a first profile 3 and a second profile 4.
And S240, taking the pixel size of the complete contour in the slice picture as the image size.
Specifically, the pixel size of a complete outline in the slice picture refers to the pixel size of a minimum rectangular frame that can surround the complete outline, and is denoted as length and width, and the pixel size of the minimum rectangular frame is the image size of the corresponding outline. As shown in fig. 2B, the image size of the first contour 3 is the pixel size of its own rectangular contour, which is set to 40 × 20 pixel values; the image size of the second contour 4 is the pixel size of its own rectangular contour, which is assumed to be 12 x 10 pixel values.
And S250, determining the contour type of the complete contour according to the image size.
Specifically, the type of the contour is determined according to the size of the image, in order to classify the contour. In this embodiment, the method for determining the contour type is to compare the image size with a preset contour threshold, and specifically includes the following steps: if the image size is larger than a preset contour threshold value, determining that the complete contour is of a first contour type; and if the image size is smaller than or equal to a preset contour threshold value, determining that the complete contour is of a second contour type. Preferably, the preset profile threshold is set to 25 × 25 pixel values. When the image size is larger than 25 × 25 pixel values, the profile type is a first profile type, and the profile is regarded as a large profile; otherwise, the profile type is a second profile type, and the profile is considered to be a small profile. As shown in fig. 2B, the first profile 3 belongs to a first profile type and the second profile 4 belongs to a second profile type.
Optionally, a plurality of preset contour thresholds may also be set, and the contour types are divided more finely, which is not described in detail in this embodiment.
S260, generating at least one exposure picture according to the contour type and determining the exposure time of the exposure picture.
Specifically, when the profile types are different, the corresponding exposure pictures are also different, and the step of generating the exposure pictures specifically includes:
if the contour type of at least one section of complete contour is the first contour type and the contour type of at least one section of complete contour is the second contour type, generating a first type of exposure picture according to at least one section of complete contour corresponding to the first contour type, and generating a second type of exposure picture according to at least one section of complete contour corresponding to the second contour type; setting the exposure duration of the first type of exposure picture as a first preset duration, and setting the exposure duration of the second type of exposure picture as a second preset duration.
Specifically, if one slice picture includes two profiles of different profile types, the profiles of the same profile type are used to generate one type of exposure film, that is, the profile belonging to the first profile type is used to generate a first type of exposure picture, and the profile belonging to the second profile type is used to generate another type of exposure picture, so that at this time, one slice picture can generate two types of exposure pictures.
Further, the number of the two types of exposure pictures can be one or more, and can be determined according to actual conditions. When the number of the outlines of the same outline type in a cut layer picture is large, a plurality of exposure pictures of the same type can be generated; when the number of the contours of the same contour type in a slice image is small, a corresponding type exposure image can be generated, and all the contours corresponding to the contour type can be included in the exposure image. The exposure duration of the first type of exposure picture is a first preset duration, the exposure duration of the second type of exposure picture is a second preset duration, and generally, the first preset duration is less than the second preset duration. Preferably, the first preset time period is 0.5-1.5 seconds, and the second preset time period is 5-8 seconds.
Illustratively, as shown in the slice picture of fig. 2B, the first contour 3 belongs to a first contour type and the second contour 4 belongs to a second contour type. The first profile 3 can be used to generate a first type of exposure picture separately, and the corresponding exposure time is set to 1 second; the second profile 4 alone generates a second type of exposure picture, the corresponding exposure duration of which is set to 6 seconds.
Further, the step of generating an exposure picture further includes: if all the contour types of the complete contour are the first contour type, directly taking the slice picture as a first type of exposure picture, and setting the exposure time length as a first preset time length; or, if the profile types of all the complete profiles are the second profile type, directly taking the slice picture as a second type of exposure picture, and setting the exposure time length as a second preset time length.
Specifically, when a slice picture only includes one profile type, the slice picture is not required to be divided, and the slice picture can be directly used as a corresponding exposure picture, and meanwhile, a corresponding exposure duration is set according to the profile type. That is, when the profile types of a slice picture are all the first profile types, the slice picture is directly used as an exposure picture, the exposure picture is a first type of exposure picture, and the corresponding exposure time is a first preset time. And when the profile types of one cut layer picture are the second profile type, directly taking the cut layer picture as an exposure picture, wherein the exposure picture is the second type of exposure picture, and the corresponding exposure time length is the first preset time length.
Optionally, when there are more types of profile types, the corresponding exposure duration may be changed accordingly, which is not described in detail in this embodiment.
And S270, exposing the exposure picture according to the exposure duration.
Specifically, the performing exposure according to the exposure duration includes: exposing the first type of exposure picture according to a first preset time length; or, the second type of exposure picture is exposed according to a second preset time length.
The image exposure method for 3D printing provided by the embodiment of the invention realizes the purposes of generating a plurality of exposure images according to the outline size and setting the exposure time, so that the outlines with different sizes have more reasonable exposure time, the problem of underexposure or exposure transition caused by directly adopting the same exposure time is avoided, and the stability and the quality of a printing model are improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a 3D printed image exposure apparatus according to a third embodiment of the present invention, which is applicable to exposure processing of a photo-curing printing technique. The 3D printed picture exposure apparatus provided in this embodiment can implement the 3D printed picture exposure method provided in any embodiment of the present invention, and has a corresponding functional structure and beneficial effects of the implementation method, and reference may be made to the description of any method embodiment of the present invention for content that is not described in detail in this embodiment.
As shown in fig. 4, a 3D printed picture exposure apparatus according to a third embodiment of the present invention includes: a slice picture acquisition module 310, an image size determination module 320, an exposure picture generation module 330, and an exposure module 340, wherein:
the layer cutting picture obtaining module 310 is configured to obtain a layer cutting picture of the model to be printed;
the image size determining module 320 is configured to determine an image size corresponding to at least one complete contour in the slice picture;
the exposure image generation module 330 is configured to generate at least one exposure image according to the image size and determine an exposure duration of the exposure image;
the exposure module 340 is configured to expose the exposure picture according to the exposure duration.
Further, the method also comprises the following steps:
and the slicing module is used for carrying out slicing processing on the model to be printed and generating a slicing picture of each slicing layer.
Further, the image size determining module 320 is specifically configured to:
identifying at least one complete section of outline in the cut layer picture;
and taking the pixel size of the complete contour in the slice picture as an image size.
Further, the exposure picture generation module 330 includes:
the contour type determining unit is used for determining the contour type of the complete contour according to the image size;
and the exposure picture generation unit is used for generating at least one exposure picture according to the contour type and determining the exposure time of the exposure picture.
Further, the contour type determination unit is specifically configured to:
if the image size is larger than a preset contour threshold value, determining that the complete contour is of a first contour type;
and if the image size is smaller than or equal to a preset contour threshold value, determining that the complete contour is of a second contour type.
Further, the exposure picture generating unit is specifically configured to:
if the contour type of at least one section of complete contour is the first contour type and the contour type of at least one section of complete contour is the second contour type, generating a first type of exposure picture according to at least one section of complete contour corresponding to the first contour type, and generating a second type of exposure picture according to at least one section of complete contour corresponding to the second contour type;
setting the exposure duration of the first type of exposure picture as a first preset duration, and setting the exposure duration of the second type of exposure picture as a second preset duration.
Further, the exposure picture generation unit is further configured to:
if all the contour types of the complete contour are the first contour type, directly taking the slice picture as a first type of exposure picture, and setting the exposure time length as a first preset time length; or
And if the profile types of all the complete profiles are the second profile type, directly taking the layer cutting picture as a second type of exposure picture, and setting the exposure time length as a second preset time length.
According to the image exposure device for 3D printing provided by the third embodiment of the invention, the purpose of generating a plurality of exposure images and setting the exposure time length according to the outline size is realized through the layer cutting image acquisition module, the image size determination module, the exposure image generation module and the exposure module, so that the outlines with different sizes have more reasonable exposure time length, the problems of underexposure or exposure transition caused by directly adopting the same exposure time length are avoided, and the stability and the quality of a printing model are improved.
Example four
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 412 suitable for use in implementing embodiments of the present invention. The electronic device 412 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 5, the electronic device 412 is in the form of a general purpose electronic device. The components of the electronic device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 412 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The electronic device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), digital Video disk Read-Only Memory (DVD-ROM), or other optical media may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The electronic device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), one or more terminals that enable a user to interact with the electronic device 412, and/or any terminal (e.g., network card, modem, etc.) that enables the electronic device 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Also, the electronic device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 420. As shown in FIG. 4, network adapter 420 communicates with the other modules of electronic device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 412, including but not limited to: microcode, end drives, redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various functional applications and data processing by running a program stored in the storage 428, for example, implementing a picture exposure method for 3D printing provided by any embodiment of the present invention, which may include:
obtaining a layer cutting picture of a model to be printed;
determining the image size corresponding to at least one section of complete contour in the slice picture;
generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture;
and exposing the exposure picture according to the exposure duration.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a 3D printed picture exposure method according to any embodiment of the present invention, where the method may include:
obtaining a layer cutting picture of a model to be printed;
determining the image size corresponding to at least one section of complete contour in the slice picture;
generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture;
and exposing the exposure picture according to the exposure duration.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A3D printing picture exposure method is characterized by comprising the following steps:
obtaining a layer cutting picture of a model to be printed;
determining the image size corresponding to at least one section of complete contour in the slice picture;
generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture;
exposing the exposure picture according to the exposure duration;
the generating at least one exposure picture according to the image size and determining the exposure duration of the exposure picture comprises:
determining the contour type of the complete contour according to the image size;
generating at least one exposure picture according to the contour type and determining the exposure duration of the exposure picture; different exposure pictures are correspondingly generated according to different contour types and respectively correspond to different exposure durations.
2. The method of claim 1, wherein prior to obtaining the slice-through picture of the model to be printed, further comprising:
and slicing the model to be printed to generate a slice layer picture of each slice layer.
3. The method as claimed in claim 1, wherein said determining the image size corresponding to at least one complete contour in said slice picture comprises:
identifying at least one complete section of outline in the cut layer picture;
and taking the pixel size of the complete contour in the slice picture as an image size.
4. The method of claim 1, wherein said determining a contour type of the full contour from the image size comprises:
if the image size is larger than a preset contour threshold value, determining that the complete contour is of a first contour type;
and if the image size is smaller than or equal to a preset contour threshold value, determining that the complete contour is of a second contour type.
5. The method of claim 4, wherein the generating at least one exposure picture according to the profile type and determining an exposure duration of the exposure picture comprises:
if the contour type of at least one section of complete contour is the first contour type and the contour type of at least one section of complete contour is the second contour type, generating a first type of exposure picture according to at least one section of complete contour corresponding to the first contour type, and generating a second type of exposure picture according to at least one section of complete contour corresponding to the second contour type;
setting the exposure duration of the first type of exposure picture as a first preset duration, and setting the exposure duration of the second type of exposure picture as a second preset duration.
6. The method of claim 4, wherein the generating at least one exposure picture according to the profile type and determining an exposure duration of the exposure picture comprises:
if all the contour types of the complete contour are the first contour type, directly taking the slice picture as a first type of exposure picture, and setting the exposure time length as a first preset time length; or
And if the profile types of all the complete profiles are the second profile type, directly taking the layer cutting picture as a second type of exposure picture, and setting the exposure time length as a second preset time length.
7. A picture exposure device for 3D printing is characterized by comprising:
the layer cutting picture acquisition module is used for acquiring a layer cutting picture of the model to be printed;
the image size determining module is used for determining the image size corresponding to at least one section of complete outline in the slice picture;
the exposure image generation module is used for generating at least one exposure image according to the image size and determining the exposure time of the exposure image;
the exposure module is used for exposing the exposure picture according to the exposure duration;
the exposure picture generation module includes:
the contour type determining unit is used for determining the contour type of the complete contour according to the image size;
the exposure picture generation unit is used for generating at least one exposure picture according to the contour type and determining the exposure duration of the exposure picture; different exposure pictures are correspondingly generated according to different contour types and respectively correspond to different exposure durations.
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the 3D printed picture exposure method of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a 3D printed picture exposure method according to any one of claims 1 to 6.
CN202110031955.3A 2021-01-11 2021-01-11 3D printing picture exposure method and device, electronic equipment and storage medium Active CN112873824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110031955.3A CN112873824B (en) 2021-01-11 2021-01-11 3D printing picture exposure method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110031955.3A CN112873824B (en) 2021-01-11 2021-01-11 3D printing picture exposure method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112873824A CN112873824A (en) 2021-06-01
CN112873824B true CN112873824B (en) 2022-12-16

Family

ID=76044093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110031955.3A Active CN112873824B (en) 2021-01-11 2021-01-11 3D printing picture exposure method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112873824B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120182B (en) * 2015-09-21 2018-01-30 山东大学 Face is molded increasing material manufacturing systematic part supporting construction exposure compensation and device
CN110524876A (en) * 2019-09-05 2019-12-03 深圳市纵维立方科技有限公司 A method of test 3D printing resin optimum exposure time

Also Published As

Publication number Publication date
CN112873824A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
CN109697468B (en) Sample image labeling method and device and storage medium
CN112650457A (en) File processing method, device and equipment applied to 3D printing and storage medium
US20230382052A1 (en) Method and apparatus for automatically improving printing effect, device, and storage medium
CN110569379A (en) Method for manufacturing picture data set of automobile parts
CN113655999B (en) Page control rendering method, device, equipment and storage medium
CN112486806A (en) Test case execution method and device, electronic equipment and readable storage medium
CN112330532A (en) Image analysis processing method and equipment
CN111968200A (en) GIF file generation method based on hand-drawn video
CN110765799A (en) Client code scanning identification method, device, equipment and storage medium
CN112873824B (en) 3D printing picture exposure method and device, electronic equipment and storage medium
US20040126002A1 (en) System and method for measuring an object
CN112721150A (en) Photocuring 3D printing method, device, equipment and storage medium
CN113411660A (en) Video data processing method and device and electronic equipment
CN109191379B (en) Panorama splicing semantic annotation method, system, terminal and storage medium
CN115935909A (en) File generation method and device and electronic equipment
CN112954452B (en) Video generation method, device, terminal and storage medium
WO2023109374A1 (en) User interface poster picture processing method and apparatus, storage medium, and electronic device
CN113379768A (en) Image processing method, image processing device, storage medium and computer equipment
CN111597781B (en) Unstructured big data generation method, system, storage medium and electronic equipment
CN112149745B (en) Method, device, equipment and storage medium for determining difficult example sample
CN114219886A (en) Virtual scene rendering method and device, electronic equipment and storage medium
CN113207037B (en) Template clipping method, device, terminal, system and medium for panoramic video animation
CN110928542B (en) Webpage adaptation method, device, system and equipment
CN110830736B (en) Method for video synthesis, electronic device and computer-readable storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 1808, Jinxiu Hongdu building, Meilong Avenue, Xinniu community, Minzhi street, Longhua District, Shenzhen City, Guangdong Province (office address)

Applicant after: Shenzhen chuangxiang 3D Technology Co.,Ltd.

Address before: 518000 1808, Jinxiu Hongdu building, Meilong Avenue, Xinniu community, Minzhi street, Longhua District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Chuangxiang 3D Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant