Modeling method and apparatus, electronic device, and storage medium

By obtaining the edge contour modeling parameters of the dental implant surgical guide model, determining the trajectory direction, and establishing a local three-dimensional coordinate system, the problem of poor fit between the guide model and the oral cavity structure was solved, achieving a better fit effect.

CN116188693BActive Publication Date: 2026-04-24北京瑞医博科技有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
北京瑞医博科技有限公司
Filing Date
2023-02-16
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In existing technologies, the edges of dental implant surgical guide models are thickened, but they cannot fully fit the patient's oral cavity structure, resulting in poor fit.

Method used

By obtaining the modeling parameters of the edge contour line of the mold model in the global three-dimensional coordinate system, the trajectory direction of the contour points is determined, a local three-dimensional coordinate system is established, and the pipe cross-section corresponding to the reinforcing part and the contour point is determined based on these coordinate systems for modeling.

Benefits of technology

This improved the fit between the reinforced model and the patient's oral cavity structure, enhancing the model's fit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116188693B_ABST
    Figure CN116188693B_ABST
Patent Text Reader

Abstract

The application provides a modeling method and device, electronic equipment and storage medium. The modeling method comprises: acquiring modeling parameters of an edge contour line of a mold model in a global three-dimensional coordinate system; determining a trajectory direction of each contour point in the edge contour line based on the modeling parameters; establishing a local three-dimensional coordinate system of each contour point based on each contour point and the trajectory direction thereof; determining each pipe section corresponding to each contour point of a reinforcing part of the edge contour line based on the local three-dimensional coordinate system of each contour point; and modeling the reinforcing part based on each pipe section of the reinforcing part. The modeling method of the embodiment of the application improves the fitting degree of the reinforcing part model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a modeling method, apparatus, electronic device, and storage medium. Background Technology

[0002] During dental implant surgery, surgical guides are used to improve the accuracy of the implantation and reduce surgical errors. The surgical guides often need to be thickened at the edges of the model to improve the model's strength and toughness.

[0003] Current techniques typically involve directly thickening the edges of the original surgical guide model without considering that the edges are not perfectly flat. As a result, the thickened portion of the surgical guide model cannot fit snugly against the patient's oral cavity structure. Consequently, the fit of the thickened portion of the surgical guide model is poor. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a modeling method and apparatus, an electronic device, and a storage medium to solve the above problems.

[0005] According to a first aspect of the present invention, a modeling method is provided, comprising: obtaining modeling parameters of the edge contour line of a mold model in a global three-dimensional coordinate system; determining the trajectory direction of each contour point in the edge contour line based on the modeling parameters; establishing a local three-dimensional coordinate system for each contour point based on each contour point and its trajectory direction; determining the reinforcing part of the edge contour line and each pipe section corresponding to each contour point based on the local three-dimensional coordinate system of each contour point; and modeling the reinforcing part based on each pipe section of the reinforcing part.

[0006] In another implementation of the present invention, determining the trajectory direction of each contour point in the edge contour line based on modeling parameters includes: determining the normal or tangential direction of each contour point on the edge contour line based on modeling parameters; and establishing a local three-dimensional coordinate system for each contour point based on each contour point and its trajectory direction, including: establishing a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system based on the normal or tangential direction of each contour point.

[0007] In another implementation of the present invention, the local three-dimensional coordinate system has an X-axis, a Y-axis, and a Z-axis; based on the normal or tangent of each contour point, a local three-dimensional coordinate system for each contour point is established in the global three-dimensional coordinate system, including: establishing a local three-dimensional coordinate system for each contour point based on the three-dimensional coordinates of each contour point in the global coordinate system as the origin of the local three-dimensional coordinate system, wherein the normal is in the plane formed by the X-axis and the Y-axis, or the tangent is consistent with the direction of the Z-axis.

[0008] In another implementation of the present invention, determining the normal of each contour point on the edge contour line based on the modeling parameters includes: extracting the position parameters of each contour point and its adjacent contour points on the edge contour line from the modeling parameters; performing vector calculation on the position parameters of each contour point and its adjacent contour points on the edge contour line to obtain each vector between each contour point and its adjacent contour points; and calculating the normal or tangential of the contour point on the edge contour line according to the positional relationship between the vectors.

[0009] In another implementation of the present invention, the normal or tangential direction of the contour point on the edge contour line is calculated based on the positional relationship between the vectors, including: determining the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction of the initial direction normal or initial direction tangential direction of the contour point to the translation normal or translation tangential direction of the adjacent contour point based on the positional relationship between the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction to obtain the normal or tangential direction of the contour point on the edge contour line.

[0010] In another implementation of the present invention, the reinforcement of the edge contour line and each pipe section corresponding to each contour point are determined based on the local three-dimensional coordinate system of each contour point, including: determining the plane formed by the X-axis and Y-axis in the local three-dimensional coordinate system of each contour point, wherein the plane is the plane where the reinforcement section is located; determining the coordinate points of each edge point on the reinforcement section in the plane; and determining the reinforcement of the edge contour line and each pipe section corresponding to each contour point based on the coordinate points of each edge point on the reinforcement section.

[0011] In another implementation of the present invention, determining the coordinates of each edge point on the cross-section of the reinforcing part in the plane includes: calculating the coordinates of the midpoints of each pipe edge according to the trajectory direction and the preset pipe side length; calculating the coordinates of each arc point on each pipe arc corner according to the trajectory direction and the preset arc radius; and determining the reinforcing part of the edge contour line and each pipe cross-section corresponding to each contour point according to the coordinates of each edge point on the cross-section of the reinforcing part, including: connecting the coordinates of the midpoints of each pipe edge and the coordinates of each arc point to obtain the reinforcing part of the edge contour line and each pipe cross-section corresponding to each contour point.

[0012] According to a second aspect of the present invention, a modeling apparatus is provided, comprising: an acquisition module for acquiring modeling parameters of the edge contour line of a mold model in a global three-dimensional coordinate system; a processing module for determining the trajectory direction of each contour point in the edge contour line based on the modeling parameters; establishing a local three-dimensional coordinate system for each contour point based on each contour point and its trajectory direction; and further for determining, based on the local three-dimensional coordinate system of each contour point, the reinforcing portion of the edge contour line and each pipe cross-section corresponding to each contour point; and a modeling module for modeling the reinforcing portion based on each pipe cross-section of the reinforcing portion.

[0013] According to a third aspect of the present invention, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the modeling method as described above.

[0014] According to a fourth aspect of the present invention, a computer storage medium is provided, on which a computer program is stored, and when executed by a processor, the computer program implements the steps in the modeling method as described in any of the above claims.

[0015] In the modeling method of this invention, the trajectory direction of each contour point in the edge contour line is determined according to the modeling parameters of the mold model. Based on each contour point and its trajectory direction, a local three-dimensional coordinate system is established for each contour point. In the local three-dimensional coordinate system of each contour point, each pipe section corresponding to each contour point is determined. The reinforcement part is modeled according to each pipe section. Since the local three-dimensional coordinate system of each contour point is established based on each contour point of the mold model and its trajectory direction, the deflection angle of each pipe section obtained in the local three-dimensional coordinate system matches the mold model. At the same time, it can better fit with the internal structure of the patient's oral cavity, improving the fit of the reinforcement part model. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. By reading the detailed description of the embodiments below, the advantages and benefits of the solutions will become clear to those skilled in the art. The accompanying drawings are only for illustrating preferred embodiments and are not intended to limit the present invention. In the accompanying drawings:

[0017] Figure 1 This is a flowchart illustrating the steps of a modeling method according to an embodiment of the present invention.

[0018] Figure 2 This is a schematic diagram illustrating the trajectory direction calculation process in a modeling method according to another embodiment of the present invention.

[0019] Figure 3 This is a schematic diagram of the pipe cross-section in a modeling method according to another embodiment of the present invention.

[0020] Figure 4 This is a structural block diagram of a modeling apparatus according to another embodiment of the present invention.

[0021] Figure 5 This is a schematic diagram of the structure of an electronic device according to another embodiment of the present invention. Detailed Implementation

[0022] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art should fall within the protection scope of the present invention.

[0023] Figure 1 A flowchart illustrating the steps of a modeling method provided in an embodiment of the present invention is shown below. Figure 1 As shown, this embodiment mainly includes the following steps:

[0024] S101. Obtain the modeling parameters of the edge contour line of the mold model in the global three-dimensional coordinate system.

[0025] For example, a mold model of the surgical guide for the maxilla or mandible is obtained. Based on the mold model of the surgical guide for the maxilla or mandible, the edge contour lines that need to be widened and thickened are determined. That is, the edge pick points that need to be widened and thickened are selected in the mold model of the surgical guide for the maxilla or mandible. Interpolation is performed on the pick points to obtain the edge contour lines. The modeling parameters of the edge contour lines in the global three-dimensional coordinate system are determined, that is, the global three-dimensional coordinates of each contour point of the edge contour lines in the global three-dimensional coordinate system.

[0026] S102. Based on the modeling parameters, determine the trajectory direction of each contour point in the edge contour line.

[0027] For example, adjacent contour points are connected, and the corresponding vectors between each adjacent contour point are calculated. This involves substituting the global 3D coordinates of adjacent contour points in the edge contour line into the vector calculation formula to obtain the corresponding vectors between adjacent contour points. Substituting the corresponding vectors between adjacent contour points into the formulas for calculating the normal or tangential direction, the direction normal or tangential direction of each contour point in the global 3D coordinate system is obtained. Based on the vector relationship between each contour point, the corresponding direction normal or tangential direction, and the trajectory direction, vector calculations are performed on each vector and its corresponding direction normal or tangential direction to obtain the trajectory direction of each contour point.

[0028] S103. Based on each contour point and its trajectory direction, establish a local three-dimensional coordinate system for each contour point.

[0029] For example, the offset angle and final direction vector of each contour point are determined based on the direction normal or tangential of each contour point. By performing vector calculations on the final direction vector and direction normal or tangential of each contour point, a local three-dimensional coordinate system for each contour point is obtained. The global three-dimensional coordinate point of each contour point is taken as the origin, and the plane containing the normal of each contour point is taken as the plane formed by the X-axis and Y-axis, or the tangential direction corresponding to each contour point is taken as the Z-axis direction, to establish a local three-dimensional coordinate system for each contour point.

[0030] S104. Based on the local three-dimensional coordinate system of each contour point, determine the reinforcement of the edge contour line and the corresponding pipe sections of each contour point.

[0031] For example, the user sets the pipe side length and the arc radius at the corner of each pipe section corresponding to each contour point according to their needs. The midpoint coordinates of each pipe side line are calculated based on the pipe side length and the deflection angle of each pipe side line. These midpoint coordinates and arc radii are then substituted into the center point calculation formula to obtain the center point coordinates. The center point is then connected to each arc point, and the vector from the center point to each arc point is calculated. The vector from the center point to each arc point and the deflection angle of each arc point relative to the previous arc point are then substituted into the arc point calculation formula to obtain the arc point coordinates at the corner of each pipe section corresponding to each contour point. By sequentially connecting the midpoint coordinates of each pipe side line and the coordinates of each arc point, the reinforcement of the edge contour line and the corresponding pipe sections for each contour point are obtained.

[0032] S105. Based on the various pipe cross sections of the reinforcement section, model the reinforcement section.

[0033] For example, the reinforcement is modeled in the global three-dimensional coordinate system based on the pipe edge coordinates of each pipe section and the coordinates of the arc point at the corner.

[0034] In the modeling method of this invention, the trajectory direction of each contour point in the edge contour line is determined according to the modeling parameters of the mold model. Based on each contour point and its trajectory direction, a local three-dimensional coordinate system is established for each contour point. In the local three-dimensional coordinate system of each contour point, each pipe section corresponding to each contour point is determined. The reinforcement part is modeled according to each pipe section. Since the local three-dimensional coordinate system of each contour point is established based on each contour point of the mold model and its trajectory direction, the deflection angle of each pipe section obtained in the local three-dimensional coordinate system matches the mold model. At the same time, it can better fit with the internal structure of the patient's oral cavity, improving the fit of the reinforcement part model.

[0035] In another implementation of the present invention, Figure 2 This is a schematic diagram illustrating the trajectory direction calculation process in a modeling method provided by an embodiment of the present invention, as shown below. Figure 2 As shown, this embodiment mainly includes: determining the normal or tangent of each contour point on the edge contour line based on the modeling parameters; and establishing a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system based on the normal or tangent of each contour point.

[0036] For example, such as Figure 2 As shown, the modeling parameters of each contour point are obtained, namely the global 3D coordinates of each contour point. Vector calculations are performed on the global 3D coordinates of each contour point to obtain the direction normal or tangent of each contour point on the edge contour line. The specific calculation method is as follows:

[0037] Let v be a contour point, and the number of contour points be n. The first point is labeled v0, and the direction vectors of points v0 and v1 are:

[0038]

[0039] v2 to v n-2 The direction vector is calculated as follows:

[0040] If vector Parallel to vector Then v i The direction, normal, and v of the point i-1 If the points have the same direction and normal, and are not parallel, the calculation method is as follows:

[0041] vector It's point v i-1 The direction vector, the vector It's point v i The initial direction normal is given by the vector. Cross product vector The vector obtained after normalization It is a vector Move to point v i-1Parallel vectors, vectors It's point v i Direction normal, vector sum vector f1 and f2 are intermediate calculation variables, and are proportionality coefficients.

[0042]

[0043]

[0044]

[0045]

[0046] like

[0047]

[0048] Among them, the last point v i-1 The direction normal is equal to point v i-2 The direction and normal.

[0049] Based on the direction normal or tangential of each contour point, the local three-dimensional coordinate system corresponding to each contour point in the global three-dimensional coordinate system is calculated. Taking the global three-dimensional coordinate point of the contour point as the origin, the local three-dimensional coordinate system of the contour point is established in the global coordinate system.

[0050] In the embodiment of the present invention, the direction normal or tangential of each contour point is calculated based on the modeling parameters of each contour point. The modeling parameters can be directly obtained by software, and the calculation process of the direction normal or tangential of each contour point is simple and easy to understand. The local three-dimensional coordinate system of each contour point is obtained by calculating the direction normal or tangential of each contour point. The local three-dimensional coordinate system of the contour point is established in the global coordinate system with the global three-dimensional coordinate point as the origin. The size of the pipe cross-section is calculated through the local three-dimensional coordinate system, so that the size of the pipe cross-section is more accurate.

[0051] In another implementation of the present invention, the local three-dimensional coordinate system has an X-axis, a Y-axis, and a Z-axis; based on the normal or tangent of each contour point, a local three-dimensional coordinate system for each contour point is established in the global three-dimensional coordinate system, including: establishing a local three-dimensional coordinate system for each contour point based on the three-dimensional coordinates of each contour point in the global coordinate system as the origin of the local three-dimensional coordinate system, wherein the normal is in the plane formed by the X-axis and the Y-axis, or the tangent is consistent with the direction of the Z-axis.

[0052] For example, a local three-dimensional coordinate system is created for each contour point.

[0053] At point v0:

[0054]

[0055] In v n-1 point:

[0056]

[0057] At other points v i :

[0058]

[0059] With point v i The corresponding 3D coordinate point in the global 3D coordinate system is taken as the origin, and the vector is... Create point v as the X-axis, Y-axis, and Z-axis respectively. i Local three-dimensional coordinate system at:

[0060]

[0061]

[0062]

[0063] It's point v i The direction and normal.

[0064] In the embodiment of the present invention, the global three-dimensional coordinate point of the contour point is taken as the origin, and a local three-dimensional coordinate system of the contour point is established in the global coordinate system. The dimensions of the pipe cross-section are calculated through the local three-dimensional coordinate system, so that the dimensions of the pipe cross-section are more accurate.

[0065] In another implementation of the present invention, determining the normal of each contour point on the edge contour line based on the modeling parameters includes: extracting the position parameters of each contour point and its adjacent contour points on the edge contour line from the modeling parameters; performing vector calculation on the position parameters of each contour point and its adjacent contour points on the edge contour line to obtain each vector between each contour point and its adjacent contour points; and calculating the normal or tangential of the contour point on the edge contour line according to the positional relationship between the vectors.

[0066] In the embodiment of the present invention, the global three-dimensional coordinates of each contour point are obtained, and the normal or tangential direction of the contour point on the edge contour line is obtained through vector calculation. The data required for the calculation is easy to obtain, the calculation process is simple and easy to understand, and the efficiency of the modeling method is improved.

[0067] For example, the global three-dimensional coordinates corresponding to each contour point and the global three-dimensional coordinates of adjacent contour points are extracted from the modeling parameters. Vector calculation is performed on the global three-dimensional coordinates of the contour point and adjacent contour points to obtain the direction vectors corresponding to the contour point and adjacent contour points. Based on the positional relationship and vector relationship between each vector, the normal or tangential direction of the contour point on the edge contour line is calculated.

[0068] In another implementation of the present invention, the normal or tangential direction of the contour point on the edge contour line is calculated based on the positional relationship between the vectors, including: determining the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction of the initial direction normal or initial direction tangential direction of the contour point to the translation normal or translation tangential direction of the adjacent contour point based on the positional relationship between the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction to obtain the normal or tangential direction of the contour point on the edge contour line.

[0069] In another implementation of the present invention, Figure 3 This is a schematic diagram of the pipe cross-section in a modeling method provided by an embodiment of the present invention, such as... Figure 3 As shown, this embodiment mainly includes: determining the plane formed by the X-axis and Y-axis in the local three-dimensional coordinate system of each contour point, the plane being the plane where the reinforcing section is located; determining the coordinate points of each edge point on the reinforcing section within the plane; and determining the reinforcing section of the edge contour line and each pipe section corresponding to each contour point based on the coordinate points of each edge point on the reinforcing section.

[0070] In the embodiment of the present invention, the coordinates of the points on the edge of each pipe section corresponding to each contour point are calculated in a local three-dimensional coordinate system, so that the obtained pipe section shape is more accurate.

[0071] For example, the coordinates of each edge point on the cross section of the reinforcing part are determined in the plane formed by the X-axis and Y-axis of each contour point in the corresponding local three-dimensional coordinate system according to the direction normal or tangent of each contour point.

[0072] Taking a pipe with a rounded rectangular cross-section as an example, the rectangular pipe has 4 sides, and let the midpoint of each side be p. k p k The point calculation method is as follows:

[0073] θ k =k*(360÷4)+A

[0074]

[0075]

[0076] θ k p is the midpoint of each edge k The rotation angle relative to the origin of the local coordinate system, k is the edge number (0, 1, 2, 3), d is the pipe side length, and A is the offset angle of the rounded rectangular pipe section corresponding to the contour point. A is set by the user according to their needs and the rotation offset A can be controlled in real time by the mouse wheel.

[0077] After finding the midpoints of the four sides, we can establish the local 3D coordinates at the corners of the rectangle. Within this local 3D coordinate system, we can create a rounded rectangular pipe model, as shown below. Figure 3 As shown:

[0078] r is the fillet radius. N is the number of arc points, and j takes values ​​of 0, 1, 2...N. This represents the vector from point O to each arc point. The coordinates of point O can be calculated using the midpoints of the four rectangle sides, the arc radius r, and the rectangle side length d. Parallelism and Vectors vector Parallelism and Vectors It is the rotation angle for each arc point Pt. j The calculation method is as follows:

[0079]

[0080]

[0081] Find the arc points at each of the four corners in turn.

[0082] Connect the calculated arc points and the midpoints of the four sides to obtain the edge lines of the rounded rectangular pipe. The closed area formed by the edge lines of the rounded rectangular pipe is the pipe cross-section corresponding to each contour point.

[0083] In another implementation of the present invention, determining the coordinates of each edge point on the cross-section of the reinforcing part in the plane includes: calculating the coordinates of the midpoints of each pipe edge according to the trajectory direction and the preset pipe side length; calculating the coordinates of each arc point on each pipe arc corner according to the trajectory direction and the preset arc radius; and determining the reinforcing part of the edge contour line and each pipe cross-section corresponding to each contour point according to the coordinates of each edge point on the cross-section of the reinforcing part, including: connecting the coordinates of the midpoints of each pipe edge and the coordinates of each arc point to obtain the reinforcing part of the edge contour line and each pipe cross-section corresponding to each contour point.

[0084] In the embodiment of the present invention, by connecting the coordinates of the midpoints of each pipe side length and the coordinates of each arc point, the reinforced portion of the edge contour line and each pipe cross-section corresponding to each contour point are obtained. The method for determining each pipe cross-section is simple and convenient, and the connected pipe cross-sections are more accurate, allowing each pipe cross-section to correspond well with adjacent pipe cross-sections.

[0085] For example, when all points v on the curve are found i After setting the set of points along the edge of the rounded rectangular pipe at the location, v i The set of points at v i+1 Connecting the points at each point yields the model of the rounded rectangular pipe. Triangulation of this model creates the rounded pipe. This application uses a rounded rectangular pipe as an example for calculation, without specifying a particular shape for the pipe cross-section. The pipe cross-section can also be circular, rectangular, triangular, etc.

[0086] Figure 4 A structural block diagram of a modeling device provided in an embodiment of the present invention is shown below. Figure 4 As shown, this embodiment mainly includes:

[0087] Acquisition module 401: Used to acquire the modeling parameters of the edge contour of the mold model in the global three-dimensional coordinate system.

[0088] Processing module 402: is used to determine the trajectory direction of each contour point in the edge contour line based on modeling parameters; to establish a local three-dimensional coordinate system for each contour point based on each contour point and its trajectory direction; and to determine the reinforcing part of the edge contour line and each pipe section corresponding to each contour point based on the local three-dimensional coordinate system of each contour point.

[0089] Modeling module 403: Used to model the reinforcement based on each pipe cross-section of the reinforcement.

[0090] In the modeling device of this invention, the trajectory direction of each contour point in the edge contour line is determined according to the modeling parameters of the mold model. Based on each contour point and its trajectory direction, a local three-dimensional coordinate system is established for each contour point. In the local three-dimensional coordinate system of each contour point, each pipe section corresponding to each contour point is determined. The reinforcement part is modeled according to each pipe section. Since the local three-dimensional coordinate system of each contour point is established based on each contour point of the mold model and its trajectory direction, the deflection angle of each pipe section obtained in the local three-dimensional coordinate system matches the mold model. At the same time, it can better fit with the internal structure of the patient's oral cavity, improving the fit of the reinforcement part model.

[0091] In another implementation of the present invention, the processing module 402 is further configured to determine the trajectory direction of each contour point in the edge contour line based on the modeling parameters, including: determining the normal or tangential direction of each contour point on the edge contour line based on the modeling parameters; and establishing a local three-dimensional coordinate system for each contour point based on each contour point and its trajectory direction, including: establishing a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system based on the normal or tangential direction of each contour point.

[0092] In another implementation of the present invention, the processing module 402 is further configured to have an X-axis, a Y-axis and a Z-axis in the local three-dimensional coordinate system; based on the normal or tangent of each contour point, to establish a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system, including: establishing a local three-dimensional coordinate system for each contour point based on the three-dimensional coordinates of each contour point in the global coordinate system as the origin of the local three-dimensional coordinate system, wherein the normal is in the plane formed by the X-axis and the Y-axis, or the tangent is consistent with the direction of the Z-axis.

[0093] In another implementation of the present invention, the processing module 402 is further configured to determine the normal of each contour point on the edge contour line based on the modeling parameters, including: extracting the position parameters of each contour point and its adjacent contour points on the edge contour line from the modeling parameters; performing vector calculation on the position parameters of each contour point and its adjacent contour points on the edge contour line to obtain each vector between each contour point and its adjacent contour points; and calculating the normal or tangential of the contour point on the edge contour line according to the positional relationship between the vectors.

[0094] In another implementation of the present invention, the processing module 402 is further configured to calculate the normal or tangential direction of the contour point on the edge contour line based on the positional relationship between the vectors, including: determining the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction of the initial direction normal or initial direction tangential direction of the contour point to the adjacent contour point based on the positional relationship between the vectors; performing vector calculation based on the positional relationship between the initial direction normal or initial direction tangential direction of the contour point, the direction vector of the adjacent contour point, and the translation normal or translation tangential direction to obtain the normal or tangential direction of the contour point on the edge contour line.

[0095] In another implementation of the present invention, the processing module 402 is further configured to determine the reinforcing portion of the edge contour line and each pipe section corresponding to each contour point based on the local three-dimensional coordinate system of each contour point, including: determining the plane formed by the X-axis and Y-axis in the local three-dimensional coordinate system of each contour point, wherein the plane is the plane where the reinforcing portion section is located; determining the coordinate points of each edge point on the reinforcing portion section in the plane; and determining the reinforcing portion of the edge contour line and each pipe section corresponding to each contour point based on the coordinate points of each edge point on the reinforcing portion section.

[0096] In another implementation of the present invention, the processing module 402 is further configured to determine the coordinates of each edge point on the cross section of the reinforcing part in the plane, including: calculating the coordinates of each pipe side midpoint according to the trajectory direction and the preset pipe side length; calculating the coordinates of each arc point on each pipe arc corner according to the trajectory direction and the preset arc radius; and determining the reinforcing part of the edge contour line and each pipe cross section corresponding to each contour point according to the coordinates of each edge point on the cross section of the reinforcing part, including: connecting the coordinates of each pipe side midpoint and the coordinates of each arc point to obtain the reinforcing part of the edge contour line and each pipe cross section corresponding to each contour point.

[0097] The apparatus of this embodiment is used to implement the corresponding methods in the foregoing method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. Furthermore, the functional implementation of each module in the apparatus of this embodiment can be referred to the description of the corresponding part in the foregoing method embodiments, which will also not be repeated here.

[0098] like Figure 5 As shown, the electronic device 500 may include: a processor 501, a memory 503, a communication bus 504, and a communication interface 505.

[0099] in:

[0100] The processor 501, memory 503, and communication interface 505 communicate with each other via communication bus 504.

[0101] Communication interface 505 is used to communicate with other electronic devices or servers.

[0102] The processor 501 is used to execute the program 502, which can specifically execute the steps of any of the modeling methods in the above embodiments.

[0103] Specifically, program 502 may include program code that includes computer operation instructions.

[0104] The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The smart device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0105] Memory 503 is used to store program 502. Memory 503 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0106] Specifically, program 502 can be used to cause processor 501 to execute steps to implement any of the modeling methods described in the embodiments. The specific implementation of each step in program 502 can be found in the corresponding descriptions of the steps and units executed by any of the modeling methods described above, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments.

[0107] An exemplary embodiment of this application also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods of various embodiments of this application.

[0108] The methods described above according to embodiments of the present invention can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored on a remote recording medium or a non-transitory machine-readable medium and subsequently stored on a local recording medium, downloaded via a network. Thus, the methods described herein can be processed by software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.

[0109] Specific embodiments of the invention have now been described. Other embodiments are within the scope of the appended claims. In some cases, the actions described in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.

[0110] It should be noted that all directional indicators (such as up, down, left, right, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.

[0111] In the description of this invention, the terms "first" and "second" are used only for convenience in describing different components or names, and should not be construed as indicating or implying a sequential relationship, relative importance, or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" and "second" may explicitly or implicitly include at least one of that feature.

[0112] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

[0113] It should be noted that although specific embodiments of the present invention have been described in detail with reference to the accompanying drawings, this should not be construed as limiting the scope of protection of the present invention. Various modifications and variations that can be made by those skilled in the art without inventive effort within the scope described in the claims still fall within the scope of protection of the present invention.

[0114] The examples of the embodiments of the present invention are intended to concisely illustrate the technical features of the embodiments of the present invention, so that those skilled in the art can intuitively understand the technical features of the embodiments of the present invention, and are not intended to be an improper limitation of the embodiments of the present invention.

[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions 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 invention.

Claims

1. A modeling method, characterized in that, include: Obtain the modeling parameters of the edge contour line of the mold model in the global three-dimensional coordinate system, including: obtaining the mold model of the surgical guide of the maxilla or mandible, determining the edge contour line that needs to be widened and thickened based on the mold model of the surgical guide of the maxilla or mandible, and determining the modeling parameters of the edge contour line in the global three-dimensional coordinate system. Based on the modeling parameters, determine the normal or tangential direction of each contour point on the edge contour line; Based on the normal or tangent of each contour point, a local three-dimensional coordinate system for each contour point is established in the global three-dimensional coordinate system. Determine the plane formed by the X-axis and Y-axis in the local three-dimensional coordinate system of each contour point, where the plane is the plane where the cross section of the reinforcing part is located; Determine the coordinates of each edge point on the cross section of the reinforcing part within the plane; Based on the coordinates of each edge point on the cross section of the reinforcing section, determine the reinforcing section of the edge contour line and each pipe cross section corresponding to each contour point; The reinforcement is modeled based on the various pipe cross-sections of the reinforcement.

2. The method as described in claim 1, characterized in that, The local three-dimensional coordinate system has an X-axis, a Y-axis, and a Z-axis; The step of establishing a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system based on the normal or tangent of each contour point includes: Based on the three-dimensional coordinates of each contour point in the global three-dimensional coordinate system as the origin of the local three-dimensional coordinate system, a local three-dimensional coordinate system is established for each contour point, wherein the normal direction lies in the plane formed by the X-axis and Y-axis, or the tangential direction is consistent with the Z-axis direction.

3. The method as described in claim 1, characterized in that, The step of determining the normal or tangential direction of each contour point on the edge contour line based on the modeling parameters includes: Extract the position parameters of each contour point and its adjacent contour points on the edge contour line from the modeling parameters. Vector calculations are performed on the position parameters of each contour point and its adjacent contour points on the edge contour line to obtain the vectors between each contour point and its adjacent contour points. Based on the positional relationship between the vectors, the normal or tangential direction of the contour point on the edge contour line is calculated.

4. The method as described in claim 1, characterized in that, Determining the coordinates of each edge point on the cross-section of the reinforcing part within the plane includes: The coordinates of the midpoints of each pipe side are calculated based on the normal or tangential direction of the contour points on the edge contour line and the preset pipe side length. The coordinates of each arc point on each pipe arc corner are calculated based on the normal or tangential direction of the contour point on the edge contour line and the preset arc radius. The step of determining the reinforcing section of the edge contour line and the corresponding pipe sections based on the coordinates of each edge point on the reinforcing section section includes: Connect the coordinates of the midpoints of each pipe edge and the coordinates of each arc point to obtain the reinforced part of the edge contour line and the pipe cross-sections corresponding to each contour point.

5. A modeling apparatus, characterized in that, include: Acquisition module: used to acquire the modeling parameters of the edge contour line of the mold model in the global three-dimensional coordinate system, including: acquiring the mold model of the surgical guide of the maxilla or mandible, determining the edge contour line that needs to be widened and thickened based on the mold model of the surgical guide of the maxilla or mandible, and determining the modeling parameters of the edge contour line in the global three-dimensional coordinate system; Processing module: Used to determine the normal or tangential direction of each contour point on the edge contour line based on the modeling parameters; establish a local three-dimensional coordinate system for each contour point in the global three-dimensional coordinate system based on the normal or tangential direction of each contour point; determine the plane formed by the X-axis and Y-axis in the local three-dimensional coordinate system of each contour point, wherein the plane is the plane where the reinforcing section is located; determine the coordinate points of each edge point on the reinforcing section within the plane; and determine the reinforcing section of the edge contour line and the corresponding pipe sections of each contour point based on the coordinate points of each edge point on the reinforcing section. Modeling module: Used to model the reinforcement based on each pipe cross-section of the reinforcement.

6. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the modeling method as described in any one of claims 1 to 4.

7. A computer storage medium, characterized in that, The computer storage medium stores a computer program, which, when executed by a processor, implements the steps of the modeling method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Digital designing and manufacturing method for apical surgery guide plate

    CN108618854A

  • Puncture operation guide plate design method and system and puncture operation guide plate

    CN114429520A