Contour batch drilling method and device, electronic equipment and storage medium

By generating equal-height holes by traversing the triangular mesh of the 3D model, the problem of inconsistent hole heights in existing technologies is solved, enabling batch addition and uniform distribution, improving drilling efficiency and speed, and making it suitable for 3D printing models with cavity or slot structures.

CN115256943BActive Publication Date: 2025-12-16SHENZHEN CBD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210693090.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2025-12-16
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

In existing technologies, 3D printed models with cavity or slot structures require manual addition of holes one by one, resulting in inconsistent hole heights and low efficiency, especially in models with multiple independent cavities.

Method used

By traversing the triangular mesh of the 3D model, selecting the starting point A, generating a vertical cross-section plane, calculating the slice line segments, forming a closed polygon, and taking points in segments in millimeters (Y), extracting the center point of the hole by specifying the clock direction, and using a mesh subdivision algorithm to generate holes of equal height, batch addition is achieved.

Benefits of technology

It achieves uniform distribution and high consistency of multiple holes on the surface of 3D models, improves the efficiency and speed of hole addition, is suitable for drilling needs of single or multiple independent cavity models, and supports hole parameter settings at different locations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115256943B_ABST
    Figure CN115256943B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of 3D printing technology, and provides an isohypse batch punching method and device, electronic equipment and storage medium, wherein the method mainly comprises the following steps: traversing a 3D model triangular mesh; taking a cross section plane perpendicular to the Z axis through point A; obtaining intersecting slice segments and segment endpoints by intersecting the cross section plane with all triangular meshes; connecting the slice segments in sequence to form a closed polygon; segmenting each edge of the closed polygon by Y millimeters to obtain points, and obtaining all segmented points and endpoints and point A as a first set of sampling points; specifying a clock direction, taking point A as a starting anchor, extracting all sampling points in the first set in sequence two by two to obtain sampling points with a straight line distance of L+△X millimeters, and taking all sampling points as hole center points; and generating holes and their triangular mesh space models in the 3D model according to the hole center point coordinates and vectors and hole parameters by using a mesh subdivision algorithm. The application can add holes in batches at the isohypse position of the 3D model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of 3D printing technology, specifically to a method, apparatus, electronic device, and storage medium for batch drilling of equal-height holes. Background Technology

[0002] In current photopolymer 3D printing technology, before printing models with cavity or slot structures, it is generally necessary to add holes to the model. This is to reduce the negative pressure when the model cavity absorbs the resin tank bottom film, and to facilitate the drainage of the resin solution sealed inside the cavity structure after printing. Currently, the main method for adding holes to the model is to manually add holes one by one. This method is inefficient and inconvenient when adding multiple holes.

[0003] Specifically, when processing tooth models, which have a hollow structure, manually adding holes one by one requires ensuring that all added holes are at the same height at the bottom to facilitate the drainage of resin solution during printing. This is especially true when manually adding holes one by one to industrial part models with multiple independent cavities, where all holes must be at the same height at the bottom to facilitate the drainage of resin solution from each cavity. However, current manual hole-adding methods are not conducive to maintaining a consistent drilling height, making them even more inconvenient to use.

[0004] Therefore, a method for batch drilling at the same height is needed to facilitate the addition of holes to models with cavity or slot structures in batches, while keeping the holes at the same height. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for batch drilling of holes at the same height. The purpose is to facilitate the batch addition of holes to models with cavity or groove structures and to keep the holes at the same height, so as to reduce the negative pressure when the model is removed from the bottom film of the resin tank and to facilitate the discharge of resin solution during printing.

[0006] The first aspect of this application provides a method for batch drilling with equal height, including the following steps:

[0007] S100: Traverse all the triangular meshes that make up the 3D model on the 3D model;

[0008] S150. Select point A in the triangular mesh plane of the 3D model;

[0009] S200, take a cross-sectional plane perpendicular to the Z-axis through point A;

[0010] S250. Calculate the intersection of the cross-section plane with all triangular meshes to obtain the slice line segments and endpoints that intersect the triangular meshes;

[0011] S300, sequentially connecting the slice line segments of the intersecting triangular mesh to form a closed polygon;

[0012] S350, segmenting each edge of the closed polygon by Y millimeters to obtain all segmented points and endpoints and the A point as a first set of sampling points;

[0013] S400, specifying a clock direction, taking the A point as a starting anchor, extracting the sampling points in the first set of sampling points in sequence two by two, and taking all the sampling points as hole center points;

[0014] S450, generating a hole and its triangular mesh space model inside the 3D model according to the hole center point coordinates and vectors and the hole parameters;

[0015] S500, storing the overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

[0016] Further, the step S450 further comprises the following steps:

[0017] S452, obtaining the spatial coordinates of the hole center points;

[0018] S454, obtaining the triangular mesh plane normal vector of the hole center point and / or obtaining the angle bisector vector of the adjacent two triangular mesh plane normal vectors on the edge line where the hole center point is located;

[0019] S456, generating a hole and its triangular mesh space model inside the 3D model from the surface to the inside by the hole center point and the plane normal vector and / or the hole center point and the angle bisector vector.

[0020] Optionally, Y is a positive integer or a decimal number; L is a positive integer or a decimal number; and △X is an error value smaller than Y.

[0021] Optionally, the clock direction includes counterclockwise direction or clockwise direction.

[0022] Optionally, the number of the closed polygons is one or more.

[0023] Optionally, the shape of the hole and its triangular mesh space model includes: circular, or elliptical, or polygonal.

[0024] Optionally, the hole parameters include: diameter and depth.

[0025] Further, the method further comprises the following steps:

[0026] S550, performing slice processing on the overall three-dimensional data and obtaining slice image data:

[0027] S600, import the slice image data to a 3D printing device for 3D exposure printing.

[0028] A second aspect of the embodiments of the present application provides an equal-height batch hole drilling device, comprising:

[0029] A model mesh traversal module is configured to traverse all triangular meshes of a 3D model spliced on the 3D model;

[0030] A mesh plane point selection module is configured to select an A point on a triangular mesh plane of the 3D model;

[0031] A cross-section plane determination module is configured to take a cross-section plane perpendicular to a Z axis through the A point;

[0032] A slice segment determination module is configured to calculate intersections between the cross-section plane and all triangular meshes to obtain slice segments intersecting with the triangular meshes and end points of the slice segments;

[0033] A closed polygon determination module is configured to sequentially connect the slice segments of the intersecting triangular meshes end to end to form a closed polygon;

[0034] A sampling point set acquisition module is configured to segment points of each edge of the closed polygon in Y millimeter units and acquire all segmented points and end points and the A point as a first set of sampling points;

[0035] A hole center point acquisition module is configured to specify a clock direction, take the A point as a starting anchor extraction point, extract sampling points with a straight line distance of L+△X millimeters from each other in the first set of sampling points in sequence, and acquire all the sampling points as hole center points;

[0036] A hole triangular mesh generation module is configured to generate a hole and a triangular mesh space model of the hole in the 3D model according to coordinates and vectors of the hole center points and hole parameters by using a mesh subdivision algorithm;

[0037] A three-dimensional data storage module is configured to store overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

[0038] Further, the hole triangular mesh generation module further comprises:

[0039] A hole center point coordinate acquisition module is configured to acquire spatial coordinates of the hole center points;

[0040] A hole vector acquisition module is configured to acquire a triangular mesh plane normal vector at the hole center point and / or an angle bisector vector of two adjacent triangular mesh plane normal vectors on an edge line at the hole center point;

[0041] The hole triangle mesh generation module is used for generating holes and their triangle mesh space models from the hole center points and the plane normal vectors and / or the hole center points and the angle bisector vectors inside the surface of the 3D model.

[0042] A third aspect of the embodiments of the present application provides a non-transitory computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of any of the isohypse batch hole drilling methods.

[0043] A fourth aspect of the embodiments of the present application provides an electronic device, comprising at least one processor, and a storage unit in communication connection with the at least one processor; wherein the storage unit stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of any of the isohypse batch hole drilling methods.

[0044] A fifth aspect of the embodiments of the present application provides a 3D printing device, comprising a memory, a controller, and a computer program stored in the memory and executable on the controller, the controller executing the computer program to implement the steps of any of the isohypse batch hole drilling methods.

[0045] Compared with the prior art, the present application has the following beneficial effects:

[0046] 1. The isohypse batch hole drilling method provided by the method of the present application can facilitate a user to generate a plurality of uniformly distributed holes at the same height position of a 3D model through one operation, realize batch addition of holes at the isohypse position, and make the operation of adding holes faster during 3D model preprocessing, thereby reducing workload and improving efficiency, and being applicable to hole drilling of a model having one hollow cavity.

[0047] 2. The isohypse batch hole drilling method provided by the method of the present application can generate a plurality of uniformly distributed holes at different heights through repeated operations of selecting multiple point heights and determining hole generation multiple times, and can also achieve the effect of automatically adding multiple holes at different heights of the entire model through relatively uniform point selection at different heights, thereby achieving a fast effect of approximately adding multiple holes at different heights of the entire model, and being applicable to hole drilling of a model having multiple independent hollow cavities at different heights.

[0048] 3. The isohypse batch hole drilling method provided by the method of the present application can set different diameters, depths and other parameters for holes at different special positions of the 3D model by using different parameters between different groups of holes, so as to adapt to the need of adding holes at special positions of the 3D model.

[0049] 4. The method of the present application provides an equal-height batch hole drilling method, which provides a feasible program execution method; wherein the edges of the closed polygon are segmented by Y millimeters to obtain points, and all segmented points and endpoints and point A are obtained as a first set of sampling points; the point density can be controlled by adjusting the size of Y millimeters, and when X is small, the sampling points are more dense, and when the sampling points with a linear distance of L+△X millimeters are extracted two by two in the next step, higher uniformity can be obtained.

[0050] 5. The method of the present application provides an equal-height batch hole drilling method, which provides a feasible program execution method; wherein the edges of the closed polygon are segmented by Y millimeters to obtain points, and all segmented points and endpoints and point A are obtained as a first set of sampling points; a clock direction is specified, and point A is used as a starting anchor to extract points two by two from the first set of sampling points in sequence, and the sampling points with a linear distance of L+△X millimeters are extracted as a second set of extracted points; the density of the hole center points and the number of holes can be controlled by adjusting the size of L, and when Y is large and L is also large, the number of sampling points is reduced, the CPU operation of the computer is reduced, and the speed and response speed of the computer running the 3D printing model preprocessing software to add and generate holes are improved. BRIEF DESCRIPTION OF DRAWINGS

[0051] Figure 1 Flowchart of the equal-height batch hole drilling method provided by the embodiments of the present application;

[0052] Figure 2 Structure diagram of the equal-height batch hole drilling device provided by the embodiments of the present application;

[0053] Figure 3A Flowchart of the method for generating holes according to the hole center point coordinates and vectors provided by the embodiments of the present application;

[0054] Figure 3B Structure diagram of the device for generating holes according to the hole center point coordinates and vectors provided by the embodiments of the present application;

[0055] Figure 4A -F is a schematic diagram of the embodiments of the present application for obtaining a first set of sampling points on a closed polygon according to point A;

[0056] Figure 5A -F is a schematic diagram of the embodiments of the present application for adding holes according to the equal distance of hole center points;

[0057] Figure 6A -B is a schematic diagram of the embodiments of the present application for adding equal-height batch hole drilling to a tooth model;

[0058] Figure 7A Structure block diagram of an electronic device for implementing the equal-height batch hole drilling method of the embodiments of the present application;

[0059] Figure 7B A schematic diagram of the electronic device pre-processing and slicing a 3D model according to an embodiment of the present application;

[0060] Figure 8A A structure block diagram of a 3D printing device for implementing the high-batch drilling method according to the present application;

[0061] Figure 8B A schematic diagram of importing image data obtained by slicing into a 3D printing device after implementing the method according to the present application.

[0062] Label explanation:

[0063] Model 4; platform 40; model triangular mesh 41; contour line 42; point A 43; end point 44; slice line segment 45; segmented point 46; hole center point 47; hole 5; hole triangular mesh 50; dental mold 400; dental mold groove 400;

[0064] Electronic device 7; computer program 70; processor 71; storage unit 72; 3D printing device 8; printing control program 80; controller 81; memory 82; mobile storage device 9;

[0065] Model mesh traversal module 100; mesh plane point selection module 150; cross-sectional plane determination module 200; slice line segment determination module 250; closed polygon determination module 300; sample point set acquisition module 350; hole center point acquisition module 400; hole triangular mesh generation module 450; three-dimensional data storage module 500; slice processing module 550; hole center point coordinate acquisition module 452; hole vector acquisition module 454; hole triangular mesh generation module 456. DETAILED DESCRIPTION

[0066] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the embodiments described below are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0067] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of a described feature, integral, step, operation, element, and / or component, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0068] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0069] Figure 1 A flowchart illustrating a method for batch drilling with equal height provided in this application embodiment. As shown in the figure, a method for batch drilling with equal height includes the following steps:

[0070] S100: Traverse all the triangular meshes that make up the 3D model on the 3D model;

[0071] S150. Select point A in the triangular mesh plane of the 3D model;

[0072] S200, take a cross-sectional plane perpendicular to the Z-axis through point A;

[0073] S250. Calculate the intersection of the cross-section plane with all triangular meshes to obtain the slice line segments and endpoints that intersect the triangular meshes;

[0074] S300: Connect the slice segments of the intersecting triangular mesh end to end to form a closed polygon;

[0075] S350. Divide each side of the closed polygon into segments in millimeters (Y mm) and obtain all segment points, endpoints, and point A as the first set of sampling points.

[0076] S400, specifying a clock direction to A point as the starting anchor extraction point, extracting all sampling points in the first set in turn two by two to extract sampling points with a straight line distance of L+△X millimeters, and taking all sampling points as hole center points;

[0077] S450, generating holes and their triangular mesh space models inside the 3D model according to the hole center point coordinates and vectors and hole parameters using a mesh subdivision algorithm;

[0078] S500, storing the overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

[0079] Further, the following steps are further included:

[0080] S550, performing slice processing on the overall three-dimensional data and obtaining slice image data:

[0081] S600, importing the slice image data into a 3D printing device for 3D exposure printing.

[0082] Optionally, Y is a positive integer or a decimal number; L is a positive integer or a decimal number; and △X is an error value less than Y.

[0083] Optionally, the clock direction includes a counterclockwise direction or a clockwise direction.

[0084] Optionally, the number of closed polygons is one or more.

[0085] Optionally, the shape of the hole and its triangular mesh space model includes a circular shape, an elliptical shape, or a polygonal shape.

[0086] Optionally, the hole parameters include a diameter and a depth.

[0087] Specifically, in step S350, the edges of the closed polygon are segmented by Y millimeters to obtain all segmented points and end points and the A point as the first set of sampling points; the sampling point density can be controlled by adjusting the size of Y millimeters, and when X is small, the more dense the sampling points, the higher the uniformity when extracting the sampling points two by two with a straight line distance of L+△X millimeters in the next step.

[0088] Specifically, in step S400, a clock direction is specified to A point as the starting anchor extraction point, and all sampling points in the first set are extracted in turn two by two to extract sampling points with a straight line distance of L+△X millimeters, and all sampling points are taken as the second set of extraction points; the density of hole center points and the number of holes can be controlled by adjusting the numerical value of L, and when Y is large and L is also large, the number of sampling points is reduced, the computer CPU operation amount is reduced, and the speed and response speed of the computer running the 3D printing model preprocessing software to add and generate holes are improved.

[0089] Figure 2 The structure diagram of the equal-batch hole punching device is provided for the embodiments of the present application. As shown in the figure, the equal-batch hole punching device comprises:

[0090] The model grid traversal module 100 is configured to traverse all triangular meshes of the 3D model spliced on the 3D model;

[0091] The grid plane point selection module 150 is configured to select an A point on the triangular mesh plane of the 3D model;

[0092] The cross-section plane determination module 200 is configured to take a cross-section plane perpendicular to the Z axis through the A point;

[0093] The slice line segment determination module 250 is configured to calculate the intersection of the cross-section plane and all triangular meshes to obtain the slice line segments intersecting with the triangular meshes and the line segment endpoints;

[0094] The closed polygon determination module 300 is configured to sequentially connect the head and tail of the slice line segments of the intersecting triangular meshes to form a closed polygon;

[0095] The sampling point set acquisition module 350 is configured to segment the edges of the closed polygon by Y millimeters to obtain all segmented points and endpoints and the A point as a first set of sampling points;

[0096] The hole center point acquisition module 400 is configured to specify a clock direction, take the A point as a starting anchor extraction point, extract the sampling points in the first set of sampling points in pairs in sequence, and take all the sampling points as hole center points, with a straight line distance of L+△X millimeters;

[0097] The hole triangular mesh generation module 450 is configured to generate a hole and a triangular mesh space model thereof inside the 3D model according to the hole center point coordinates and vectors and hole parameters by using a mesh subdivision algorithm;

[0098] The three-dimensional data storage module 500 is configured to store the overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

[0099] Further, the embodiments of the present application further comprise:

[0100] The slice processing module 550 is configured to perform slice processing on the overall three-dimensional data and obtain slice image data:

[0101] The 3D printing device 8 is configured to import the slice image data into a 3D printing device for 3D exposure printing.

[0102] Figure 3A The method flowchart for generating a hole according to hole center point coordinates and vectors is provided for the embodiments of the present application. The steps in the figure correspond to Figure 1S450, as shown in the figure, step S450 further includes the following steps:

[0103] S452, obtaining the spatial coordinates of the hole center point;

[0104] S454, obtaining the normal vector of the triangular mesh plane where the hole center point is located and / or obtaining the angle bisector vector of the adjacent two normal vectors of the triangular mesh plane on the edge line where the hole center point is located;

[0105] S456, generating a hole and its triangular mesh spatial model from the hole center point to the inside of the surface of the 3D model by the hole center point and the normal vector and / or the hole center point and the angle bisector vector.

[0106] Specifically, when the hole center point is located inside the triangular mesh of the model, the hole generation position and direction on the 3D model can be determined by the normal vector of the triangular mesh plane where the hole center point is located and the spatial coordinates of the hole center point;

[0107] When the hole center point is located on the edge line of the triangular mesh of the model, the hole generation position and direction on the 3D model can be determined by the angle bisector vector of the adjacent two normal vectors of the triangular mesh plane on the edge line and the spatial coordinates of the hole center point;

[0108] In particular, when the hole center point is located on the end point of the edge line of the triangular mesh of the model, the hole generation position and direction on the 3D model can still be determined by the angle bisector vector of the adjacent two normal vectors of the triangular mesh plane on any edge line where the end point is located and the spatial coordinates of the hole center point; This is because the direction followed by the hole needs to point to the inside of the 3D model.

[0109] Figure 3B The figure is a device structure diagram for generating a hole according to the hole center point coordinates and vectors of the embodiments of the present application. Each module in the figure corresponds to Figure 2 S450 in the figure, the hole triangular mesh generation module further includes:

[0110] The hole center point coordinate acquisition module 452 is used to obtain the spatial coordinates of the hole center point;

[0111] The hole vector acquisition module 454 is used to obtain the normal vector of the triangular mesh plane where the hole center point is located and / or obtain the angle bisector vector of the adjacent two normal vectors of the triangular mesh plane on the edge line where the hole center point is located;

[0112] The hole triangular mesh generation module 456 is used to generate a hole and its triangular mesh spatial model from the hole center point to the inside of the surface of the 3D model by the hole center point and the normal vector and / or the hole center point and the angle bisector vector.

[0113] Figure 4AF is a schematic diagram for acquiring a first set of sampling points on a closed polygon according to the embodiment of the present application based on point A. As shown in the figure, Figure 4A A model 4 placed on the platform 40 is shown;

[0114] Figure 4B A point 43 is selected on a plane of the model 4, and correspondingly, the point 43 corresponds to a contour line 42 on the model 4.

[0115] Figure 4C A point 43 is selected on a plane of the model mesh 41 of the model 4.

[0116] Figure 4D A cross section plane of the contour line 42 passing through the point 43 is shown, and all the model meshes 41 are intersected to calculate intersecting slice line segments and end points 44 of the line segments.

[0117] Figure 4E The slice line segments 45 are connected in sequence to form a closed polygon, wherein the slice line segments have the end points 44. In particular, since the point 43 is inside a model mesh 41 in Figure 4C , the point 43 is on a middle line segment of the slice line segment 45 in the figure Figure 4E .

[0118] Figure 4F The sampling points of the closed polygon are segmented in Y millimeters, and all the segmented points 46 and the end points 44 and the point 43 are acquired as a first set of sampling points.

[0119] Figure 5A F is a schematic diagram for adding holes according to the embodiment of the present application based on equidistant hole center points. As shown in the figure, Figure 5A A point 43 is selected on a plane of the model mesh 41 of the model 4. Figure 4F , a counterclockwise direction is specified, and the point 43 is taken as a starting anchor extraction point to extract all the sampling points in the first set in sequence two by two to obtain sampling points with a straight line distance of L+△X millimeters, and all the sampling points are taken as hole center points 47. In the figure, the end points 44 and the segmented points 46 are all the sampling points in the first set.

[0120] Figure 5B Based on the hole center points 47 obtained in Figure 5A , the hole center points 47 are located on the contour line 42 of the model 4.

[0121] Figure 5CIt is shown that when the hole center point 47 is located inside the model triangular mesh 41, the plane normal vector j0 of the model triangular mesh 41 where the hole center point 46 is located can be obtained as the hole direction and the spatial coordinates of the hole center point 46 to determine the position and direction of the hole generation on the 3D model. Correspondingly, the segmented point 46 and the hole center point 47 in the figure are the same point.

[0122] Figure 5D It is shown that when the hole center point 47 is located on the edge of the model triangular mesh 41, the angle bisector vector j3 of the normal vectors j1 and j2 of the adjacent two model triangular meshes 41 on the edge and the spatial coordinates of the hole center point can be used to determine the position and direction of the hole generation on the 3D model. Correspondingly, the segmented point 46 and the hole center point 47 in the figure are the same point. In particular, the hole direction defined by the angle bisector vector j3 of the normal vectors j1 and j2 has an angle of a with the normal vectors j1 and j2.

[0123] Figure 5E It is shown that the hole 5 and its hole triangular mesh 50 are generated inside the model 4 using a mesh subdivision algorithm. Specifically, when generating the hole 5, the coordinates of the hole center point 47, the hole direction, and the hole parameters such as diameter and depth are needed to generate the hole and its triangular mesh spatial model constructed by splicing the triangular mesh 50; correspondingly, the shape of the hole and its triangular mesh spatial model includes: circular, or elliptical, or polygonal.

[0124] Figure 5F It is shown that the holes 5 are uniformly generated at equal distances on the contour line 42 of the model 4; specifically, the shape of the hole 5 is circular.

[0125] Figure 6A -B is a schematic diagram of adding contour holes to a dental model according to the embodiments of the present application. As shown in the figure, Figure 6A It is shown that a dental model 400 is often used in the medical industry, and the dental model 400 has a dental model groove 400.

[0126] Figure 6B It is shown that a contour batch hole method as shown in Figure 1 is used to add contour holes to the bottom of the dental model 400 at one time; in the figure, point A 43 is the starting point, and five holes 5 are added at equal distances on the contour line 42, where the center positions of the holes are the hole center points 47;

[0127] Specifically, in the 3D printing process under the prior art, the negative pressure of the resin tank bottom film when the dental mold groove 400 is printed will exist, so a hole needs to be added; usually, the dental mold 400 needs to be manually added with a hole one by one, and for the irregular curved surface of the dental mold 400, it is not easy to add a hole with uniform position and consistent height; the one-key addition of the equal-height hole is very convenient by using the equal-height batch punching method provided in the embodiment of the application.

[0128] In particular, in the actual printing process of the dental mold 400, there will also be an example of closing the dental mold groove 400 into a cavity, at this time, a plurality of holes need to be added at the position of the dental mold groove 400 close to the bottom plane uniformly, so as to facilitate the full discharge of the enclosed resin solution in the cavity structure after forming, at this time, the one-key addition of the equal-height hole is more convenient by using the equal-height batch punching method provided in the embodiment of the application.

[0129] Figure 7A The structure block diagram of the electronic device for realizing the equal-height batch punching method of the embodiment of the application is shown in the figure. As shown in the figure, the electronic device 7 takes a processor 71 as an example. As shown in the figure, the electronic device 7 includes a processor 71 and a storage unit 72; the storage unit 72 stores a computer program 70 or instructions executable by the processor 71, and the computer program 70 or instructions is executed by the processor 71, so that the processor 71 can execute steps S100-S500 as shown in Figure 1 , or execute steps S100-S550 as shown in Figure 1 .

[0130] The storage unit 72 is the third aspect of the application, which provides a kind of non-transient computer readable storage medium. Wherein, storage unit 72 stores the instruction executable by at least one processor 71, so that at least one processor 71 is executed to realize steps S100-S500 as shown in Figure 1 , or realize steps S100-S550 as shown in Figure 1 .

[0131] The storage unit 72 as a kind of non-transient computer readable storage medium, it can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to steps S100-S500 as shown in Figure 1 , or the program instructions / modules corresponding to steps S100-S550 as shown in Figure 1 . The processor 71 executes various functional applications and data processing of the server by running the non-transient computer program 70, instructions and modules stored in the storage unit 72, i.e. realizes the steps involving computer and processor in the above Figure 1 corresponding embodiment.

[0132] The storage unit 72 can include a program storage area that can store an operating system, application programs required for at least one function, and a data storage area that can store data created when the electronic device 7 is used, and the like. In addition, the storage unit 72 can include a high-speed random access memory module and can further include a non-transitory storage module such as at least one disk storage module, a flash memory device, or other non-transitory solid-state storage module. In some embodiments, the storage unit 72 can optionally include storage modules that are remotely disposed with respect to the processor 71, and these remote storage modules can be connected to the electronic device generated by the support structure through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0133] Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0134] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and / or object-oriented programming language, and / or in assembly / machine language. 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, memory modules, programmable logic devices (PLDs)) used to provide machine instructions and / or data to a programmable processor, 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 processor.

[0135] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the spirit of the present disclosure. For example, the steps recited in the present application can be executed in parallel, in series, or in a different order, without departing from the desired results of the technology disclosed in the present application, and the present application is not limited herein.

[0136] Figure 7BThe schematic diagram of the electronic device pre-processing and slicing of the 3D model. As shown in the figure, the user runs the 3D slicing software through the electronic device 7 to use the first aspect of the present application to perform the steps S100-S500, thereby adding holes to the 3D model in batches, and then performing the step S550 to slice the whole 3D data and obtain the slice image data.

[0137] Figure 8A The structure block diagram of the 3D printing device for implementing the method of the present application. As shown in the figure, a 3D printing device 8 includes a controller 81 and a memory 82; wherein the memory 82 stores a printing control program 80 or instructions executable by the controller 81, and the printing control program 80 or instructions is executed by the controller 81 to enable the controller 81 to perform the steps S600 in the method of the present application, thereby obtaining the whole printed part of the model with holes at the same height position; or perform the steps S100-S600 in the method of the present application, because the steps S100-S500 in the method of the present application can also be performed in the 3D printing device 8. Figure 1 Figure 1 Figure 1

[0138] Figure 8B The schematic diagram of the image data obtained by slicing after the implementation of the method of the present application is imported into the 3D printing device. As shown in the figure, the user uses the mobile storage device 9 to import the slice image data and / or printing parameters obtained by adding holes by the electronic device 7 into the 3D printing device 8 for 3D exposure printing, thereby obtaining the whole printed part of the model with holes at the same height position.

[0139] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.​​​

Claims

1. A method for batch drilling with equal height, characterized in that, The method comprises the following steps: S100, traversing all triangular meshes spliced to form a 3D model on the 3D model; S150, selecting an A point on the triangular mesh plane of the 3D model; S200, taking a cross section plane perpendicular to the Z axis through the A point; S250, calculating the intersection of the cross section plane and all triangular meshes to obtain intersecting slice segments and segment endpoints of the triangular meshes; S300, sequentially connecting the slice segments of the intersecting triangular meshes to form a closed polygon; S350, segmenting each edge of the closed polygon by Y millimeters to obtain all segmented points and endpoints and the A point as a first set of sampling points; S400, specifying a clock direction, taking the A point as a starting anchor, extracting all sampling points in the first set of sampling points in sequence two by two to extract sampling points with a straight line distance of L+△X millimeters, and taking all sampling points as hole center points; S450, generating a hole and a triangular mesh space model of the hole inside the 3D model according to the coordinates and vectors of the hole center points and hole parameters; S500, storing the overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

2. The method of claim 1, wherein, The step S450 further comprises the following steps: S452, obtaining the spatial coordinates of the hole center points; S454, obtaining a triangular mesh plane normal vector of the hole center points and / or obtaining an angle bisector vector of two adjacent triangular mesh plane normal vectors on the edge line of the hole center points; S456, generating a hole and a triangular mesh space model of the hole inside the 3D model from the surface to the inside according to the hole center points and the plane normal vector and / or the hole center points and the angle bisector vector.

3. The method of claim 1, wherein, The Y is a positive integer or a decimal number; the L is a positive integer or a decimal number; and the △X is an error value smaller than Y.

4. The method of claim 1, wherein, The clock direction includes a counterclockwise direction or a clockwise direction; and the number of the closed polygons is one or more.

5. The method of claim 1, wherein, The shape of the hole and the triangular mesh space model thereof includes a circle, an ellipse, or a polygon; and the hole parameters include a diameter and a depth.

6. The isometric batch hole drilling method of claim 1, wherein, The method further comprises the following steps: S550, performing slice processing on the overall three-dimensional data to obtain slice image data; S600, importing the slice image data into a 3D printing device for 3D exposure printing.

7. A step-and-repeat hole punching apparatus, characterized by, The method comprises: a model mesh traversal module for traversing all triangular meshes spliced to form a 3D model on the 3D model; a mesh plane point selection module for selecting an A point on the triangular mesh plane of the 3D model; a cross section plane determination module for taking a cross section plane perpendicular to the Z axis through the A point; a slice segment determination module for calculating the intersection of the cross section plane and all triangular meshes to obtain intersecting slice segments and segment endpoints of the triangular meshes; a closed polygon determination module for sequentially connecting the slice segments of the intersecting triangular meshes to form a closed polygon; a sampling point set acquisition module for segmenting each edge of the closed polygon by Y millimeters to obtain all segmented points and endpoints and the A point as a first set of sampling points; and a hole generation module for generating a hole and a triangular mesh space model of the hole inside the 3D model according to the coordinates and vectors of the hole center points and hole parameters. The hole center point acquisition module is configured to specify a clock direction, take the point A as a starting anchor extraction point, extract sampling points with a linear distance of L+△X millimeters from each other in the first set of sampling points, and take all the sampling points as hole center points. The hole triangle mesh generation module is configured to generate a hole and a triangle mesh space model of the hole inside the 3D model according to the hole center point coordinates and vectors and hole parameters. The three-dimensional data storage module is configured to store the overall three-dimensional data of the 3D model and the plurality of holes in a computer storage unit.

8. The isobaric batch hole punch of claim 7, wherein, The hole triangle mesh generation module further includes: The hole center point coordinate acquisition module is configured to acquire spatial coordinates of the hole center point. The hole vector acquisition module is configured to acquire a triangle mesh plane normal vector of the hole center point and / or an angle bisector vector of two adjacent triangle mesh plane normal vectors on an edge line on which the hole center point is located. The hole triangle mesh generation module is configured to generate a hole and a triangle mesh space model of the hole inside the 3D model from the hole center point and the plane normal vector and / or the hole center point and the angle bisector vector.

9. A non-transitory computer-readable storage medium, comprising: The non-transitory computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the isohypse batch hole punching method according to any one of claims 1 to 6.

10. An electronic device, comprising: It includes: At least one processor; and a storage unit connected in communication with the at least one processor; wherein the storage unit stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the isohypse batch hole punching method according to any one of claims 1 to 6.

11. A 3D printing device comprising a memory, a controller, and a computer program stored in the memory and executable on the controller, characterized in that, The controller executes the computer program to implement the steps of the isohypse batch hole punching method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Dental implantation guide plate and preparation method thereof

    CN109172011A

  • 3D printing-oriented triangular mesh hole segmentation method and system

    CN110544255A