Screw pin arrangement position design method and device, equipment and storage medium
By eliminating the area containing the cutting edge offset line within the inner region of the insert flange offset line, and combining this with preset screw and pin arrangement criteria, the positions of the screws and pins are calculated. This solves the problem of time-consuming and labor-intensive manual operation in the prior art, and realizes the automation and precision of insert design.
Patent Information
- Application Number
- CN202511996250.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-26
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2045-12-26
AI Technical Summary
In the prior art, the placement of screws and pins on the inserts relies on manual operation, which is time-consuming, labor-intensive, and inefficient. It is difficult to adapt to the design of inserts with complex shapes and lacks flexibility and automation.
By using preset screw and pin arrangement criteria, the area where the cutting edge offset line is located is excluded from the inner area of the insert flange offset line to determine the placeable area of screws and pins, and the specific position of screws and pins is calculated based on this.
It enables automated and precise design of screw and pin placement, improving design efficiency and allowing for flexible adaptation to inserts of various complex shapes.
Smart Images

Figure CN121373201A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of mold design, in particular to a screw pin arrangement position design method, device, equipment and storage medium. BACKGROUND
[0002] In modern manufacturing industry, especially in the field of mold manufacturing, the design and processing of inserts is a crucial link. Inserts are used to realize specific functions in molds, such as forming complex geometric shapes of products. In order to ensure the accurate installation of inserts, the arrangement positions of screws and pins on the inserts must be accurately calculated. However, traditional manual calculation method is not only time-consuming but also prone to errors, and with the increasing complexity of product design, manual calculation has been unable to meet the requirements of high precision and high efficiency.
[0003] Currently, in the design and manufacturing process, most of the time still relies on the experience of engineers and manual calculation to determine the arrangement positions of screws and pins on the inserts. Although some enterprises have begun to use software to assist in design, the degree of automation provided by these software is limited, especially when dealing with complex geometric shapes of inserts, manual intervention is still required. Manual calculation not only takes a long time, but also is prone to human errors. Especially when facing complex shaped inserts, the accuracy of manual calculation is difficult to guarantee, which may lead to problems in the actual assembly of inserts.
[0004] In addition, existing solutions are often effective for specific types of inserts, but lack flexibility and adaptability for non-standard or complex shaped inserts. This means that each time a new insert design is encountered, engineers need to perform a large amount of calculation and adjustment again. The standard of screw pin arrangement of some inserts is relatively ambiguous and needs to be analyzed on a case-by-case basis. Therefore, the distribution of screws and pins mostly depends on the experience of mold designers or engineers. This dependence makes it difficult for beginners to quickly master the arrangement skills, increasing the difficulty of getting started. The number of screws and pins on the insert is large, and the arrangement is difficult, especially for inserts with complex geometric shapes, the arrangement work becomes extremely complex. Manual arrangement not only takes time, but also is prone to errors, increasing the difficulty and complexity of arrangement.
[0005] In view of the above problems, the existing technology needs to be improved. SUMMARY
[0006] The purpose of the present application is to provide a screw pin arrangement position design method, device, equipment and storage medium. The screw pin arrangement position is calculated in the available arrangement area of the screw and pin obtained by eliminating the area where the blade offset line is located from the internal area of the insert flange offset line based on the preset screw pin arrangement criterion, thereby solving the problem of time-consuming, laborious and low efficiency of the existing screw pin arrangement position design method which relies on manual operation, and achieving automatic and accurate design of the screw pin arrangement position.
[0007] In a first aspect, the present application provides a screw pin arrangement position design method, comprising: obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert; obtaining an insert flange offset line and a blade offset line from the two-dimensional design drawing; eliminating the area where the blade offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and pin; calculating the screw arrangement position and the pin arrangement position in the available arrangement area based on the preset screw pin arrangement criterion.
[0008] The screw pin arrangement position design method provided by the present application can realize the design of the arrangement position of the screw and pin. The screw arrangement position and the pin arrangement position are calculated in the available arrangement area of the screw and pin obtained by eliminating the area where the blade offset line is located from the internal area of the insert flange offset line based on the preset screw pin arrangement criterion, thereby solving the problem of time-consuming, laborious and low efficiency of the existing screw pin arrangement position design method which relies on manual operation, and achieving automatic and accurate design of the screw pin arrangement position, and improving the design efficiency of the screw pin arrangement position.
[0009] Optionally, obtaining an insert flange offset line and a blade offset line from the two-dimensional design drawing comprises: identifying an insert flange boundary and a blade body contour boundary from the two-dimensional design drawing; offsetting the insert flange boundary to the center point of the two-dimensional design drawing to obtain an insert flange offset line; offsetting the blade body contour boundary to the outside of the blade body to obtain a blade offset line.
[0010] Optionally, eliminating the area where the blade offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and pin comprises: determining whether there is an intersection region between the region where the blade offset line is located and the inner region of the insert flange offset line; If not, the region where the blade offset line is located does not need to be culled, and the inner region of the insert flange offset line is determined as the arrangeable region of the screw and the pin; If yes, the region in the inner region of the insert flange offset line except the intersection region is determined as the arrangeable region of the screw and the pin.
[0011] Optionally, based on the preset screw and pin arrangement criterion, the screw arrangement position and the pin arrangement position are calculated in the arrangeable region, comprising: selecting two points with the maximum straight line distance on the contour boundary line of the arrangeable region, and recording the two points as a first point and a second point respectively; selecting a third point, a fourth point, a fifth point and a sixth point from the arrangeable region based on the first point and the second point and in combination with the preset circle drawing distance, so as to meet the preset screw and pin arrangement criterion; determining the first point, the second point, the fifth point and the sixth point as the screw arrangement position, and determining the third point and the fourth point as the pin arrangement position.
[0012] Optionally, selecting a third point, a fourth point, a fifth point and a sixth point from the arrangeable region based on the first point and the second point and in combination with the preset circle drawing distance, so as to meet the preset screw and pin arrangement criterion, comprising: based on the preset circle drawing distance, making a circle with the first point and the second point as the center respectively to obtain a first circle and a second circle, selecting one point from the first circle and the second circle respectively, so that the two selected points are located in the arrangeable region and the straight line distance between the two points is the maximum, and recording the two selected points as a third point and a fourth point respectively; based on the preset circle drawing distance, making a circle with the third point and the fourth point as the center respectively to obtain a third circle and a fourth circle, selecting a contour point from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, so that the position relationship between the selected contour point and the first point and the second point meets the preset position relationship condition, and recording the selected contour point as a fifth point; based on the preset circle drawing distance, making a circle with the fifth point as the center to obtain a fifth circle, selecting a point from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, so that the selected point meets the preset screw arrangement condition, and recording the selected point as a sixth point.
[0013] Optionally, based on the preset circle drawing distance, circles are drawn with the third point and the fourth point as the center respectively to obtain a third circle and a fourth circle, one contour point is selected from the contour boundary line other than the first circle, the second circle, the third circle and the fourth circle in the arrangeable region, the position relationship of the selected contour point and the first point and the second point satisfies the preset position relationship condition, and the selected contour point is recorded as a fifth point, comprising: based on the preset circle drawing distance, circles are drawn with the third point and the fourth point as the center respectively to obtain a third circle and a fourth circle; any one contour point is sequentially selected from the contour boundary line other than the first circle, the second circle, the third circle and the fourth circle in the arrangeable region, and the position relationship function value of the contour point is calculated according to the preset position relationship calculation formula; the contour point corresponding to the maximum value is selected from the position relationship function value, the contour point corresponding to the maximum value is determined to satisfy the preset position relationship condition, and the contour point corresponding to the maximum value is recorded as a fifth point.
[0014] The screw and pin arrangement position design method provided in the application can realize the design of the arrangement position of the screw and the pin, accurately determine the fifth point by calculating the position relationship function value and selecting the contour point corresponding to the maximum value, ensure that the position relationship between the fifth point, the first point and the second point is optimal, and further improve the rationality of the screw and pin arrangement.
[0015] Optionally, based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a fifth circle, one point is selected from the contour boundary line other than the first circle, the second circle, the third circle, the fourth circle and the fifth circle in the arrangeable region, the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as a sixth point, comprising: based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a fifth circle; the vector from the first point to the fifth point is added to the vector from the second point to the fifth point to obtain an added vector; A straight line is drawn along the addition vector to determine whether the straight line intersects with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle; if yes, a selected point is selected as the intersection point farthest from the fifth point to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as a sixth point; if no, a selected point is selected as the point closest to the straight line among the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as the sixth point.
[0016] The screw and pin arrangement position design method provided in the application can realize the design of the arrangement positions of the screw and pin, intelligently determine the sixth point through vector calculation and intersection point determination, ensure the reasonable distribution between the sixth point and the fifth point and other determined points, further optimize the arrangement of the screw, and improve the balance of the overall design.
[0017] In a second aspect, the application provides a screw and pin arrangement position design device, comprising: An acquisition module is configured to acquire a two-dimensional design drawing of a closed trimming die block or a punch die block. A biasing module is configured to bias a die block flange biasing line and an edge biasing line from the two-dimensional design drawing. A determination module is configured to remove the area where the edge biasing line is located from the internal area of the die block flange biasing line to determine an arrangeable area of the screw and pin. A calculation module is configured to calculate a screw arrangement position and a pin arrangement position in the arrangeable area based on a preset screw and pin arrangement criterion.
[0018] The screw and pin arrangement position design device calculates the screw arrangement position and the pin arrangement position in the arrangeable area determined by removing the area where the edge biasing line is located from the internal area of the die block flange biasing line based on the preset screw and pin arrangement criterion, solves the problems of time-consuming, laborious and low efficiency of the existing screw and pin arrangement position design method which relies on manual operation, can flexibly adapt to die blocks of various complex shapes, realizes the automation and precision design of the screw and pin arrangement position, and improves the design efficiency of the screw and pin arrangement position.
[0019] In a third aspect, the application provides an electronic device comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to perform the steps of the screw and pin arrangement position design method described above.
[0020] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the screw pin arrangement position design method described above are performed.
[0021] Beneficial effects: The screw pin arrangement position design method, device, equipment and storage medium provided by the present application can calculate the screw arrangement position and the pin arrangement position in the obtainable arrangement area of the screw and the pin by eliminating the area where the blade offset line is located from the internal area of the insert flange offset line according to the preset screw pin arrangement criterion, thereby solving the problem of time-consuming, laborious and low efficiency of the existing screw pin arrangement position design method which relies on manual operation, and being able to flexibly adapt to various complex-shaped insert designs to realize the automatic and accurate design of the screw pin arrangement position and improve the design efficiency of the screw pin arrangement position. BRIEF DESCRIPTION OF DRAWINGS
[0022] Figure 1 The flow chart of the screw pin arrangement position design method provided by the embodiment of the present application.
[0023] Figure 2 The structural schematic diagram of the screw pin arrangement position design device provided by the embodiment of the present application.
[0024] Figure 3 The structural schematic diagram of the electronic equipment provided by the embodiment of the present application.
[0025] Figure 4 The design schematic diagram of the insert flange offset line and the blade offset line.
[0026] Figure 5 The first design schematic diagram of the obtainable arrangement area.
[0027] Figure 6 The second design schematic diagram of the obtainable arrangement area.
[0028] Figure 7 The design schematic diagram of the first point and the second point.
[0029] Figure 8 The design schematic diagram of the third point and the fourth point.
[0030] Figure 9 The design schematic diagram of the fifth point.
[0031] Figure 10 The design schematic diagram of the sixth point.
[0032] Label explanation: 1, acquisition module; 2, offset module; 3, determination module; 4, calculation module; 301, processor; 302, memory; 303, communication bus. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0034] It should be noted that: similar reference numerals and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used for differentiation, and cannot be understood as indicating or implying relative importance.
[0035] Please refer to Figure 1 , Figure 1 The screw and pin arrangement position design method is used for designing the arrangement position of screws and pins, and includes the following steps: Step S101, obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert; Step S102, offsetting the insert flange offset line and the blade edge offset line from the two-dimensional design drawing; Step S103, removing the area where the blade edge offset line is located from the inner area of the insert flange offset line to determine the arrangeable area of the screws and pins; Step S104, calculating the screw arrangement position and the pin arrangement position in the arrangeable area based on a preset screw and pin arrangement criterion.
[0036] The screw and pin arrangement position design method calculates the screw arrangement position and the pin arrangement position in the arrangeable area determined by removing the area where the blade edge offset line is located from the inner area of the insert flange offset line based on the preset screw and pin arrangement criterion, solves the problem that the existing screw and pin arrangement position design method relies on manual operation and is time-consuming, laborious and low in efficiency, can flexibly adapt to insert designs of various complex shapes, and realizes automatic and accurate design of the screw and pin arrangement position, thereby improving the design efficiency of the screw and pin arrangement position.
[0037] Specifically, in step S101, a two-dimensional design drawing of the closed trimming insert or the punch insert is obtained, wherein the two-dimensional design drawing is a technical drawing drawn by two-dimensional software or three-dimensional software, and is a basis for subsequent screw and pin arrangement.
[0038] Specifically, in step S102, the insert flange offset line and the blade edge offset line are obtained from the two-dimensional design drawing, including: The insert flange boundary and the blade edge boundary are identified from the two-dimensional design drawing; The insert flange boundary is offset to the center point of the two-dimensional design drawing to obtain the insert flange offset line; The blade edge boundary is offset to the outside of the blade edge to obtain the blade edge offset line.
[0039] In step S102, the insert flange boundary and the blade edge boundary can be identified from the two-dimensional design drawing by using existing image processing technology. The insert flange boundary generally refers to the closed curve on the periphery of the closed trimming insert or the punch insert, and the blade edge boundary refers to the closed curve inside the insert for forming the shape of the product.
[0040] Offsetting the insert flange boundary to the center point of the two-dimensional design drawing aims to create a retracted area that will serve as an initial safe range for screw and pin arrangement. Thus, the obtained insert flange offset line defines the maximum external range where screws and pins can be arranged, avoiding the screws and pins being too close to the edge of the insert, thereby affecting the strength or assembly of the insert.
[0041] Offsetting the blade edge boundary to the outside of the blade edge aims to create an expanded area that ensures the arrangement of screws and pins does not interfere with the working area of the blade edge. The blade edge is a critical part of the mold that directly participates in the cutting or trimming work, and its periphery needs to maintain a certain clearance to ensure cutting accuracy and mold life. By offsetting to the outside, the obtained blade edge offset line effectively demarcates the forbidden arrangement area around the blade edge, preventing the arrangement of screws and pins from interfering with the blade edge.
[0042] The offset distance during offsetting can be preset according to actual mold design specifications, the size of screws and pins, and the required structural strength.
[0043] For example, as shown in FIG. 1, where a is the insert flange boundary, b is the blade edge boundary, c is the insert flange offset line, and d is the blade edge offset line, it can be seen that the insert flange boundary a is offset inward to obtain the insert flange offset line c, and the blade edge boundary b is offset outward to obtain the blade edge offset line d. Figure 4 Figure 4
[0044] Specifically, in step S103, the region where the blade offset line is located is removed from the inner region of the insert flange offset line to determine the arrangeable region of the screw and the pin, including: determining whether there is an intersection region between the inner region of the insert flange offset line and the region where the blade offset line is located; If not, the region where the blade offset line is located does not need to be removed, and the inner region of the insert flange offset line is determined as the arrangeable region of the screw and the pin; If yes, the region of the inner region of the insert flange offset line except the intersection region is determined as the arrangeable region of the screw and the pin.
[0045] In step S103, by using existing image processing technology, it is determined whether there is any overlapping part between the inner space (inner region) defined by the insert flange offset line and the region (region where the blade offset line is located) defined by the blade offset line. This determination aims to identify the region on the insert that may interfere with the blade body.
[0046] If the determination result is no, that is, there is no intersection region (overlapping part) between the inner region of the insert flange offset line and the blade offset line, it indicates that the space occupied by the blade body is completely separated from the inner region of the insert flange, or the blade offset line is completely located outside the insert flange offset line. In this case, no removal operation is needed, and the inner region of the insert flange offset line is directly determined as the arrangeable region of the screw and the pin, so that the entire inner space of the insert flange can be used for the arrangement of the screw and the pin, and no conflict with the blade body will occur.
[0047] If the determination result is yes, that is, there is an intersection region between the inner region of the insert flange offset line and the blade offset line, the intersection region needs to be removed from the inner region of the insert flange offset line. By removing this common part, it can be ensured that the arrangement position of the screw and the pin will not invade the space of the blade body, thereby avoiding affecting the function and structural integrity of the blade. The remaining region after removal is the final arrangeable region of the screw and the pin.
[0048] For example, as shown in Figure 5 and Figure 6 , where e is the arrangeable region, it can be seen from Figure 5 that when there is an intersection region between the inner region of the insert flange offset line c and the blade offset line d, the intersection region is removed from the inner region of the insert flange offset line c to obtain the arrangeable region e; and it can be seen from Figure 6 that when there is no intersection region between the inner region of the insert flange offset line c and the blade offset line d, Figure 6The two-dimensional design drawing in the middle has no blade body, so there is no blade body contour boundary b and blade offset line d. The internal region of the insert flange offset line is directly determined as the arrangeable region of the screw and pin, and the arrangeable region e is obtained.
[0049] Specifically, in step S104, based on the preset screw pin arrangement criterion, the screw arrangement position and the pin arrangement position are calculated in the arrangeable region, including: Two points with the maximum straight line distance on the contour boundary line of the arrangeable region are selected, and are recorded as a first point and a second point, respectively; Based on the first point and the second point, three, four, five and six points that meet the preset screw pin arrangement criterion are selected from the arrangeable region, respectively, in combination with the preset circle drawing distance; The first point, the second point, the fifth point and the sixth point are determined as the screw arrangement position, and the third point and the fourth point are determined as the pin arrangement position.
[0050] It should be noted that the preset screw pin arrangement criterion is: (1) the distance between the arrangement position of the screw and the pin and the insert boundary and the blade body is greater than the preset minimum interval distance (the preset minimum interval distance can be preset according to the actual mold design specification, the size of the screw and the pin, and the required structural strength, such as the preset circle drawing distance shown below); (2) the distance between the pin and the screw is greater than the preset minimum screw pin distance (the preset minimum screw pin distance can be preset according to the actual mold design specification, the size of the screw and the pin, and the required structural strength, such as the preset circle drawing distance shown below), and the distance is as far as possible; (3) the distance between the screws is as far as possible; (4) the area surrounded by the screws is as large as possible.
[0051] In step S104, the straight line distance between any two points on the contour boundary line of the arrangeable region is calculated, and the two points corresponding to the maximum value are selected from the straight line distance, and are recorded as a first point and a second point, respectively. The purpose is to provide a basic design reference for subsequent screw and pin arrangement, which maximizes the use of space, ensures that the initial arrangement point can cover the maximum size range of the arrangeable region, and thus lays a stable foundation for the overall fastener arrangement. Among them, the first point and the second point are usually located at opposite ends of the contour boundary line in the arrangeable region (such as the upper left and the lower right, or the lower left and the upper right), so as to maximize the distance therebetween. Among them, the contour boundary line is the outer contour line segment of the arrangeable region.
[0052] For example, as shown in Figure 7 , wherein point f is the first point (or the second point), and point g is the second point (or the first point when point f is the second point). From Figure 7As can be seen from the profile boundary line of the arrangeable region e, the two points with the maximum straight line distance are calculated, i.e. points f and g, which are recorded as a first point and a second point respectively.
[0053] Specifically, in step S104, based on the first point and the second point, and in combination with a preset circle drawing distance, a third point, a fourth point, a fifth point and a sixth point that meet the preset screw pin arrangement criteria are respectively selected from the arrangeable region, including: Based on the preset circle drawing distance, a first circle and a second circle are respectively drawn with the first point and the second point as the center, a first intersection point and a second intersection point are respectively selected from the first circle and the second circle, the two selected points are located in the arrangeable region and have the maximum straight line distance, and the two selected points are recorded as the third point and the fourth point respectively; Based on the preset circle drawing distance, a third circle and a fourth circle are respectively drawn with the third point and the fourth point as the center, a profile point is selected from the profile boundary line of the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, the position relationship between the selected profile point and the first point and the second point meets the preset position relationship condition, and the selected profile point is recorded as the fifth point; Based on the preset circle drawing distance, a fifth circle is drawn with the fifth point as the center, a point is selected from the profile boundary line of the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, the selected point meets the preset screw arrangement condition, and the selected point is recorded as the sixth point.
[0054] In step S104, the circle drawing distance is the minimum or optimal distance that should be maintained between the pin and the main reference point (such as the first point and the second point) when determining the pin arrangement position. By drawing a circle with the first point and the second point as the center and the circle drawing distance as the radius, candidate points that meet the distance requirement can be initially screened out. From these candidate points, the two points with the maximum straight line distance that are located in the arrangeable region are selected as the third point and the fourth point, aiming to ensure the reasonable dispersion of the pin arrangement position and avoid the concentration of the pins, thereby improving the fixing stability of the insert. The preset circle drawing distance can be set according to the actual mold design specification, the size of the screw and the pin, and the required structural strength. The profile boundary line except the first circle, the second circle, the third circle and the fourth circle is the outer contour line segment of the remaining region in the arrangeable region after the first circle, the second circle, the third circle and the fourth circle.
[0055] For example, as Figure 8As shown in the figure, the circle h is the first circle (or the second circle), the circle i is the second circle (or the first circle when the point h is the second circle), the point j is the third point (or the fourth point), and the point k is the second point (or the third point when the point j is the fourth point). It can be known from the figure that one point is selected from the first circle h and the second circle i respectively, that is, the point j and the point k, so that the point j and the point k are located in the arrangement area and the straight-line distance between the point j and the point k is maximum, and the third point and the fourth point are obtained. Figure 8
[0056] Specifically, in step S104, based on the preset circle drawing distance, a circle is drawn with the third point and the fourth point as the center respectively, and the corresponding third circle and fourth circle are obtained. One contour point is selected in the contour boundary line in the arrangement area except the first circle, the second circle, the third circle and the fourth circle, the position relationship of the selected contour point and the first point and the second point satisfies the preset position relationship condition, and the selected contour point is recorded as the fifth point, including: Based on the preset circle drawing distance, a circle is drawn with the third point and the fourth point as the center respectively, and the corresponding third circle and fourth circle are obtained. In the contour boundary line in the arrangement area except the first circle, the second circle, the third circle and the fourth circle, any one contour point is sequentially selected, and the position relationship function value of the contour point is calculated according to the preset position relationship calculation formula. The contour point corresponding to the maximum value is selected from the position relationship function value, it is determined that the contour point corresponding to the maximum value satisfies the preset position relationship condition, and the contour point corresponding to the maximum value is recorded as the fifth point.
[0057] It should be noted that the preset position relationship condition is the contour point with the maximum position relationship function value.
[0058] In step S104, the third circle and the fourth circle are drawn with the third point and the fourth point as the center and with the preset circle drawing distance as the radius. The purpose of these circles is to demarcate a region maintaining a specific distance from the third point and the fourth point, thereby assisting in screening the appropriate fifth point.
[0059] In the contour boundary line in the arrangement area except the first circle, the second circle, the third circle and the fourth circle, any one contour point is sequentially selected, and the position relationship function value of the contour point is calculated according to the preset position relationship calculation formula. The preset position relationship calculation formula is specifically: ; Wherein, is the position relationship function value; is the sum of the distance between the contour point and the first point and the distance between the contour point and the second point; is the distance weight, which can be set according to actual needs; The area of the triangle formed by the contour point and the first point and the second point.
[0060] By selecting the contour point with the maximum position relationship function value, it is ensured that the selected fifth point is in the optimal relative position relationship with the first point and the second point in geometry.
[0061] For example, as shown in FIG. 6, where m is the third circle, n is the fourth circle, point o is the fifth point, and it can be known from FIG. 6 that, in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, an arbitrary contour point is selected in turn, and the position relationship function value of the corresponding contour point is calculated according to the preset position relationship calculation formula, the position relationship function values of the contour points are compared, and the contour point corresponding to the maximum value in the position relationship function value, i.e., point o, is selected as the fifth point. Figure 9 Figure 9 Specifically, in step S104, a circle is drawn with the fifth point as the center based on a preset circle drawing distance to obtain a corresponding fifth circle, so as to select a point in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, so that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as a sixth point, including: a circle is drawn with the fifth point as the center based on a preset circle drawing distance to obtain a corresponding fifth circle;
[0062] the vector from the first point to the fifth point is added to the vector from the second point to the fifth point to obtain an added vector; a straight line is drawn along the added vector to determine whether the straight line intersects with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle; if yes, the intersection point farthest from the fifth point is selected as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as the sixth point; if no, a point closest to the straight line in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle is selected as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as the sixth point. It should be noted that the preset screw arrangement condition is that if the straight line corresponding to the added vector intersects with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, the intersection point farthest from the fifth point is recorded as the sixth point, and if the straight line corresponding to the added vector does not intersect with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, a point closest to the straight line in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle is selected as the sixth point.
[0063] It should be noted that the preset screw arrangement condition is that if the straight line corresponding to the added vector intersects with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, the intersection point farthest from the fifth point is recorded as the sixth point, and if the straight line corresponding to the added vector does not intersect with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, a point closest to the straight line in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle is selected as the sixth point.
[0064] In step S104, a circle is drawn with point 5 as the center and a preset circle drawing distance as the radius to obtain circle 5, which serves to limit the initial range of point 6 selection.
[0065] Subtracting the position of point 5 from the position of point 1 gives the vector from point 1 to point 5. Subtracting the position of point 5 from the position of point 2 gives the vector from point 2 to point 5. Adding these two vectors gives a summed vector, which comprehensively reflects the direction and intensity of the influence of points 1 and 2 on point 5; its direction can be considered a "balance direction" or "center of gravity direction." Drawing a straight line along this summed vector aims to find a contour point that has a specific mechanical or geometrical equilibrium relationship with point 5.
[0066] Determining whether the straight line intersects with the contour boundary lines of the arrangeable area (excluding circles 1, 2, 3, 4, and 5) is to find candidate points within the remaining arrangeable area that meet specific geometric conditions. If an intersection exists, the intersection point farthest from point 5 is selected as point 6. This aims to maximize the dispersion of screw placement within the limited area, preventing excessive concentration of screws and improving the overall structural stability. If no intersection exists, the point closest to the straight line among the contour boundary lines of the arrangeable area (excluding circles 1, 2, 3, 4, and 5) is selected as point 6. This typically occurs when the arrangeable area has a special shape or the remaining area is small. In this case, selecting the closest point ensures that point 6 can be effectively placed and is as close as possible to the straight line to maintain a certain level of structural integrity.
[0067] For example, such as Figure 10 As shown, p is the fifth circle line, q is the line drawn along the summing vectors, and point r is the sixth point. From Figure 10 As can be seen from the text, when the line q intersects with the contour boundary lines of the area that can be arranged, excluding circles 1, 2, 3, 4, and 5, the intersection point farthest from point 5, i.e., point r, is selected from the intersection points of the line q with the contour boundary lines of the area that can be arranged, excluding circles 1, 2, 3, 4, and 5, and is taken as point 6.
[0068] In step S104, points 1, 2, 5, and 6 are designated as screw placement positions, and points 3 and 4 are designated as pin placement positions. This differentiated arrangement reflects the functional differences between screws and pins. Screws primarily provide clamping force for securing components, while pins are mainly used for positioning and withstanding shear forces to ensure precise alignment of components. By clearly assigning these positions, different types of fasteners can function in their most suitable locations.
[0069] From the above, the screw pin arrangement position design method, by obtaining the two-dimensional design drawing of the closed trimming insert or the punch insert, offsetting the insert flange offset line and the blade edge offset line from the two-dimensional design drawing, removing the area where the blade edge offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and the pin, and calculating the screw arrangement position and the pin arrangement position in the available arrangement area based on the preset screw pin arrangement criterion; thereby, through the preset screw pin arrangement criterion, the screw arrangement position and the pin arrangement position are calculated in the available arrangement area of the screw and the pin determined by removing the area where the blade edge offset line is located from the internal area of the insert flange offset line, solving the problem that the existing screw pin arrangement position design method relies on manual operation and is time-consuming, laborious and low in efficiency, and being able to flexibly adapt to various complex shape insert designs to realize the automation and precision design of the screw pin arrangement position, and improve the design efficiency of the screw pin arrangement position.
[0070] Reference Figure 2 The present application provides a screw pin arrangement position design device for designing the arrangement position of screws and pins, comprising: An acquisition module 1 is configured to acquire a two-dimensional design drawing of a closed trimming insert or a punch insert. An offsetting module 2 is configured to offset an insert flange offset line and a blade edge offset line from the two-dimensional design drawing. A determination module 3 is configured to remove the area where the blade edge offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and the pin. A calculation module 4 is configured to calculate the screw arrangement position and the pin arrangement position in the available arrangement area based on a preset screw pin arrangement criterion.
[0071] The screw pin arrangement position design device, through the preset screw pin arrangement criterion, calculates the screw arrangement position and the pin arrangement position in the available arrangement area of the screw and the pin determined by removing the area where the blade edge offset line is located from the internal area of the insert flange offset line, solves the problem that the existing screw pin arrangement position design method relies on manual operation and is time-consuming, laborious and low in efficiency, and is able to flexibly adapt to various complex shape insert designs to realize the automation and precision design of the screw pin arrangement position, and improve the design efficiency of the screw pin arrangement position.
[0072] Specifically, the acquisition module 1, when executed, acquires a two-dimensional design drawing of a closed trimming insert or a punch insert, wherein the two-dimensional design drawing is a technical drawing drawn by two-dimensional software or three-dimensional software, and is the basis for subsequent screw and pin arrangement.
[0073] Specifically, when biasing module 2 obtains the offset lines of the insert flange and the cutting edge from the two-dimensional design drawing, it executes the following: The boundary of the insert flange and the outline of the cutting edge body are identified from the two-dimensional design drawings; Offset the boundary of the insert flange towards the center point of the two-dimensional design drawing to obtain the insert flange offset line; The edge contour boundary is offset outward from the edge body to obtain the edge offset line.
[0074] When the bias module 2 is executed, it can use existing image processing technology to identify the insert flange boundary and the cutting edge body contour boundary from the two-dimensional design drawing. The insert flange boundary usually refers to the closed curve outside the closed trimming insert or punch insert, while the cutting edge body contour boundary refers to the closed curve inside the insert used to form the product shape.
[0075] Offset the flange boundary towards the center point of the two-dimensional design drawing to create a recessed area that serves as the initial safe zone for screw and pin placement. This offset line defines the maximum outer range where screws and pins can be placed, preventing them from getting too close to the flange edge and affecting the flange's strength or assembly.
[0076] Offsetting the cutting edge body's contour boundary outwards creates an extended region to ensure that the arrangement of screws and pins does not interfere with the cutting edge body's working area. The cutting edge body is a critical component of the die directly involved in punching or trimming; a certain clearance must be maintained around it to ensure punching accuracy and die life. By offsetting it outwards, the resulting cutting edge offset line effectively defines a restricted area around the cutting edge body, preventing interference between the screw and pin arrangement and the cutting edge body.
[0077] The offset distance during offset can be preset according to the actual mold design specifications, the size of screws and pins, and the required structural strength.
[0078] For example, such as Figure 4 As shown, where a is the boundary of the insert flange, b is the outline boundary of the cutting edge body, c is the offset line of the insert flange, and d is the offset line of the cutting edge. Figure 4 As can be seen from the diagram, offsetting the insert flange boundary a inward yields the insert flange offset line c, and offsetting the cutting edge body contour boundary b outward yields the cutting edge offset line d.
[0079] Specifically, when determining the area where the cutting edge offset line is located by removing it from the inner region of the insert flange offset line to determine the area where screws and pins can be placed, module 3 performs the following: Determine whether there is an intersection between the internal region of the insert flange offset line and the region where the cutting edge offset line is located; If no, the region where the blade offset line is located does not need to be removed, and the internal region of the insert flange offset line is determined as the arrangeable region of the screw and the pin; If yes, the region of the internal region of the insert flange offset line except the intersection region is determined as the arrangeable region of the screw and the pin.
[0080] When the determining module 3 is executed, it detects whether there is any overlapping part between the internal space (internal region) defined by the insert flange offset line and the region (located region) defined by the blade offset line by using existing image processing technology. This judgment aims to identify the region of the insert that may interfere with the blade body.
[0081] If the judgment result is no, that is, there is no intersection region (overlapping part) between the internal region of the insert flange offset line and the blade offset line, it indicates that the space occupied by the blade body is completely separated from the internal region of the insert flange, or the blade offset line is completely located outside the insert flange offset line. In this case, no removal operation is needed, and the internal region of the insert flange offset line is directly determined as the arrangeable region of the screw and the pin, so that the entire internal space of the insert flange can be used for the arrangement of the screw and the pin without conflict with the blade body.
[0082] If the judgment result is yes, that is, there is an intersection region between the internal region of the insert flange offset line and the blade offset line, the intersection region needs to be removed from the internal region of the insert flange offset line. By removing this common part, it can be ensured that the arrangement position of the screw and the pin does not encroach on the space of the blade body, thereby avoiding affecting the function and structural integrity of the blade. The remaining region after removal is the final arrangeable region of the screw and the pin.
[0083] For example, as shown in FIGS. 1 and 2, where e is the arrangeable region, it can be known from FIG. 1 that when there is an intersection region between the internal region of the insert flange offset line c and the blade offset line d, the intersection region is removed from the internal region of the insert flange offset line c to obtain the arrangeable region e; and it can be known from FIG. 2 that when there is no intersection region between the internal region of the insert flange offset line c and the blade offset line d (there is no blade body contour boundary b and blade offset line d in the two-dimensional design diagram in FIG. 2 because there is no blade body), the internal region of the insert flange offset line is directly determined as the arrangeable region of the screw and the pin to obtain the arrangeable region e. Figure 5 Figure 6 Figure 5 Figure 6 Figure 6
[0084] Specifically, when the calculating module 4 calculates the arrangement position of the screw and the arrangement position of the pin in the arrangeable region based on the preset screw pin arrangement criteria, it performs: Select the two points with the largest straight-line distance on the outline boundary line of the deployable area, and mark them as point 1 and point 2 respectively; Based on points one and two, and combined with the preset circle drawing distance, select points three, four, five, and six from the available area that conform to the preset screw and pin placement criteria. Points 1, 2, 5, and 6 are designated as screw placement locations, and points 3 and 4 are designated as pin placement locations.
[0085] It should be noted that the preset screw and pin arrangement criteria are as follows: (1) The distance between the screw and pin arrangement position and the insert boundary and the cutting edge body is greater than the preset minimum interval distance (the preset minimum interval distance can be preset according to the actual mold design specifications, the size of the screw and pin and the required structural strength, as shown in the preset circle distance below); (2) The distance between the pin and the screw should be greater than the preset minimum screw distance (the preset minimum screw distance can be preset according to the actual mold design specifications, the size of the screw and pin and the required structural strength, as shown in the preset circle distance below), and the distance should be as far as possible; (3) The distance between the screws should be as far as possible; (4) The area enclosed by the screws should be kept as large as possible.
[0086] During execution, calculation module 4 calculates the straight-line distance between any two points on the outline boundary line of the arrangeable area. It then selects the two points corresponding to the maximum straight-line distance and designates them as point 1 and point 2. This aims to provide a basic design benchmark for subsequent screw and pin placement, maximizing space utilization and ensuring that the initial placement points cover the maximum size range of the arrangeable area, thus laying a stable foundation for the overall fastener placement. Points 1 and 2 are typically located at opposite ends of the outline boundary line within the arrangeable area (e.g., upper left and lower right, or lower left and upper right) to maximize the distance between them. The outline boundary line is the outer contour line segment of the arrangeable area.
[0087] For example, such as Figure 7 As shown, point f is point 1 (or point 2), and point g is point 2 (or when point f is point 2, point g is point 1). From Figure 7 As can be seen from the diagram, the two points with the largest straight-line distance, namely points f and g, are calculated from the outline boundary line of the deployable region e, and are respectively denoted as point number one and point number two.
[0088] Specifically, when calculation module 4 selects points 3, 4, 5, and 6 from the deployable area that conform to the preset screw and pin placement criteria, based on point 1 and point 2, and in conjunction with the preset circle drawing distance, it executes the following: Based on the preset circle drawing distance, circles are drawn with point 1 and point 2 as the center respectively to obtain the corresponding circle 1 and circle 2. An intersection point is selected from circle 1 and circle 2 respectively, so that the two selected points are located in the placeable area and the straight distance between the two points is maximized. The two selected points are recorded as point 3 and point 4 respectively. Based on the preset circle drawing distance, circles are drawn with point 3 and point 4 as the center respectively to obtain the corresponding circle 3 and circle 4. In the area that can be arranged, a contour point is selected from the contour boundary lines other than circle 1, circle 2, circle 3 and circle 4, so that the positional relationship between the selected contour point and point 1 and point 2 satisfies the preset positional relationship conditions, and the selected contour point is recorded as point 5. Based on the preset circle drawing distance, draw a circle with point 5 as the center to obtain the corresponding circle 5. Select a point from the outline boundary line of the arrangable area other than circle 1, circle 2, circle 3, circle 4 and circle 5, so that the selected point meets the preset screw arrangement conditions, and record the selected point as point 6.
[0089] In step S104, the circle distance is the minimum or optimal distance that should be maintained between the pin and the main reference points (such as point 1 and point 2) when determining the pin placement position. By drawing circles with point 1 and point 2 as centers and this circle distance as the radius, candidate points that meet the distance requirements can be initially screened. From these candidate points, the two points located within the placement area and with the largest straight-line distance are selected as point 3 and point 4. This aims to ensure the reasonable dispersion of the pin placement position, avoid excessive concentration of pins, and thus improve the fixing stability of the insert. The preset circle distance can be set according to the actual mold design specifications, the size of the screws and pins, and the required structural strength. The contour boundary lines other than circles 1, 2, 3, and 4 are the outer contour line segments of the remaining area within the placement area after excluding circles 1, 2, 3, and 4 (including the intersection positions of the placement area with circles 1, 2, 3, and 4 respectively).
[0090] For example, such as Figure 8 As shown, circle h is circle number one (or circle number two), circle i is circle number two (or when point h is circle number two, point i is circle number one), point j is point number three (or point number four), and point k is point number two (or when point j is point number four, point k is point number three). Figure 8 As can be seen from the diagram, select a point j and a point k from circle h and circle i respectively, such that points j and k are located in the arrangable area and the straight-line distance between them is maximized, thus obtaining points three and four.
[0091] Specifically, the calculation module 4, based on a preset circle-drawing distance, draws circles with point 3 and point 4 as centers, respectively, to obtain corresponding circles 3 and 4. Then, it selects a contour point from the contour boundary lines of the arrangeable area excluding circles 1, 2, 3, and 4, ensuring that the positional relationship between the selected contour point and points 1 and 2 satisfies a preset positional relationship condition. When the selected contour point is designated as point 5, the following steps are executed: Based on the preset circle drawing distance, circles are drawn with points 3 and 4 as the center, respectively, to obtain the corresponding circle 3 and circle 4; In the area that can be arranged, select any contour point in sequence from the contour boundary lines other than circle 1, circle 2, circle 3 and circle 4, and calculate the position relationship function value of the contour point according to the preset position relationship calculation formula. Select the contour point corresponding to the maximum value from the positional relationship function values, determine that the contour point corresponding to the maximum value satisfies the preset positional relationship conditions, and record the contour point corresponding to the maximum value as point number five.
[0092] It should be noted that the preset positional relationship condition is the contour point with the largest positional relationship function value.
[0093] When the calculation module 4 is executed, it draws circles with points 3 and 4 as centers and a preset circle drawing distance as the radius, resulting in circles 3 and 4. The purpose of these circles is to delineate the area that maintains a specific distance from points 3 and 4, thereby assisting in the selection of a suitable point 5.
[0094] Within the deployable area, excluding circles one, two, three, and four, select any contour point sequentially along the contour boundary lines. Then, calculate the positional relationship function value of this contour point using a preset positional relationship calculation formula. The preset positional relationship calculation formula is as follows: ; in, The value of the positional relationship function; It is the sum of the distance between the contour point and point 1 and the distance between the contour point and point 2; Distance weights can be set according to actual needs; Let be the area of the triangle formed by the outline point, point 1, and point 2.
[0095] By selecting the contour point with the largest positional relationship function value, it is ensured that the selected point No. 5 forms an optimal relative positional relationship with points No. 1 and No. 2 in geometry.
[0096] For example, such as Figure 9 As shown, where m is circle number 3, n is circle number 4, and point o is point number 5, from... Figure 9It can be seen that, in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, an arbitrary contour point is selected in turn, and the position relationship function value of the corresponding contour point is calculated according to the preset position relationship calculation formula, the position relationship function values of the contour points are compared, and the contour point corresponding to the maximum value of the position relationship function value, that is, the point o, is selected as the fifth point.
[0097] Specifically, when the calculation module 4 makes a circle with the fifth point as the center and a preset circle drawing distance as the radius to obtain a corresponding fifth circle, selects a point in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, makes the selected point satisfy the preset screw arrangement condition, and records the selected point as the sixth point, the calculation module 4 performs: making a circle with the fifth point as the center and a preset circle drawing distance as the radius to obtain a corresponding fifth circle; adding the vector from the first point to the fifth point to the vector from the second point to the fifth point to obtain an added vector; making a straight line along the added vector to determine whether the straight line and the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle exist intersection points; if yes, selecting the intersection point farthest from the fifth point as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and recording the selected point as the sixth point; if not, selecting the point closest to the straight line in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and recording the selected point as the sixth point.
[0098] It should be noted that the preset screw arrangement condition is that if the straight line corresponding to the added vector and the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle exist intersection points, the intersection point farthest from the fifth point is recorded as the sixth point, and if the straight line corresponding to the added vector and the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle do not exist intersection points, the intersection point closest to the straight line in the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle is selected as the sixth point.
[0099] When the calculation module 4 is executed, a circle is made with the fifth point as the center and a preset circle drawing distance as the radius to obtain the fifth circle, which functions to limit the initial range of the sixth point selection.
[0100] Subtracting the position of point 5 from the position of point 1 gives the vector from point 1 to point 5. Subtracting the position of point 5 from the position of point 2 gives the vector from point 2 to point 5. Adding these two vectors gives a summed vector, which comprehensively reflects the direction and intensity of the influence of points 1 and 2 on point 5; its direction can be considered a "balance direction" or "center of gravity direction." Drawing a straight line along this summed vector aims to find a contour point that has a specific mechanical or geometrical equilibrium relationship with point 5.
[0101] Determining whether the straight line intersects with the contour boundary lines of the arrangeable area (excluding circles 1, 2, 3, 4, and 5) is to find candidate points within the remaining arrangeable area that meet specific geometric conditions. If an intersection exists, the intersection point farthest from point 5 is selected as point 6. This aims to maximize the dispersion of screw placement within the limited area, preventing excessive concentration of screws and improving the overall structural stability. If no intersection exists, the point closest to the straight line among the contour boundary lines of the arrangeable area (excluding circles 1, 2, 3, 4, and 5) is selected as point 6. This typically occurs when the arrangeable area has a special shape or the remaining area is small. In this case, selecting the closest point ensures that point 6 can be effectively placed and is as close as possible to the straight line to maintain a certain level of structural integrity.
[0102] For example, such as Figure 10 As shown, p is the fifth circle line, q is the line drawn along the summing vectors, and point r is the sixth point. From Figure 10 As can be seen from the text, when the line q intersects with the contour boundary lines of the area that can be arranged, excluding circles 1, 2, 3, 4, and 5, the intersection point farthest from point 5, i.e., point r, is selected from the intersection points of the line q with the contour boundary lines of the area that can be arranged, excluding circles 1, 2, 3, 4, and 5, and is taken as point 6.
[0103] During execution, calculation module 4 identifies points 1, 2, 5, and 6 as screw placement positions, and points 3 and 4 as pin placement positions. This differentiated arrangement reflects the functional differences between screws and pins. Screws primarily provide clamping force for securing components, while pins are mainly used for positioning and withstanding shear forces, ensuring precise alignment of components. By explicitly assigning these positions, different types of fasteners can function in their most suitable locations.
[0104] From the above, the screw pin arrangement position design device, by obtaining the two-dimensional design drawing of the closed trimming insert or the punch insert, offsetting the insert flange offset line and the blade edge offset line from the two-dimensional design drawing, removing the area where the blade edge offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and the pin, based on the preset screw pin arrangement criterion, calculating the screw arrangement position and the pin arrangement position in the available arrangement area; Therefore, through the preset screw pin arrangement criterion, the available arrangement area of the screw and the pin is determined by removing the area where the blade edge offset line is located from the internal area of the insert flange offset line, and the screw arrangement position and the pin arrangement position are calculated in the available arrangement area; Solve the problem that the existing screw pin arrangement position design method depends on manual operation and is time-consuming and laborious and low in efficiency, and can flexibly adapt to various complex shape insert designs to realize the automation and precision design of the screw pin arrangement position, and improve the design efficiency of the screw pin arrangement position.
[0105] Please refer to Figure 3 , Figure 3 The structure of the electronic device provided by the embodiment of the present application, the present application provides an electronic device, comprising: a processor 301 and a memory 302, the processor 301 and the memory 302 are interconnected and communicate with each other through a communication bus 303 and / or other forms of connection mechanism (not marked), the memory 302 stores the computer program executable by the processor 301, when the electronic device runs, the processor 301 executes the computer program to execute the screw pin arrangement position design method in any optional implementation manner of the above-mentioned embodiment, to realize the following functions: obtaining the two-dimensional design drawing of the closed trimming insert or the punch insert, offsetting the insert flange offset line and the blade edge offset line from the two-dimensional design drawing, removing the area where the blade edge offset line is located from the internal area of the insert flange offset line to determine the available arrangement area of the screw and the pin, based on the preset screw pin arrangement criterion, calculating the screw arrangement position and the pin arrangement position in the available arrangement area.
[0106] The embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to execute the screw pin arrangement position design method in any optional implementation manner of the above embodiment to realize the following functions: obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert, offsetting to obtain an insert flange offset line and an edge offset line from the two-dimensional design drawing, removing a region where the edge offset line is located from an inner region of the insert flange offset line to determine a placeable region of the screw and the pin, and calculating a screw arrangement position and a pin arrangement position in the placeable region based on a preset screw pin arrangement criterion. The storage medium can be realized by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.
[0107] In the embodiments of the present application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, another division mode can be used. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some communication interfaces, devices or units, and can be electrical, mechanical or other forms.
[0108] In addition, the units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, and can be located in one place, or can be distributed on a plurality of network units. According to actual needs, some or all of the units can be selected to achieve the purpose of the embodiment.
[0109] Further, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0110] In this document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
[0111] The above description is merely illustrative of the application, and not in limitation of the principles of the application. Any modification and change of the application, which can be made by those skilled in the art without departing from the spirit and principles of the application, shall be included in the scope of the application.
Claims
1. A screw pin arrangement position design method for designing an arrangement position of a screw and a pin, characterized by, The method comprises the steps of: obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert; offsetting an insert flange offset line and an edge offset line from the two-dimensional design drawing; removing the area where the edge offset line is located from the inner area of the insert flange offset line to determine the arrangeable area of the screws and pins; calculating the screw arrangement position and the pin arrangement position in the arrangeable area based on a preset screw pin arrangement criterion.
2. The screw pin arrangement position design method according to claim 1, characterized by, The method of offsetting an insert flange offset line and an edge offset line from the two-dimensional design drawing comprises the steps of: identifying an insert flange boundary and an edge body contour boundary from the two-dimensional design drawing; offsetting the insert flange boundary to the center point of the two-dimensional design drawing to obtain an insert flange offset line; offsetting the edge body contour boundary to the outside of the edge body to obtain an edge offset line.
3. The screw pin arrangement position design method according to claim 1, characterized by, The method of removing the area where the edge offset line is located from the inner area of the insert flange offset line to determine the arrangeable area of the screws and pins comprises the steps of: determining whether there is an intersection area in the inner area of the insert flange offset line and the area where the edge offset line is located; if not, the area where the edge offset line is located does not need to be removed, and the inner area of the insert flange offset line is determined as the arrangeable area of the screws and pins; if yes, the area in the inner area of the insert flange offset line except the intersection area is determined as the arrangeable area of the screws and pins.
4. The screw pin arrangement position design method according to claim 1, characterized by, The method of calculating the screw arrangement position and the pin arrangement position in the arrangeable area based on a preset screw pin arrangement criterion comprises the steps of: selecting two points with the maximum straight line distance on the contour boundary line of the arrangeable area, and marking the two points as a first point and a second point; selecting a third point, a fourth point, a fifth point and a sixth point from the arrangeable area based on the first point and the second point and a preset circle drawing distance, which meet the preset screw pin arrangement criterion; determining the first point, the second point, the fifth point and the sixth point as the screw arrangement position, and determining the third point and the fourth point as the pin arrangement position.
5. The screw pin arrangement position design method according to claim 4, characterized by, The method of selecting a third point, a fourth point, a fifth point and a sixth point from the arrangeable area based on the first point and the second point and a preset circle drawing distance, which meet the preset screw pin arrangement criterion, comprises the steps of: based on the preset circle drawing distance, making a circle with the first point and the second point as the center to obtain a first circle and a second circle, respectively selecting a point from the first circle and the second circle, respectively, so that the two selected points are located in the arrangeable area and the straight line distance between the two points is the maximum, and marking the two selected points as a third point and a fourth point, respectively; based on the preset circle drawing distance, making a circle with the third point and the fourth point as the center to obtain a third circle and a fourth circle, respectively, selecting a contour point from the contour boundary line of the arrangeable area except the first circle, the second circle, the third circle and the fourth circle, so that the position relationship between the selected contour point and the first point and the second point meets the preset position relationship condition, and marking the selected contour point as a fifth point. Based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a corresponding fifth circle, so as to select a point from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, and determine that the selected point satisfies the preset screw arrangement condition, and record the selected point as a sixth point.
6. The screw pin arrangement position design method according to claim 5, characterized by, Based on the preset circle drawing distance, a circle is drawn with the third point and the fourth point as the center respectively to obtain a corresponding third circle and a fourth circle, so as to select a contour point from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, and determine that the selected contour point satisfies the preset position relationship condition with the first point and the second point, and record the selected contour point as a fifth point, comprising: Based on the preset circle drawing distance, a circle is drawn with the third point and the fourth point as the center respectively to obtain a corresponding third circle and a fourth circle; In the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle and the fourth circle, any contour point is selected in turn, so as to calculate the position relationship function value of the contour point according to the preset position relationship calculation formula; The contour point corresponding to the maximum value is selected from the position relationship function value, it is determined that the contour point corresponding to the maximum value satisfies the preset position relationship condition, and the contour point corresponding to the maximum value is recorded as a fifth point.
7. The screw pin arrangement position design method according to claim 5, characterized by, Based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a corresponding fifth circle, so as to select a point from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, and determine that the selected point satisfies the preset screw arrangement condition, and record the selected point as a sixth point, comprising: Based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a corresponding fifth circle; The vector from the first point to the fifth point is added to the vector from the second point to the fifth point to obtain an added vector; A straight line is drawn along the added vector to determine whether the straight line intersects with the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle; if yes, the intersection point farthest from the fifth point is selected as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as a sixth point; if not, the point closest to the straight line from the contour boundary line in the arrangeable region except the first circle, the second circle, the third circle, the fourth circle and the fifth circle is selected as the selected point to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as a sixth point.
8. A screw pin arrangement position designing apparatus for designing an arrangement position of a screw and a pin, characterized by, Comprising: An acquisition module is configured to acquire a two-dimensional design drawing of a closed trimming die block or a punch die block; A biasing module is configured to offset a die block flange offset line and an edge offset line from the two-dimensional design drawing; The determining module is configured to determine a region available for arranging the screw and the pin by removing a region where the blade offset line is located from an inner region of the insert flange offset line. The calculating module is configured to calculate a screw arrangement position and a pin arrangement position in the region available for arranging based on a preset screw pin arrangement criterion.
9. An electronic device, comprising: The computer program is executed by the processor to perform the steps of the screw pin arrangement position design method according to any one of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to perform the steps of the screw pin arrangement position design method according to any one of claims 1-7.
Citation Information
Patent Citations
Die insert modular machining method
CN101537457A
Connecting piece sheet metal process and process system thereof
CN114393108A
Fastener hole site generation method and device, electronic equipment and storage medium
CN117786782A
Spring lifting pin design method and device, electronic equipment and storage medium
CN117910149A
Simple two-dimensional curve offset method and related equipment
CN117953100A