Mold automatic detection method, electronic device and storage medium

By using Boolean intersection operations and automatic semi-circular surface recognition in the electronic data model of the mold, the problem of manually confirming the position of the U-groove during mold installation inspection is solved, achieving efficient automated detection, improving recognition accuracy and reducing manual intervention.

CN114708223BActive Publication Date: 2026-05-01DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
Filing Date
2022-03-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing technologies, mold installation inspection requires manual confirmation of the U-groove position, size, and clearance space, resulting in low efficiency and easy omissions. In particular, manual interference inspection before mold installation cannot be automatically identified, leading to long time and high labor intensity.

Method used

By acquiring the electronic data model of the mold, Boolean intersection operations are used to automatically identify interference between mold entities and filter out the outermost semicircular surface of the mold body, including the U-groove, reducing the number of mouse clicks and manual intervention.

Benefits of technology

Significantly reduces mold inspection time, reduces mouse clicks by 99%, improves recognition accuracy, effectively avoids missed inspections, and reduces the workload of inspection personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114708223B_ABST
    Figure CN114708223B_ABST
Patent Text Reader

Abstract

The application discloses a mold automatic detection method, an electronic device and a storage medium. The method comprises the following steps: obtaining first entity and second entity information in an electronic data model of a mold; performing a Boolean intersection operation on the first entity and the second entity; and determining an interference judgment result of the first entity and the second entity according to a Boolean intersection operation result. The application greatly shortens the mold checking time length, greatly reduces the mouse click times, and greatly improves the work intensity of the drawing personnel through automatic interference identification and automatic identification of a semicircular surface. Meanwhile, the identification accuracy is improved through automatic identification, and the missed detection situation is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mold inspection technology, and in particular to an automatic mold inspection method, electronic device and storage medium. Background Technology

[0002] Die setting refers to the correct installation and fixation of the stamping die on the press table. This includes ensuring the die size does not exceed the table size, that the air cushion support rod of the equipment does not interfere with the lower die of the drawing die, that the U-groove on the die corresponds one-to-one with the T-slot on the equipment, and that the U-groove clamp does not interfere with the die. The U-groove, also known as a U-slot, is a U-shaped structure on the die that ensures the die body is fixed to the press table and cannot move or rotate. Figure 13 As shown, U-groove 131 and T-groove 132 must correspond one-to-one. Currently, in the stamping die review and approval process, drawing inspectors need to manually check and confirm the die installation multiple times according to the drawing checklist to prevent die installation problems from affecting the actual product stage.

[0003] However, the existing method has the following problems:

[0004] For checking interference with the drawing die support rods during mold installation, the existing technology involves manual inspection. A 3D drawing is projected onto a top view, and each of the 251 air cushion support rods is manually checked for interference with the lower die. This inspection is time-consuming and prone to errors due to human negligence.

[0005] Before the actual mold is manufactured, the 3D drawings of the mold designed by the mold factory need to be manually inspected and signed off to prevent installation problems from affecting the final product. During manual inspection, software such as the "Measure Distance" tool built into SIEMENS NX UG is required for manual testing.

[0006] However, stamping dies have many U-grooves, requiring manual verification of their position, size, clearance, and quantity to ensure they meet design standards. The large number of dimensions requiring verification results in lengthy manual checks and low efficiency. For example, measuring the height of a U-groove requires selecting a starting face, then an ending face, and finally clicking "OK," meaning three mouse clicks for each dimension – time-consuming and labor-intensive. The high number of mouse clicks also demands high concentration from the inspector, leading to a high workload. For instance, a certain car model's hood inner panel drawing die required measuring 180 installation dimensions, necessitating over 540 mouse clicks and approximately 45 minutes of manual die installation inspection. Complex, larger side panel dies require approximately 60-80 minutes for installation inspection, resulting in low efficiency and a high risk of missed inspections. Summary of the Invention

[0007] Therefore, it is necessary to provide an automatic mold detection method, electronic device, and storage medium to address the technical problems of existing technologies that cannot automatically identify interference and U-grooves, which require repetitive manual labor.

[0008] This invention provides an automatic mold inspection method, comprising:

[0009] Obtain information about the first and second entities from the electronic data model of the mold;

[0010] Perform a Boolean intersection operation on the first entity and the second entity, and determine the interference judgment result between the first entity and the second entity based on the Boolean intersection operation result.

[0011] Further, the step of performing a Boolean intersection operation on the first entity and the second entity, and determining the interference judgment result between the first entity and the second entity based on the Boolean intersection operation result, specifically includes:

[0012] Perform a Boolean intersection operation between each face of the first entity and the second entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set;

[0013] Perform a Boolean intersection operation between each face of the second entity and the first entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set;

[0014] Determine whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure;

[0015] If the intersecting surfaces in the set of intersecting surfaces form at least one three-dimensional structure, then it is determined that the first entity and the second entity interfere with each other, and the three-dimensional structure is the interference region; otherwise, it is determined that the first entity and the second entity do not interfere with each other.

[0016] The interference determination result is determined by whether there is interference between the first entity and the second entity, and the information of the interference region.

[0017] Furthermore, determining whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure specifically includes:

[0018] For each intersecting surface in the set of intersecting surfaces, determine the loop of each intersecting surface;

[0019] Determine the common edge shared by multiple intersecting surfaces;

[0020] If intersecting surfaces with the same shared edge are connected, and the connected intersecting surfaces form a closed solid structure, then it is determined that the intersecting surfaces in the set of intersecting surfaces can form a solid structure.

[0021] Furthermore, it also includes:

[0022] In the electronic data model, all faces of the mold body are traversed, and the semi-circular faces are selected from them;

[0023] Determine whether the semicircular surface is located on the outermost side of the mold body;

[0024] Select the outermost semicircular surface of the mold body as the selected semicircular surface;

[0025] Determine the information of the selected semicircle.

[0026] Furthermore, the step of traversing all faces of the mold body in the electronic data model and selecting the semicircular face specifically includes:

[0027] In the electronic data model, all surfaces of the mold body are traversed, and the surfaces whose boundary loops include the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc are selected as semicircular surfaces.

[0028] Furthermore, in the electronic data model, all surfaces of the mold body are traversed, and the surfaces whose boundary loops sequentially include: a first straight line segment, a first semicircular arc, a second straight line segment, and a second semicircular arc are selected as semicircular surfaces. Specifically, this includes:

[0029] Traverse all surfaces and select the surfaces whose boundary loops sequentially include: the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc as the surfaces to be selected;

[0030] From all the surfaces to be screened, select the surface whose line connecting the center of the first semicircle and the center of the second semicircle is parallel to the surface to be screened and has no intersection point as the semicircle surface.

[0031] Furthermore, the step of traversing all faces of the mold body in the electronic data model and selecting the semicircular faces specifically includes:

[0032] In the electronic data model, all surfaces of the mold body are traversed, and the surfaces with a rotation angle of 180° are selected as semicircular surfaces.

[0033] Furthermore, the traversal of all surfaces of the mold body in the electronic data model specifically includes:

[0034] In the electronic data model, all surfaces of the mold body are traversed, and for each surface, the boundary of curvature discontinuity is determined. Based on the boundary, the surface is cut.

[0035] The cut surfaces are then screened.

[0036] Furthermore, determining whether the semicircular surface is located on the outermost side of the mold body specifically includes:

[0037] An extension body is constructed along the central normal direction of the semicircular surface. The length of the extension body is greater than the maximum length of the mold body, where the maximum length is the maximum distance between any two points in the mold body.

[0038] Perform a Boolean intersection operation on the extension body and the mold body, and determine whether there is interference between the extension body and the mold body based on the Boolean intersection operation result;

[0039] If the extension body does not interfere with the mold body, then it is determined that the semicircular surface corresponding to the extension body is located on the outermost side of the mold body.

[0040] This invention provides an electronic device, comprising:

[0041] At least one processor; and,

[0042] A memory communicatively connected to at least one of the processors; wherein,

[0043] The memory stores instructions that can be executed by at least one of the processors to enable at least one of the processors to perform the automatic mold inspection method as described above.

[0044] The present invention provides a storage medium that stores computer instructions, which, when executed by a computer, are used to perform all the steps of the automatic mold detection method described above.

[0045] This invention significantly reduces mold inspection time and the number of mouse clicks by automatically identifying interference and semi-circular surfaces, greatly improving the workload of inspection personnel. Simultaneously, automatic identification improves accuracy and effectively avoids missed inspections. Attached Figure Description

[0046] Figure 1 This is a flowchart illustrating the automatic mold inspection method of the present invention.

[0047] Figure 2 This is a flowchart illustrating the automatic mold inspection method according to an embodiment of the present invention.

[0048] Figure 3 This is a schematic diagram of interference detection between the air cushion support rod and the lower mold base plate;

[0049] Figure 4 This is a diagram illustrating the Boolean intersection operation between two cubes.

[0050] Figure 5 A schematic diagram showing the boundary rings on different faces;

[0051] Figure 6This is a schematic diagram of the outermost semicircular surface of the mold body;

[0052] Figure 7 To extend the physical examination Figure 6 Schematic diagram of a semicircular surface;

[0053] Figure 8 A schematic diagram of a semi-circular surface that is not on the outermost side of the mold body;

[0054] Figure 9 To extend the physical examination Figure 8 Schematic diagram of a semicircular surface;

[0055] Figure 10 A schematic diagram of a semicircular surface used for minimum division;

[0056] Figure 11 To Figure 10 A schematic diagram of the minimum division of a semicircular surface;

[0057] Figure 12 This is a schematic diagram of the hardware structure of an electronic device according to the present invention;

[0058] Figure 13 This is a schematic diagram of the U-groove and T-slot mating. Detailed Implementation

[0059] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings. Identical components are indicated by the same reference numerals. It should be noted that the terms "front," "rear," "left," "right," "up," and "down" used in the following description refer to directions in the accompanying drawings, while the terms "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.

[0060] like Figure 1 The diagram shown is a flowchart of an automatic mold inspection method according to the present invention, including:

[0061] Step S101: Obtain the information of the first entity and the second entity in the electronic data model of the mold;

[0062] Step S102: Perform a Boolean intersection operation on the first entity and the second entity, and determine the interference judgment result between the first entity and the second entity based on the Boolean intersection operation result.

[0063] Specifically, during the inspection, the 3D drawings of the mold designed by the mold factory are first imported to obtain the electronic data model of the mold. For example, the drawings are imported into SIEMENS NX UG. Then, step S101 is executed to obtain the information of the first and second entities to be inspected for interference from the electronic data model. The mold includes the mold body or various mold components assembled onto the mold body. The mold body may include an upper mold and a lower mold that can be opened or closed. The lower mold may include a pressure ring and a lower mold base plate. The electronic data model of the mold includes: the mold, the equipment acting on the mold and the equipment components on the equipment, and the virtual components created when measuring the mold body, etc. Among them, the first entity and the second entity are various model components in the electronic data model. For example, in the electronic data model: the mold body, mold components, the equipment acting on the mold body or mold components and the equipment components on the equipment, and the virtual components created when measuring the mold body. For example, Figure 3 As shown, the first entity can be the air cushion support rod 33 acting on the pressure ring 32, and the second entity can be the lower mold base plate 31. Then, step S102 performs a Boolean intersection operation on the first entity and the second entity, and determines whether the first entity and the second entity interfere based on the Boolean intersection operation result. Steps S101 to S102 are executed for all the first entities and second entities to be detected, and after obtaining all interference judgment results, they are displayed or subsequent detection judgments are performed. The use of interference judgment results can be achieved using existing interference detection methods.

[0064] This invention significantly reduces mold inspection time and the number of mouse clicks by automatically identifying interference, greatly improving the workload of inspection personnel. Simultaneously, automatic identification improves accuracy and effectively avoids missed inspections.

[0065] like Figure 2 The diagram shown is a flowchart of an automatic mold inspection method according to an embodiment of the present invention, including:

[0066] Step S201: Obtain the information of the first entity and the second entity in the electronic data model of the mold.

[0067] Step S202: Perform a Boolean intersection operation on each face of the first entity and the second entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set.

[0068] Step S203: Perform a Boolean intersection operation between each face of the second entity and the first entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set.

[0069] Step S204: Determine whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure.

[0070] In one embodiment, determining whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure specifically includes:

[0071] For each intersecting surface in the set of intersecting surfaces, determine the loop of each intersecting surface;

[0072] Determine the common edge shared by multiple intersecting surfaces;

[0073] If intersecting surfaces with the same shared edge are connected, and the connected intersecting surfaces form a closed solid structure, then it is determined that the intersecting surfaces in the set of intersecting surfaces can form a solid structure.

[0074] Step S205: If the intersecting surfaces in the set of intersecting surfaces form at least one three-dimensional structure, then it is determined that the first entity and the second entity interfere with each other, and the three-dimensional structure is the interference region; otherwise, it is determined that the first entity and the second entity do not interfere with each other.

[0075] Step S206: The information on whether the first entity and the second entity interfere with each other, and the information on the interference area, are used as the interference judgment result.

[0076] Step S207: Traverse all faces of the mold body in the electronic data model and select the semi-circular face.

[0077] In one embodiment, the step of traversing all faces of the mold body in the electronic data model and selecting the semicircular face specifically includes:

[0078] In the electronic data model, all surfaces of the mold body are traversed, and the surfaces whose boundary loops include the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc are selected as semicircular surfaces.

[0079] In one embodiment, the process of traversing all surfaces of the mold body in the electronic data model and selecting surfaces whose boundary loops sequentially include: a first straight line segment, a first semicircular arc, a second straight line segment, and a second semicircular arc as a semicircular surface specifically includes:

[0080] Traverse all surfaces and select the surfaces whose boundary loops sequentially include: the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc as the surfaces to be selected;

[0081] From all the surfaces to be screened, select the surface whose line connecting the center of the first semicircle and the center of the second semicircle is parallel to the surface to be screened and has no intersection point as the semicircle surface.

[0082] In one embodiment, the step of traversing all faces of the mold body in the electronic data model and selecting the semicircular face specifically includes:

[0083] In the electronic data model, all surfaces of the mold body are traversed, and the surfaces with a rotation angle of 180° are selected as semicircular surfaces.

[0084] In one embodiment, the traversal of all surfaces of the mold body in the electronic data model specifically includes:

[0085] In the electronic data model, all surfaces of the mold body are traversed, and for each surface, the boundary of curvature discontinuity is determined. Based on the boundary, the surface is cut.

[0086] The cut surfaces are then screened.

[0087] Step S208: Determine whether the semicircular surface is located on the outermost side of the mold body.

[0088] In one embodiment, determining whether the semicircular surface is located on the outermost side of the mold body specifically includes:

[0089] An extension body is constructed along the central normal direction of the semicircular surface. The length of the extension body is greater than the maximum length of the mold body, where the maximum length is the maximum distance between any two points in the mold body.

[0090] Perform a Boolean intersection operation on the extension body and the mold body, and determine whether there is interference between the extension body and the mold body based on the Boolean intersection operation result;

[0091] If the extension body does not interfere with the mold body, then it is determined that the semicircular surface corresponding to the extension body is located on the outermost side of the mold body.

[0092] In one embodiment, determining whether the semicircular surface is located on the outermost side of the mold body specifically includes:

[0093] In the semicircular surface, the boundary of the curvature discontinuity is determined, and based on the boundary, the semicircular surface is cut into the smallest subdivided semicircular surface;

[0094] Determine whether the semicircular surface of the smallest division is located on the outermost side of the mold body.

[0095] Step S209: Select the semicircular surface located on the outermost side of the mold body as the selected semicircular surface.

[0096] Step S210: Determine the information of the selected semicircular surface.

[0097] Specifically, during the inspection, the 3D drawings of the mold designed by the mold factory are first imported to obtain the electronic data model of the mold. For example, the drawings are imported into SIEMENS NX UG. Then, step S201 is executed to obtain the information of the first and second entities to be subjected to interference detection from the electronic data model. Then, steps S202 and S203 are executed to store the obtained intersecting surfaces in the intersecting surface set and to determine whether the intersecting surfaces in the intersecting surface set can form a three-dimensional structure. The calculation of the intersecting surfaces involves finding the intersection of each face of one three-dimensional entity with the face of another three-dimensional entity.

[0098] The complex Boolean intersection operation of 3D solids is transformed into a problem of finding intersections between faces. Specifically, each face of the first solid is subjected to a Boolean intersection operation with the second solid. For each face of the first solid, a cross-section of the second solid with respect to that face is obtained. Then, a Boolean intersection operation is performed between this cross-section and the corresponding face of the first solid to obtain the intersecting face. This process is repeated for each face of the second solid and the first solid.

[0099] Boolean intersection operations can be implemented using existing technologies, such as using SIEMENS NX UG to calculate and output the intersection surfaces of each face of the first entity with the second entity, and using SIEMENS NX UG to calculate and output the intersection surfaces of each face of the second entity with the first entity. Then, for the intersection surfaces in the set of intersection surfaces, the loop of each intersection surface is determined, the common edge shared by multiple intersection surfaces is determined, and finally it is determined whether intersection surfaces with the same common edge can form a solid structure.

[0100] by Figure 4 Taking the Boolean intersection operation of two cubes as an example:

[0101] Step 1: Select any face of entity 41 and perform a Boolean intersection operation with entity 42 to form a cross section. For example, the cross section of entity 41, a1-a2-a3-a4-a1 (named Face1), is x1-x4-x3-x2-x1 (named Section1). Section1 must be coplanar with face Face1. Therefore, the three-dimensional problem can be transformed into a two-dimensional planar problem. That is, find the planar intersection of section1 and face Face1, that is, the common part of these two faces, which is face x1-a3-x5-x2-x1 (named Intersecting Face Insect1). In this way, we find a certain intersecting face of the intersection set.

[0102] Step 2. Repeat the method in Step 1 for the other faces of entity 41, that is, you can get the other intersecting faces of entity 41, a3-x5-x8-x9-a3 (named intersecting face Insect2) and a3-x9-b2-x1-a3 (named intersecting face Insect3), and store the intersecting faces in the intersecting face set;

[0103] Step 3. Repeat the method in Step 1 for each face of entity 42 to obtain the intersecting faces of entity 42: b1-x2-x5-x8-b1 (named intersecting face Insect4), b1-b2-x1-x2-b1 (named intersecting face Insect5), and b1-b2-x9-x8-b1 (named intersecting face Insect6). Store the intersecting faces in the intersecting face set.

[0104] Step 4. An ordered closed boundary formed by connecting vertices along edges in a certain direction is called a loop; a counter-clockwise loop is called an outer loop. Each intersecting surface in the intersection set has one and only one outer loop. By finding the common edges of the outer loops of the intersecting surfaces, the surfaces are constructed into a solid (closed 3D structure), thus generating the intersection set. Specifically, multiple intersecting surfaces are connected based on their common edges; after connection, the common edges are eliminated until a closed space is formed. When a closed space is detected, a 3D structure is generated.

[0105] If the intersecting surfaces in the set of intersecting surfaces constitute at least one three-dimensional structure, then it is determined that the first entity and the second entity interfere with each other; otherwise, it is determined that the first entity and the second entity do not interfere with each other.

[0106] The mold contains a U-groove semicircular surface. Steps S207 to S209 automatically identify the semicircular surface located on the outermost side of the mold body.

[0107] First, step S207 filters out semi-circular surfaces. The types of surfaces that make up a mold are limited: straight surfaces, irregular curved surfaces, various circular surfaces, and semi-circular surfaces. Straight surfaces are the various straight lines stretched from the mold, i.e., various planes. Irregular curved surfaces are the product-shaped surfaces on the mold. Various circular surfaces are the various round holes and rounded corner surfaces on the mold. The semi-circular surface is the U-groove that needs to be found in this embodiment.

[0108] Therefore, straight surfaces can be excluded first to filter out curved surfaces. The exclusion of straight surfaces can be done using existing techniques, such as in SIEMENS NX UG, where each surface has feature attributes. These feature attributes represent the types of surfaces. By filtering based on different feature attributes, various circular and semi-circular surfaces can be filtered out, while straight surfaces and irregular curved surfaces can be removed.

[0109] Then, since the rotation angle of the semicircular surface is 180°, in one embodiment, the semicircular surface can be screened out by the difference in geometric features, namely the different directions of the center normals of these circular surfaces and the different rotation angles of the circular surfaces.

[0110] In addition, such as Figure 5 As shown, the boundary ring of the semicircular surface 51 is "straight line segment + semicircular arc + straight line segment + semicircular arc". The boundary ring of the straight surface 52 is "straight line segment + straight line segment + straight line segment + straight line segment". The boundary ring of the annulus 53 is "straight circle arc + semicircular arc". The boundary ring of the irregular curved surface 54 is "irregular curve + irregular curve + irregular curve + irregular curve".

[0111] Therefore, in one embodiment, all surfaces can be traversed to select surfaces whose boundary loops sequentially include: a first straight line segment, a first semicircular arc, a second straight line segment, and a second semicircular arc as the surfaces to be selected. Then, a verification is performed, and from all the surfaces to be selected, the surfaces whose lines connecting the centers of the first and second semicircular arcs are parallel to the surfaces to be selected and have no intersection points are selected as semicircular surfaces. In other words, semicircular surfaces can be quickly found by the program.

[0112] Alternatively, in one embodiment, the compliance can be determined by whether the rotation angle of the semicircular surface is equal to 180°. From all the surfaces to be screened, the surface with a rotation angle of 180° is selected as the semicircular surface.

[0113] In particular, before filtering the curved surfaces, it is preferable to select the curved surfaces with the smallest division for filtering.

[0114] The continuity of a surface generally includes positional continuity (G0), tangent continuity (G1), and curvature continuity (G2).

[0115] 1. Positional continuity (G0)

[0116] The positional continuity of a surface means that a newly constructed surface can be directly connected to an adjacent surface without needing to be tangent at the intersection of the two surfaces.

[0117] 2. Tangential continuity (G1)

[0118] Tangential continuity of a surface means that, based on the continuity of the surface position, the newly created surface and the connected surface are tangentially continuous at the intersection line, that is, the newly created surface and the connected surface have the same normal direction at the intersection line.

[0119] 3. Curvature continuity (G2)

[0120] Curvature continuity of a surface refers to the curvature continuity of a newly created surface at the intersection line with the connected surfaces, based on the tangential continuity of the existing surfaces.

[0121] Therefore, by determining whether the surface boundary is curvature continuous, the semicircular surface that has been minimally divided can be found.

[0122] For example Figure 10 The surface 101 shown is subjected to curvature continuity testing. For example... Figure 11 As shown, it can be determined that the curvature of surface 1011 is discontinuous when it reaches the boundary with surface 1012. Therefore, surface 101 can be divided into surface 1011 and surface 1012. Then, subsequent filtering operations are performed on surface 1011 and surface 1012.

[0123] Then, in step S208, the position of the semicircular surface is determined to see if it is located on the outermost side of the mold body. Since the U-groove is on the outermost side of the mold, meaning the U-groove surface of the semicircle is always on the outermost side, determining whether the semicircular surface is on the outermost side of the mold body allows the identification of the required U-groove semicircular surface. This leads to step S209, where the position, size, quantity, and other information of the U-groove are obtained, enabling automatic mold installation inspection. After identifying the U-groove, the information about the semicircular surface can be obtained using existing technologies, such as SIEMENS NX UG. Once the information about the selected semicircular surface is determined, it can be displayed or subsequent detection and judgment can be performed. The use of the semicircular surface information can be achieved using existing semicircular surface detection and judgment methods.

[0124] like Figure 6 As shown, the position attribute, namely the semicircular surface 61 of the U-groove of the mold, is on the outermost side of the mold body 62. For example... Figure 7 As shown, by creating an infinitely long cube 63 as an extension body starting from the center of the U-groove semicircle, the cube generated at the U-groove will not interfere with the mold body 62, that is, the Boolean intersection operation will not produce an intersection set.

[0125] Conversely, an infinitely long cube generated at the center of a semicircle not on the outermost edge will interfere with the mold entity. For example... Figure 8 As shown, a semi-circular hole 81 appears in the mold body 82, and its shape is the same as the semi-circular surface of the U-groove. However, their positions are different. Figure 9 As shown, an infinitely long cube 83 is generated in the background by the program. The cube 83 will inevitably interfere with the mold body 82. In this way, the program can determine that the semicircular surface of the semicircular hole 81 is not the U-groove surface, and thus the true U-groove surface can be screened out.

[0126] The infinitely long cube can be achieved by setting the length of the cube, which serves as an extension, to be much greater than the maximum length of the mold body. Preferably, the length of the extension is N times the maximum length of the mold body, where N is greater than 1. For example, the length of the extension is set to be 3 times the maximum length of the mold body.

[0127] The extension direction of the extension body is consistent with the relative direction of the center of the semicircular surface and the center coordinate of the mold. In mold design, the opening direction of a U-groove that meets the requirements is outward of the mold. Therefore, the extension direction of the extension body can be determined based on the relative position of the center coordinate of the semicircular surface and the center coordinate of the mold. That is, if the relative direction of the center of the semicircular surface and the center coordinate of the mold is along the positive direction of the coordinate axis, such as the positive direction of the Y-axis, then the extension direction of the extension body is also set to the positive direction of the Y-axis. Conversely, if the relative direction of the center of the semicircular surface and the center coordinate of the mold is along the negative direction of the coordinate axis, such as the negative direction of the Y-axis, then the extension direction of the extension body is also set to the negative direction of the Y-axis. If the extension body does not interfere, it means that it meets the characteristics of the U-groove semicircular surface. If the extension body interferes, there are two possibilities: first, it is not on the outermost side of the mold body; second, it is on the outermost side of the mold body, but the orientation of the semicircular surface is different from the U-groove semicircular surface to be found. Thus, by checking whether the extension body interferes, the U-groove semicircular surface that meets the requirements can be selected.

[0128] The extension body can be taken as the first entity and the mold body as the second entity. The method described above for determining whether the first entity and the second entity interfere with each other can be used to determine whether the extension body and the mold body interfere with each other.

[0129] This invention accurately determines solid interference through Boolean intersection operations. It accurately identifies the outermost semicircular surface of the mold body by analyzing surface attributes and position. By generating an extension, it accurately determines whether the semicircular surface is located on the outermost side of the mold body. Through automatic interference and semicircular surface identification, mold inspection time is significantly reduced by over 85%. The number of mouse clicks is drastically reduced to only 5, a 99% reduction, significantly improving the workload of inspection personnel. Simultaneously, automatic identification improves accuracy and effectively avoids missed detections.

[0130] like Figure 12 The diagram shown is a hardware structure schematic of an electronic device according to the present invention, comprising:

[0131] At least one processor 1201; and,

[0132] A memory 1202 is communicatively connected to at least one of the processors 1201; wherein,

[0133] The memory 1202 stores instructions that can be executed by at least one of the processors to enable the at least one of the processors to perform the automatic mold inspection method as described above.

[0134] Figure 12 Take a processor 1201 as an example.

[0135] The electronic device may also include an input device 1203 and a display device 1204.

[0136] The processor 1201, memory 1202, input device 1203 and display device 1204 can be connected by a bus or other means. The figure shows an example of connection by bus.

[0137] The memory 1202, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the automatic mold detection method in the embodiments of this application. Figure 1 , Figure 2 The method flow is shown. The processor 1201 executes various functional applications and data processing by running non-volatile software programs, instructions, and modules stored in the memory 1202, thereby realizing the automatic mold detection method in the above embodiment.

[0138] The memory 1202 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required for at least one function. The data storage area may store data created based on the use of the automatic mold inspection method. Furthermore, the memory 1202 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1202 may optionally include memory remotely located relative to the processor 1201, and these remote memories can be connected via a network to the apparatus performing the automatic mold inspection method. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0139] The input device 1203 can receive user clicks and generate signal inputs related to user settings and function control of the automatic mold detection method. The display device 1204 may include a display screen or other display equipment.

[0140] When one or more modules are stored in the memory 1202, and are run by one or more processors 1201, the automatic mold detection method in any of the above method embodiments is executed.

[0141] This invention significantly reduces mold inspection time and the number of mouse clicks by automatically identifying interference and semi-circular surfaces, greatly improving the workload of inspection personnel. Simultaneously, automatic identification improves accuracy and effectively avoids missed inspections.

[0142] One embodiment of the present invention provides a storage medium that stores computer instructions, which, when executed by a computer, are used to perform all the steps of the automatic mold detection method described above.

[0143] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. An automatic mold inspection method, characterized in that, include: Obtain information about the first and second entities from the electronic data model of the mold; Perform a Boolean intersection operation on the first entity and the second entity, and determine the interference judgment result between the first entity and the second entity based on the Boolean intersection operation result; In the electronic data model, all faces of the mold body are traversed, and the semi-circular faces are selected from them; Determine whether the semicircular surface is located on the outermost side of the mold body; Select the outermost semicircular surface of the mold body as the selected semicircular surface; Determine the information of the selected semicircle.

2. The automatic mold detection method according to claim 1, characterized in that, The step of performing a Boolean intersection operation on the first entity and the second entity, and determining the interference judgment result between the first entity and the second entity based on the Boolean intersection operation result, specifically includes: Perform a Boolean intersection operation between each face of the first entity and the second entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set; Perform a Boolean intersection operation between each face of the second entity and the first entity, and store the intersecting faces obtained from the Boolean intersection operation in the intersecting face set; Determine whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure; If the intersecting surfaces in the set of intersecting surfaces form at least one three-dimensional structure, then it is determined that the first entity and the second entity interfere with each other, and the three-dimensional structure is the interference region; otherwise, it is determined that the first entity and the second entity do not interfere with each other. The interference determination result is determined by whether there is interference between the first entity and the second entity, and the information of the interference region.

3. The automatic mold inspection method according to claim 2, characterized in that, The determination of whether the intersecting surfaces in the set of intersecting surfaces can form a three-dimensional structure specifically includes: For the intersecting surfaces in the set of intersecting surfaces, determine the loop of each intersecting surface, and take the counterclockwise loop as the outer loop; Determine the common edge of the outer ring shared by multiple intersecting surfaces; Connect intersecting surfaces with the same shared edge. If the connected intersecting surfaces form a closed solid structure, then a solid structure is generated.

4. The automatic mold inspection method according to claim 1, characterized in that, The process of traversing all faces of the mold body in the electronic data model and selecting the semicircular face specifically includes: In the electronic data model, all surfaces of the mold body are traversed, and the surfaces whose boundary loops include the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc are selected as semicircular surfaces.

5. The automatic mold inspection method according to claim 4, characterized in that, In the electronic data model, all surfaces of the mold body are traversed, and the surfaces whose boundary loops sequentially include: a first straight line segment, a first semicircular arc, a second straight line segment, and a second semicircular arc are selected as semicircular surfaces. Specifically, these include: Traverse all surfaces and select the surfaces whose boundary loops sequentially include: the first straight line segment, the first semicircular arc, the second straight line segment, and the second semicircular arc as the surfaces to be selected; From all the surfaces to be screened, select the surface whose line connecting the center of the first semicircle and the center of the second semicircle is parallel to the surface to be screened and has no intersection point as the semicircle surface.

6. The automatic mold inspection method according to claim 1, characterized in that, The process of traversing all faces of the mold body in the electronic data model and selecting the semicircular face specifically includes: In the electronic data model, all surfaces of the mold body are traversed, and the surfaces with a rotation angle of 180° are selected as semicircular surfaces.

7. The automatic mold inspection method according to any one of claims 4 to 6, characterized in that, The process of traversing all surfaces of the mold body in the electronic data model specifically includes: In the electronic data model, all surfaces of the mold body are traversed, and for each surface, the boundary of curvature discontinuity is determined. Based on the boundary, the surface is cut. The cut surfaces are then screened.

8. The automatic mold inspection method according to claim 1, characterized in that, The determination of whether the semicircular surface is located on the outermost side of the mold body specifically includes: An extension body is constructed along the central normal direction of the semicircular surface. The length of the extension body is greater than the maximum length of the mold body, where the maximum length is the maximum distance between any two points in the mold body. Perform a Boolean intersection operation on the extension body and the mold body, and determine whether there is interference between the extension body and the mold body based on the Boolean intersection operation result; If the extension body does not interfere with the mold body, then it is determined that the semicircular surface corresponding to the extension body is located on the outermost side of the mold body.

9. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by at least one of the processors, which enable the at least one processor to perform the automatic mold inspection method as described in any one of claims 1 to 8.

10. A storage medium, characterized in that, The storage medium stores computer instructions, which, when executed by the computer, are used to perform all the steps of the automatic mold detection method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Boolean operation method of three-dimensional planar solids

    CN104134236A