A method for quickly connecting multiple gating systems and a main runner based on a set of spatial points
Through the method based on space point set group, the gate profile is adjusted and the transition runner is generated, the problem of complexity of connection between multiple gates and main runners is solved, efficient gates and main runners are achieved, and the efficiency and quality of die-casting mold design is improved.
Patent Information
- Application Number
- CN202410661174.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In die casting mold design, in the process of connecting multiple gates to the main runner, traditional methods require the creation of complex guide splines, especially when the angle between the gate section and the main runner section is obtuse, resulting in the design efficiency and quality being affected.
Using a method based on the space point set group, by obtaining the angle between the gate and the main runner section, we determine whether the gate section needs to be adjusted, and rotate and adjust when necessary to generate a transition runner. The point set group is used to connect the gate and the main runner to avoid the use of guide splines.
It simplifies the difficulty of connecting multiple gates and main runners, improves design efficiency, reduces manual repeated operations, and improves connection quality.
Smart Images

Figure CN118595421B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of die-casting mold industry, and particularly relates to a method for quickly connecting multiple gates and a main runner based on a spatial point set group. Background Art
[0002] Pressure casting is a method of filling a die-casting mold cavity with semi-solid metal or liquid metal under high speed and high pressure and making it solidify into a casting under pressure. In the design process of a die-casting mold, the design of the gating system is a key task, and the quality of the subsequent casting is directly related to the quality of its design.
[0003] In the design of the gating system, first, the designer needs to design the inner gate. According to the structural characteristics of the casting, select the type and position of the gate to complete the design of the inner gate; then, according to the type of die-casting machine, complete the design of the main runner, and finally, complete the design of the connection part between the inner gate and the main runner.
[0004] However, in the design process, especially in the connection process between multiple gates and the main runner, the traditional method is to create a guiding spline to connect the gate and the main runner; when the spatial angle between the gate section and the main runner section is an obtuse angle, the complexity of the guiding spline increases, and continuous adjustment is required during the creation of the connection; and when there are multiple gates connected to the main runner, multiple guiding splines need to be created and a large number of repetitive operations are required, seriously affecting the design efficiency and quality. Summary of the Invention
[0005] The purpose of the present invention is to provide a method for quickly connecting multiple gates and a main runner based on a spatial point set group to overcome the deficiencies of the prior art. The connection between the main runner and multiple gates is convenient, a large number of manual repetitive operations are reduced, and the production and processing efficiency is improved.
[0006] To achieve the above object, the technical solution adopted by the present invention is: a method for quickly connecting multiple gates and a main runner based on a spatial point set group, including the following steps:
[0007] S1. Obtain the angle between the gate section and the main section, and determine whether the gate section needs to be adjusted;
[0008] S2. If the gate section does not need to be adjusted, directly proceed to the next step; if the gate section needs to be adjusted, first adjust the gate section and then enter the next step;
[0009] S3. Use the method for connecting the gate and the main runner based on the spatial section point set group to complete the connection between the inner gate and the main runner.
[0010] Further, the steps for obtaining the angle between the gate section and the main section in step S1 are as follows:
[0011] S101. Obtain the normal vectors of the sprue cross-section and the gate cross-section;
[0012] S102. Assume that the normal vector of the sprue cross-section is and the normal vector of the gate cross-section is with coordinates (a1, a2, a3) and (b1, b2, b3) respectively, then
[0013]
[0014] where α is the included angle between the normal vectors of the sprue cross-section and the gate cross-section in space, which is complementary to the included angle between the cross-sections in space. Then the included angle θ between the sprue cross-section and the gate cross-section in space is (180° - α).
[0015] Further, the steps to determine whether the gate cross-section needs to be adjusted are as follows: When θ ∈ [0 - 90°), there is no need to adjust the gate cross-section, and the operation of obtaining the distribution of the cross-section point set can be directly carried out; when θ ≥ 90°, the gate cross-section needs to be adjusted.
[0016] Further, in step S2, the adjustment of the gate cross-section is obtained based on the UG / OPEN development tool and in the following process:
[0017] S201. Obtain the cross-section information through the function UF_MODL_ask_face_data(), including the center point of the sprue cross-section and the midpoint of the edge;
[0018] S202. Obtain the information of the cross-section edge through the function UF_MODL_ask_face_edges();
[0019] S203. Mark the midpoints of the two edges connected to the bottom edge of the gate cross-section, calculate the spatial distances between the midpoint of the sprue cross-section and the two marked points, and select the edge corresponding to the marked point with the smaller spatial distance;
[0020] S204. Take this edge as the axis and rotate the gate cross-section by a certain angle not less than (θ - 90°). Through the above operations, an arc-shaped runner will be generated at the gate. At this time, the spatial included angle between the generated runner cross-section and the sprue cross-section ∈ [0 - 90°), and the cross-section adjustment is completed;
[0021] S205. Use the adjusted new cross-section as the surface connected to the sprue cross-section.
[0022] Further, the specific process of step S3 is as follows:
[0023] S301. Obtain the information of the sprue cross-section and the gate cross-section after step S2, and confirm the initial distribution of the cross-section point set;
[0024] S302. Calculate the point set group with the shortest spatial distance between the main section and the gate section, and determine whether there is a spatial intersection among the line segments of multiple point set groups with the shortest spatial distance between multiple gate sections and the main runner section;
[0025] S303. For the profile point sets with spatial intersection, perform point set correction, re-determine the point set distribution, and then perform initial connection through the point set group;
[0026] S304. Adjust the connection rationality and create fillets for the intersecting edges to finally complete the connection between the main section and the gate.
[0027] Due to the application of the above technical solution, the present invention has the following advantages compared with the prior art:
[0028] For the case where the spatial angle between the gate section and the main runner section is obtuse, the present invention generates a transition runner by adjusting the section, and uses the newly generated section after adjustment to connect with the main runner, simplifying the connection difficulty.
[0029] Secondly, the connection between the gate and the main runner is realized by using the method of the spatial point set group of the section. This method does not require a guiding spline. By determining the distribution of the section point sets, connection line segments are generated in the form of a point set group to complete the connection, without a guiding spline, improving the connection efficiency and meeting the design requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The technical solution of the present invention will be further described below with reference to the drawings:
[0031] Figure 1 It is a schematic flow chart of an embodiment of the present invention;
[0032] Figure 2 It is a schematic diagram of the spatial distances between the midpoint of the main runner section and two marked points during the adjustment of the gate section in an embodiment of the present invention;
[0033] Figure 3 It is a schematic diagram of the gate section after the adjustment of the gate section in an embodiment of the present invention;
[0034] Figure 4 It is a specific flow chart of step 3 in an embodiment of the present invention;
[0035] Figure 5 It is a schematic diagram of the initial point set distribution in an embodiment of the present invention;
[0036] Figure 6 It is the corrected point set distribution in an embodiment of the present invention;
[0037] Figure 7 It is a schematic diagram after the connection between the main runner and the gate in an embodiment of the present invention;
[0038] Wherein: 1. Main runner; 2. Gate; 3. Center point; 4. First marking point; 5. Second marking point. Detailed implementation mode
[0039] In order to enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
[0040] The present invention provides a method for quickly connecting multiple gates and a main runner based on a spatial point set group, so as to solve the problems in the prior art that when the spatial angle between the gate section and the main runner section is an obtuse angle, the complexity of the guiding spline increases, and continuous adjustment is required when creating the connection; and when there are multiple gates connected to the main runner, multiple guiding splines need to be created and a large number of repeated operations are required, seriously affecting the design efficiency and quality.
[0041] For the convenience of understanding, the specific process in the embodiments of this application will be described below. Please refer to Figure 1 A method for quickly connecting multiple gates and a main runner based on a spatial point set group in the embodiments of this application includes the following steps: S1. Obtain the angle between the gate section and the main section, and determine whether the gate section needs to be adjusted; S2. If the gate section does not need to be adjusted, directly proceed to the next step; if the gate section needs to be adjusted, first adjust the gate section and then proceed to the next step; S3. Use the method for connecting the gate and the main runner based on the spatial section point set group to complete the connection between the internal gate and the main runner.
[0042] The present invention obtains the profile point set information of the gate and the main runner, automatically generates guiding line segments through the point set group in a certain order, and finally completes the connection between the gate and the main runner. When connecting multiple gates and the main runner, there is no need to manually create a large number of guiding lines, reducing a large number of manual repeated operations, improving the design efficiency, and meeting the usage requirements.
[0043] In step S1, the steps for obtaining the angle between the gate section and the main section are as follows:
[0044] S101. Obtain the relevant information of the main runner section and the gate section, which refers to the normal vectors of the main runner section and the gate section;
[0045] S102. Calculate the angle between the normal vectors of the main section and the gate section in space, and thus obtain the angle between the sections in space. Here, assume that the normal vector of the main runner section is The normal vector of the gate section is If the coordinates are (a1, a2, a3) and (b1, b2, b3) respectively, then
[0046]
[0047] where α is the angle between the normal vectors of the main runner section and the gate section in space, which is complementary to the angle between the sections in space. Then the angle θ between the main runner section and the gate section in space is (180° - α).
[0048] As can be seen above, the angle θ between the main runner section and the gate section in space is obtained, which facilitates the next step of judging whether the gate section needs to be adjusted.
[0049] Specifically, when θ ∈ [0 - 90°), there is no need to adjust the gate section, and the operation of obtaining the distribution of section points can be directly carried out; when θ ≥ 90°, the gate section needs to be adjusted.
[0050] Based on Figure 2 , in step S2, the adjustment of the gate section is obtained based on the UG / OPEN development tool and according to the following process:
[0051] S201. Obtain the section information through the function UF_MODL_ask_face_data(), including the center point 3 of the main runner 1 section, the midpoints of the edges, etc.
[0052] S202. Obtain the information of the section edges through the function UF_MODL_ask_face_edges().
[0053] S203. Mark the midpoints of the two edges connected to the bottom edge of the gate 2 section, denoted as the first marked point 4 and the second marked point 5. Calculate the spatial distances between the center point 3 of the main runner 1 section and the two marked points, denoted as L1 and L2, and select the edge L1 with the smaller spatial distance.
[0054] S204. Take this edge L1 as the axis and rotate the gate section by a certain angle, and the rotation angle is not less than (θ - 90°). Through the above operations, an arc-shaped runner will be generated at the gate. At this time, the spatial angle between the generated runner section and the main runner section ∈ [0 - 90°), and the section adjustment is completed. The adjusted section is as Figure 3 shown;
[0055] S205. Take the adjusted new section as the surface connected to the main runner 1 section.
[0056] In this embodiment, the final gate 2 section is adjusted to an arc-shaped runner, which facilitates the connection with the main runner 1.
[0057] In this embodiment, the specific steps of step S3 are as follows:
[0058] S301. Obtain the main runner profile and the gate profile information after step S2, and confirm the distribution of the initial point sets of the profiles;
[0059] S302. Calculate the point set groups with the shortest spatial distance between the main profile and the gate profiles, and determine whether there is a spatial intersection among the line segments of the multiple point set groups with the shortest spatial distance between the multiple gate profiles and the main runner profile;
[0060] S303. For the profile point sets with spatial intersection, perform point set correction, re-determine the point set distribution, and then perform initial connection through the point set groups. If there is no spatial intersection, directly proceed to the next step;
[0061] S304. Adjust the connection rationality and create fillets for the intersecting edges to finally complete the connection between the main profile and the gate.
[0062] In summary, the rapid connection between the main runner and multiple gates can be completed. The above construction method is obtained based on the UG / OPEN development tool.
[0063] Based on Figures 4 to 7 , for further illustration, the connection between three gates and the main runner is taken as an example for illustration below. This is also obtained based on the UG / OPEN development tool.
[0064] S311. Obtain point sets M, P, Q, and R; M, P, Q, R = Ask_face(M_face, E_face[3]), where M_face (main runner profile) is set, E_face[3] (gate profiles), and Vector (mold opening direction vector); then obtain the profile information through the API function and obtain the four vertices of the face.
[0065] S312. Use a double for loop to calculate the pairs of points with the shortest distance between the four points in M and the four points in P, and obtain point M0 and P0. Similarly, obtain pairs of points M0, Q0; and pairs of points M1, R1.
[0066] S313. Determine the point set distribution.
[0067] Based on Figure 5 as shown, taking point set M as an example,
[0068] for(i = 0; i < 3; i++) {if (the product of the vector M0Mi and the mold opening direction vector Vector is 0), then the point corresponding to Mi at this time is point M1};
[0069] for (n = 0; n < 2; n++) { The point corresponding to the shortest length of line segment M1Mn is the point M2, and the remaining point is M3; Similarly, determine the distributions of point sets P, Q, and R;}
[0070] S314. Modify the point set.
[0071] Taking the point set Q as an example, the point with the shortest distance from the point set M is the point M0, and if M0Q0 intersects with M1Q1, then the point set Q needs to be modified.
[0072] The modification is as follows: Swap the positions of the first point and the second point in this set, and re - determine the third and fourth points according to Step313; The distribution of the modified point set is as Figure 6 shown.
[0073] Among them, E represents P, Q, and R. To determine whether point set modification is required, see the following table:
[0074]
[0075] Based on the above table, in three - dimensional space, for M0E0 and M1E1, they can be expressed by expressions using three - dimensional space coordinates. Assume M0(X0, Y0, Z0), E0(X1, Y1, Z1), M1(X2, Y2, Z2), E1(X3, Y3, Z3).
[0076] Expression of line segment M0E0:
[0077] Expression of line segment M1E1:
[0078] Determining whether M0E0 and M1E1 intersect is equivalent to whether there exist parameters j1 and j2 such that the system of equations S(j1) = W(j2)
[0079] That is:
[0080] If there exist parameters j1 and j2, then M0E0 and M1E1 intersect; otherwise, they do not intersect.
[0081] S315. Initial connection.
[0082] Create_through_curves(M0M1 + M1M2 + M2M3 + M3M0 + M0,
[0083] E0E1 + E1E2 + E2E3 + E3E0 + E0);
[0084] / / Add the four sides of the main runner section and M0 and the four sides of the gate section and E0 to the linked list in sequence;
[0085] S316.R_Connect = Create_blend_edge[Intersecting edge, 1.2(H 主 -H 浇口 )];
[0086] / / Search for intersecting edges and create transitional fillets.
[0087] S317. Analyze the rationality of the connection and make adjustments to complete the creation. See Attachment Figure 7 .
[0088] In summary, for the gate that is difficult to connect to the main runner in the present invention, that is, the spatial angle between the gate section and the main runner section is an obtuse angle. By adjusting the section, a transitional runner is generated, and the newly generated section is used as the connection to the main runner to simplify the connection difficulty. Secondly, for the problem that a large number of guiding splines are required and the connection process is cumbersome during the connection of multiple gates to the main runner, the connection between the gate and the main runner is realized by using the method of the section spatial point set group. This method does not require guiding splines. By determining the distribution of the section point set, the connection line segment is generated in the form of a point set group to complete the connection without guiding splines, improving the connection efficiency and meeting the design requirements.
[0089] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for quickly connecting multiple sprue gates and a main runner based on a spatial point set group, characterized in that, It includes the following steps: S1. Obtain the angle between the gate section and the main section, and determine whether the gate section needs to be adjusted. Among them, the steps to obtain the angle between the gate section and the main section in step S1 are as follows: S101. Obtain the normal vectors of the main runner section and the gate section; S102. Assume that the normal vector of the main runner cross-section is , and the normal vector of the gate cross-section is , and the coordinates are respectively , then ; Among them, is the included angle between the normal vectors of the main runner section and the gate section in space, which is complementary to the included angle between the sections in space. Then the included angle between the main runner section and the gate section in space is ( ); S2. If the gate section does not need to be adjusted, directly proceed to the next step. If the gate section needs to be adjusted, first adjust the gate section and then enter the next step. Among them, the adjustment of the gate section is obtained based on the UG / OPEN development tool and according to the following process: S201. Obtain the section information through the function UF_MODL_ask_face_data(), including the center point of the main runner section and the midpoint of the edge; S202. Obtain the edge information of the section through the function UF_MODL_ask_face_edges(); S203. Mark the midpoints of the two edges connected to the bottom edge of the gate section, calculate the spatial distances between the midpoint of the main runner section and the two marked points, and select the edge corresponding to the marked point with the smaller spatial distance; S204. Using this side as the axis, rotate the gate profile by a certain angle, where the rotation angle is not less than ( ), Through the above operations, an arc-shaped runner will be generated at the gate. At this time, the spatial angle between the generated runner profile and the main runner profile is , and the profile adjustment is completed; S205. Use the adjusted new section as the surface connected to the main runner section; S3. Use the method of connecting the gate and the main runner based on the spatial section point set group to complete the connection between the internal gate and the main runner; Among them, the steps to determine whether the gate profile needs to be adjusted are as follows: When holds, there is no need to adjust the gate profile, and the operation of obtaining the distribution of profile points can be directly carried out; When holds, the gate profile needs to be adjusted.
2. The method for quickly connecting multiple sprue gates and a main sprue based on a spatial point set group as claimed in claim 1, wherein The specific process of step S3 is as follows: S301. Obtain the main runner section and the gate section information after step S2, and confirm the initial point set distribution of the section; S302. Calculate the point set group with the shortest spatial distance between the main section and the gate section, and determine whether there is a spatial intersection situation for the line segments of multiple point set groups with the shortest spatial distance between multiple gate sections and the main runner section; S303. For the section point sets with spatial intersection situations, perform point set correction, re-determine the point set distribution situation, and then perform initial connection through the point set group; S304. Adjust the connection rationality, create fillets for the intersecting edges, and finally complete the connection between the main section and the gate.
Citation Information
Patent Citations
Curve set based 2D die-casting mould pouring gate rapid forming system
CN106984790A