CN114147969A - Model preprocessing annular texture blanking method, device, equipment and storage medium - Google Patents

Model preprocessing annular texture blanking method, device, equipment and storage medium Download PDF

Info

Publication number
CN114147969A
CN114147969A CN202111353139.0A CN202111353139A CN114147969A CN 114147969 A CN114147969 A CN 114147969A CN 202111353139 A CN202111353139 A CN 202111353139A CN 114147969 A CN114147969 A CN 114147969A
Authority
CN
China
Prior art keywords
model
triangular
meshes
control unit
triangular meshes
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.)
Granted
Application number
CN202111353139.0A
Other languages
Chinese (zh)
Other versions
CN114147969B (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 CBD Technology Co Ltd
Original Assignee
Shenzhen CBD 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 CBD Technology Co Ltd filed Critical Shenzhen CBD Technology Co Ltd
Priority to CN202111353139.0A priority Critical patent/CN114147969B/en
Publication of CN114147969A publication Critical patent/CN114147969A/en
Application granted granted Critical
Publication of CN114147969B publication Critical patent/CN114147969B/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/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for 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/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
    • 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

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 provides a model preprocessing annular texture blanking method, a model preprocessing annular texture blanking device, model preprocessing annular texture blanking equipment and a storage medium, and relates to the technical field of 3D printing. The specific implementation scheme is as follows: in the preprocessing link of the computer model, continuously subdividing the triangular meshes of the 3D model directly until a second type of triangular meshes with fineness less than a preset value are generated; respectively selecting reference points for the planes of the two types of triangular meshes, displacing the reference points by L plus delta X millimeters along the direction of the normal vector of the meshes, and generating a plurality of three types of triangular meshes by the reference points and the endpoints of the meshes so as to form a 3D model with protrusions or depressions of the three types of triangular meshes; and after the 3D model is sliced, obtaining a slice mask image with irregular sawtooth-shaped image edge, printing, stacking and reconstructing the 3D model layer by layer, and finally enabling partial annular texture on the surface of the exposed and printed 3D model to realize partial blanking.

Description

Model preprocessing annular texture blanking method, device, equipment and storage medium
Technical Field
The application relates to the technical field of 3D printing, in particular to a model preprocessing annular texture blanking method, a device, equipment and a storage medium.
Background
In the current photocuring 3D printing, because the photocuring printing manufacture of a 3D model is formed by photocuring and stacking resin layers formed by exposure and molding of a plurality of layers of slice images, the side surface of the model is smooth and has no annular texture when the cubic model is printed; however, when printing a model with a plurality of arc-shaped surfaces, the side surfaces and the Z-axis direction of the model inevitably have annular textures similar to contour lines, and the annular textures are very obvious particularly under a low-resolution printing machine or a backlight condition. This is because, in the prior art, the resolution of the mask slice image obtained after the 3D model is sliced according to the uniform layer thickness needs to be kept consistent with the resolution of the developing mask screen, and thus is affected by the resolution of the developing mask screen, the arc edge of the 3D model mask slice image under the continuous unit pixels inevitably has a clearer regular sawtooth structure, and when the multiple layers of the arc edge regular sawtooth-shaped resin molding layers are stacked to form a step layer similar to an arc surface, the regular sawtooth-shaped structures between different layers of the exposure molding model form annular textures on the side surface of the model. The annular texture in the Z-axis direction of the model is formed because the current photo-curing 3D printing technology is implemented based on the stacking of multiple resin molding layers in the Z-axis direction, and therefore, the annular stacked texture is inevitably formed when the upper arc surface is printed by stacking.
When the surface of the model needs to be printed with a finer pattern, the existence of the annular texture can interfere with the sight of people, and particularly under a reflective condition, the detailed characteristic pattern can be not prominent. It is therefore desirable to propose a suitable method for achieving the blanking of the annular texture of the model surface.
Some existing 3D model preprocessing software has a slice image anti-aliasing processing function, and although the surface smoothness of a model can be improved after anti-aliasing processing, annular textures cannot be eliminated.
With the overall development of the photocuring 3D printing technology, particularly the gradual application of the photocuring 3D printing high-resolution technology such as 4K, 6K and 8K developing mask screens, the annular texture which is inconvenient to process under the original low resolution can be blanked on the surface of the model by losing certain smoothness of the surface of the model under the high-resolution printing technology, but the blanking method of the annular texture cannot realize the blanking of the annular texture in the Z-axis direction for a while.
Disclosure of Invention
Aiming at the problem of realizing the side annular texture of the model in the background technology and aiming at realizing the blanking of the side annular texture of the model, the invention provides a model preprocessing annular texture blanking method, which directly and continuously subdivides the triangular mesh of a 3D model in the model preprocessing link of a computer until a second type triangular mesh with the fineness less than the preset value is generated; respectively selecting reference points for the planes of the two types of triangular meshes, displacing the reference points by L plus delta X millimeters along the direction of the normal vector of the meshes, and generating a plurality of three types of triangular meshes by the reference points and the endpoints of the meshes so as to form a 3D model with protrusions or depressions of the three types of triangular meshes; and after the 3D model is sliced, obtaining a slice mask image with irregular sawtooth-shaped image edge, printing, stacking and reconstructing the 3D model layer by layer, and finally enabling partial annular texture on the surface of the exposed and printed 3D model to realize partial blanking.
The technical method adopted by the invention comprises the following steps:
according to the first aspect of the application of the invention, a model preprocessing annular texture blanking method is provided, in a computer model preprocessing link, a computer control unit continuously subdivides a triangular mesh of a 3D model, and a protrusion or depression feature is added on the triangular mesh generated after subdivision, so that the annular texture of the surface part of the 3D model manufactured by final exposure printing is partially blanked, and the method comprises the following steps:
s102, running a 3D printing model preprocessing program by a computer to load a 3D model;
s104, traversing and splicing all X groups of triangular meshes of the 3D model by the control unit;
s106, the control unit subdivides all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate a second type of triangular meshes with fineness smaller than a preset value;
s108, the control unit selects M reference points on each class II triangular mesh plane;
s110, enabling a reference point to move by L plus delta X millimeters along the normal vector direction of the grid where the reference point is located, and generating a plurality of three types of triangular grids from the reference point and each end point of the grid so as to form a 3D model with three types of triangular grid protrusions or depressions;
s112, layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter by using a control unit, and acquiring all N layers of slice mask images;
s114, the control unit stores all the N layers of slice mask image data in a computer storage unit;
and S116, importing the slice mask image data and the printing parameters by the 3D printing equipment, and carrying out exposure printing manufacturing.
Further, the method for blanking the circular texture by model preprocessing further comprises the following steps: s113, the control unit performs anti-aliasing treatment on all the N layers of slice mask images layer by layer; the step S113 is located after the step S112 and before the step S114.
Preferably, in the method for blanking the circular texture by model preprocessing, the three-dimensional mesh subdivision algorithm used in step S106 includes the following steps:
SS02 and a control unit traverse and splice all X groups of triangular meshes forming the 3D model;
SS04, the control unit obtains all the side line length data included in the K group of triangular grids in all the X group of triangular grids;
SS06, the control unit judges whether the side length of each of the obtained triangular meshes is smaller than a preset value Z mm; if the side lengths of the obtained group of triangular meshes are smaller than the preset value Z millimeter, performing SS 14; if the side lengths of the obtained group of triangular meshes are not all smaller than the preset value Z millimeter, performing SS 08;
SS08, the control unit takes the midpoint of the longest edge in the group and obtains the midpoint coordinate;
SS10, connecting the diagonal end points of the triangular mesh by the middle point of the longest edge by the control unit so as to divide one triangular mesh into two triangular meshes;
SS12, the control unit judges whether the side length of all the triangular meshes included in the group is smaller than a preset value Z mm; if the side lengths of all the triangular meshes included in the group are not totally smaller than the preset value Z millimeter, performing the step SS 08; if the side lengths of all the triangular meshes included in the group are smaller than the preset value Z millimeter, performing SS 14;
SS14, control unit judges whether all X groups of triangular meshes are processed and subdivided; if all the X groups of triangular meshes are judged to be completely processed and subdivided, the step SS18 is carried out; if all the X groups of triangular meshes are judged not to be processed and subdivided completely, the step SS16 is carried out;
SS16, the control unit obtains length data of all edges included in the K +1 th group of triangular meshes in all the X groups of triangular meshes, and the next step is SS 06;
SS18, the control unit subdivides all the X groups of triangular meshes into two types of triangular mesh data with side length smaller than Z millimeter, and temporarily stores the two types of triangular mesh data in the storage unit;
SS20, the flow ends.
Preferably, the three-dimensional mesh subdivision algorithm device adopted in step S106 includes:
the triangular mesh acquisition module is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
the triangular mesh side length obtaining module is used for obtaining all side length data included by the Kth group of triangular meshes in all the X groups of triangular meshes;
the first comparison module of the side length of the triangle is used for judging whether the side length of each group of the obtained triangular grids is smaller than a preset value Z millimeter;
the longest edge midpoint acquisition module is used for acquiring a midpoint of one longest edge in the group and acquiring a midpoint coordinate;
the triangular mesh bisection module is used for connecting the diagonal end points of the triangular mesh where the triangular mesh is located by the middle point of the longest edge so as to bisect one triangular mesh into two triangular meshes;
the second comparison module of the side length of the triangle is used for judging whether the side lengths of all the triangular meshes included in the group are smaller than a preset value Z millimeter;
the triangular mesh subdivision completion judging module is used for judging whether all the X groups of triangular meshes are processed and subdivided;
the second-class triangular mesh data temporary storage module is used for dividing all the X groups of triangular meshes into second-class triangular mesh data with side length smaller than Z millimeter and temporarily storing the second-class triangular mesh data in a storage unit;
and the ending module is used for ending the flow.
Preferably, the three-dimensional mesh Subdivision algorithm in step S106 further includes a Loop Subdivision algorithm (Loop Subdivision), or a Butterfly Subdivision algorithm (Butterfly Subdivision).
Preferably, the reference point is the centroid, or the orthocenter, or the inner center, or the outer center of the triangle.
Preferably, the X, M, N is a positive integer, the L, Z is a positive integer or decimal; the delta X is an error value smaller than L; the K is a positive integer that increases from 1.
According to a second aspect of the present application, there is provided a model preprocessing loop texture blanking apparatus comprising:
the model loading module is used for loading the 3D model;
the triangular mesh acquisition module is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
the second-class triangular mesh generation module is used for subdividing all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate second-class triangular meshes with fineness smaller than a preset value;
the reference point selection module is used for respectively selecting M reference points on each class II triangular mesh plane;
the three-type triangular mesh generation module is used for enabling the reference point to displace by L plus delta X millimeters along the normal vector direction of the mesh where the reference point is located, and then generating a plurality of three-type triangular meshes from the reference point and each end point of the mesh so as to form a 3D model with three-type triangular mesh protrusions or depressions;
the model slicing module is used for layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter and acquiring all N layers of slice mask images;
the storage module is used for storing all the N layers of slice mask image data in a computer storage unit;
and the import and exposure printing module is used for importing the slice mask image data and the printing parameters and carrying out exposure printing.
Further, the model preprocessing circular texture blanking device further comprises:
and the anti-aliasing picture processing module is used for carrying out anti-aliasing processing on all the N layers of slice mask images layer by layer.
According to a third aspect of the present application, there is provided a non-transitory computer readable storage medium storing a computer program which, when executed by a control unit, implements steps S112-S114 of a model pre-processing ring texture blanking method.
According to a fourth aspect of the present application, there is provided a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform steps S112-S114 of the model pre-processing loop texture blanking method.
According to a fifth aspect of the present application, there is provided an electronic apparatus comprising: at least one control unit; and a storage unit communicatively coupled to the at least one control unit; wherein the storage unit stores instructions executable by the at least one control unit to enable the at least one control unit to perform steps S112-S114 of the model pre-processing circular texture blanking method.
According to a sixth aspect of the present application, there is provided a 3D printing apparatus for performing step S116 of the model preprocessing loop texture blanking method, including: the device comprises a controller, a developing mask screen, a motor, a memory, a UVLED light source module, a display and operation unit, a forming platform, a liquid tank, a lifting column, a bottom film, photosensitive resin and a base; the controller, the developing mask screen, the UVLED light source module and the liquid tank are connected to the base; the motor is connected with the forming platform; the lifting column is fixedly connected to the base; the motor is arranged on the lifting column to realize electric driving lifting and drive the forming platform to lift or descend along with the lifting column; the bottom film is arranged at the bottom of the liquid tank and is used for transmitting light; the liquid tank is used for containing photosensitive resin liquid; the controller is electrically connected with the developing mask screen, the motor, the memory, the UVLED light source module and the display and operation unit; the memory stores imported slice mask image data and printing parameters; the controller reads the slice mask image data and the printing parameters in the memory; the controller sets the printing parameters as control parameters at the time of printing; the controller loads the slice mask image data into a developing mask screen for mask exposure; the controller controls the motor to drive the forming platform to perform lifting motion according to the printing parameters; a user sends an operation instruction to the controller through the display and operation unit, so that the controller responds to the instruction and sends a control signal to control each controlled unit to complete instruction action, and man-machine interaction operation is realized; the controller outputs signals and data to the display and operation unit to enable the display and operation unit to display the 3D model slice mask preview image, the machine control parameters, the system setting options and the system operation parameters; the controller controls the motor to drive the forming platform to perform lifting motion according to the printing parameters; the controller controls the UVLED light source module to light up or light down; the UVLED light source module emits ultraviolet light and visible light to expose and irradiate the photosensitive resin in the liquid tank through the mask image and the bottom film in the developing mask screen so as to enable the photosensitive resin to be cured and molded; the forming platform is used for attaching a cured and formed model forming resin layer in the curing and forming process so as to continuously promote and grow the model forming resin layer until the 3D printing is finished; the 3D printing equipment adopts a rising type LCD photocuring 3D printer or a sinking type LCD photocuring 3D printer.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the method provided by the invention, the triangular mesh of the 3D model is directly and continuously subdivided in a computer model preprocessing link until the second type triangular mesh with the fineness smaller than a preset value is generated; respectively selecting reference points for the planes of the two types of triangular meshes, displacing the reference points by L plus delta X millimeters along the direction of the normal vector of the meshes, and generating a plurality of three types of triangular meshes by the reference points and the endpoints of the meshes so as to form a 3D model with protrusions or depressions of the three types of triangular meshes; after the 3D model is sliced, a slice mask image with irregular sawtooth-shaped image edges is obtained, and after the 3D model is printed, stacked and reconstructed layer by layer, the annular texture on the surface part of the 3D model manufactured by exposure printing is partially blanked, and particularly the annular texture on the side part of the 3D model is partially blanked.
2. According to the method provided by the invention, the characteristic processing of the model surface is directly finished in the preprocessing link of the computer model by virtue of the quick computing power of the computer, and the partial annular texture on the model surface can be partially blanked without other special processing in the subsequent normal slicing link and the printing link, so that the professional division of labor and the high-efficiency execution of the preprocessing link and the printing link of the model are facilitated.
3. The method provided by the invention can be used for directly performing characteristic treatment on the surface of the model in the preprocessing link of the computer model by means of the rapid computing power of the computer, further performing anti-aliasing treatment on a slice image in the normal slicing link, and improving the surface smoothness of an exposure forming model and blanking annular textures on the side part of the model due to the combination of the anti-aliasing treatment function.
4. The invention also correspondingly provides a specific three-dimensional mesh subdivision algorithm, triangular meshes are subdivided continuously by utilizing a binary mode, each large triangular mesh can be subdivided into the minimum triangular mesh meeting the fineness requirement, and protrusions or depressions are produced on the basis, so that the original 3D model can generate fine protrusions or depressions under the condition of keeping original large structural characteristics unchanged, the surface smoothness of the exposure forming model can be controlled finally, and annular textures at the side part of the model can be blanked.
Drawings
FIG. 1 is a flowchart of an embodiment 1 of a model pre-processing circular texture blanking method according to the present invention;
FIG. 2 is a flowchart of an embodiment 2 of the model pre-processing circular texture blanking method of the present invention;
FIG. 3 is a flowchart of an embodiment of a three-dimensional mesh subdivision algorithm of the present invention;
FIG. 4 is a schematic perspective view of a 3D model triangular mesh according to the present invention;
FIGS. 5A-E are schematic diagrams of the process of subdivision of the triangular mesh of the 3D model and generation of protrusions or depressions according to the present invention;
FIG. 6A is a schematic block diagram of an embodiment 1 of the model pre-processing circular texture blanking apparatus of the present invention;
FIG. 6B is a schematic block diagram of an embodiment 2 of the model pre-processing circular texture blanking apparatus of the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of a three-dimensional mesh subdivision algorithm apparatus of the present invention;
FIGS. 8A-B are schematic views of a model pre-processed slice of the present invention;
FIGS. 9A-B are comparisons of mask image edge performance before and after ring texture blanking in model preprocessing according to the present invention;
10A-B are comparisons of 3D model surface implementations before and after model preprocessing loop texture blanking in accordance with the present invention;
FIG. 11 is a block diagram of an embodiment of an electronic device implementing the model pre-processing circular texture blanking method of the present invention;
FIG. 12 is a schematic diagram of pre-processing a 3D model slice according to an embodiment of the present invention;
FIG. 13 is a block diagram of a 3D printing apparatus implementing the model pre-processing circular texture blanking method of the present invention;
FIG. 14 is a schematic diagram of a 3D printing apparatus implementing the model pre-processing loop texture blanking method of the present invention;
fig. 15 is a schematic view of a 3D printing apparatus for importing slice mask image data and printing parameters according to embodiment 1 of the present invention;
fig. 16 is a schematic process diagram of 3D printing manufacturing using the method of the present invention.
Description of reference numerals:
3D model 1; a triangular mesh 2; an electronic device 12; a 3D printing device 13; a mobile storage device 14; a computer program 120; a control unit 121; a storage unit 122;
a print control program 130; a controller 131; a memory 132; a display and operation unit 133; a UVLED light source module 134; developing the mask screen 135; a liquid bath 136; a forming platform 137; a motor 138; a base 139; a base film 1361; photosensitive resin 1362; a mold resin layer 1371; a molding model 1372; a lifting column 1381;
a model loading module 702; a triangular mesh acquisition module 704; a class two triangular mesh generation module 706; a reference point selection module 708; a three-class triangular mesh generation module 710; a model slicing module 712; an anti-aliasing picture processing module 713; a storage module 714; a import and exposure print module 716; a solid model 718;
a triangular mesh side length obtaining module 802; a first comparison module 804 for the side length of the triangle; a longest edge midpoint acquisition module 808; a triangular mesh dichotomy module 810; a triangle side length second comparison module 812; a triangular mesh subdivision completion determination module 814; a second-type triangular mesh data temporary storage module 818; ending block 820.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a flowchart of an embodiment 1 of a model pre-processing circular texture blanking method according to the present invention. In the method shown in embodiment 1, in the preprocessing step of the computer model, the computer control unit continuously subdivides the triangular mesh of the 3D model, and adds protruding or recessed features to the triangular mesh generated after subdivision, so that the annular texture on the surface portion of the 3D model manufactured by final exposure printing realizes partial blanking. As shown, an embodiment 1 of the model preprocessing loop texture blanking method includes the following steps:
s102, running a 3D printing model preprocessing program by a computer to load a 3D model;
s104, traversing and splicing all X groups of triangular meshes of the 3D model by the control unit;
s106, the control unit subdivides all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate a second type of triangular meshes with fineness smaller than a preset value;
s108, the control unit selects M reference points on each class II triangular mesh plane;
s110, enabling a reference point to move by L plus delta X millimeters along the normal vector direction of the grid where the reference point is located, and generating a plurality of three types of triangular grids from the reference point and each end point of the grid so as to form a 3D model with three types of triangular grid protrusions or depressions;
s112, layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter by using a control unit, and acquiring all N layers of slice mask images;
s114, the control unit stores all the N layers of slice mask image data in a computer storage unit;
and S116, importing the slice mask image data and the printing parameters by the 3D printing equipment, and carrying out exposure printing manufacturing.
FIG. 2 is a flowchart of an embodiment 2 of the model pre-processing circular texture blanking method of the present invention. The method of example 2 is added with a step S113 compared to fig. 1. As shown, an embodiment 2 of the model preprocessing loop texture blanking method includes the following steps:
s102, running a 3D printing model preprocessing program by a computer to load a 3D model;
s104, traversing and splicing all X groups of triangular meshes of the 3D model by the control unit;
s106, the control unit subdivides all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate a second type of triangular meshes with fineness smaller than a preset value;
s108, the control unit selects M reference points on each class II triangular mesh plane;
s110, enabling a reference point to move by L plus delta X millimeters along the normal vector direction of the grid where the reference point is located, and generating a plurality of three types of triangular grids from the reference point and each end point of the grid so as to form a 3D model with three types of triangular grid protrusions or depressions;
s112, layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter by using a control unit, and acquiring all N layers of slice mask images;
s113, the control unit performs anti-aliasing treatment on all the N layers of slice mask images layer by layer;
s114, the control unit stores all the N layers of slice mask image data in a computer storage unit;
and S116, importing the slice mask image data and the printing parameters by the 3D printing equipment, and carrying out exposure printing manufacturing.
FIG. 3 is a flowchart of an embodiment of a three-dimensional mesh subdivision algorithm of the present invention. The three-dimensional mesh Subdivision algorithm provided by this embodiment is different from a Loop Subdivision algorithm (Loop Subdivision) or a Butterfly Subdivision algorithm (Butterfly Subdivision), and adopts a triangular mesh cyclic bisection mode until the side length of all triangular meshes is smaller than a preset length. As shown, a three-dimensional mesh subdivision algorithm includes the following steps:
SS02 and a control unit traverse and splice all X groups of triangular meshes forming the 3D model;
SS04, the control unit obtains all the side line length data included in the K group of triangular grids in all the X group of triangular grids;
SS06, the control unit judges whether the side length of each of the obtained triangular meshes is smaller than a preset value Z mm; if the side lengths of the obtained group of triangular meshes are smaller than the preset value Z millimeter, performing SS 14; if the side lengths of the obtained group of triangular meshes are not all smaller than the preset value Z millimeter, performing SS 08;
SS08, the control unit takes the midpoint of the longest edge in the group and obtains the midpoint coordinate;
SS10, connecting the diagonal end points of the triangular mesh by the middle point of the longest edge by the control unit so as to divide one triangular mesh into two triangular meshes;
SS12, the control unit judges whether the side length of all the triangular meshes included in the group is smaller than a preset value Z mm; if the side lengths of all the triangular meshes included in the group are not totally smaller than the preset value Z millimeter, performing the step SS 08; if the side lengths of all the triangular meshes included in the group are smaller than the preset value Z millimeter, performing SS 14;
SS14, control unit judges whether all X groups of triangular meshes are processed and subdivided; if all the X groups of triangular meshes are judged to be completely processed and subdivided, the step SS18 is carried out; if all the X groups of triangular meshes are judged not to be processed and subdivided completely, the step SS16 is carried out;
SS16, the control unit obtains length data of all edges included in the K +1 th group of triangular meshes in all the X groups of triangular meshes, and the next step is SS 06;
SS18, the control unit subdivides all the X groups of triangular meshes into two types of triangular mesh data with side length smaller than Z millimeter, and temporarily stores the two types of triangular mesh data in the storage unit;
SS20, the flow ends.
Specifically, it should be explained that, before subdivision is not performed, each group of triangular meshes includes only one triangular mesh; after the bisection into two triangular meshes is finished each time, the generated two or more triangular meshes which are subdivided for many times are still included under the group of triangular meshes; when three sides are equal in length or two sides are equal in length, the control unit randomly selects one side to take the middle point and divides the side into two parts; according to the steps, even if two sides are equal in length or three sides are equal in length, after the middle point of the longest side is taken for three times and is divided into two parts, all triangular grids can be subdivided into two types of triangular grids with each side smaller than the preset value Z millimeter.
Fig. 4 is a schematic perspective view of a 3D model triangular mesh according to the present invention. As shown in the figure, after the computer runs the 3D printing model preprocessing software and loads the 3D model; a triangular mesh model 1 of the 3D model can be obtained; the surface of the entire 3D model is approximately composed of triangular meshes 2.
FIGS. 5A-E are schematic diagrams of the generation process of the subdivision and protrusion or depression of the triangular mesh of the 3D model of the present invention. 5A, 5B correspond to the three-dimensional mesh subdivision algorithm embodiment process in FIG. 3; in fig. 5A, taking the set of triangulated mesh 2 from fig. 4 as an example, the control unit obtains data of lengths of three sides A1A2, A2A3, A1A3 in the set of triangulated mesh; assuming that the length data of three sides A1A2, A2A3 and A1A3 in the group of triangular grids are all larger than a preset value Z mm through judgment, a midpoint B1 needs to be taken from the longest side A1A3 in the group of triangular grids; connecting a diagonal end point A2 by a midpoint B1 so as to divide the group of triangular grids A1A2A3 into two parts, namely S1 and S2, thereby forming two new triangular grids A1A2B1 and A2A3B1 in the group; assuming that the three side lengths of the two new triangular meshes A1A2B1 and A2A3B1 in the group are both smaller than a preset value Z millimeter, the two new triangular meshes A1A2B1 and A2A3B1 are the second-class triangular meshes 21; if the control unit judges that the three side lengths of the two new triangular meshes A1A2B1 and A2A3B1 respectively have sides larger than a preset value Z millimeter, the two new triangular meshes cannot be called as the second-class triangular meshes 21 and need to be subdivided;
fig. 5B is based on fig. 5A, assuming that it is determined that the side lengths of the triangular meshes of the two parts S1 and S2 are not both smaller than the preset value Z mm, midpoint B2 and B3 need to be taken and are respectively connected to diagonal end point B1, so as to divide the triangular meshes of the two parts S1 and S2 into four parts S11, S12, S21 and S22, and on this basis, if the side lengths of the triangular meshes of the four parts S11, S12, S21 and S22 are all smaller than the preset value Z mm, the triangular meshes of the four parts are two types of triangular meshes 21;
FIG. 5C is a diagram illustrating the shape center points C1, C2, C3 and C4 of the four triangular meshes S11, S12, S21 and S22 as the reference points of the triangular meshes on the basis of FIG. 5B;
fig. 5D is based on fig. 5C, the centroid reference points C1, C2, C3, and C4 are respectively displaced by L1 mm or L2 mm along the normal vector direction of the located grid to generate the salient points P1, P2, P3, and P4, specifically, L1 may be equal to L2, or L1 may not be equal to L2, as required; if L1 is equal to L2, the protrusion heights of the protrusions P1, P2, P3 and P4 of the subsequent model surfaces are basically equal; if L1 is not equal to L2, the height of each protrusion of the protrusion points on the surface of the subsequent model is higher or lower; in this embodiment, L1 and L2 are both greater than 0, then the subsequent mold surface generates protruding features outward; if L1 equals L2 both being less than 0, then the subsequent model surface generates a concave feature inward;
fig. 5E is a diagram showing the centroid reference points C1, C2, C3, and C4 connected to the end points of the two types of triangular meshes 21 to form a 3D model with three types of triangular mesh 211 protrusions based on fig. 5D.
Fig. 6A is a schematic block diagram of the embodiment 1 of the model pre-processing circular texture blanking apparatus of the present invention. As shown in the figure, the present application accordingly provides a model preprocessing circular texture blanking apparatus corresponding to the method embodiment of fig. 1, including:
a model loading module 702 for loading a 3D model;
the triangular mesh acquisition module 704 is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
the second-class triangular mesh generation module 706 is configured to subdivide all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate second-class triangular meshes with fineness smaller than a preset value;
a reference point selecting module 708, configured to select M reference points on each of the two types of triangular mesh planes;
the three-type triangular mesh generation module 710 is used for enabling the reference point to displace by L plus delta X millimeters along the normal vector direction of the mesh where the reference point is located, and then generating a plurality of three-type triangular meshes from the reference point and each end point of the mesh so as to form a 3D model with three-type triangular mesh protrusions or depressions;
the model slicing module 712 is used for layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to a preset layer thickness H millimeter and acquiring all N layers of slice mask images;
a storage module 714 for storing the image data of all the N-layer sliced masks in a computer memory unit;
an importing and exposing printing module 716, configured to import slice mask image data and printing parameters and perform exposing printing;
in addition, a solid model 718 is included, and the exposed and printed solid model has a circular texture and a partially blanked solid model.
Fig. 6B is a schematic block diagram of the embodiment 2 of the model pre-processing circular texture blanking apparatus of the present invention. As shown in the figure, corresponding to the embodiment of fig. 1, the anti-aliasing picture processing module 713 is added to the model preprocessing circular texture blanking apparatus provided by the present invention on the basis of fig. 6A, and is used for performing anti-aliasing processing on all N layers of slice mask images layer by layer.
Fig. 7 is a schematic structural diagram of an embodiment of a three-dimensional mesh subdivision algorithm apparatus of the present invention. As shown in the figure, corresponding to the method embodiment of fig. 3, the present application accordingly provides a three-dimensional mesh subdivision algorithm apparatus, including:
the triangular mesh acquisition module 704 is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
a triangular mesh side length obtaining module 802, configured to obtain all side length data included in a kth group of triangular meshes in all X groups of triangular meshes;
a first triangle side length comparing module 806, configured to determine whether each side length of the obtained set of triangle meshes is smaller than a preset value Z mm;
a longest edge midpoint obtaining module 808, configured to obtain a midpoint of one longest edge in the group and obtain a midpoint coordinate;
a triangular mesh bisection module 810, configured to connect diagonal endpoints of the triangular mesh where the triangular mesh is located by a midpoint of a longest side so as to bisect one triangular mesh into two triangular meshes;
a second triangle side length comparison module 812, configured to determine whether the side lengths of all triangle meshes included in the group are smaller than a preset value Z mm;
a triangle mesh subdivision completion judging module 814, configured to judge whether all the X groups of triangle meshes are processed and subdivided;
a second-class triangular mesh data temporary storage module 818, configured to temporarily store the second-class triangular mesh data in a storage unit, where all the X groups of triangular meshes are subdivided into second-class triangular mesh data with side lengths smaller than Z millimeters;
an end block 820 configured to end the flow.
FIGS. 8A-B are schematic views of a model pre-processed slice of the present invention. As shown in the figure, the spherical 3D model is taken as an example in fig. 8A, after the computer runs a 3D printing model preprocessing program to load the 3D model, firstly, according to the embodiment of the method in fig. 1 of the present invention, the convex or concave features are added to the spherical 3D model, then, the 3D model slice is divided into 7 layers according to the preset layer thickness H millimeter, and all L01-L07 layer slice mask images on the XY cross-sectional plane shown in fig. 8B are obtained, wherein the center of each layer of mask image is white and the periphery is black, after the developing mask screen is loaded, the white part is used for image exposure through the uv led ultraviolet light, and the black part is used for blocking the penetration of the uv led ultraviolet light; in particular, since the spherical 3D model is processed in steps S102 to S110 in embodiment 1 of the method of the present invention in the preprocessing step of the computer model, the white contour edge of each page slice mask image in the L01 to L07 layers has irregular saw teeth, which is to partially blank the circular texture on the surface of the spherical solid model finally printed and formed.
FIGS. 9A-B show comparison of mask image edges before and after circular texture blanking in accordance with model preprocessing of the present invention. As shown in the figure, the left picture in fig. 9A is a picture obtained without using embodiment 1 of the method of the present invention, the computer runs a 3D printing model preprocessing program, and loads the spherical 3D model to perform slicing processing to obtain a slice mask image, where the gray value of the white part is 255 and the gray value of the black part is 0; amplifying a section of image at the white edge of the image to obtain a right image, wherein clear saw teeth which are not subjected to anti-saw tooth treatment are arranged at the white edge of the image; fig. 9B is a left picture of a slice mask image processed by the method of embodiment 1 of the present invention, and a white edge of the slice mask image is enlarged to obtain a right picture, where the white edge of the slice mask image has irregular saw teeth as shown in fig. 8B.
10A-B are comparisons of 3D model surface implementations before and after model pre-processing annular texture blanking in accordance with the present invention. As shown in the figure, in the case that the image on the left side in fig. 10A is obtained without using embodiment 1 of the method of the present invention, the computer runs a 3D printing model preprocessing program, loads the spherical 3D model to perform slicing processing to obtain all slice mask images, and then re-stacks and reconstructs the slice mask images of the respective layers according to the set layer thickness to form an integrated model preview image, where the preview image basically represents the surface features of the model after 3D printing and manufacturing, and corresponds to what has been described in the background art, when printing a model with a plurality of arc-shaped surfaces, annular textures similar to contour lines inevitably exist in the side surfaces and the Z-axis direction of the model, and particularly, the annular textures are very obvious in a low-resolution printing machine or a reflection light condition. When an image obtained by enlarging a block of image cut by a dotted line square frame in the figure is enlarged to obtain a right image, the image can be seen to form a ring-shaped texture similar to a contour line in the Z-axis direction, because the current photocuring 3D printing technology is implemented based on stacking of a plurality of resin molding layers in the Z-axis direction, and therefore, a ring-shaped stacked texture is inevitably formed when an upper arc surface is printed by stacking. The annular texture at the position of the dotted line circle on the 3D spherical side surface is naturally formed when the regular sawtooth-shaped structural layers of different layers are approximately stacked to form an arc surface. The method disclosed by the embodiment 1 aims to process the surface of a spherical 3D model into a spherical surface with a raised or recessed characteristic in a computer model preprocessing link; re-slicing results in the sliced image shown in fig. 9B with an irregular sawtooth mask, thereby blanking out this type of circular texture at the location of the dashed circle on the 3D spherical side.
Fig. 10B shows a left picture of a spherical 3D model, which is processed to have a protrusion or a depression feature on the surface of the spherical 3D model in the preprocessing step of the computer model after the computer runs a 3D printing model preprocessing program to load the spherical 3D model in case of using the method of embodiment 1 of the present invention; after all the slice mask images are obtained through slicing processing, the multilayer irregular sawtooth mask slice images shown in fig. 9B are obtained, the slice mask images processed on all the layers are stacked again according to the set layer thickness to be reconstructed into an integral model preview image, the preview image basically reflects the surface characteristics of the model after 3D printing and manufacturing, and meanwhile, after certain model surface smoothness is lost, the annular texture on the surface of the model achieves the actual effect of partial blanking; it can be seen from the figure that the method of the present invention temporarily fails to blank the ring texture which is also invisible in the Z-axis direction. An image captured by a dotted square frame in the figure is enlarged to obtain a right image, and the image is formed by stacking irregular structural layers of each layer, and the irregular edge gap shown in fig. 9B can be seen in detail.
FIG. 11 is a block diagram of an embodiment of an electronic device implementing the model pre-processing circular texture blanking method of the present invention. In this figure, the electronic device 12 is exemplified by a control unit 121. As shown, an electronic apparatus 12 includes a control unit 121 and a storage unit 122; wherein the storage unit 122 stores a computer program 120 or instructions executable by the control unit 121, the computer program 120 or instructions being executable by the control unit 121 to enable the control unit 121 to implement steps S112 to S114 of a model pre-processing circular texture blanking method as described in embodiment 1 of the method of the present invention.
The storage unit 122 is a non-transitory computer readable storage medium provided by the third aspect of the present invention. The storage unit 122 stores instructions executable by the at least one control unit 121, so that the at least one control unit 121 can implement steps S112 to S114 of the model pre-processing circular texture blanking method according to embodiment 1 of the present invention. The non-transitory computer-readable storage medium of the present invention stores computer instructions for enabling a computer to implement steps S112 to S114 of a model pre-processing ring texture blanking method as described in embodiment 1 of the method of the present invention.
The storage unit 122, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to steps S112 to S114 for executing a model pre-processing ring texture blanking method according to embodiment 1 of the present invention. The control unit 121 executes various functional applications of the server and data processing, i.e., realizes steps S112 to S114 in the above-described embodiment corresponding to fig. 1, by executing the non-transitory computer program 120, instructions, and modules stored in the storage unit 122.
The storage unit 122 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created when the electronic device 12 uses the method, and the like. In addition, the storage unit 122 may include a high-speed random access storage unit, and may further include a non-transitory storage unit, such as at least one magnetic disk storage unit, a flash memory device, or other non-transitory solid state storage unit. In some embodiments, the storage unit 122 optionally includes storage units remotely located from the control unit 121, which may be connected to the support structure generated electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable control unit, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input unit, and at least one output device.
These computing programs 120 (also referred to as programs, software applications, or code) include machine instructions for a programmable control unit, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, storage units, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable control unit, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable control unit.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present invention can be achieved.
FIG. 12 is a schematic diagram of pre-processing 3D model slices according to an embodiment of the present invention. As shown in the figure, the user loads the 3D model by running 3D slicing software through the electronic device 12, completes slicing after processing the surface of the spherical 3D model to have the protrusion or depression feature, and obtains a plurality of slice mask images to the cross-sectional position of the slice; on this basis, in step S116 of method embodiment 1 according to the present application, after the 3D printing device 15 loads, exposes, prints, and forms the plurality of slice mask images, a forming model in which part of the annular texture is blanked is obtained;
fig. 13 is a block diagram of a 3D printing apparatus implementing the model preprocessing loop texture blanking method of the present invention. As shown, a 3D printing apparatus 13 includes a controller 131 and a memory 132; wherein the memory 132 stores a printing control program 130 or instructions executable by the controller 131, and the printing control program 130 or instructions are executed by the controller 131, so that the controller 131 can execute step S116 of the model preprocessing loop texture blanking method according to embodiment 1 of the present invention.
FIG. 14 is a schematic diagram of a 3D printing device implementing the model pre-processing circular texture blanking method of the present invention. The 3D printing device is provided for purposes of illustration, explanation, and explanation only, and is not intended to be limiting of the invention. As shown, there is provided a 3D printing apparatus for performing step S116 of a model pre-processing circular texture blanking method as described in embodiment 1 of the method of the present invention, which includes: a controller 131, a memory 132, a display and operation unit 133, a UVLED light source module 134, a developing mask screen 135, a liquid bath 136, a molding platform 137, a motor 138, a base 139, a base film 1361, a photosensitive resin 1362, and a lifting column 1381; the controller 131, the UVLED light source module 134, the developing mask screen 135, and the liquid bath 136 are disposed and connected to the base 139; the motor 138 is connected with the forming platform 137; the lifting column 1381 is fixedly connected to the base 139; the motor 138 is arranged on the lifting column 1381 to realize electric driving lifting and drive the forming platform 137 to lift or descend along with the lifting column 1381; the bottom film 1361 is arranged at the bottom of the liquid groove 136 and used for transmitting light; photosensitive resin 1362 liquid is contained in the liquid tank; the controller 131 is electrically connected with the developing mask screen 135, the motor 138, the memory 132, the UVLED light source module 134, and the display and operation unit 133; the memory 132 stores the imported slice mask image and printing parameters; the controller 131 reads the processed slice mask image and the printing parameters in the memory 132; the controller 131 sets the printing parameters as control parameters at the time of printing; the controller 131 loads the obtained 3D model sliced mask image after the protrusion or depression surface feature processing into a development mask screen 135 for mask exposure; the controller 131 controls the motor 138 to drive the forming platform 137 to perform lifting movement according to the printing execution parameters; a user sends an operation instruction to the controller 131 through the display and operation unit 133, so that the controller 131 responds to the instruction and sends a control signal to control each controlled unit to complete instruction actions, and man-machine interaction operation is realized; the controller 131 outputs signals and data to the display and operation unit 133 to display the 3D model slice mask preview image, the machine control parameters, the system setting options, and the system operation parameters; the controller 131 controls the motor 138 to drive the forming platform 137 to move up and down according to the plain text of the printing parameters; the controller 131 controls the UVLED light source module 134 to turn on or turn off the light; the UVLED light source module 134 emits ultraviolet light and visible light to expose and irradiate the photosensitive resin 1362 in the liquid tank 136 through the mask image in the developing mask screen 135 and the bottom film 1361 to be cured and molded; the molding platform 137 is used for attaching the cured and molded model molding resin layer 1371 in the curing and molding process so as to enable the cured and molded model molding resin layer to be continuously lifted and grown until the 3D printing is finished; the 3D printing equipment 13 adopts a rising type LCD photocuring 3D printer or a sinking type LCD photocuring 3D printer.
Fig. 15 is a schematic diagram of a 3D printing apparatus for importing slice mask image data and printing parameters according to embodiment 1 of the present invention. As shown in the figure, the user uses the mobile storage device 14 to import the obtained 3D model slice mask image data and printing parameters after processing the surface features of the protrusions or the depressions in the electronic device 12 into the 3D printing device 13, and then the 3D printing device 13 performs exposure printing according to the obtained mask image data and printing parameters.
Fig. 16 is a schematic process diagram of 3D printing manufacturing using the method of the present invention. As shown in the figure, the electronic device 12 in the figure is a computer, and in combination with embodiment 1 of the method of the present invention, after processing the surface of the spherical 3D model into a surface with a protrusion or a depression, slicing is completed and slice mask image data and printing parameters are obtained; then, exposure printing is performed by the 3D printing apparatus 13, resulting in the molded model 1372 having the circular texture blanking effect.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A model preprocessing circular texture blanking method is characterized by comprising the following steps:
s102, running a 3D printing model preprocessing program by a computer to load a 3D model;
s104, traversing and splicing all X groups of triangular meshes of the 3D model by the control unit;
s106, the control unit subdivides all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate a second type of triangular meshes with fineness smaller than a preset value;
s108, the control unit selects M reference points on each class II triangular mesh plane;
s110, enabling a reference point to move by L plus delta X millimeters along the normal vector direction of the grid where the reference point is located, and generating a plurality of three types of triangular grids from the reference point and each end point of the grid so as to form a 3D model with three types of triangular grid protrusions or depressions;
s112, layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter by using a control unit, and acquiring all N layers of slice mask images;
s114, the control unit stores all the N layers of slice mask image data in a computer storage unit;
and S116, importing the slice mask image data and the printing parameters by the 3D printing equipment, and performing exposure printing.
2. The model pre-processing circular texture blanking method as claimed in claim 1, further comprising the steps of: s113, the control unit performs anti-aliasing treatment on all the N layers of slice mask images layer by layer; the step S113 is located after the step S112 and before the step S114.
3. The model preprocessing loop texture blanking method as claimed in claim 1, wherein the three-dimensional mesh subdivision algorithm adopted in the step S106 comprises the following steps:
SS02 and a control unit traverse and splice all X groups of triangular meshes forming the 3D model;
SS04, the control unit obtains all the side line length data included in the K group of triangular grids in all the X group of triangular grids;
SS06, the control unit judges whether the side length of each of the obtained triangular meshes is smaller than a preset value Z mm; if the side lengths of the obtained group of triangular meshes are smaller than the preset value Z millimeter, performing SS 14; if the side lengths of the obtained group of triangular meshes are not all smaller than the preset value Z millimeter, performing SS 08;
SS08, the control unit takes the midpoint of the longest edge in the group and obtains the midpoint coordinate;
SS10, connecting the diagonal end points of the triangular mesh by the middle point of the longest edge by the control unit so as to divide one triangular mesh into two triangular meshes;
SS12, the control unit judges whether the side length of all the triangular meshes included in the group is smaller than a preset value Z mm; if the side lengths of all the triangular meshes included in the group are not totally smaller than the preset value Z millimeter, performing the step SS 08; if the side lengths of all the triangular meshes included in the group are smaller than the preset value Z millimeter, performing SS 14;
SS14, control unit judges whether all X groups of triangular meshes are processed and subdivided; if all the X groups of triangular meshes are judged to be completely processed and subdivided, the step SS18 is carried out; if all the X groups of triangular meshes are judged not to be processed and subdivided completely, the step SS16 is carried out;
SS16, the control unit obtains length data of all edges included in the K +1 th group of triangular meshes in all the X groups of triangular meshes, and the next step is SS 06;
SS18, the control unit subdivides all the X groups of triangular meshes into two types of triangular mesh data with side length smaller than Z millimeter, and temporarily stores the two types of triangular mesh data in the storage unit;
SS20, the flow ends.
4. The method for blanking circular texture through model preprocessing according to claim 1, wherein the three-dimensional mesh subdivision algorithm adopted in step S106 comprises:
the triangular mesh acquisition module is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
the triangular mesh side length obtaining module is used for obtaining all side length data included by the Kth group of triangular meshes in all the X groups of triangular meshes;
the first comparison module of the side length of the triangle is used for judging whether the side length of each group of the obtained triangular grids is smaller than a preset value Z millimeter;
the longest edge midpoint acquisition module is used for acquiring a midpoint of one longest edge in the group and acquiring a midpoint coordinate;
the triangular mesh bisection module is used for connecting the diagonal end points of the triangular mesh where the triangular mesh is located by the middle point of the longest edge so as to bisect one triangular mesh into two triangular meshes;
the second comparison module of the side length of the triangle is used for judging whether the side lengths of all the triangular meshes included in the group are smaller than a preset value Z millimeter;
the triangular mesh subdivision completion judging module is used for judging whether all the X groups of triangular meshes are processed and subdivided;
the second-class triangular mesh data temporary storage module is used for dividing all the X groups of triangular meshes into second-class triangular mesh data with side length smaller than Z millimeter and temporarily storing the second-class triangular mesh data in a storage unit;
and the ending module is used for ending the flow.
5. The method for model pre-processing circular texture blanking according to claim 1, wherein the three-dimensional mesh Subdivision algorithm in step S106 further comprises a Loop Subdivision algorithm (Loop Subdivision) or a Butterfly Subdivision algorithm (Butterfly Subdivision).
6. The model pre-processing circular texture blanking method as claimed in claim 1, wherein the reference point is a centroid, or a vertical center, or an inner center, or an outer center of a triangle.
7. The method as claimed in claim 1 or 3, wherein X, M, N is a positive integer, L, Z is a positive integer or a decimal; the delta X is an error value smaller than L; the K is a positive integer that increases from 1.
8. A model pre-processing circular texture blanking apparatus, comprising:
the model loading module is used for loading the 3D model;
the triangular mesh acquisition module is used for traversing and splicing all X groups of triangular meshes forming the 3D model;
the second-class triangular mesh generation module is used for subdividing all the X groups of triangular meshes by using a three-dimensional mesh subdivision algorithm to generate second-class triangular meshes with fineness smaller than a preset value;
the reference point selection module is used for respectively selecting M reference points on each class II triangular mesh plane;
the three-type triangular mesh generation module is used for enabling the reference point to displace by L plus delta X millimeters along the normal vector direction of the mesh where the reference point is located, and then generating a plurality of three-type triangular meshes from the reference point and each end point of the mesh so as to form a 3D model with three-type triangular mesh protrusions or depressions;
the model slicing module is used for layering the 3D model slices with the three types of triangular mesh protrusions or depressions according to the preset layer thickness H millimeter and acquiring all N layers of slice mask images;
the storage module is used for storing all the N layers of slice mask image data in a computer storage unit;
and the import and exposure printing module is used for importing the slice mask image data and the printing parameters and carrying out exposure printing.
9. The model pre-processing circular texture blanking apparatus as claimed in claim 8, further comprising: and the anti-aliasing picture processing module is used for carrying out anti-aliasing processing on all the N layers of slice mask images layer by layer.
10. A non-transitory computer readable storage medium, characterized in that it stores a computer program which, when executed by a control unit, implements steps S112-S114 of a model pre-processing ring texture blanking method as claimed in claim 1.
11. A computer program product comprising computer instructions which, when run on a computer, cause the computer to perform steps S112-S114 of a method of model pre-processing ring texture blanking as claimed in claim 1.
12. An electronic device, comprising: at least one control unit; and a storage unit communicatively coupled to the at least one control unit; wherein the storage unit stores instructions executable by the at least one control unit to enable the at least one control unit to perform steps S112-S114 of a model pre-processing loop texture blanking method as claimed in claim 1.
13. A 3D printing apparatus for performing step S116 of a model pre-processing circular texture blanking method according to claim 1, comprising: the device comprises a controller, a developing mask screen, a motor, a memory, a UVLED light source module, a display and operation unit, a forming platform, a liquid tank, a lifting column, a bottom film, photosensitive resin and a base; the controller, the developing mask screen, the UVLED light source module and the liquid tank are connected to the base; the motor is connected with the forming platform; the lifting column is fixedly connected to the base; the motor is arranged on the lifting column to realize electric driving lifting and drive the forming platform to lift or descend along with the lifting column; the bottom film is arranged at the bottom of the liquid tank and is used for transmitting light; the liquid tank is used for containing photosensitive resin liquid; the controller is electrically connected with the developing mask screen, the motor, the memory, the UVLED light source module and the display and operation unit; the memory stores imported slice mask image data and printing parameters; the controller reads the slice mask image data and the printing parameters in the memory; the controller sets the printing parameters as control parameters at the time of printing; the controller loads the slice mask image data into a developing mask screen for mask exposure; the controller controls the motor to drive the forming platform to perform lifting motion according to the printing parameters; a user sends an operation instruction to the controller through the display and operation unit, so that the controller responds to the instruction and sends a control signal to control each controlled unit to complete instruction action, and man-machine interaction operation is realized; the controller outputs signals and data to the display and operation unit to enable the display and operation unit to display the 3D model slice mask preview image, the machine control parameters, the system setting options and the system operation parameters; the controller controls the motor to drive the forming platform to perform lifting motion according to the printing parameters; the controller controls the UVLED light source module to light up or light down; the UVLED light source module emits ultraviolet light and visible light to expose and irradiate the photosensitive resin in the liquid tank through the mask image and the bottom film in the developing mask screen so as to enable the photosensitive resin to be cured and molded; the forming platform is used for attaching a cured and formed model forming resin layer in the curing and forming process so as to continuously promote and grow the model forming resin layer until the 3D printing is finished; the 3D printing equipment adopts a rising type LCD photocuring 3D printer or a sinking type LCD photocuring 3D printer.
CN202111353139.0A 2021-11-16 2021-11-16 Model preprocessing annular texture blanking method, device, equipment and storage medium Active CN114147969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111353139.0A CN114147969B (en) 2021-11-16 2021-11-16 Model preprocessing annular texture blanking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111353139.0A CN114147969B (en) 2021-11-16 2021-11-16 Model preprocessing annular texture blanking method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114147969A true CN114147969A (en) 2022-03-08
CN114147969B CN114147969B (en) 2024-04-16

Family

ID=80456441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111353139.0A Active CN114147969B (en) 2021-11-16 2021-11-16 Model preprocessing annular texture blanking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114147969B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115139528A (en) * 2022-06-10 2022-10-04 深圳市纵维立方科技有限公司 Slice processing method and device in 3D printing, storage medium and electronic equipment

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923777A (en) * 1995-08-30 1999-07-13 Samsung Electronics Co., Ltd. Method for irregular triangle mesh representation of an image based on adaptive control point removal
US20060164415A1 (en) * 2005-01-26 2006-07-27 International Business Machines Corporation Method, apparatus and computer program product enabling a dynamic global parameterization of triangle meshes over polygonal domain meshes
US20140257547A1 (en) * 2013-03-11 2014-09-11 Autodesk, Inc. Techniques for slicing a 3d model for manufacturing
US20140324204A1 (en) * 2013-04-18 2014-10-30 Massachusetts Institute Of Technology Methods and apparati for implementing programmable pipeline for three-dimensional printing including multi-material applications
CN104952075A (en) * 2015-06-16 2015-09-30 浙江大学 Laser scanning three-dimensional model-oriented multi-image automatic texture mapping method
US20160133050A1 (en) * 2014-11-11 2016-05-12 Roland Dg Corporation Slice data creation device, slice data creation method, program, and computer-readable recording medium
US20160263788A1 (en) * 2015-03-11 2016-09-15 Ansell Limited Textured polymeric materials, and methods of forming
CN106132668A (en) * 2014-03-25 2016-11-16 Dws有限公司 For the computer implemented method to the improvement that the exploitation of the supporting member of the object by means of stereolithography processes manufacture point is defined
US20170024925A1 (en) * 2015-07-21 2017-01-26 Makerbot Industries, Llc Three-dimensional surface texturing
US20170046833A1 (en) * 2015-08-10 2017-02-16 The Board Of Trustees Of The Leland Stanford Junior University 3D Reconstruction and Registration of Endoscopic Data
CN106875495A (en) * 2016-12-23 2017-06-20 合肥阿巴赛信息科技有限公司 A kind of embossment grid representation and 3D printing dicing method and system based on Bump Mapping
JP2018039126A (en) * 2016-09-05 2018-03-15 富士ゼロックス株式会社 Three-dimensional molding production data generation device, three-dimensional molding production data generation program, and three-dimensional molding
US20180186038A1 (en) * 2016-12-29 2018-07-05 Kazimierz Bigus Device and method for the creation of 2D and 3D objects by using a 3D drawing pen
US20190061269A1 (en) * 2017-08-23 2019-02-28 Lawrence Livermore National Security, Llc Fast, efficient direct slicing method for lattice structures
US20200050119A1 (en) * 2018-08-07 2020-02-13 3DFortify, Inc. Systems and methods for alignment of anisotropic inclusions in additive manufacturing processes
US10724146B1 (en) * 2019-08-23 2020-07-28 Fabric8Labs, Inc. Matrix-controlled printhead for an electrochemical additive manufacturing system
CN112132970A (en) * 2020-08-26 2020-12-25 山东大学 3D printing-oriented natural texture synthesis system and method
CN112276110A (en) * 2020-10-21 2021-01-29 中科丰阳(福建)科技有限公司 Metal printing method of sole forming die
WO2021068386A1 (en) * 2019-10-12 2021-04-15 上海联泰科技股份有限公司 Layered processing method of three-dimensional object data and 3d printing device
CN112765695A (en) * 2021-01-21 2021-05-07 深圳市创想三维科技有限公司 Support body generation method, 3D printer, computer device, and storage medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923777A (en) * 1995-08-30 1999-07-13 Samsung Electronics Co., Ltd. Method for irregular triangle mesh representation of an image based on adaptive control point removal
US20060164415A1 (en) * 2005-01-26 2006-07-27 International Business Machines Corporation Method, apparatus and computer program product enabling a dynamic global parameterization of triangle meshes over polygonal domain meshes
US20140257547A1 (en) * 2013-03-11 2014-09-11 Autodesk, Inc. Techniques for slicing a 3d model for manufacturing
US20140324204A1 (en) * 2013-04-18 2014-10-30 Massachusetts Institute Of Technology Methods and apparati for implementing programmable pipeline for three-dimensional printing including multi-material applications
CN106132668A (en) * 2014-03-25 2016-11-16 Dws有限公司 For the computer implemented method to the improvement that the exploitation of the supporting member of the object by means of stereolithography processes manufacture point is defined
US20160133050A1 (en) * 2014-11-11 2016-05-12 Roland Dg Corporation Slice data creation device, slice data creation method, program, and computer-readable recording medium
US20160263788A1 (en) * 2015-03-11 2016-09-15 Ansell Limited Textured polymeric materials, and methods of forming
CN104952075A (en) * 2015-06-16 2015-09-30 浙江大学 Laser scanning three-dimensional model-oriented multi-image automatic texture mapping method
US20170024925A1 (en) * 2015-07-21 2017-01-26 Makerbot Industries, Llc Three-dimensional surface texturing
US20170046833A1 (en) * 2015-08-10 2017-02-16 The Board Of Trustees Of The Leland Stanford Junior University 3D Reconstruction and Registration of Endoscopic Data
JP2018039126A (en) * 2016-09-05 2018-03-15 富士ゼロックス株式会社 Three-dimensional molding production data generation device, three-dimensional molding production data generation program, and three-dimensional molding
CN106875495A (en) * 2016-12-23 2017-06-20 合肥阿巴赛信息科技有限公司 A kind of embossment grid representation and 3D printing dicing method and system based on Bump Mapping
US20180186038A1 (en) * 2016-12-29 2018-07-05 Kazimierz Bigus Device and method for the creation of 2D and 3D objects by using a 3D drawing pen
US20190061269A1 (en) * 2017-08-23 2019-02-28 Lawrence Livermore National Security, Llc Fast, efficient direct slicing method for lattice structures
US20200050119A1 (en) * 2018-08-07 2020-02-13 3DFortify, Inc. Systems and methods for alignment of anisotropic inclusions in additive manufacturing processes
US10724146B1 (en) * 2019-08-23 2020-07-28 Fabric8Labs, Inc. Matrix-controlled printhead for an electrochemical additive manufacturing system
WO2021068386A1 (en) * 2019-10-12 2021-04-15 上海联泰科技股份有限公司 Layered processing method of three-dimensional object data and 3d printing device
CN112132970A (en) * 2020-08-26 2020-12-25 山东大学 3D printing-oriented natural texture synthesis system and method
CN112276110A (en) * 2020-10-21 2021-01-29 中科丰阳(福建)科技有限公司 Metal printing method of sole forming die
CN112765695A (en) * 2021-01-21 2021-05-07 深圳市创想三维科技有限公司 Support body generation method, 3D printer, computer device, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115139528A (en) * 2022-06-10 2022-10-04 深圳市纵维立方科技有限公司 Slice processing method and device in 3D printing, storage medium and electronic equipment
CN115139528B (en) * 2022-06-10 2024-04-16 深圳市纵维立方科技有限公司 Slice processing method and device in 3D printing, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114147969B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US9633470B2 (en) Generating slice data representing a cross section cut from a three-dimensional modeled object
US10780643B2 (en) Stereolithography printer mapping a plurality of pixels of a cross-sectional image to corresponding mirrors of a plurality of mirrors of a digital micromirror unit
CN107206696B (en) Three-dimensional object substructure
EP2628145B1 (en) Triangle mesh compression
CN111382485A (en) Three-dimensional model two-dimensional nesting placement method based on three-dimensional printing
CN105354872A (en) Rendering engine, implementation method and producing tools for 3D web game
CN109159425A (en) The dicing method and 3 D-printing device of threedimensional model
EP2977934A1 (en) Digital coding of rubber articles
CN114147969A (en) Model preprocessing annular texture blanking method, device, equipment and storage medium
CN106991135B (en) Rapid tile generation method for remote sensing image data
CN114274514A (en) Model printing annular texture full blanking method, device, equipment and storage medium
EP3872672B1 (en) Method and apparatus for generating jacquard weave pattern of preform, electronic device, and storage medium
CN111319264B (en) Data processing method applied to 3D printing equipment and 3D printing equipment
CN109344468A (en) CAD diagram paper introduction method, system and computer readable storage medium
CN112233241B (en) Method and device for generating height map of virtual scene terrain and storage medium
CN109925715B (en) Virtual water area generation method and device and terminal
CN114147968B (en) Model printing annular texture blanking method, device, equipment and storage medium
CN115982418A (en) Method for improving super-division operation performance of AI (Artificial Intelligence) computing chip
CN102129664A (en) Method for compressing, storing and restoring pixel information of RGB (Red, Green and Blue) space image region
CN115828827A (en) Method and system for reconstructing integrated circuit design layout hierarchical structure and storage medium
CN114953440A (en) 3D printing Z-axis fine compensation method and device, electronic equipment and storage medium
CN102456219B (en) Rasterization method and apparatus thereof
CN107491593B (en) Digital mask generation method for biological support surface exposure rapid forming
EP4092560A1 (en) A method for three-dimensional printing with surface dithering, a computer program product and a 3d printing device
CN116416387B (en) OSGB three-dimensional model rapid top layer reconstruction method

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