Generation method of drainage hole, terminal and storage medium

文档序号:1359561 发布日期:2020-07-28 浏览:35次 中文

阅读说明:本技术 排溢孔的生成方法、终端及存储介质 (Generation method of drainage hole, terminal and storage medium ) 是由 陈冬灵 杨英保 吴刚 曹龙飞 于 2020-04-10 设计创作,主要内容包括:本发明公开了一种排溢孔的生成方法、终端及存储介质,所述方法包括:根据牙弓模型的包围盒的第一中心点、牙尖方向和第一预设偏移距离,获得第二中心点;以第二中心点为起点构建n条第一射线;将第一射线与牙弓模型的外壁面的交点作为第一交点;以第一交点为起点,沿外壁面在第一交点处的法线负方向构建第二射线;获取第二射线与牙弓模型内壁面交点中距第一交点最近的交点,作为第二交点;以第一预设半径,构建贯穿牙弓模型内壁面和外壁面的第一圆柱体;对牙弓模型与第一圆柱体作布尔运算差集处理,生成排溢孔。本发明解决了现有牙科三维设计软件中为牙弓模型生成的排溢孔大小形状是固定的,导致部分排溢孔不能起到排溢作用的问题。(The invention discloses a generation method of a drainage hole, a terminal and a storage medium, wherein the method comprises the following steps: obtaining a second central point according to a first central point of a bounding box of the dental arch model, the direction of a dental cusp and a first preset offset distance; constructing n first rays by taking the second central point as a starting point; taking the intersection point of the first ray and the outer wall surface of the dental arch model as a first intersection point; constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point; acquiring an intersection point which is closest to the first intersection point and is positioned between the second ray and the inner wall surface of the dental arch model as a second intersection point; constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model according to a first preset radius; and performing Boolean operation difference set processing on the dental arch model and the first cylinder to generate a drainage hole. The invention solves the problem that the size and the shape of the drainage holes generated for the dental arch model in the existing dental three-dimensional design software are fixed, so that part of the drainage holes can not play a drainage role.)

1. A method of forming a drain hole, comprising the steps of:

acquiring a first central point of a bounding box of the dental arch model and the direction of a dental cusp of the dental arch model;

the first central point is deviated by a first preset deviation distance along the negative direction of the cusp direction to obtain a second central point;

constructing at least one first ray intersected with the outer wall surface of the dental arch model by taking the second central point as a starting point, wherein a connecting line of the first central point and the second central point is vertical to the first ray;

acquiring an intersection point of the first ray and the outer wall surface of the dental arch model as a first intersection point;

constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point;

acquiring an intersection point which is closest to the first intersection point from intersection points of the second ray and the inner wall surface of the dental arch model as a second intersection point;

constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a first intersection point and a second intersection point are on the central axis of the first cylinder;

and performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder to generate a drainage hole on the dental arch model.

2. The method of generating a drainage hole of claim 1, wherein the step of constructing at least one first ray intersecting the outer wall surface of the dental arch model starting from the second center point comprises:

constructing n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 360 DEG/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

judging whether each detection ray intersects with the outer wall surface of the dental arch model;

if yes, setting the detection ray as a first ray;

if not, reconstructing 2n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 180 degrees/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

a detection ray intersecting the outer wall surface of the dental arch model is set as a first ray.

3. The method of generating a drainage hole of claim 2, wherein the step of generating a drainage hole on the arch model by performing a boolean operation difference set process on the arch model and the constructed first cylinder further comprises:

acquiring a model generation model matched with the dental arch model, and acquiring a third central point of a bounding box of the model generation model;

taking the third central point as a starting point, constructing m third rays intersected with the dental arch model, wherein the third rays are vertical to the direction of the dental cusp, the included angle between every two adjacent third rays is 360 degrees/m, and m is more than or equal to 4 and less than or equal to 40;

acquiring an intersection point of the third ray and the outer wall surface of the dental arch model as a third intersection point;

selecting a third intersection point with the minimum distance from the third central point as a positioning hole marking point;

acquiring an intersection point of a third ray of the positioning hole mark point and the inner wall surface of the dental arch model as a fourth intersection point;

constructing a second cylinder according to the positioning hole mark point, the third center point, the fourth intersection point and a second preset radius, wherein the positioning hole mark point is the circle center of the first end face of the second cylinder, and the positioning hole mark point, the fourth intersection point, the circle center of the second end face of the second cylinder and the third center point are positioned on the same straight line and are sequentially arranged at intervals;

the step of performing Boolean difference processing on the dental arch model and the constructed first cylinder to generate the drainage hole on the dental arch model comprises the following steps:

and respectively carrying out Boolean operation difference set processing on the dental arch model, the constructed first cylinder and the constructed second cylinder so as to correspondingly generate overflow holes and positioning holes on the dental arch model.

4. The method for generating a drainage hole according to any one of claims 1 to 3, wherein the step of constructing a first cylinder penetrating the inner wall surface and the outer wall surface of the dental arch model at a first preset radius, wherein the first intersection point and the second intersection point are on the central axis of the first cylinder further comprises the following steps:

acquiring a new instruction triggered by a user, wherein the new instruction comprises a new point selected by the user on the outer wall surface or the inner wall surface of the dental arch model;

constructing a fourth ray along the negative direction of the normal of the surface of the dental arch model at the newly added point by taking the newly added point as a starting point;

acquiring an intersection point of the fourth ray and the surface of the dental arch model, and taking an intersection point which is closest to the new adding point in the intersection points of the fourth ray and the surface of the dental arch model as a fifth intersection point;

and constructing a newly-added first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a newly-added point and a fifth intersection point are on a central axis of the newly-added first cylinder.

5. The method for generating drain hole according to any one of claims 1 to 3, wherein the step of constructing the first cylinder according to the first intersection point, the second predetermined offset distance and the first predetermined radius is followed by:

acquiring a deletion instruction triggered by a user, wherein the deletion instruction comprises a first cylinder selected by the user;

the first cylinder selected by the user is deleted.

6. The method for generating drain hole according to any one of claims 1 to 3, wherein the step of constructing the first cylinder according to the first intersection point, the second predetermined offset distance and the first predetermined radius is followed by:

acquiring a radius adjusting instruction triggered by a user, wherein the radius adjusting instruction comprises a first cylinder selected by the user and an adjusting radius input by the user;

and adjusting the radius of the first cylinder selected by the user to the adjustment radius input by the user.

7. The method for generating drain hole according to any one of claims 1 to 3, wherein the step of constructing the first cylinder according to the first intersection point, the second predetermined offset distance and the first predetermined radius is followed by:

acquiring a position adjusting instruction triggered by a user, wherein the position adjusting instruction comprises a first cylinder selected by the user and a position adjusting point selected by the user on the inner wall surface or the outer wall surface of the dental arch model;

constructing a fifth ray along the negative direction of the normal of the surface of the dental arch model at the position adjusting point by taking the position adjusting point as a starting point;

acquiring an intersection point of the fifth ray and the surface of the dental arch model, and taking an intersection point which is closest to the position adjusting point in the intersection point of the fifth ray and the surface of the dental arch model as a sixth intersection point;

constructing a position-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein the position adjusting point and a sixth intersection point are on a central axis of the position-adjusted first cylinder;

the first cylinder selected by the user is deleted.

8. The method for generating drain hole according to any one of claims 1 to 3, wherein the step of constructing the first cylinder according to the first intersection point, the second predetermined offset distance and the first predetermined radius is followed by:

acquiring a direction adjusting instruction triggered by a user, wherein the direction adjusting instruction comprises a first cylinder selected by the user and a direction adjusting point selected by the user on the outer wall surface of the dental arch model;

acquiring an intersection point of the central axis of the first cylinder and the inner wall surface of the dental arch model selected by the user as a seventh intersection point;

constructing a direction-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model according to a first preset radius, wherein a direction adjusting point and a seventh intersection point are on a central axis of the direction-adjusted first cylinder;

the first cylinder selected by the user is deleted.

9. A terminal, characterized in that the terminal comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of generating a drainage hole according to any one of claims 1 to 8.

10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of generating a spill orifice as claimed in any one of claims 1 to 8.

Technical Field

The invention relates to the field of computer aided design, in particular to a generation method of an overflow hole, a terminal and a computer-readable storage medium.

Background

In order to save printing materials, generally, when a dental arch model is designed, an open cavity is arranged at the bottom of the dental arch model, when the dental arch model with the open cavity arranged at the bottom is used for dental arch printing, the dental arch model is firstly printed from the bottom of the dental arch model, after the bottom of the dental arch model is contacted with a printing disc, the originally designed open cavity is sealed, a closed space is formed, the printing materials can be accumulated in the closed space to cause waste of the printing materials, and in order to solve the problem, a discharge overflow hole needs to be formed in the dental arch model to discharge the printing materials accumulated in the printing process. In the digital modeling process of the existing dental arch model, the size and the shape of the overflow holes constructed for the dental arch model are fixed, so that the overflow holes at the thicker outer wall part in the dental arch model cannot penetrate through the hollow part, the overflow holes in the dental arch printing process cannot play an overflow role, and the overall overflow effect is finally reduced.

Disclosure of Invention

The invention mainly aims to provide a generation method of drainage overflow holes, a terminal and a computer readable storage medium, and aims to solve the problem that in the digital modeling process of the existing dental arch model, the size and the shape of the constructed drainage overflow holes are fixed, so that part of the drainage overflow holes cannot play a drainage role in the dental arch printing process.

In order to achieve the above object, the present invention provides a method for generating an overflow hole, comprising the steps of:

acquiring a first central point of a bounding box of the dental arch model and the direction of a dental cusp of the dental arch model;

the first central point is deviated by a first preset deviation distance along the negative direction of the cusp direction to obtain a second central point;

constructing at least one first ray intersected with the outer wall surface of the dental arch model by taking the second central point as a starting point, wherein a connecting line of the first central point and the second central point is vertical to the first ray;

acquiring an intersection point of the first ray and the outer wall surface of the dental arch model as a first intersection point;

constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point;

acquiring an intersection point which is closest to the first intersection point from intersection points of the second ray and the inner wall surface of the dental arch model as a second intersection point;

constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a first intersection point and a second intersection point are on the central axis of the first cylinder;

and performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder to generate a drainage hole on the dental arch model.

Optionally, the step of constructing at least one first ray intersecting the outer wall surface of the dental arch model with the second center point as a starting point comprises:

constructing n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 360 DEG/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

judging whether each detection ray intersects with the outer wall surface of the dental arch model;

if yes, setting the detection ray as a first ray;

if not, reconstructing 2n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 180 degrees/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

a detection ray intersecting the outer wall surface of the dental arch model is set as a first ray.

Optionally, before the step of performing boolean operation difference processing on the dental arch model and the constructed first cylinder to generate the drainage hole on the dental arch model, the method further includes:

acquiring a model generation model matched with the dental arch model, and acquiring a third central point of a bounding box of the model generation model;

taking the third central point as a starting point, constructing m third rays intersected with the dental arch model, wherein the third rays are vertical to the direction of the dental cusp, the included angle between every two adjacent third rays is 360 degrees/m, and m is more than or equal to 4 and less than or equal to 40;

acquiring an intersection point of the third ray and the outer wall surface of the dental arch model as a third intersection point;

selecting a third intersection point with the minimum distance from the third central point as a positioning hole marking point;

acquiring an intersection point of a third ray of the positioning hole mark point and the inner wall surface of the dental arch model as a fourth intersection point;

constructing a second cylinder according to the positioning hole mark point, the third center point, the fourth intersection point and a second preset radius, wherein the positioning hole mark point is the circle center of the first end face of the second cylinder, and the positioning hole mark point, the fourth intersection point, the circle center of the second end face of the second cylinder and the third center point are positioned on the same straight line and are sequentially arranged at intervals;

the step of performing Boolean difference processing on the dental arch model and the constructed first cylinder to generate the drainage hole on the dental arch model comprises the following steps:

and respectively carrying out Boolean operation difference set processing on the dental arch model, the constructed first cylinder and the constructed second cylinder so as to correspondingly generate overflow holes and positioning holes on the dental arch model.

Optionally, the constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model at a first preset radius, wherein the step of the first intersection point and the second intersection point on the central axis of the first cylinder further includes:

acquiring a new instruction triggered by a user, wherein the new instruction comprises a new point selected by the user on the outer wall surface or the inner wall surface of the dental arch model;

constructing a fourth ray along the negative direction of the normal of the surface of the dental arch model at the newly added point by taking the newly added point as a starting point;

acquiring an intersection point of the fourth ray and the surface of the dental arch model, and taking an intersection point which is closest to the new adding point in the intersection points of the fourth ray and the surface of the dental arch model as a fifth intersection point;

and constructing a newly-added first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a newly-added point and a fifth intersection point are on a central axis of the newly-added first cylinder.

Optionally, the step of constructing the first cylinder according to the first intersection point, the second preset offset distance, and the first preset radius is followed by:

acquiring a deletion instruction triggered by a user, wherein the deletion instruction comprises a first cylinder selected by the user;

the first cylinder selected by the user is deleted.

Optionally, the step of constructing the first cylinder according to the first intersection point, the second preset offset distance, and the first preset radius is followed by:

acquiring a radius adjusting instruction triggered by a user, wherein the radius adjusting instruction comprises a first cylinder selected by the user and an adjusting radius input by the user;

and adjusting the radius of the first cylinder selected by the user to the adjustment radius input by the user.

Optionally, the step of constructing the first cylinder according to the first intersection point, the second preset offset distance, and the first preset radius is followed by:

acquiring a position adjusting instruction triggered by a user, wherein the position adjusting instruction comprises a first cylinder selected by the user and a position adjusting point selected by the user on the inner wall surface or the outer wall surface of the dental arch model;

constructing a fifth ray along the negative direction of the normal of the surface of the dental arch model at the position adjusting point by taking the position adjusting point as a starting point;

acquiring an intersection point of the fifth ray and the surface of the dental arch model, and taking an intersection point which is closest to the position adjusting point in the intersection point of the fifth ray and the surface of the dental arch model as a sixth intersection point;

constructing a position-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein the position adjusting point and a sixth intersection point are on a central axis of the position-adjusted first cylinder;

the first cylinder selected by the user is deleted.

Optionally, the step of constructing the first cylinder according to the first intersection point, the second preset offset distance, and the first preset radius is followed by:

acquiring a direction adjusting instruction triggered by a user, wherein the direction adjusting instruction comprises a first cylinder selected by the user and a direction adjusting point selected by the user on the outer wall surface of the dental arch model;

acquiring an intersection point of the central axis of the first cylinder and the inner wall surface of the dental arch model selected by the user as a seventh intersection point;

constructing a direction-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model according to a first preset radius, wherein a direction adjusting point and a seventh intersection point are on a central axis of the direction-adjusted first cylinder;

the first cylinder selected by the user is deleted.

To achieve the above object, the present invention also provides a terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for generating an overflow aperture as described above.

To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for generating a spill orifice as described above.

The invention provides a generation method of an overflow hole, a terminal and a computer readable storage medium, which are characterized in that a first central point of a bounding box of a dental arch model and the direction of a dental cusp of the dental arch model are obtained; the first central point is deviated by a first preset deviation distance along the negative direction of the cusp direction to obtain a second central point; constructing n first rays by taking the second central point as a starting point, wherein a connecting line of the first central point and the second central point is vertical to the first rays, an included angle between two adjacent first rays is 360 DEG/n, and n is more than or equal to 10 and less than or equal to 40; acquiring an intersection point of a first ray and an outer wall surface of the dental arch model as a first intersection point, wherein the outer wall surface comprises a labial side surface, a lingual side surface and a buccal side surface of the dental arch model; constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point; acquiring an intersection point which is closest to the first intersection point in intersection points of the second ray and the dental arch model as a second intersection point; constructing a first cylinder according to the first intersection point, the second intersection point, a second preset offset distance and a first preset radius, wherein the circle center of the first end face of the first cylinder, the first intersection point, the second intersection point and the circle center of the second end face of the first cylinder are positioned on the same straight line and are sequentially arranged at intervals, and the distance between the circle center of the first end face of the first cylinder and the first intersection point and the distance between the circle center of the second end face of the second cylinder and the second intersection point are both the second preset offset distance; and performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder to generate a drainage hole on the dental arch model. Because the thickness of the non-hollow part at different positions in the dental arch model is different, and in the current three-dimensional software design, the axial length of each generated overflow hole is the same, and at the position where the thickness of the non-hollow part is thicker, the generated overflow holes may not penetrate through the non-hollow part, so that the overflow holes at the position cannot play the role of overflow, and the final overflow effect is influenced, while the first intersection point in the process of generating the overflow holes is positioned on the side surface, away from the hollow part, of the non-hollow part where the overflow holes are positioned, the second intersection point is positioned on the side surface, contacting with the hollow part, of the non-hollow part where the overflow holes are positioned, namely the connecting line length of the first intersection point and the second intersection point is just equal to the thickness of the non-hollow part at the position, and the first intersection point and the second intersection point are positioned on the axis of the generated cylinder, so that the generated cylinder definitely penetrates through the non-hollow part at the position, the finally generated overflow holes certainly penetrate through the non-hollow part where the overflow holes are located, so that the axial length of the overflow holes generated by the scheme is not fixed and is determined according to the thickness of the non-hollow part where the overflow holes are located, and the generated overflow holes can penetrate through the non-hollow part where the overflow holes are located, so that the problem that the overflow effect is reduced in the process of printing the dental arch model due to the fact that the overflow holes which cannot penetrate through the non-hollow part are generated on the dental arch model is solved.

Drawings

FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart illustrating a method for forming a drain hole according to a first embodiment of the present invention;

FIG. 3 is a detailed flowchart of step S30 in the second embodiment of the method for generating drain holes according to the present invention;

FIG. 4 is a schematic flow chart illustrating a method for forming drain holes according to a third embodiment of the present invention;

FIG. 5 is a bottom view of the dental arch model with the model insert installed in accordance with the present invention;

FIG. 6 is an axial view of an arch model with an installed model of the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal provided in various embodiments of the present invention. The terminal comprises a communication module 01, a memory 02, a processor 03 and the like. Those skilled in the art will appreciate that the terminal shown in fig. 1 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components. The processor 03 is connected to the memory 02 and the communication module 01, respectively, and the memory 02 stores a computer program, which is executed by the processor 03 at the same time.

The communication module 01 may be connected to an external device through a network. The communication module 01 may receive data sent by an external device, and may also send data, instructions, and information to the external device, where the external device may be an electronic device such as a mobile phone, a tablet computer, a notebook computer, and a desktop computer.

The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (construct the first ray) required for at least one function, and the like; the storage data area may store data or information created according to the use of the terminal, or the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The processor 03, which is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02, thereby integrally monitoring the terminal. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03.

Although not shown in fig. 1, the terminal may further include a circuit control module, where the circuit control module is used for being connected to a mains supply to implement power control and ensure normal operation of other components.

Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

Various embodiments of the method of the present invention are presented in terms of the above-described hardware architecture.

Referring to fig. 2, in a first embodiment of the method for generating the drain hole of the present invention, the method for generating the drain hole includes the steps of:

step S10, acquiring a first central point of a bounding box of the dental arch model and the direction of a dental cusp of the dental arch model;

in the scheme, the dental arch model can be a three-dimensional grid model, a three-dimensional shell model, a three-dimensional solid model and the like, and when the dental arch model is the three-dimensional grid model, the grid surface patch can be a triangular grid surface patch or a quadrilateral grid surface patch. The dental arch model can be an upper jaw dental arch model or a lower jaw dental arch model, and the tip direction of the dental arch model can be acquired by the terminal according to the dental arch model input or constructed by the user, namely the occlusion direction of teeth. Referring to fig. 5 and 6, the printed dental arch includes two oppositely disposed side walls 100 and a connecting wall 200 connecting the two side walls, wherein the two side walls 100 and the connecting wall 200 enclose a cavity 300 having an opening at the bottom of the dental arch, and the opening direction is a negative direction of the cusp direction. In the present invention, the inner wall surface of the dental arch model corresponds to the surface of the printed dental arch forming the cavity having the opening, and the outer wall surface of the dental arch model is the surface of the side wall or the connecting wall opposed to the inner wall surface.

Bounding box is an algorithm for solving the optimal bounding space of a discrete point set, and the basic idea is to approximately replace complex geometric objects with a slightly larger and characteristically simple geometry (called bounding box). The bounding boxes generated for the arch model may be either AABB bounding boxes (Axis-aligned bounding boxes) or OBB bounding boxes (Oriented bounding boxes). After the bounding box is generated for the arch model, a center point of the bounding box, referred to as a first center point, may be obtained.

It should be noted that the terminal may be a desktop computer, a tablet computer, or a notebook computer.

Step S20, the first central point shifts by a first preset shift distance along the negative direction of the cusp direction to obtain a second central point;

after the terminal acquires the first central point of the bounding box, the first central point is deviated by a first preset deviation distance along the negative direction of the cusp direction to obtain a second central point, wherein the first preset deviation distance is 4-6 mm, and the scheme is preferably 5 mm.

Step S30, constructing at least one first ray intersected with the outer wall surface of the dental arch model by taking the second central point as a starting point, wherein the connecting line of the first central point and the second central point is vertical to the first ray;

constructing n first rays by taking the second central point as a starting point, wherein a connecting line of the first central point and the second central point is vertical to the first rays, an included angle between two adjacent first rays is 360 DEG/n, and n is more than or equal to 10 and less than or equal to 40;

the terminal will construct at least one first ray with the second center point as a starting point, and a connection line of the first center point and the second center point is perpendicular to each constructed first ray, that is, the connection line of the first center point and the second center point is perpendicular to the constructed first rays.

Because the number of constructed rays is too small, the first rays which are possibly constructed do not intersect with the outer wall surface of the dental arch model, in order to ensure that the points of intersection of the constructed first rays and the outer wall surface of the dental arch model can be uniformly distributed, the terminal can construct n first rays by taking the second central point as a starting point, wherein the connecting line of the first central point and the second central point is vertical to the first rays, the included angle between two adjacent first rays is 360 degrees/n, n is more than or equal to 10 and less than or equal to 40, and the value of n in the scheme is preferably 20.

Step S40, acquiring an intersection point of the first ray and the outer wall surface of the dental arch model as a first intersection point;

if the second central point is positioned in the dental arch model, all the n first rays created by the terminal may intersect with the dental arch model, if the second central point is positioned outside the dental arch model, part of the first rays may intersect with the dental arch model, and after the terminal creates at least one first ray, an intersection point of the first ray and the outer wall surface of the dental arch model is obtained and is called a first intersection point.

Step S50, constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point;

after the first intersection point is obtained, the normal negative direction of the outer wall surface at the first intersection point is obtained, and then a second ray is constructed in the normal negative direction. When the dental arch model is a three-dimensional mesh model, the inner wall surface and the outer wall surface of the dental arch model are composed of a plurality of dental arch mesh surface slices. And acquiring the dental arch mesh surface patch where the first intersection point is located, and then constructing a second ray along the negative direction of the normal of the dental arch mesh surface patch where the first intersection point is located by taking the first intersection point as a starting point. The negative direction of the normal line of the dental arch mesh surface is a direction perpendicular to the direction in which the dental arch mesh surface points to the inside surrounded by the mesh surface of the dental arch model, and the positive direction of the normal line of the dental arch mesh surface is a direction perpendicular to the direction in which the dental arch mesh surface deviates from the inside surrounded by the mesh surface of the dental arch model.

Step S60, obtaining the intersection point which is the closest to the first intersection point from the intersection points of the second ray and the inner wall surface of the dental arch model as a second intersection point;

the intersection of the second ray with the arch model may present a plurality of intersection points that do not include the origin of the second ray, i.e., do not include the first intersection point. The terminal acquires an intersection point, which is closest to the first intersection point, among the intersection points of the second ray and the dental arch model, and the intersection point is called a second intersection point.

Step S70, constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by a first preset radius, wherein a first intersection point and a second intersection point are on the central axis of the first cylinder;

after the terminal acquires the first intersection point and the second intersection point, a first cylinder with a first preset radius as a radius is constructed, the first cylinder penetrates through the outer wall surface and the inner wall surface, and the first intersection point and the second intersection point are located on the central axis of the first cylinder. In order to prevent the overflow holes finally formed by the overlong constructed first cylinder from influencing the structural stability and the mechanical property of the dental arch model, a second preset offset distance can be preset, and the first cylinder is constructed by the terminal according to a first intersection point, a second intersection point, the second preset offset distance and a first preset radius, wherein the circle center of a first end face of the first cylinder, the first intersection point, the second intersection point and the circle center of a second end face of the first cylinder are positioned on the same straight line and are sequentially arranged at intervals, and the distance between the circle center of the first end face of the first cylinder and the first intersection point and the distance between the circle center of the second end face of the second cylinder and the second intersection point are the second preset offset distance. The second preset offset distance is 2-4 mm, and in the embodiment, the second preset offset distance is preferably 3 mmm.

The specific process of constructing the first cylinder may be: the first intersection point deviates from the second intersection point by a second preset deviation distance along the direction of the connecting line of the first intersection point and the second intersection point, and the circle center of the first end face of the first cylinder is obtained; the second intersection point deviates from the first intersection point by a second preset deviation distance along the direction of the connecting line of the first intersection point and the second intersection point, and the circle center of the second end face of the first cylinder is obtained; and then constructing a first cylinder by using the circle center of the first end surface, the circle center of the second end surface and a preset radius.

The specific process of constructing the first cylinder may also be: the first intersection point is used as the circle center of the first end face of the initial first cylinder, the second intersection point is used as the circle center of the second end face of the initial first cylinder, then the initial first cylinder is constructed by the first intersection point, the second intersection point and the preset radius, then the first end face of the initial first cylinder is stretched in the direction of deviating from the second end face along the axis by the second preset offset distance, the second end face of the initial first cylinder is stretched in the direction of deviating from the first end face along the axis by the second preset offset distance, and the first cylinder is obtained.

Step S80, performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder to generate a drainage hole on the dental arch model;

after the terminal constructs the first cylinder on the dental arch model, the first cylinder is subjected to Boolean operation difference set processing on the dental arch model and the constructed first cylinder, and therefore the overflow discharge hole is formed in the dental arch model.

The embodiment is realized by acquiring a first central point of a bounding box of the dental arch model and the direction of a tooth tip of the dental arch model; the first central point is deviated by a first preset deviation distance along the negative direction of the cusp direction to obtain a second central point; constructing at least one first ray intersected with the outer wall surface of the dental arch model by taking the second central point as a starting point, wherein a connecting line of the first central point and the second central point is vertical to the first ray; acquiring an intersection point of the first ray and the outer wall surface of the dental arch model as a first intersection point; constructing a second ray along the negative direction of the normal of the outer wall surface at the first intersection point by taking the first intersection point as a starting point; acquiring an intersection point which is closest to the first intersection point from intersection points of the second ray and the inner wall surface of the dental arch model as a second intersection point; constructing a first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a first intersection point and a second intersection point are on the central axis of the first cylinder; and performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder to generate a drainage hole on the dental arch model. Because the thickness of the non-hollow part at different positions in the dental arch model is different, and in the current three-dimensional software design, the axial length of each generated overflow hole is the same, and at the position where the thickness of the non-hollow part is thicker, the generated overflow holes may not penetrate through the non-hollow part, so that the overflow holes at the position cannot play the role of overflow, and the final overflow effect is influenced, while the first intersection point in the process of generating the overflow holes is positioned on the side, away from the hollow part, of the non-hollow part where the overflow holes are positioned, and the second intersection point is positioned on the side, contacting the hollow part, of the non-hollow part where the overflow holes are positioned, namely the connecting line length of the first intersection point and the second intersection point is just equal to the thickness of the non-hollow part at the position, and the first intersection point and the second intersection point are positioned on the axis of the generated first cylinder, so that the generated first cylinder definitely penetrates through the non-hollow part at the position, the finally generated overflow holes certainly penetrate through the non-hollow part where the overflow holes are located, so that the axial length of the overflow holes generated by the scheme is not fixed and is determined according to the thickness of the non-hollow part where the overflow holes are located, and the generated overflow holes can penetrate through the non-hollow part where the overflow holes are located, so that the problem that the overflow effect is reduced in the process of printing the dental arch model due to the fact that the overflow holes which cannot penetrate through the non-hollow part are generated on the dental arch model is solved.

Further, referring to fig. 3, fig. 3 is a diagram illustrating a second embodiment of the method for generating an overflow hole according to the first embodiment of the present application, in which step S30 includes:

step S31, constructing n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 360 DEG/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

step S32, judging whether each detection ray intersects with the outer wall surface of the dental arch model; if yes, go to step S33; if not, go to step S34;

step S33, setting the detection ray as a first ray;

step S34, reconstructing 2n detection rays by taking the second central point as a starting point, wherein the included angle between two adjacent detection rays is 180 degrees/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays;

in step S35, a detection ray that intersects the outer wall surface of the dental arch model is set as a first ray.

Because the constructed arch model may have different forms, the first central point of the bounding box of the arch model may be located in the arch model or located outside the arch model, and if the first central point is located outside the arch model, a partial number of the constructed first rays may not intersect with the arch model, which may result in a reduction in the number of drain holes finally generated on the arch model. In order to avoid the problem, n detection rays are constructed firstly, wherein the included angle between two adjacent detection rays is 360 degrees/n, n is more than or equal to 10 and less than or equal to 40, and the connecting line of the first central point and the second central point is vertical to the detection rays; then judging whether each detection ray intersects with the dental arch model or not, and if the n detection rays intersect with the dental arch model, taking each detection ray as a first ray; if the n detection rays do not intersect with the dental arch model, doubling the construction number of the detection rays, namely reconstructing 2n detection rays by taking the second central point as a starting point, wherein the connecting line of the first central point and the second central point is vertical to the detection rays, the included angle between two adjacent first rays is 180 degrees/n, n is more than or equal to 10 and less than or equal to 40, and finally setting the detection rays intersecting with the outer wall surface of the dental arch model as the first rays.

The embodiment determines the form of the dental arch model by judging the intersection condition of the detection rays and the dental arch model, determines whether the number of constructed detection rays needs to be increased according to the form, and ensures that the number of points of intersection of the rays and the outer wall surface of the dental arch model is enough, namely the number of finally formed drainage holes is enough.

Further, referring to fig. 4, fig. 4 is a diagram illustrating a third embodiment of the method for generating an overflow hole according to the foregoing embodiment of the method for generating an overflow hole of the present application, and in this embodiment, step S80 is preceded by:

step S90, obtaining a model matched with the dental arch model and obtaining a third central point of a bounding box of the model;

step S100, constructing m third rays by taking a third central point as a starting point, wherein the third rays are vertical to the direction of the tooth cusp, the included angle between two adjacent third rays is 360 degrees/m, and m is more than or equal to 10 and less than or equal to 40;

step S110, acquiring an intersection point of a third ray and the outer wall surface of the dental arch model as a third intersection point;

step S120, selecting a third intersection point with the minimum distance from the third central point as a positioning hole mark point;

step S130, acquiring an intersection point of a third ray of the positioning hole mark point and the inner wall surface of the dental arch model as a fourth intersection point;

step S140, constructing a second cylinder according to the positioning hole mark point, the third center point, the fourth intersection point and a second preset radius, wherein the positioning hole mark point is the circle center of the first end surface of the second cylinder, and the positioning hole mark point, the fourth intersection point, the circle center of the second end surface of the second cylinder and the third center point are positioned on the same straight line and are sequentially arranged at intervals;

in the present embodiment, referring to fig. 5 and 6, after an arch printed from an arch model and a denture 500 printed from an analogue model matching the arch model, the denture 500 is attached to the arch through an attachment hole 400 in the arch, but in order to secure the attachment of the denture 500 in place, positioning holes must be provided in the designed arch model and the analogue model matching the arch model by providing the arch and the denture 500 with the positioning holes. In the design process, before the positioning holes are constructed, a generation model matched with the dental arch model is virtually installed at the corresponding position of the dental arch model. The terminal generates a bounding box for the generative model, the bounding box can be an AABB bounding box (Axis-aligned bounding box) or an OBB bounding box (Oriented bounding box), and then the terminal obtains the center of the bounding box of the generative model, which is called the third center point.

The terminal takes the third central point as a starting point to construct m third rays, each third ray is perpendicular to the direction of the dental cusp, namely, the constructed m third rays are positioned on the same plane, the third central point is positioned on the plane, the plane is perpendicular to the direction of the dental cusp, the included angle between every two adjacent third rays is 360 degrees/m, m can be the same as n or different from n, and the value range of m is 10-40. The value of m in this embodiment is preferably 20.

m intersection points exist when the m third rays intersect with the outer wall surface of the dental arch model. And the terminal acquires the intersection point of each third ray and the outer wall surface of the dental arch model as a third intersection point.

After determining a third intersection point on each third ray, the terminal acquires the distance between each third intersection point and a third central point, then selects the third intersection point with the minimum distance from the third central point as a positioning hole marking point, then acquires the intersection point of the third ray where the positioning hole marking point is located and the inner wall surface of the dental arch model as a fourth intersection point, the fourth intersection point is certainly located on the surface of the model contacted with the dental arch model, and finally constructs a second cylinder according to the positioning hole marking point, the third central point, the fourth intersection point and a second preset radius preset by a user, wherein the positioning hole marking point is the center of a first end face of the second cylinder, the positioning hole marking point, the fourth intersection point, the center of a second end face of the second cylinder and the third central point are located on the same straight line and are sequentially arranged at intervals, and the center of the second end face of the second cylinder is located at any position between the fourth intersection point and the third central point, the second end face of the second cylinder is located in the model. In this embodiment, it is preferable that a distance between the center of the second end surface of the second cylinder and the third center point is half of a distance between the center of the second end surface of the second cylinder and the fourth intersection point.

The step S80 includes:

and step S81, respectively performing Boolean operation difference set processing on the dental arch model and the constructed first cylinder and the constructed second cylinder so as to correspondingly generate overflow holes and positioning holes on the dental arch model.

After the first cylinder and the second cylinder are constructed, Boolean operation difference set processing is carried out on the dental arch model and the constructed first cylinder, so that a drainage hole is formed in the dental arch model, and meanwhile, Boolean operation difference set processing is carried out on the dental arch model and the constructed second cylinder, so that a positioning hole is formed in the dental arch model.

It should be noted that the terminal also performs boolean operation difference processing on the model and the second cylinder, so as to generate a positioning hole on the model.

In the embodiment, the positioning holes are formed in the dental arch model and the model assembled with the dental arch model, so that after the dental arch with the positioning holes and the model with the positioning holes are printed by 3D printing, whether the model is completely assembled in the dental arch can be clearly and visually observed through the positioning holes.

Further, a fourth embodiment of the method for generating a drain hole of the present application is provided according to the foregoing embodiment of the method for generating a drain hole of the present application, and in this embodiment, after step S70, the method further includes:

step S701, acquiring a new instruction triggered by a user, wherein the new instruction comprises a new point selected by the user on the outer wall surface or the inner wall surface of the dental arch model;

step S702, constructing a fourth ray along the negative direction of the normal of the surface of the dental arch model at the newly added point by taking the newly added point as a starting point;

step S703, acquiring an intersection point of the fourth ray and the surface of the dental arch model, and taking an intersection point which is closest to the new adding point in the intersection points of the fourth ray and the surface of the dental arch model as a fifth intersection point;

step S704, constructing a newly added first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein a newly added point and a fifth intersection point are on a central axis of the newly added first cylinder.

In this embodiment, after the terminal automatically constructs the first cylinder on the dental arch model in step S70, the user may feel that some positions on the dental arch model where the first cylinder is not constructed need to be provided with the drainage holes, and the user may select a new point on the outer wall surface or the inner wall surface of the dental arch model where the first cylinder needs to be generated by clicking with a mouse or a stylus connected to the terminal in a paired manner, and then trigger a new instruction. And after the terminal acquires a new instruction triggered by a user, a fourth ray is constructed along the normal negative direction of the surface of the dental arch model at the new point by taking the new point as a starting point, and if the dental arch model is a three-dimensional grid model, a fourth ray is constructed along the normal negative direction of the dental arch grid surface patch at which the new point is located. There may be a plurality of intersections where the fourth ray will intersect the arch model surface, which intersection does not include the origin of the fourth ray, i.e., does not include the newly added point. The terminal acquires an intersection point which is closest to the new adding point and is called a fifth intersection point from the intersection points of the fourth ray and the surface of the dental arch model. And finally, after the terminal acquires the fifth intersection point, constructing a newly-added first cylinder taking the first preset radius as the radius, wherein the newly-added first cylinder penetrates through the outer wall surface and the inner wall surface, and the newly-added point and the fifth intersection point are on the central axis of the newly-added first cylinder. In order to prevent the finally formed overflow holes due to the overlong newly-added first cylinder from affecting the structural stability and the mechanical property of the dental arch model, a second preset offset distance can be preset, and the terminal automatically newly adds the first cylinder at the newly-added point according to the newly-added point, the fifth intersection point and the second preset offset distance as well as the first preset radius, wherein the circle center of the first end face of the newly-added first cylinder, the newly-added point, the fifth intersection point and the circle center of the second end face of the newly-added first cylinder are positioned on the same straight line and are sequentially arranged at intervals, and the distance between the circle center of the first end face of the newly-added first cylinder and the distance between the circle center of the second end face of the newly-added first cylinder and the distance between the fifth intersection point and the circle center of the second end face of the. The second preset offset distance is 2-4 mm, and in the embodiment, the second preset offset distance is preferably 3 mmm. The specific process of constructing the newly added first cylinder is the same as the process of constructing the first cylinder described in the first embodiment, and is not described herein again.

It should be noted that, after a user adds a first cylinder, the newly added first cylinder is found to not meet the requirements of the user, the user may delete the newly added first cylinder, or trigger a retraction operation, and the terminal retracts the dental arch model to the state of the dental arch model before the new addition.

In the embodiment, the first cylinder is newly added at any position selected by the user on the outer wall surface or the inner wall surface of the dental arch model by responding to the newly added instruction, so that the generated overflow hole better meets the requirements of the user.

Further, a fifth embodiment of the method for generating a drain hole of the present application is provided according to the foregoing embodiment of the method for generating a drain hole of the present application, and in this embodiment, after step S70, the method further includes:

step S705, a deleting instruction triggered by a user is obtained, wherein the deleting instruction comprises a first cylinder selected by the user;

in step S706, the first cylinder selected by the user is deleted.

In this embodiment, after the terminal automatically constructs the first cylinders on the dental arch model in step S70, the user may feel that the number of the constructed first cylinders is too large, and some positions do not need to discharge the overflow holes, and the user may select the first cylinder corresponding to the position where the overflow holes do not need to be discharged by clicking with a mouse or a stylus coupled to the terminal, or by framing with a mouse or a stylus, and then trigger a delete instruction, and after receiving the delete instruction, the terminal deletes the first cylinder selected by the user.

The present embodiment eliminates the problem of poor structural stability of the dental arch by creating drainage holes at unnecessary positions on the dental arch model by deleting the first cylinder selected by the user in response to the deletion instruction.

Further, a sixth embodiment of the method for generating a drain hole of the present application is provided according to the foregoing embodiment of the method for generating a drain hole of the present application, and in this embodiment, after step S70, the method further includes:

step S707, acquiring a radius adjusting instruction triggered by a user, wherein the radius adjusting instruction comprises a first cylinder selected by the user and an adjusting radius input by the user;

in step S708, the radius of the first cylinder selected by the user is adjusted to the adjustment radius input by the user.

In this embodiment, after the terminal automatically constructs the first cylinder on the dental arch model in step S70, the user may feel that the radius of the first cylinder constructed at some position on the dental arch model is too large or too small, and the drainage effect of the drainage hole generated thereby may be reduced or the structural stability of the position area may be affected. Therefore, a user can select a first cylinder needing to adjust the radius by clicking with a mouse or a touch pen connected with the terminal in a matched mode, or selecting with the mouse or the touch pen, the radius is input and adjusted, then a radius adjusting instruction is triggered, and after the radius adjusting instruction is received by the terminal, the radius of the cylinder selected by the user can be adjusted to the radius input by the user.

It should be noted that, when the user finds that the radius of any one of the first cylinders has not reached the user's requirement after performing the radius adjustment, the user may perform the radius adjustment again on the radius-adjusted first cylinder or trigger a retraction operation, and the terminal retracts the dental arch model to the dental arch model state before the radius adjustment.

The radius of the first cylinder selected by the user is adjusted by responding to the radius adjusting instruction, so that the generated overflow hole can obtain the optimal overflow effect without reducing the structural stability of the area.

Further, a seventh embodiment of the method for generating a drain hole of the present application is provided according to the foregoing embodiment of the method for generating a drain hole of the present application, and in this embodiment, after step S70, the method further includes:

step S709, acquiring a position adjusting instruction triggered by a user, wherein the position adjusting instruction comprises a first cylinder selected by the user and a position adjusting point selected by the user on the inner wall surface or the outer wall surface of the dental arch model;

step S710, constructing a fifth ray along the negative direction of the normal of the surface of the dental arch model at the position adjusting point by taking the position adjusting point as a starting point;

step S711, acquiring an intersection point of the fifth ray and the dental arch model surface, and taking an intersection point which is closest to the position adjusting point in the intersection point of the fifth ray and the dental arch model surface as a sixth intersection point;

step S712, constructing a position-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model with a first preset radius, wherein the position adjustment point and the sixth intersection point are on the central axis of the position-adjusted first cylinder;

in step S713, the first cylinder selected by the user is deleted.

In this embodiment, after the terminal automatically constructs the first cylinder on the dental arch model in step S70, the user may feel that some positions of the dental arch model for constructing the first cylinder need to be adjusted, the user may select the first cylinder needing to be adjusted by clicking with a mouse or a stylus connected in a paired manner with the terminal, or by framing with a mouse or a stylus, and then the user may select a position adjustment point needing to be adjusted on an outer wall surface or an inner wall surface of the dental arch model by clicking with a mouse or a stylus connected in a paired manner with the terminal, and then trigger the position adjustment instruction. And after the terminal acquires a position adjusting instruction triggered by a user, a fifth ray is constructed along the negative direction of the normal of the surface of the dental arch model at the position adjusting point by taking the position adjusting point as a starting point, and when the dental arch model is a three-dimensional grid model, a fifth ray is constructed along the negative direction of the normal of the dental arch grid surface patch at the position adjusting point. There may be a plurality of intersection points where the fifth ray intersects the dental arch model surface, which intersection points do not include the origin of the fifth ray, i.e., the position adjustment point. The terminal acquires an intersection point closest to the position adjustment point among the intersection points of the fifth ray and the surface of the dental arch model, which is called a sixth intersection point. And finally, after the terminal acquires the sixth intersection point, constructing a position-adjusted first cylinder taking the first preset radius as the radius, wherein the position-adjusted first cylinder penetrates through the outer wall surface and the inner wall surface, and the position adjusting point and the sixth intersection point are on the central axis of the position-adjusted first cylinder. In order to prevent the overflow holes finally formed by the overlong first cylinder after the constructed position adjustment from influencing the structural stability and the mechanical property of the dental arch model, a second preset offset distance can be preset, and the terminal can automatically construct the first cylinder after the position adjustment at the position adjustment point according to the position adjustment point, the sixth intersection point, the second preset offset distance and the first preset radius, wherein the circle center of the first end face of the first cylinder after the position adjustment, the position adjustment point, the sixth intersection point and the circle center of the second end face of the first cylinder after the position adjustment are positioned on the same straight line and are sequentially arranged at intervals, and the distance between the circle center of the first end face of the first cylinder after the position adjustment and the distance between the circle center of the second end face of the first cylinder after the sixth intersection point and the position adjustment are both the second preset offset distance. The second preset offset distance is 2-4 mm, and in the embodiment, the second preset offset distance is preferably 3 mmm. The specific process of constructing the first cylinder after the position adjustment is the same as the process of constructing the first cylinder described in the first embodiment, and is not described herein again. When the first cylinder is generated at the selected position adjustment point, the user-selected first cylinder is deleted.

It should be noted that, after the user performs position adjustment on any one of the first cylinders, it is found that the first cylinder does not meet the requirement of the user after the position adjustment, the user may perform a deletion operation on the first cylinder after the position adjustment, or trigger a retraction operation, and the terminal may retract the dental arch model to the dental arch model state before the direction adjustment.

In the embodiment, the first cylinder selected by the user is automatically adjusted from the original position to the adjustment position selected by the user by responding to the position adjustment instruction, and the axial length of the selected first cylinder is adjusted, so that the overflow discharge hole generated by the first cylinder after the position adjustment can penetrate through the non-hollow part to reach the hollow part, and the generated overflow discharge hole meets the requirements of the user.

Further, an eighth embodiment of the method for generating a drain hole of the present application is provided according to the foregoing embodiment of the method for generating a drain hole of the present application, and in this embodiment, after step S70, the method further includes:

step S714, acquiring a direction adjusting instruction triggered by a user, wherein the direction adjusting instruction comprises a first cylinder selected by the user and a direction adjusting point selected by the user on the outer wall surface of the dental arch model;

step S715, acquiring an intersection point of the central axis of the first cylinder selected by the user and the inner wall surface of the dental arch model as a seventh intersection point;

step S716, constructing a direction-adjusted first cylinder penetrating through the inner wall surface and the outer wall surface of the dental arch model by using a first preset radius, wherein the direction adjusting point and the seventh intersection point are on the central axis of the direction-adjusted first cylinder;

in step S717, the first cylinder before the direction adjustment is deleted.

In this embodiment, the central axis of the cylinder refers to a connecting line between the centers of the two end surfaces of the cylinder. After the terminal automatically constructs the first cylinder on the dental arch model in step S70, the user may feel that the direction of some axes on the dental arch model for constructing the first cylinder needs to be adjusted, the user may click any one of the first cylinders constructed on the current dental arch model by a mouse or a stylus connected in pair with the terminal, and specifically may click any one of the positions of the cylinder to select the cylinder, in this embodiment, the user preferably clicks one end surface of the cylinder to select the cylinder, and then the user may click by a mouse or a stylus connected in pair with the terminal to select a position adjustment point on the outer wall surface of the dental arch model to be adjusted, and then triggers a direction adjustment instruction. And after the terminal acquires the direction adjusting instruction triggered by the user, acquiring an intersection point of the central axis of the first cylinder and the inner wall surface of the dental arch model selected by the user as a seventh intersection point. And finally, after the terminal acquires the seventh intersection point, constructing a direction-adjusted first cylinder taking the first preset radius as the radius, wherein the direction-adjusted first cylinder penetrates through the outer wall surface and the inner wall surface, and the direction adjusting point and the sixth intersection point are on the central axis of the position-adjusted first cylinder. In order to prevent the overflow holes finally formed by the overlong first cylinder after the direction adjustment from affecting the structural stability and the mechanical property of the dental arch model, a second preset offset distance can be preset, and the terminal can automatically construct the first cylinder after the direction adjustment at the position of the direction adjustment point according to the direction adjustment point, the seventh intersection point, the second preset offset distance and the first preset radius, wherein the circle center of the first end surface of the first cylinder after the direction adjustment, the direction adjustment point, the seventh intersection point and the circle center of the second end surface of the first cylinder after the direction adjustment are positioned on the same straight line and are sequentially arranged at intervals, and the distance between the circle center of the first end surface of the first cylinder after the direction adjustment and the distance between the seventh intersection point and the circle center of the second end surface of the first cylinder after the direction adjustment are both the second preset offset distance. The second preset offset distance is 2-4 mm, and in the embodiment, the second preset offset distance is preferably 3 mmm. The specific process of constructing the first cylinder after the direction adjustment is the same as the process of constructing the first cylinder described in the first embodiment, and details are not repeated here. The user-selected first cylinder is deleted after the directionally-adjusted first cylinder is generated at the selected directional adjustment point.

It should be noted that, after the user performs the direction adjustment on any one of the first cylinders, it is found that the first cylinder does not meet the requirement of the user after the direction adjustment, the user may perform a deleting operation on the first cylinder after the direction adjustment, or trigger a retracting operation, and the terminal retracts the dental arch model to the dental arch model state before the direction adjustment.

It should be noted that the sequence of operations such as direction adjustment, position adjustment, deletion, addition, radius adjustment, and the like of the constructed first cylinder is not limited. For example, after the direction adjustment operation is performed on part or all of the first cylinders on the dental arch model, the radius adjustment may be performed on part or all of the first cylinders on the dental arch model, or the position adjustment may be performed on part or all of the first cylinders on the dental arch model, or the first cylinders on the dental arch model may be deleted.

According to the embodiment, the original direction of the axis of the first cylinder selected by the user is automatically adjusted to the direction selected by the user by responding to the direction adjusting instruction, and the axial length of the selected first cylinder is adjusted, so that the overflow discharge hole generated by the first cylinder after the direction is adjusted can penetrate through the non-hollow part to reach the hollow part, and the generated overflow discharge hole meets the requirements of the user better.

The invention also proposes a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be the Memory 02 in the terminal of fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several pieces of information for enabling the terminal to perform the method according to the embodiments of the present invention.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种环保牙线

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类