A waterway detection method based on UG NX and a computer-readable storage medium

By setting up a prosthesis in the mold for collision detection between waterways and parts, the problem of time-consuming and inaccurate screening of waterway wall thickness is solved, and the rapid and convenient waterway design is improved.

CN114444220BActive Publication Date: 2025-03-14HI P SHANGHAI HOUSING APPLIANCE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111507510.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2025-03-14
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

The traditional method of manual screening of waterway wall thickness is time-consuming and laborious and cannot guarantee accuracy, resulting in insufficient convenience and speed of waterway design.

Method used

UG NX-based waterway detection method is adopted, by setting up a prosthesis in the mold for collision detection between the waterway and other parts, the distance between the prosthesis and parts is obtained, and whether the waterway meets the requirements according to the preset strategy.

Benefits of technology

It has achieved rapid testing of requirements such as whether the wall thickness of the waterway is safe and whether the paving is qualified, and improved the convenience and speed of waterway design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114444220B_ABST
    Figure CN114444220B_ABST
Patent Text Reader

Abstract

The present application discloses a waterway detection method based on UG NX and a computer-readable storage medium, including: setting a prosthesis covering the outside of the waterway to be tested in the mold according to a preset rule; obtaining the distance between the prosthesis and the parts near the waterway to be tested according to the position of the prosthesis; based on the distance, detecting whether the waterway to be tested meets the requirements according to a preset strategy. In this way, by using the prosthesis to perform collision detection between the waterway and other parts, it is possible to quickly detect whether the wall thickness of the waterway is safe, whether the laying is qualified, etc., thereby improving the convenience and speed of waterway design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mold automation, and in particular to a water channel detection method based on UG NX and a computer-readable storage medium. Background Art

[0002] The water channel is one of the main components of the cooling system in the mold. By opening and rotating holes in the mold frame and template, interconnected circular water flow channels are formed, referred to as "water channels". They are mainly distributed in the template belonging to the mold core cavity and wrapped around the mold core. The distribution of other water channels is mainly to achieve the function of guiding and dissipating heat for the entire mold frame and to distribute them evenly. Since there are other parts outside the water channel, it is necessary to ensure that the wall thickness of the water channel meets the design requirements, that is, it cannot be too small, otherwise the water pressure will be too high and cracks will occur; it cannot be too thick, otherwise the cooling effect cannot be achieved.

[0003] The traditional method of manually screening the wall thickness of water channels is not only time-consuming and labor-intensive, but also cannot guarantee accuracy. Specifically, since manual screening requires designers to repeatedly measure during the design process, especially when the design is summarized for general assembly, it is necessary to repeatedly confirm the safety relationship between each component, assembly and water channel. If the safety relationship does not meet the requirements, there is a risk of repeatedly adjusting the component design, or even redesigning it. Therefore, how to improve the convenience and speed of water channel design has been under research. Summary of the invention

[0004] The purpose of the present invention is to provide a water channel detection method based on UG NX and a computer-readable storage medium. By using a prosthesis to detect the collision between the water channel and other components, it is possible to quickly detect whether the wall thickness of the water channel is safe and whether the laying is qualified, thereby improving the convenience and speed of water channel design.

[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a waterway detection method based on UG NX, the method comprising:

[0007] According to a preset rule, a prosthesis is arranged to cover the outside of the water channel to be tested in the mold;

[0008] Acquire the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis;

[0009] Based on the distance, whether the waterway to be tested meets the requirements is detected according to a preset strategy.

[0010] As one embodiment, before the prosthesis covering the outside of the water channel to be tested in the mold is arranged according to a preset rule, the method further includes:

[0011] Receive a waterway component selection instruction and determine the waterway to be tested.

[0012] As one embodiment, the method of setting the prosthesis covering the outside of the water channel to be tested in the mold according to a preset rule includes:

[0013] The sum of the diameter of the water channel to be tested and a preset buffer threshold is determined as the diameter of the prosthesis;

[0014] The prosthesis covering the outside of the water channel to be tested in the mold is correspondingly arranged based on the diameter of the prosthesis.

[0015] As one implementation manner, the preset buffer threshold is 4 to 8 mm.

[0016] As one implementation manner, obtaining the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis includes:

[0017] According to the three-dimensional coordinates of the prosthesis and the three-dimensional coordinates of the components near the waterway to be tested, it is determined whether the prosthesis intersects with the target component; wherein the target component is any component near the waterway to be tested;

[0018] If so, the depth of insertion of the prosthesis into the target component is determined as the distance between the prosthesis and the target component;

[0019] If not, the shortest distance between the prosthesis and the target component is determined as the distance between the prosthesis and the target component.

[0020] As one implementation manner, the detecting whether the waterway to be tested meets the requirements based on the distance and according to a preset strategy includes at least one of the following:

[0021] If the prosthesis intersects the target component and the distance is greater than or equal to a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested is unsafe;

[0022] If the prosthesis intersects with the target component and the distance is less than a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested needs to be modified;

[0023] If the prosthesis does not intersect the target component and the distance is less than or equal to a second preset distance threshold, it is determined that the wall thickness of the waterway to be tested is safe;

[0024] If the dummy does not intersect the target component and the distance is greater than a second preset distance threshold, it is determined that the laying of the waterway to be tested is unqualified.

[0025] As one implementation mode, it also includes:

[0026] The water channel to be tested is marked in the design drawing of the mold according to the test results.

[0027] As one implementation manner, marking the water channel to be tested in the design drawing of the mold according to the test result includes:

[0028] Determining a target color for marking the waterway to be tested according to the test result;

[0029] The water channel to be tested is marked with the target color in the design drawing of the mold.

[0030] In a second aspect, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the waterway detection method based on UG NX described in the first aspect are implemented.

[0031] The embodiment of the present invention provides a waterway detection method based on UG NX and a computer-readable storage medium, comprising: setting a prosthesis covering the outside of the waterway to be tested in the mold according to a preset rule; obtaining the distance between the prosthesis and the parts near the waterway to be tested according to the position of the prosthesis; based on the distance, detecting whether the waterway to be tested meets the requirements according to a preset strategy. In this way, by using the prosthesis to perform collision detection between the waterway and other parts, it is possible to quickly detect whether the wall thickness of the waterway is safe, whether the laying is qualified, and other requirements, thereby improving the convenience and speed of waterway design. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a flow chart of a waterway detection method based on UG NX provided in an embodiment of the present invention;

[0033] Figure 2 This is a schematic diagram of the water channel layout in the mold in an embodiment of the present invention;

[0034] Figure 3 Schematic diagram of waterway collision in an embodiment of the present invention Figure 1 ;

[0035] Figure 4 Schematic diagram of waterway collision in an embodiment of the present invention Figure 2 ;

[0036] Figure 5 Schematic diagram of waterway collision in an embodiment of the present invention Figure 3 ;

[0037] Figure 6 Schematic diagram of the water channel plug sealing in an embodiment of the present invention.

[0038] Among them, the illustrations are as follows: 1-fixed template; 2-movable template; 3-mold foot; 4-ejector plate; 5-bottom plate; 6-return rod (spring); 7-water channel; a, b, f, g-water channel segments; c, d, h, i, m, n-components; e, j, k, p, q-collision intersections. DETAILED DESCRIPTION

[0039] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present invention may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0040] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0041] It should be understood that, although the various steps in the flowchart in the embodiment of the present invention are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0042] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step codes, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of the present invention.

[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The technical solution of the present invention is further elaborated in detail below in conjunction with the drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0044] See also Figure 1 , is a flow chart of a waterway detection method based on UG NX provided by an embodiment of the present invention, the method comprising the following steps:

[0045] Step S101: setting a prosthesis covering the outside of the water channel to be tested in the mold according to a preset rule.

[0046] See also Figure 2 , is a schematic diagram of the water channel layout in the mold. The mold mainly includes a fixed mold plate 1, a movable mold plate 2, a mold foot 3, an ejector plate 4, a bottom plate 5, a return rod (spring) 6 and a water channel 7. The water channel 7 is mainly arranged in a three-dimensional manner around the mold core and is respectively located in the movable mold plate 1 and the fixed mold plate 2. Figure 2 The figure mainly shows the distribution of the water channel in the dynamic template 1. At the same time, the water channel 7 can include multiple sections, and different sections can be connected through joints, sealing rings, etc.

[0047] It should be noted that before setting the prosthesis covering the outside of the water channel to be tested in the mold according to the preset rules, the user can select one or more water channels in the mold as the water channel to be tested according to actual needs.

[0048] In one embodiment, step S101: before setting the prosthesis covering the outside of the water channel to be tested in the mold according to preset rules, it includes: receiving a water channel component selection instruction and determining the water channel to be tested. It can be understood that a display interface of the design drawing of the mold can be provided, and a selection interface can be provided for the user to select the water channel to be tested, so as to achieve flexibility in water channel detection. For example, after the user clicks the water channel component selection button on the selection interface, the design drawing of the mold can be displayed, and the user can click on the corresponding water channel to use it as the water channel to be tested. Of course, all water channels in the mold can also be used as water channels to be tested, so that all water channels in the mold can be tested at the same time.

[0049] In this embodiment, the waterway to be tested can be considered as a water pipe, and its shape can be considered as a circle, and the diameter of the waterway to be tested can be obtained accordingly. The preset rule can be set according to actual needs, such as setting a waterway with an enlarged diameter at the original position of the waterway to be tested.

[0050] In one embodiment, the prosthesis that is set according to a preset rule to cover the outside of the waterway to be tested in the mold includes: determining the sum of the diameter of the waterway to be tested and the preset buffer threshold as the diameter of the prosthesis; and setting the prosthesis that covers the outside of the waterway to be tested in the mold based on the diameter of the prosthesis. Specifically, when the diameter of the waterway to be tested is known, the sum of the diameter of the waterway to be tested and the preset buffer threshold is determined as the diameter of the prosthesis, and a waterway with a diameter of the prosthesis is set at the position of the waterway to be tested as the prosthesis. Among them, the preset buffer threshold can be set according to the safe value range of the waterway wall thickness, and optionally, the preset buffer threshold can be set to 4 to 8 mm. It can be understood that since the prosthesis covers the outside of the waterway to be tested, the thickness of the prosthesis is half of the preset buffer threshold at this time, which can be regarded as the current designed wall thickness of the waterway to be tested.

[0051] Step S102: acquiring the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis.

[0052] It can be understood that when the position of the waterway to be tested is known, since the prosthesis only covers the outside of the waterway to be tested and is generated based on the position of the waterway to be tested, the position of the prosthesis can be known according to the position of the waterway to be tested. It should be noted that the structural design drawing of the mold can be first subjected to three-dimensional data analysis to achieve that the coordinate positions of all waterways and components can be automatically retrieved from the same coordinate system in the three-dimensional design drawing. Therefore, the position of the prosthesis can be considered as a series of three-dimensional coordinates.

[0053] In one embodiment, step S102: obtaining the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis, includes:

[0054] According to the three-dimensional coordinates of the prosthesis and the three-dimensional coordinates of the components near the waterway to be tested, it is determined whether the prosthesis intersects with the target component; wherein the target component is any component near the waterway to be tested;

[0055] If so, the depth of insertion of the prosthesis into the target component is determined as the distance between the prosthesis and the target component;

[0056] If not, the shortest distance between the prosthesis and the target component is determined as the distance between the prosthesis and the target component.

[0057] Specifically, components near the waterway to be tested are automatically determined based on the three-dimensional coordinates of the prosthesis, and whether the prosthesis intersects with the target components is determined based on the three-dimensional coordinates of the prosthesis and the three-dimensional coordinates of the components near the waterway to be tested, that is, whether the prosthesis intersects with the target component at each point in the flow direction of the waterway to be tested is determined. If so, the depth of the prosthesis inserted into the target component is determined as the distance between the prosthesis and the target component; if not, the shortest distance between the prosthesis and the target component is determined as the distance between the prosthesis and the target component.

[0058] It can be understood that if the prosthesis intersects with any component near the waterway to be tested, that is, the target component, at this time, at least one side of the prosthesis will be inserted into the target component. At this time, the maximum depth of the prosthesis inserted into the target component can be determined as the depth of the prosthesis inserted into the target component, and the depth can be determined as the distance between the prosthesis and the target component. At the same time, since any side of the prosthesis can be regarded as an arc surface, when the prosthesis and the target component do not intersect, the distance between each point of the prosthesis in the flow direction of the waterway to be tested and the target component can be calculated, and the shortest distance obtained is determined as the distance between the prosthesis and the target component. In this way, the distance between the prosthesis and the component is determined based on the detection result of whether the prosthesis covering the outside of the waterway to be tested intersects with the component near the waterway to be tested. The operation is convenient and accurate, which further improves the convenience and speed of waterway design.

[0059] Step S103: Based on the distance, detect whether the waterway to be tested meets the requirements according to a preset strategy.

[0060] Here, the preset strategy can be set according to actual needs, such as combining whether the distance between the waterway to be tested and the components near the waterway to be tested meets the preset distance requirement to detect whether the wall thickness of the waterway to be tested is safe. In one embodiment, step S103: based on the distance, detecting whether the waterway to be tested meets the requirements according to the preset strategy includes at least one of the following:

[0061] If the prosthesis intersects the target component and the distance is greater than or equal to a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested is unsafe;

[0062] If the prosthesis intersects with the target component and the distance is less than a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested needs to be modified;

[0063] If the prosthesis does not intersect the target component and the distance is less than or equal to a second preset distance threshold, it is determined that the wall thickness of the waterway to be tested is safe;

[0064] If the dummy does not intersect the target component and the distance is greater than a second preset distance threshold, it is determined that the laying of the waterway to be tested is unqualified.

[0065] Here, the first preset distance threshold can be set according to the actual needs. For example, the first preset distance threshold can be set in combination with the preset buffer threshold. When the preset buffer threshold is 4 mm, the first preset distance threshold can be set to 2 mm, etc. If the prosthesis intersects with the target component and the distance is greater than or equal to the first preset distance threshold, it means that the target component has broken through the wall thickness of the waterway to be tested, which is equivalent to the waterway to be tested being broken and not wrapped by the wall thickness. At this time, it can be determined that the wall thickness of the waterway to be tested is unsafe. If the prosthesis intersects with the target component and the distance is less than the first preset distance threshold, it means that the buffer space between the waterway to be tested and the target component is small, and it is necessary to manually determine whether the wall thickness value of the waterway to be tested can be modified to the qualified range, then it is determined that the wall thickness of the waterway to be tested needs to be modified. The second preset distance threshold can be set according to the actual needs. For example, the second preset distance threshold can be set in combination with the preset buffer threshold. When the preset buffer threshold is 4 mm, the second preset distance threshold can be set to 4 mm, etc. If the dummy does not intersect the target component and the distance is less than or equal to the second preset distance threshold, it means that the wall thickness of the waterway to be tested is within the qualified range, and the wall thickness of the waterway to be tested is determined to be safe. If the dummy does not intersect the target component and the distance is greater than the second preset distance threshold, it means that the distance between the waterway to be tested and the target component is too far, and the laying of the waterway to be tested is determined to be unqualified. Figure 3 and Figure 4 , assuming that for waterway segment a and waterway segment b, after calculation, it can be known that waterway segment a and component c collided vertically, and the corresponding collision intersection body was d, while waterway segment b and component d collided vertically, and the corresponding collision intersection body was e. Or, refer to Figure 5 , assuming that for waterway segments f and g, after calculation, it can be known that waterway segment f has horizontal collision with parts h and i, and the corresponding collision intersection bodies are j and k respectively, while waterway segment g has horizontal collision with parts m and n, and the corresponding collision intersection bodies are p and q respectively. In this way, the distance between the dummy outside the waterway to be tested covered in the mold and the parts near the waterway to be tested is combined to detect whether the waterway to be tested meets the requirements. The operation is convenient and accurate, which further improves the convenience and speed of waterway design.

[0066] In summary, in the water channel detection method based on UG NX provided in the above embodiment, a prosthesis is used to perform collision detection between the water channel and other components. That is, based on the distance between the prosthesis covering the outside of the water channel to be tested and the components near the water channel to be tested, it is detected whether the two intersect, so as to realize rapid detection of whether the wall thickness of the water channel is safe, whether the laying is qualified, etc., thereby improving the convenience and speed of water channel design.

[0067] In one embodiment, the method further includes: marking the waterway to be tested in the design drawing of the mold according to the test results. Optionally, marking the waterway to be tested in the design drawing of the mold according to the test results includes: determining a target color for marking the waterway to be tested according to the test results; and marking the waterway to be tested in the design drawing of the mold with the target color. It can be understood that in order to facilitate designers and other personnel to easily obtain the test results of the waterway to be tested and improve the convenience of operation, the waterway to be tested can be marked with different colors according to different test results. For example, if the wall thickness of the waterway to be tested is determined to be safe according to the test results, the waterway to be tested can be marked in green; if the wall thickness of the waterway to be tested is determined to be unsafe according to the test results, the waterway to be tested can be marked in red; if the wall thickness of the waterway to be tested is determined to be to be modified according to the test results, the waterway to be tested can be marked in blue; if the laying of the waterway to be tested is determined to be unqualified according to the test results, the waterway to be tested can be marked in yellow.

[0068] Based on the same inventive concept as the aforementioned embodiment, this embodiment describes in detail the technical solution of the aforementioned embodiment through specific examples. The waterway in this application can be equivalent to a water pipe.

[0069] The prosthesis can be understood as a water channel with an enlarged diameter. That is, when the original water channel diagram has been designed, an enlarged diameter water channel diagram is made for the original position. The default diameter of this enlarged water channel diagram is equal to the sum of the current water channel diameter and the default threshold (R=r+4mm, r is the current water channel diameter, and R is the prosthesis diameter). That is, a 0-4mm buffer space is reserved between the water channel and other components.

[0070] If the intersection of the prosthesis (i.e. the enlarged water channel) and other components is at the threshold point that needs to be judged in the design, take the default wall thickness safety value of 4mm as an example.

[0071] When intersecting, (wall thickness safety value - 2) ≤ intersection value ≤ (wall thickness safety value + 2). The intersection value is divided into the following three cases:

[0072] 1) If the intersection value is greater than 0, it means there is an intersection signal, which means that the distance to the component is too close, that is, the prosthesis wrapped outside the waterway diagram has an intersection with other components, and it needs to be marked. The intersection situation needs to be handled in the following two situations:

[0073] 1.1) If the intersection value is less than 2mm, it means that the buffer space is too small, and it is up to human judgment whether the wall thickness of the water channel can be modified to between 2 and 4mm.

[0074] 1.2) If the intersection value is greater than 2mm, it means that other parts have broken through the wall thickness of the water channel, which is equivalent to a broken water pipe without wall thickness.

[0075] 2) If the intersection value is less than or equal to 0, it means there is no intersection signal, and it is also necessary to determine whether the distance between the prosthesis and other components is between 4 and 6 mm. Because if the wall thickness value is greater than 6 mm, it means that it is too far away from the component, which means that the laying of the water pipe is unqualified and needs to be redesigned.

[0076] Based on the above similar detection principles, the automatic judgment process of whether the waterway plug and wall thickness meet the requirements is as follows:

[0077] 1) Obtain multiple water channel components, plugs, joints and sealing rings to generate corresponding prostheses;

[0078] 2) Identify the plug and nipple properties, such as the offset plug and nipple outer diameter, and set the offset size;

[0079] Here, offset plug refers to the offset value of the plug. The offset value refers to the offset of the center of the plug from the original coordinate point, and can also refer to the increase or decrease of the diameter of the plug. Offset mainly refers to the movement of the coordinate point of the component / part in the three-dimensional coordinate space, or the expansion / contraction of the circumference, etc. Figure 6 , you can get the joint diameter and joint outer diameter, the outer diameter of the offset plug, and the outer diameter and bottom surface of the sealing ring.

[0080] 3) Identify the O_RING attributes of the seal ring, such as the outer diameter and bottom surface of the seal ring, and set the offset size;

[0081] Here, O_RING refers to O-ring, which is a kind of plastic sealing ring.

[0082] 4) Generate a combined body with water channels, plugs, joints and sealing rings offset;

[0083] 5) Find the difference between the merged body and the waterway;

[0084] Here, the combined body is composed of a plug and a sealing ring, and is used to block the flow opening in the waterway. Therefore, the combined body and the waterway are used to make a difference to ensure that the plug works effectively and can form a seal.

[0085] 6) Intersection of the offset merged body with the core and template;

[0086] 7) After two intersections, the remaining body is an abnormal body and automatically turns red;

[0087] 8) The merged waterway is the target body. Select the template or mold core as the tool body and obtain the 3D intersection. If it is not smooth and has pits, it will be abnormally highlighted and saved.

[0088] Here, intersection is equivalent to intersection, which is to calculate the common part of two three-dimensional bodies. The roughness here means that there are convex parts on the surface, which are the remaining parts after difference calculation and need to be cleaned up, so it is an exception.

[0089] In summary, the water channel detection method based on UG NX provided in the above embodiment provides an optimized inspection method for the water channel design in the cold cutting system, which performs rapid inspection on the water channel according to safety specifications and standards, greatly facilitates the design work, and reduces the time-consuming manual inspection.

[0090] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer-readable storage medium, in which a computer program is stored. The computer-readable storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) or the like; it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is executed by the processor, the above-mentioned waterway detection method based on UG NX is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.

[0091] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0093] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A waterway detection method based on UG NX, characterized in that: The method comprises: According to a preset rule, a prosthesis is arranged to cover the outside of the water channel to be tested in the mold; Acquire the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis; Based on the distance, detecting whether the waterway to be tested meets the requirements according to a preset strategy; The method of setting the prosthesis covering the outside of the water channel to be tested in the mold according to a preset rule includes: The sum of the diameter of the water channel to be tested and a preset buffer threshold is determined as the diameter of the prosthesis; A prosthesis is provided to cover the outside of the water channel to be tested in the mold based on the diameter of the prosthesis; The step of obtaining the distance between the prosthesis and the components near the waterway to be tested according to the position of the prosthesis includes: According to the three-dimensional coordinates of the prosthesis and the three-dimensional coordinates of the components near the waterway to be tested, it is determined whether the prosthesis intersects with the target component; wherein the target component is any component near the waterway to be tested; If so, the depth of insertion of the prosthesis into the target component is determined as the distance between the prosthesis and the target component; If not, determining the shortest distance between the prosthesis and the target component as the distance between the prosthesis and the target component; The detecting whether the waterway to be tested meets the requirements based on the distance and according to a preset strategy includes at least one of the following: If the prosthesis intersects the target component and the distance is greater than or equal to a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested is unsafe; If the prosthesis intersects with the target component and the distance is less than a first preset distance threshold, it is determined that the wall thickness of the waterway to be tested needs to be modified; If the prosthesis does not intersect the target component and the distance is less than or equal to a second preset distance threshold, it is determined that the wall thickness of the waterway to be tested is safe; If the dummy does not intersect the target component and the distance is greater than a second preset distance threshold, it is determined that the laying of the waterway to be tested is unqualified.

2. The method according to claim 1, characterized in that Before the prosthesis covering the outside of the water channel to be tested in the mold is arranged according to the preset rules, the method further includes: Receive a waterway component selection instruction and determine the waterway to be tested.

3. The method according to claim 1, characterized in that The preset buffer threshold is 4 to 8 mm.

4. The method according to claim 1, characterized in that: Also includes: The water channel to be tested is marked in the design drawing of the mold according to the test results.

5. The method according to claim 4, characterized in that The marking of the water channel to be tested in the design drawing of the mold according to the test result includes: Determining a target color for marking the waterway to be tested according to the test result; The water channel to be tested is marked with the target color in the design drawing of the mold.

6. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the waterway detection method based on UG NX described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Manufacturing method of moulding mould component cooling water channel

    CN101804673A

  • CATIA-based thermoforming insert waterway design system and design method

    CN109033695A