Undercut detection method, electronic device and storage medium
The undercut area of the tooth preparation model is detected by the ray intersection method, which solves the problem of slow detection speed in the existing technology and achieves more efficient undercut area detection.
Patent Information
- Application Number
- CN202410580026.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-11
AI Technical Summary
The projection method used to detect the undercut area on the tooth preparation model in the prior art is complex in calculation, resulting in a slow detection speed.
The ray intersection method is used to detect the undercut area of the tooth preparation model. By obtaining the tooth preparation model and the seating direction, the patch is traversed one by one to determine the calculation point and ray, and the undercut area is determined based on the intersection of the ray and the model.
The speed of undercut area detection is improved, complex calculations are reduced, and detection efficiency is improved.
Smart Images

Figure CN118154608B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to an undercut detection method, electronic equipment and storage medium. Background Art
[0002] In the field of stomatology, tooth preparation refers to the preparatory work of shaping the teeth in order to install dental restorations (such as crowns, bridges or veneers) during dental restoration treatment. The remaining dental hard tissue with a specific shape after trimming is called the "tooth preparation". The function of the tooth preparation is to create a space that meets the installation requirements of the dental restoration and ensure the biocompatibility and functionality of the dental restoration with the adjacent teeth and gums. An undercut refers to a concave structure on the surface of the tooth preparation, and its depth and position directly affect the positioning and retention of the dental restoration. Therefore, it is necessary to accurately detect the undercut area on the tooth preparation model so that the undercut area can be removed by computer-assisted methods or manual grinding by technicians.
[0003] In the prior art, a projection method is often used to detect the undercut area on the tooth preparation model. This method usually detects the undercut area by making multiple sections on the tooth preparation model and calculating the curvature of any section curve.
[0004] However, existing projection methods are generally computationally complex, and thus often result in slow detection speeds. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present application provides an undercut detection method, an electronic device and a storage medium, which detect the undercut area of the tooth preparation model by ray intersection, thereby improving the speed of detecting the undercut area.
[0006] To solve the above problems, the present invention provides the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a method for detecting an undercut, the method comprising:
[0008] Acquire a tooth preparation model and a positioning direction of the tooth preparation model;
[0009] Traversing the face pieces on the tooth preparation model one by one to determine the calculation points corresponding to the face pieces;
[0010] Determine a ray corresponding to the patch based on the calculation point and the positioning direction;
[0011] Determine a first intersection point between the ray and the tooth preparation model based on the positioning direction, and when the first intersection point meets a first preset condition, determine the face patch as a first face patch;
[0012] The set of the first patches is determined as the undercut area of the tooth preparation model.
[0013] In some implementations, the patch is a triangular patch, and determining a calculation point corresponding to the patch includes:
[0014] Determining the center of gravity of the patch;
[0015] The center of gravity is translated along the positioning direction so that the center of gravity after translation satisfies a second preset condition;
[0016] The translated center of gravity is determined as a calculation point corresponding to the patch.
[0017] In some embodiments, the second preset condition includes that a first ray with the translated center of gravity as an endpoint does not intersect the tooth preparation model, and the direction of the first ray is the positioning direction.
[0018] In some embodiments, translating the center of gravity along the positioning direction so that the translated center of gravity meets the second preset condition includes:
[0019] The center of gravity is translated along the positioning direction, and the translation distance is greater than the diagonal length of the model bounding box of the tooth preparation model, so that the center of gravity after the translation meets the second preset condition.
[0020] In some implementations, determining the ray corresponding to the patch based on the calculation point and the positioning direction includes:
[0021] The calculation point is used as the endpoint of the ray, the opposite direction of the positioning direction is used as the direction of the ray, and the ray corresponding to the face patch is determined.
[0022] In some embodiments, the undercut region is a concave region of the tooth preparation model.
[0023] In some embodiments, the first intersection point is the first intersection point of the ray and the tooth preparation model.
[0024] In some implementations, the first preset condition includes that the first intersection point is not located on a patch corresponding to the ray.
[0025] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0026] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can perform the undercut detection method as in the first aspect.
[0027] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the undercut detection method of the first aspect.
[0028] The present application provides an undercut detection method, an electronic device and a storage medium. The present application detects the undercut area of a tooth preparation model by means of ray intersection. Compared with other methods, it does not require complex calculations, thereby increasing the speed of detecting the undercut area. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of the first implementation method of the undercut detection method provided in the embodiment of the present application.
[0030] Figure 2 It is a schematic diagram of a tooth preparation model provided in an embodiment of the present application.
[0031] Figure 3 It is a schematic diagram of the undercut area provided in the embodiment of the present application.
[0032] Figure 4 yes Figure 1 Detailed flowchart of step S200 in FIG.
[0033] Figure 5 It is a flow chart of the second implementation mode of the undercut detection method provided in the embodiment of the present application.
[0034] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0035] Figure 7 It is a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0038] The present application provides an undercut detection method (hereinafter referred to as the method), which detects the undercut area of a tooth preparation model by ray intersection. Compared with other methods, it does not require complex calculations, thereby improving the speed of detecting the undercut area.
[0039] The tooth preparation involved in the present application refers to the preparatory work of contour trimming performed on the teeth during the process of tooth restoration treatment in order to install a dental restoration (such as a crown, bridge or veneer, etc.), and the remaining tooth hard tissue with a specific shape after trimming.
[0040] In some embodiments, the dental preparation model is a 3D model of the dental preparation.
[0041] The undercut detection method provided by the present application will be described in detail below with reference to the accompanying drawings.
[0042] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of the first implementation method of the undercut detection method provided in the embodiment of the present application. Figure 1 As shown, the undercut detection method includes: step S100 to step S500.
[0043] Step S100: Acquire the tooth preparation model and the orientation of the tooth preparation model.
[0044] Alternatively, the seating direction may indicate the direction of the to-be-installed dental restoration relative to the dental preparation, that is, the dental restoration is located on one side of the seating direction of the dental preparation and will be installed on the dental preparation in the opposite direction of the seating direction.
[0045] When a dental restoration is installed on a dental preparation in the opposite direction to the seating direction, there may be an undercut area on the dental preparation that directly affects the seating and retention of the dental restoration. Therefore, it is necessary to detect the undercut area based on the seating direction so as to remove the undercut area by computer-assisted methods or manually.
[0046] See also Figure 2 , Figure 2 Schematic diagram of the tooth preparation model provided in the embodiment of the present application. Figure 2 As shown, in some embodiments, the tooth preparation model 100 is a 3D model.
[0047] Optionally, the file format of the 3D model may include OBJ (Object File Format), STL (Stereolithography File), 3DS (3D Studio File), AMF (Adobe Memory File), PLY (Polygon File Format), and the like.
[0048] Optionally, the 3D model is a mesh model, which is composed of a plurality of triangular facets, each facet having three vertices.
[0049] Optionally, a tooth preparation model scanned by a scanner may be obtained.
[0050] Optionally, the scanner may include an intraoral scanner, a model scanner, and the like.
[0051] In this embodiment, the intraoral scanner directly scans inside the mouth of the target object to obtain the tooth preparation model, and the model scanner scans the oral model obtained by oral impression to obtain the tooth preparation model.
[0052] Optionally, a tooth preparation model that is already stored on an electronic device may be retrieved.
[0053] See also Figure 3 , Figure 3 Schematic diagram of the undercut region provided in the embodiment of the present application. Figure 3 As shown, in some embodiments, the undercut region A1 is a concave region of the tooth preparation model 100. Specifically, the undercut region A1 is a concave region formed because the end of the tooth preparation model 100 close to the gum is narrower than the end away from the gum. The following describes in detail an embodiment of determining the undercut region A1 using the undercut detection method of the present application.
[0054] See also Figure 2 In some implementations, the in-position direction vector 110 is obtained, and the direction of the in-position direction vector 110 is used as the in-position direction.
[0055] Optionally, the seating direction may be the direction of the dental restoration to be installed relative to the dental preparation. For example, the seating direction vector 110 indicates the direction of the dental restoration relative to the dental preparation, that is, the dental restoration is located on one side of the seating direction of the dental preparation and is to be installed on the dental preparation in the opposite direction of the seating direction.
[0056] Alternatively, the seating direction may be the opposite direction of the direction of the dental restoration to be mounted relative to the dental preparation.
[0057] Alternatively, the positioning direction may be determined manually.
[0058] Optionally, the in-position direction vector 110 may be pre-stored on the electronic device.
[0059] Alternatively, the positioning direction vector 110 may be automatically determined by a computer.
[0060] In some embodiments, automatically determining the positioning direction vector 110 by a computer includes the following steps.
[0061] (1) Determine the center point of the tooth preparation model 100.
[0062] Optionally, the center point of the tooth preparation model 100 is an average coordinate point of all vertices of the tooth preparation model 100 .
[0063] Optionally, the center point of the tooth preparation model 100 is the average coordinate point of all edge points of the tooth preparation model 100 , and the edge points are points on the boundary of the tooth preparation model 100 .
[0064] (2) Traverse all vertices of the tooth preparation model 100 one by one and calculate the curvature corresponding to the vertex.
[0065] Optionally, the curvature corresponding to the vertex is a first-order derivative of the normal vector corresponding to the vertex.
[0066] Optionally, the normal vector corresponding to the vertex is an average vector of normal vectors of facets surrounding the vertex.
[0067] (3) A first plane is obtained by fitting a plurality of vertices with maximum curvature based on a first preset ratio.
[0068] Optionally, the first preset ratio is 5% to 20%, for example, the first preset ratio is 5%, 10%, 15% or 20%.
[0069] Optionally, methods for fitting the first plane include least squares method, maximum likelihood estimation, iteration method, and the like.
[0070] In this way, a first plane approximately horizontal to the end of the tooth preparation model 100 away from the gum can be obtained, so that the positioning direction vector 110 representing the direction of the tooth restoration relative to the tooth preparation can be determined according to the first plane.
[0071] (4) Calculate the normal vector of the first plane, and obtain the positioning direction vector 110 based on the center point of the tooth preparation model 100 and the normal vector of the first plane.
[0072] Optionally, the seating direction vector 110 passes through the center point of the tooth preparation model 100 , and has the same direction as the normal vector of the first plane.
[0073] Through the above method, the positioning direction of the tooth preparation model 100 can be determined without manual work, which can reduce the labor cost.
[0074] Step S200: traverse the face patches on the tooth preparation model one by one to determine the calculation points corresponding to the face patches.
[0075] Optionally, the calculation point corresponding to the patch may be any point on the translated patch except the vertex.
[0076] See also Figure 2 , Optionally, the patch 111 is a triangular patch.
[0077] Optionally, the calculation points corresponding to the patch 111 may be points related to the patch after translation.
[0078] Optionally, the points related to the patch 111 include the centroid 112 , the orthocenter, the incenter and the circumcenter of the patch 111 .
[0079] See also Figure 4 , Figure 4 yes Figure 1 Detailed flow chart of step S200 in FIG. Figure 4 As shown, step S200 may include steps S210 to S230.
[0080] Step S210: Determine the centroid of the patch.
[0081] See also Figure 2 Optionally, the patch 111 is a triangular patch, and the average coordinate point of the three vertices of the patch 111 is determined as the centroid 112 of the patch.
[0082] Step S220: translating the center of gravity along the positioning direction so that the translated center of gravity meets the second preset condition.
[0083] Optionally, the second preset condition includes that the first ray with the translated center of gravity 113 as the endpoint does not intersect the tooth preparation model 100, and the direction of the first ray is the positioning direction. In this case, the positioning direction is the direction of the tooth restoration to be installed relative to the tooth preparation.
[0084] Optionally, the second preset condition includes that the first ray with the translated center of gravity 113 as the endpoint does not intersect the tooth preparation model 100, and the direction of the first ray is opposite to the positioning direction. In this case, the positioning direction is the opposite direction of the tooth restoration to be installed relative to the tooth preparation.
[0085] See also Figure 2 In some embodiments, the center of gravity 112 is translated along the positioning direction, and the translation distance is greater than the diagonal length of the model bounding box of the tooth preparation model 100, so that the translated center of gravity 113 meets the second preset condition. At this time, the positioning direction is the direction of the tooth restoration to be installed relative to the tooth preparation.
[0086] The model bounding box represents the minimum space that completely contains the tooth preparation model 100 , and the model bounding box may be in the form of a cube, a cylinder, a sphere, or the like.
[0087] In the above manner, it is possible to ensure that the translated center of gravity 113 satisfies the second preset condition, that is, to ensure that the translated center of gravity 113 is outside the tooth preparation model 100, so that the tooth preparation model 100 is subsequently subjected to ray intersection to determine the undercut area A1. At this time, the second preset condition includes that the first ray with the translated center of gravity 113 as an endpoint does not intersect the tooth preparation model 100, and the direction of the first ray is the placement direction.
[0088] Optionally, the bounding box algorithm includes an AABB (Axially Aligned Bounding Box) algorithm, a bounding sphere algorithm, an OBB (Oriented bounding box) algorithm, and a FDH (Fixed directions hulls) algorithm.
[0089] In some embodiments, the center of gravity 112 is translated along the positioning direction by a preset distance, and the preset distance can make the center of gravity 113 after translation meet the second preset condition.
[0090] Optionally, the preset distance may be a distance much greater than the height of the tooth preparation model 100 , for example, the preset distance may be 10 cm (centimeter), 15 cm or 20 cm, etc.
[0091] Step S230: Determine the translated center of gravity as the calculation point corresponding to the patch.
[0092] See also Figure 2 In some implementations, the translated center of gravity 113 is determined as the calculation point corresponding to the patch 111 .
[0093] By determining the translated center of gravity 113 as the calculation point corresponding to the face patch, compared to the method of determining the translated orthocenter, incenter and circumcenter as the calculation points, since the center of gravity 112 is the average coordinate point of the three vertices of the face patch 111, no complex calculation is required, the amount of calculation can be reduced, thereby improving the speed of detecting the concave area.
[0094] Step S300: Determine the ray corresponding to the patch based on the calculation point and the positioning direction.
[0095] See also Figure 3 In some embodiments, the ray 120 corresponding to the patch is determined by taking the calculated point as the end point of the ray 120 and taking the opposite direction of the placement direction as the direction of the ray 120. At this time, the placement direction is the direction of the tooth restoration to be installed relative to the tooth preparation.
[0096] In some embodiments, the ray 120 corresponding to the patch is determined with the calculation point as the endpoint of the ray 120 and the placement direction as the direction of the ray 120. At this time, the placement direction is the opposite direction of the tooth restoration to be installed relative to the tooth preparation.
[0097] Step S400: determining a first intersection point between the ray and the tooth preparation model based on the positioning direction, and determining the face patch as a first face patch when the first intersection point meets a first preset condition.
[0098] See also Figure 3 Optionally, the first intersection point 121 is the first intersection point of the ray 120 and the tooth preparation model 100. Specifically, the first intersection point 121 is the first intersection point of the ray 120 and the tooth preparation model 100 along the direction of the ray 120.
[0099] Optionally, the first preset condition includes that the first intersection point 121 is not located on the surface corresponding to the ray 120. At this time, the seating direction is the direction of the tooth restoration to be installed relative to the tooth preparation.
[0100] Optionally, the first preset condition includes that the ray 120 and the tooth preparation model 100 have two intersections, and the first intersection 121 is located on the surface corresponding to the ray 120. At this time, the positioning direction is the opposite direction of the tooth restoration to be installed relative to the tooth preparation.
[0101] Step S500: determining a set of first face patches as an undercut region of the tooth preparation model.
[0102] See also Figure 5 , Figure 5 FIG. 2 is a flow chart of the second implementation method of the undercut detection method provided in the embodiment of the present application. Figure 5 As shown, the undercut detection method includes steps S101 to S108.
[0103] Step S101: Acquire a tooth preparation model and the orientation of the tooth preparation model.
[0104] Optionally, step S101 may refer to step S100.
[0105] Step S102: Determine whether the face traversal is completed.
[0106] Optionally, if not, execute step S103, and if yes, execute step S108.
[0107] Step S103: Calculate the centroid of the patch, and use the centroid of the translated patch as the calculation point corresponding to the patch.
[0108] Optionally, step S103 may refer to steps S210 to S230.
[0109] Step S104: Determine the ray corresponding to the patch based on the calculation point and the positioning direction.
[0110] Optionally, step S104 may refer to step S300.
[0111] Step S105: determining a first intersection point between the ray and the tooth preparation model based on the positioning direction.
[0112] Optionally, the first intersection point is the first intersection point between the ray and the tooth preparation model. Specifically, the first intersection point is the first intersection point between the ray and the tooth preparation model along the direction of the ray.
[0113] Step S106: Determine whether the first intersection point is located on the surface corresponding to the ray.
[0114] Optionally, if yes, execute step S102, if no, execute step S107.
[0115] Step S107: Determine the patch as the first patch.
[0116] Optionally, step S102 is performed after step S107.
[0117] Step S108: determining the set of first face patches as the undercut region of the tooth preparation model.
[0118] Optionally, step S108 may refer to step S500.
[0119] In summary, the undercut detection method provided in the embodiment of the present application has the following advantages:
[0120] 1. Detecting the undercut area of the tooth preparation model by ray intersection does not require complex calculations compared to other methods, thereby increasing the speed of detecting the undercut area.
[0121] 2. When the method includes automatically determining the positioning direction vector, the positioning direction of the tooth preparation model can be determined without manual work, which can reduce labor costs.
[0122] 3. By determining the center of gravity after translation as the calculation point corresponding to the face patch, compared with the method of determining the orthocenter, incenter and circumcenter after translation as the calculation point, since the center of gravity is the average coordinate point of the three vertices of the face patch, no complex calculation is required, the amount of calculation can be reduced, thereby improving the speed of detecting the concave area.
[0123] 4. By translating the center of gravity along the positioning direction, with the translation distance being greater than the diagonal length of the model bounding box of the tooth preparation model, it can be ensured that the center of gravity after translation meets the second preset condition, that is, it is ensured that the center of gravity after translation is outside the tooth preparation model, so that the tooth preparation model can be subsequently intersected by rays to determine the undercut area.
[0124] See also Figure 6 , Figure 6 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 400 includes: one or more processors 410 and a memory 420, Figure 6 A processor 410 is taken as an example.
[0125] In some implementations, the processor 410 and the memory 420 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0126] In some embodiments, the processor 410 is used to obtain the dental preparation model and the positioning direction of the dental preparation model, traverse the patches on the dental preparation model one by one, determine the calculation points corresponding to the patches, determine the rays corresponding to the patches based on the calculation points and the positioning direction, determine the first intersection of the rays and the dental preparation model based on the positioning direction, and when the first intersection meets the first preset condition, determine the patch as the first patch, and determine the set of first patches as the undercut area A1 of the dental preparation model.
[0127] In some embodiments, the memory 420 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the undercut detection method in the embodiment of the present application. The processor 410 executes various functional applications and data processing of the electronic device 400 by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, the undercut detection method of the above method embodiment is implemented.
[0128] In some embodiments, the memory 420 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 420 may optionally include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] In some embodiments, one or more modules are stored in the memory 420, and when executed by one or more processors 410, perform the undercut detection method in any of the above method embodiments, for example, perform the above described Figure 1 The method comprises steps S100 to S500.
[0130] Please refer to Figure 7 , Figure 7 The computer-readable storage medium 500 stores a program code 510, which can be called by a processor to execute the undercut detection method described in the above method embodiment.
[0131] The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has a storage space for program codes for executing any method steps in the above-mentioned undercut detection method. These program codes may be read from or written into one or more computer program products. The program codes may be compressed, for example, in an appropriate form.
[0132] In summary, the present application provides a method for detecting undercuts, an electronic device, and a storage medium, the method comprising: obtaining a tooth preparation model and the orientation of the tooth preparation model; traversing the facets on the tooth preparation model one by one to determine the calculation points corresponding to the facets; determining the rays corresponding to the facets based on the calculation points and the orientation; determining the first intersection of the ray and the tooth preparation model based on the orientation, and when the first intersection meets a first preset condition, determining the facet as a first facet; and determining the set of first facets as the undercut area of the tooth preparation model. The present application detects the undercut area of the tooth preparation model by ray intersection, which does not require complex calculations compared to other methods and can improve the speed of detecting the undercut area.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for detecting undercuts, characterized in that: The method comprises: Acquire a tooth preparation model and a positioning direction of the tooth preparation model; Traversing the patches on the tooth preparation model one by one to determine the calculation points corresponding to the patches, wherein the calculation points corresponding to the patches are one of the centroid, orthocenter, incenter and circumcenter of the translated patch, and the calculation points corresponding to the patches meet a second preset condition, wherein the second preset condition includes that a first ray having one of the centroid, orthocenter, incenter and circumcenter of the translated patch as an endpoint does not intersect the tooth preparation model, and the direction of the first ray is the positioning direction; Determine a ray corresponding to the patch based on the calculation point and the positioning direction; Determine a first intersection point between the ray and the tooth preparation model based on the positioning direction, and when the first intersection point meets a first preset condition, determine the face patch as a first face patch; The set of the first patches is determined as the undercut area of the tooth preparation model.
2. The undercut detection method according to claim 1, characterized in that: The patch is a triangular patch, and determining the calculation point corresponding to the patch includes: Determining the center of gravity of the patch; The center of gravity is translated along the positioning direction so that the center of gravity after translation satisfies the second preset condition; The translated center of gravity is determined as a calculation point corresponding to the patch.
3. The undercut detection method according to claim 2, characterized in that: The step of translating the center of gravity along the positioning direction so that the center of gravity after translation satisfies the second preset condition includes: The center of gravity is translated along the positioning direction, and the translation distance is greater than the diagonal length of the model bounding box of the tooth preparation model, so that the center of gravity after the translation meets the second preset condition.
4. The undercut detection method according to claim 1, characterized in that: The determining of the ray corresponding to the patch based on the calculation point and the positioning direction comprises: The calculation point is used as the endpoint of the ray, the opposite direction of the positioning direction is used as the direction of the ray, and the ray corresponding to the face patch is determined.
5. The undercut detection method according to claim 1, characterized in that: The undercut area is a concave area of the tooth preparation model.
6. The undercut detection method according to claim 1, characterized in that: The first intersection point is the first intersection point of the ray and the tooth preparation model.
7. The undercut detection method according to claim 1, characterized in that: The first preset condition includes that the first intersection point is not located on the patch corresponding to the ray.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the undercut detection method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the undercut detection method according to any one of claims 1 to 7.
