Screw pin arrangement position design method and device, equipment and storage medium

By eliminating the area containing the blade offset line within the inner region of the insert flange offset line, and calculating the screw and pin positions in conjunction with preset screw and pin arrangement criteria, the problem of time-consuming and labor-intensive manual operation in the prior art is solved, realizing automated and precise screw and pin arrangement design, and adapting to complex shaped inserts.

CN121373201BActive Publication Date: 2026-03-17JIHUA LAB
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-26
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

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.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121373201B_ABST
    Figure CN121373201B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of mold design, and discloses a screw pin arrangement position design method, device, equipment and storage medium, the method comprises the following steps: obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert, obtaining 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 internal area of the insert flange offset line to determine the arrangeable area of the screw and the pin, and calculating the screw arrangement position and the pin arrangement position in the arrangeable area based on a preset screw pin arrangement criterion; through the above method, the design efficiency of the screw pin arrangement position can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of mold design, and more specifically, to a method, apparatus, equipment, and storage medium for designing the arrangement positions of screws and pins. Background Technology

[0002] In modern manufacturing, especially in mold making, the design and fabrication of inserts is a crucial step. Inserts are used to achieve specific functions in molds, such as forming the complex geometry of products. To ensure accurate installation of inserts, the placement of screws and pins on the inserts must be precisely calculated. However, traditional manual calculation methods are time-consuming and error-prone, and with the increasing complexity of product designs, manual calculations can no longer meet the requirements of high precision and efficiency.

[0003] Currently, in the design and manufacturing process, the placement of screws and pins on inserts still largely relies on engineers' experience and manual calculations. While some companies have begun using software to assist in design, the automation offered by this software is limited, especially when dealing with complex geometry inserts, where manual intervention is still necessary. Manual calculations are not only time-consuming but also prone to human error. Especially when dealing with complex-shaped inserts, the accuracy of manual calculations is difficult to guarantee, potentially leading to problems during actual assembly.

[0004] Furthermore, 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 engineers need to perform extensive recalculations and adjustments every time a new insert design is encountered. The standards for the placement of screws and pins in some inserts are rather vague, requiring case-by-case analysis. Therefore, the distribution of screws and pins often relies on the experience of mold designers or engineers. This reliance makes it difficult for novices to quickly master the placement techniques, increasing the learning curve. The large number of screws and pins on inserts makes placement difficult, especially for inserts with complex geometries, where the placement becomes extremely complex. Manual placement is not only time-consuming but also prone to errors, further increasing the difficulty and complexity of the placement process.

[0005] To address the aforementioned issues, existing technologies urgently need improvement. Summary of the Invention

[0006] The purpose of this application is to provide a method, apparatus, device, and storage medium for designing the placement of screws and pins. By using preset screw and pin placement criteria, the screw and pin placement positions are calculated within the determined placement area after removing the area containing the cutting edge offset line from the inner region of the insert flange offset line. This solves the problem that existing screw and pin placement design methods rely on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to various complex insert designs to achieve automated and precise design of screw and pin placement positions, thereby improving the design efficiency of screw and pin placement positions.

[0007] In a first aspect, this application provides a method for designing the arrangement of screw pins, including:

[0008] Obtain the two-dimensional design drawing of the closed trimmed insert or punch insert;

[0009] The offset lines of the insert flange and the cutting edge are obtained from the offset lines in the two-dimensional design drawing.

[0010] Remove the area containing the cutting edge offset line from the inner region of the insert flange offset line to determine the area where screws and pins can be arranged;

[0011] Based on the preset screw and pin arrangement criteria, the screw arrangement position and pin arrangement position are calculated within the arrangement area.

[0012] The screw and pin arrangement design method provided in this application can design the arrangement positions of screws and pins. By using preset screw and pin arrangement criteria, the screw and pin arrangement positions are calculated within the determined arrangement area of ​​the screw and pin by removing the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line. This solves the problem that existing screw and pin arrangement design methods rely on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to the design of inserts with various complex shapes, so as to realize the automated and accurate design of screw and pin arrangement positions, and improve the design efficiency of screw and pin arrangement positions.

[0013] Optionally, the offset lines of the insert flange and the cutting edge are obtained from the two-dimensional design drawing, including:

[0014] The boundary of the insert flange and the outline boundary of the cutting edge body are identified from the two-dimensional design drawing.

[0015] Offset the boundary of the insert flange toward the center point of the two-dimensional design drawing to obtain the insert flange offset line;

[0016] The edge contour boundary is offset outward from the edge body to obtain the edge offset line.

[0017] Optionally, the area containing the cutting edge offset line is removed from the inner region of the insert flange offset line to determine the area where screws and pins can be arranged, including:

[0018] Determine whether there is an intersection area between the inner region of the insert flange offset line and the region where the cutting edge offset line is located;

[0019] If not, then it is not necessary to remove the area where the blade offset line is located, and the internal area of ​​the insert flange offset line is determined to be the area where screws and pins can be arranged.

[0020] If so, the area within the inner region of the insert flange offset line, excluding the intersecting area, is defined as the area where screws and pins can be arranged.

[0021] Optionally, based on preset screw and pin arrangement criteria, the screw arrangement positions and pin arrangement positions within the arrangeable area are calculated, including:

[0022] Select the two points with the largest straight-line distance on the outline boundary line of the arrangeable area, and mark them as point 1 and point 2 respectively;

[0023] Based on point 1 and point 2, and combined with the preset circle drawing distance, point 3, point 4, point 5 and point 6 that conform to the preset screw and pin arrangement criteria are selected from the arrangeable area respectively.

[0024] Points 1, 2, 5, and 6 are designated as screw placement positions, and points 3 and 4 are designated as pin placement positions.

[0025] Optionally, based on points one and two, and in conjunction with a preset circle distance, points three, four, five, and six that conform to preset screw and pin placement criteria are selected from the arrangeable area, including:

[0026] Based on the preset circle drawing distance, circles are drawn with point 1 and point 2 as the center, respectively, to obtain corresponding circle 1 and circle 2. A point is selected from each of the circles 1 and 2, such that the two selected points are located in the arrangeable area and the straight-line distance between the two points is maximized. The two selected points are recorded as point 3 and point 4 respectively.

[0027] Based on the preset circle drawing distance, circles are drawn with points 3 and 4 as centers to obtain corresponding circles 3 and 4. A contour point is selected from the contour boundary lines of the arrangable area other than circles 1, 2, 3, and 4, such that the positional relationship between the selected contour point and points 1 and 2 satisfies the preset positional relationship conditions, and the selected contour point is recorded as point 5.

[0028] Based on the preset circle drawing distance, a circle is drawn with point 5 as the center to obtain the corresponding circle 5. Then, a point is selected from the outline boundary line of the arrangeable area other than circle 1, circle 2, circle 3, circle 4 and circle 5, so that the selected point satisfies the preset screw arrangement conditions, and the selected point is recorded as point 6.

[0029] Optionally, based on the preset circle-drawing distance, circles are drawn with points three and four as centers, respectively, to obtain corresponding circles three and four. A contour point is selected from the contour boundary lines of the arrangeable area excluding circles one, two, three, and four, such that the positional relationship between the selected contour point and points one and two satisfies a preset positional relationship condition. The selected contour point is recorded as point five, including:

[0030] Based on the preset circle drawing distance, circles are drawn with points three and four as centers respectively to obtain the corresponding circle three and circle four;

[0031] In the arrangeable area, any contour point is selected sequentially from the contour boundary lines other than the first circle, the second circle, the third circle, and the fourth circle, in order to calculate the position relationship function value of the contour point according to the preset position relationship calculation formula;

[0032] 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.

[0033] The screw and pin arrangement design method provided in this application can design the arrangement position of screws and pins. By calculating the position relationship function value and selecting the contour point corresponding to the maximum value, point No. 5 is accurately determined, ensuring that the positional relationship between point No. 5 and points No. 1 and No. 2 is optimal, and further improving the rationality of screw and pin arrangement.

[0034] Optionally, based on the preset circle drawing distance, a circle is drawn with point 5 as the center to obtain the corresponding circle 5. A point is selected from the contour boundary lines of the arrangeable area excluding circles 1, 2, 3, 4, and 5, such that the selected point satisfies the preset screw arrangement conditions, and the selected point is recorded as point 6.

[0035] Based on the preset circle drawing distance, a circle is drawn with point number five as the center to obtain the corresponding circle number five;

[0036] Add the vector from point 1 to point 5 to the vector from point 2 to point 5 to obtain the summed vector;

[0037] Draw a straight line along the summing vector to determine whether the straight line intersects with the contour boundary line of the arrangeable area other than the first circle, the second circle, the third circle, the fourth circle, and the fifth circle. If yes, select the intersection point farthest from the fifth point as the selected point to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as the sixth point. If no, select the point closest to the straight line from the contour boundary line of the arrangeable area other than the first circle, the second circle, the third circle, the fourth circle, and the fifth circle to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as the sixth point.

[0038] The screw and pin arrangement design method provided in this application can realize the design of the arrangement position of screws and pins. Through vector calculation and intersection judgment, point 6 is intelligently determined, which ensures the reasonable distribution between point 6, point 5 and other determined points, further optimizes the screw arrangement and improves the balance of the overall design.

[0039] Secondly, this application provides a screw and pin arrangement position design device, comprising:

[0040] The acquisition module is used to acquire the two-dimensional design drawing of the closed trimmed insert or punch insert;

[0041] The offset module is used to offset the insert flange offset line and the cutting edge offset line from the two-dimensional design drawing;

[0042] A determining module is used to remove the area where the cutting edge offset line is located from the inner region of the insert flange offset line in order to determine the placeable area for screws and pins;

[0043] The calculation module is used to calculate the screw and pin arrangement positions within the arrangeable area based on preset screw and pin arrangement criteria.

[0044] This screw and pin placement design device calculates the screw and pin placement positions within the determined screw and pin placement area by removing the area containing the cutting edge offset line from the inner region of the insert flange offset line, based on preset screw and pin placement criteria. This solves the problem of existing screw and pin placement design methods relying on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to various complex insert designs to achieve automated and precise screw and pin placement design, thereby improving the design efficiency of screw and pin placement.

[0045] Thirdly, this application provides an electronic device including a processor and a memory, the memory storing a computer program executable by the processor, wherein when the processor executes the computer program, it performs the steps in the screw and pin arrangement position design method described above.

[0046] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps in the screw and pin arrangement position design method described above.

[0047] Beneficial effects: The screw and pin arrangement design method, apparatus, equipment, and storage medium provided in this application calculate the screw and pin arrangement positions by using preset screw and pin arrangement criteria and removing the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line to determine the arrangement area of ​​the screw and pin. This solves the problem that existing screw and pin arrangement design methods rely on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to the design of inserts with various complex shapes to achieve automated and precise design of screw and pin arrangement positions, thereby improving the design efficiency of screw and pin arrangement positions. Attached Figure Description

[0048] Figure 1 A flowchart illustrating the screw and pin arrangement position design method provided in the embodiments of this application.

[0049] Figure 2 A schematic diagram of the screw and pin arrangement position design device provided in the embodiments of this application.

[0050] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0051] Figure 4 This is a design schematic diagram of the offset line of the insert flange and the offset line of the cutting edge.

[0052] Figure 5 This is a schematic diagram of the first design for the area that can be arranged.

[0053] Figure 6This is a schematic diagram of the second design for the area that can be arranged.

[0054] Figure 7 This is a design schematic diagram for point 1 and point 2.

[0055] Figure 8 This is a design schematic diagram for points 3 and 4.

[0056] Figure 9 This is a design schematic for point number five.

[0057] Figure 10 This is a design schematic for point six.

[0058] Labeling Explanation: 1. Acquisition Module; 2. Bias Module; 3. Determination Module; 4. Calculation Module; 301. Processor; 302. Memory; 303. Communication Bus. Detailed Implementation

[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0060] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0061] Please refer to Figure 1 , Figure 1 This application discloses a method for designing the arrangement of screws and pins in some embodiments, used to design the arrangement of screws and pins, including the following steps:

[0062] Step S101: Obtain a two-dimensional design drawing of the closed trimming insert or punch insert;

[0063] Step S102: Obtain the offset line of the insert flange and the offset line of the cutting edge from the two-dimensional design drawing;

[0064] Step S103: Remove the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line to determine the area where the screws and pins can be arranged.

[0065] Step S104: Based on the preset screw and pin arrangement criteria, the screw arrangement position and pin arrangement position are calculated within the arrangeable area.

[0066] This screw and pin placement design method, through preset screw and pin placement criteria, calculates the screw and pin placement positions within the determined placement area by removing the area containing the cutting edge offset line from the inner region of the insert flange offset line. This solves the problem of existing screw and pin placement design methods relying on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to various complex insert designs to achieve automated and precise screw and pin placement design, thereby improving the design efficiency of screw and pin placement.

[0067] Specifically, in step S101, a two-dimensional design drawing of the closed trimming insert or punch insert is obtained. The two-dimensional design drawing is a technical drawing drawn by two-dimensional software or three-dimensional software, which is the basis for subsequent screw and pin arrangement.

[0068] Specifically, in step S102, the offset lines of the insert flange and the cutting edge are obtained from the two-dimensional design drawing, including:

[0069] The boundary of the insert flange and the outline of the cutting edge body are identified from the two-dimensional design drawings;

[0070] Offset the boundary of the insert flange towards the center point of the two-dimensional design drawing to obtain the insert flange offset line;

[0071] The edge contour boundary is offset outward from the edge body to obtain the edge offset line.

[0072] In step S102, the insert flange boundary and the cutting edge body contour boundary can be identified from the two-dimensional design drawing using existing image processing technology. The insert flange boundary typically refers to the closed curve surrounding a 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.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] 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.

[0077] Specifically, in step S103, the area containing the cutting edge offset line is removed from the inner region of the insert flange offset line to determine the area where the screws and pins can be arranged, including:

[0078] 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;

[0079] If not, then it is not necessary to remove the area where the blade offset line is located, and the internal area of ​​the insert flange offset line is determined as the area where screws and pins can be arranged.

[0080] If so, the area within the inner region of the insert flange offset line, excluding the intersecting area, is defined as the area where screws and pins can be arranged.

[0081] In step S103, existing image processing techniques are used to detect whether there is any overlap between the internal space (internal region) defined by the insert flange offset line and the region (location region) defined by the cutting edge offset line. This determination aims to identify areas on the insert that may interfere with the cutting edge body.

[0082] If the judgment result is negative, meaning there is no intersection (overlap) between the inner region of the insert flange offset line and the cutting edge offset line, it indicates that the space occupied by the cutting edge body is completely separated from the inner region of the insert flange, or the cutting edge offset line is completely outside the insert flange offset line. In this case, no rejection operation is required; the inner region of the insert flange offset line is directly determined as the area where screws and pins can be arranged, so that the entire inner space of the insert flange can be used for the arrangement of screws and pins without conflicting with the cutting edge body.

[0083] If the determination result is yes, meaning there is an intersection between the inner region of the insert flange offset line and the cutting edge offset line, then this intersecting region needs to be removed from the inner region of the insert flange offset line. By eliminating this common area, it can be ensured that the placement of screws and pins will not encroach on the space of the cutting edge body, thereby avoiding any impact on the function and structural integrity of the cutting edge. The remaining area after elimination is the final placeable area for screws and pins.

[0084] For example, such as Figure 5 and Figure 6 As shown, where e is the deployable area, from Figure 5 As can be seen from the diagram, when there is an intersection between the inner region of the insert flange offset line c and the cutting edge offset line d, this intersection region is removed from the inner region of the insert flange offset line c to obtain the arrangeable region e; from Figure 6 As can be seen from this, when there is no intersection between the inner region of the insert flange offset line c and the cutting edge offset line d ( Figure 6 Since the two-dimensional design drawing does not have a cutting edge body, it does not have the cutting edge body outline boundary b and the cutting edge offset line d. The internal area of ​​the insert flange offset line is directly determined as the placeable area for screws and pins, resulting in the placeable area e.

[0085] Specifically, in step S104, based on preset screw and pin arrangement criteria, the screw arrangement positions and pin arrangement positions are calculated within the arrangeable area, including:

[0086] 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;

[0087] Based on points one and two, and combined with the preset circle drawing distance, select points three, four, five and six from the placeable area that meet the preset screw and pin placement criteria.

[0088] Points 1, 2, 5, and 6 are designated as screw placement locations, and points 3 and 4 are designated as pin placement locations.

[0089] 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.

[0090] In step S104, the straight-line distance between any two points on the outline boundary line of the arrangeable area is calculated. Two points corresponding to the maximum straight-line distance are selected and designated as point one and point two, respectively. This aims to provide a basic design benchmark for the subsequent screw and pin arrangement, maximizing space utilization and ensuring that the initial arrangement points cover the maximum size range of the arrangeable area, thus laying a stable foundation for the overall fastener arrangement. Point one and point two are typically located at opposite ends of the outline boundary line in 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.

[0091] 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 point f and point 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.

[0092] Specifically, in step S104, based on point one and point two, and combined with a preset circle distance, points three, four, five, and six that conform to the preset screw and pin arrangement criteria are selected from the arrangeable area, including:

[0093] 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.

[0094] 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.

[0095] 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.

[0096] 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).

[0097] 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 j and k.

[0098] Specifically, in step S104, based on a preset circle-drawing distance, circles are drawn with point 3 and point 4 as centers, respectively, to obtain corresponding circles 3 and 4. A contour point is selected from the contour boundary lines of the arrangeable area excluding circles 1, 2, 3, and 4, such that the positional relationship between the selected contour point and points 1 and 2 satisfies a preset positional relationship condition. The selected contour point is then designated as point 5, including:

[0099] 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;

[0100] 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.

[0101] 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.

[0102] It should be noted that the preset positional relationship condition is the contour point with the largest positional relationship function value.

[0103] In step S104, circles are drawn with points 3 and 4 as centers and a preset circle distance as the radius to obtain 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 helping to select a suitable point 5.

[0104] 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:

[0105] ;

[0106] 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.

[0107] 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.

[0108] 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 9 As can be seen, in the area that can be arranged, any contour point is selected sequentially from the contour boundary lines other than circle 1, circle 2, circle 3 and circle 4. 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 each contour point are compared, and the contour point corresponding to the maximum value is selected from the position relationship function values, i.e., point o, as point 5.

[0109] Specifically, in step S104, based on the preset circle drawing distance, a circle is drawn with point 5 as the center to obtain the corresponding circle 5. A point is selected from the contour boundary lines of the arrangeable area excluding circles 1, 2, 3, 4, and 5, such that the selected point satisfies the preset screw arrangement conditions. The selected point is recorded as point 6, including:

[0110] Based on the preset circle drawing distance, draw a circle with point 5 as the center to obtain the corresponding circle 5;

[0111] Add the vector from point 1 to point 5 to the vector from point 2 to point 5 to obtain the summed vector;

[0112] Draw a straight line along the summing vector to determine if the straight line intersects with the contour boundary lines of the arrangeable area other than circles 1, 2, 3, 4, and 5. If yes, select the intersection point farthest from point 5 as the selected point to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as point 6. If no, select the point closest to the straight line from the contour boundary lines of the arrangeable area other than circles 1, 2, 3, 4, and 5 as the selected point to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as point 6.

[0113] It should be noted that the preset screw arrangement conditions are as follows: if the line corresponding to the summing vector intersects with the contour boundary line of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5, then the intersection point farthest from point 5 is recorded as point 6; if the line corresponding to the summing vector does not intersect with the contour boundary line of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5, then the intersection point closest to the line among the contour boundary lines of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5 is selected and recorded as point 6.

[0114] 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.

[0115] 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.

[0116] 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.

[0117] 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.

[0118] 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.

[0119] As can be seen from the above, this screw and pin placement design method obtains a two-dimensional design drawing of a closed-type trimmed insert or punch insert, offsets the insert flange offset line and the cutting edge offset line from the two-dimensional design drawing, removes the area containing the cutting edge offset line from the inner region of the insert flange offset line to determine the placeable area for screws and pins, and calculates the screw and pin placement positions within the placeable area based on preset screw and pin placement criteria. Thus, by using preset screw and pin placement criteria, the screw and pin placement positions are calculated within the placeable area determined by removing the area containing the cutting edge offset line from the inner region of the insert flange offset line. This solves the problem that existing screw and pin placement design methods rely on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to the design of inserts with various complex shapes to achieve automated and precise design of screw and pin placement positions, thereby improving the design efficiency of screw and pin placement positions.

[0120] refer to Figure 2 This application provides a screw and pin arrangement position design device for designing the arrangement positions of screws and pins, including:

[0121] Module 1 is used to acquire the two-dimensional design drawing of the closed trimmed insert or punch insert;

[0122] Offset module 2 is used to obtain the offset line of the insert flange and the offset line of the cutting edge from the two-dimensional design drawing;

[0123] Module 3 is used to remove the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line in order to determine the placeable area for screws and pins.

[0124] Calculation module 4 is used to calculate the screw and pin placement positions within the placement area based on preset screw and pin placement criteria.

[0125] This screw and pin placement design device calculates the screw and pin placement positions within the determined screw and pin placement area by removing the area containing the cutting edge offset line from the inner region of the insert flange offset line, based on preset screw and pin placement criteria. This solves the problem of existing screw and pin placement design methods relying on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to various complex insert designs to achieve automated and precise screw and pin placement design, thereby improving the design efficiency of screw and pin placement.

[0126] Specifically, when module 1 is executed, it acquires a two-dimensional design drawing of a closed trimming insert or punch insert. The two-dimensional design drawing is a technical drawing created using two-dimensional or three-dimensional software and serves as the basis for subsequent screw and pin arrangement.

[0127] 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:

[0128] The boundary of the insert flange and the outline of the cutting edge body are identified from the two-dimensional design drawings;

[0129] Offset the boundary of the insert flange towards the center point of the two-dimensional design drawing to obtain the insert flange offset line;

[0130] The edge contour boundary is offset outward from the edge body to obtain the edge offset line.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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:

[0137] 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;

[0138] If not, then it is not necessary to remove the area where the blade offset line is located, and the internal area of ​​the insert flange offset line is determined as the area where screws and pins can be arranged.

[0139] If so, the area within the inner region of the insert flange offset line, excluding the intersecting area, is defined as the area where screws and pins can be arranged.

[0140] When module 3 is executed, it uses existing image processing techniques to detect whether there is any overlap between the internal space (internal region) defined by the insert flange offset line and the region (location) defined by the cutting edge offset line. This determination aims to identify areas on the insert that may interfere with the cutting edge body.

[0141] If the judgment result is negative, meaning there is no intersection (overlap) between the inner region of the insert flange offset line and the cutting edge offset line, it indicates that the space occupied by the cutting edge body is completely separated from the inner region of the insert flange, or the cutting edge offset line is completely outside the insert flange offset line. In this case, no rejection operation is required; the inner region of the insert flange offset line is directly determined as the area where screws and pins can be arranged, so that the entire inner space of the insert flange can be used for the arrangement of screws and pins without conflicting with the cutting edge body.

[0142] If the determination result is yes, meaning there is an intersection between the inner region of the insert flange offset line and the cutting edge offset line, then this intersecting region needs to be removed from the inner region of the insert flange offset line. By eliminating this common area, it can be ensured that the placement of screws and pins will not encroach on the space of the cutting edge body, thereby avoiding any impact on the function and structural integrity of the cutting edge. The remaining area after elimination is the final placeable area for screws and pins.

[0143] For example, such as Figure 5 and Figure 6 As shown, where e is the deployable area, from Figure 5 As can be seen from the diagram, when there is an intersection between the inner region of the insert flange offset line c and the cutting edge offset line d, this intersection region is removed from the inner region of the insert flange offset line c to obtain the arrangeable region e; from Figure 6 As can be seen from this, when there is no intersection between the inner region of the insert flange offset line c and the cutting edge offset line d ( Figure 6 Since the two-dimensional design drawing does not have a cutting edge body, it does not have the cutting edge body outline boundary b and the cutting edge offset line d. The internal area of ​​the insert flange offset line is directly determined as the placeable area for screws and pins, resulting in the placeable area e.

[0144] Specifically, when calculation module 4 calculates the screw and pin placement positions within the placement area based on preset screw and pin placement criteria, it executes the following:

[0145] 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;

[0146] Based on points one and two, and combined with the preset circle drawing distance, select points three, four, five and six from the placeable area that meet the preset screw and pin placement criteria.

[0147] Points 1, 2, 5, and 6 are designated as screw placement locations, and points 3 and 4 are designated as pin placement locations.

[0148] 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.

[0149] 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.

[0150] 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 point f and point 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.

[0151] 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:

[0152] 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.

[0153] 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.

[0154] 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.

[0155] 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).

[0156] 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 8As 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 j and k.

[0157] 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:

[0158] 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;

[0159] 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.

[0160] 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.

[0161] It should be noted that the preset positional relationship condition is the contour point with the largest positional relationship function value.

[0162] 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.

[0163] 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:

[0164] ;

[0165] 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.

[0166] 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.

[0167] 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 9 As can be seen, in the area that can be arranged, any contour point is selected sequentially from the contour boundary lines other than circle 1, circle 2, circle 3 and circle 4. 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 each contour point are compared, and the contour point corresponding to the maximum value is selected from the position relationship function values, i.e., point o, as point 5.

[0168] Specifically, the calculation module 4 draws a circle centered on point 5 based on a preset circle drawing distance, obtaining the corresponding circle 5. Then, it selects a point from the outline boundary lines of the arrangeable area excluding circles 1, 2, 3, 4, and 5, ensuring the selected point meets the preset screw arrangement conditions. When the selected point is designated as point 6, the following steps are executed:

[0169] Based on the preset circle drawing distance, draw a circle with point 5 as the center to obtain the corresponding circle 5;

[0170] Add the vector from point 1 to point 5 to the vector from point 2 to point 5 to obtain the summed vector;

[0171] Draw a straight line along the summing vector to determine if the straight line intersects with the contour boundary lines of the arrangeable area other than circles 1, 2, 3, 4, and 5. If yes, select the intersection point farthest from point 5 as the selected point to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as point 6. If no, select the point closest to the straight line from the contour boundary lines of the arrangeable area other than circles 1, 2, 3, 4, and 5 as the selected point to ensure that the selected point meets the preset screw arrangement conditions, and record the selected point as point 6.

[0172] It should be noted that the preset screw arrangement conditions are as follows: if the line corresponding to the summing vector intersects with the contour boundary line of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5, then the intersection point farthest from point 5 is recorded as point 6; if the line corresponding to the summing vector does not intersect with the contour boundary line of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5, then the intersection point closest to the line among the contour boundary lines of the arrangeable area other than circle 1, circle 2, circle 3, circle 4, and circle 5 is selected and recorded as point 6.

[0173] When the calculation module 4 is executed, it draws a circle with point 5 as the center and a preset circle drawing distance as the radius to obtain circle 5. Its function is to limit the initial range of point 6 selection.

[0174] 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.

[0175] 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.

[0176] 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.

[0177] 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.

[0178] As can be seen from the above, this screw and pin placement design device acquires a two-dimensional design drawing of a closed-type trimming insert or punch insert, offsets the insert flange offset line and the cutting edge offset line from the two-dimensional design drawing, removes the area containing the cutting edge offset line from the inner region of the insert flange offset line to determine the placement area of ​​the screw and pin, and calculates the screw placement position and pin placement position within the placement area based on a preset screw and pin placement criterion. Thus, by using the preset screw and pin placement criterion, the screw placement position and pin placement position are calculated within the determined placement area of ​​the screw and pin after removing the area containing the cutting edge offset line from the inner region of the insert flange offset line. This solves the problem that existing screw and pin placement design methods rely on manual operation, which is time-consuming, labor-intensive, and inefficient. It can flexibly adapt to the design of inserts with various complex shapes to achieve automated and precise design of screw and pin placement positions, thereby improving the design efficiency of screw and pin placement positions.

[0179] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device includes 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 shown). The memory 302 stores a computer program executable by the processor 301. When the electronic device is running, the processor 301 executes the computer program to execute the screw and pin arrangement position design method in any optional implementation of the above embodiment, so as to achieve the following functions: obtaining a two-dimensional design drawing of a closed trimming insert or a punch insert; offsetting the insert flange offset line and the cutting edge offset line from the two-dimensional design drawing; removing the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line to determine the arrangement area of ​​the screw and pin; and calculating the screw arrangement position and the pin arrangement position within the arrangement area based on a preset screw and pin arrangement criterion.

[0180] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it performs the screw and pin arrangement position design method in any optional implementation of the above embodiments to achieve the following functions: obtaining a two-dimensional design drawing of a closed trimming insert or punch insert; offsetting the insert flange offset line and the cutting edge offset line from the two-dimensional design drawing; removing the area where the cutting edge offset line is located from the inner area of ​​the insert flange offset line to determine the arrangeable area of ​​screws and pins; and calculating the screw arrangement position and pin arrangement position within the arrangeable area based on a preset screw and pin arrangement criterion. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0181] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0182] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0183] Furthermore, the functional modules in the various embodiments of this 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.

[0184] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.

[0185] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this 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 a 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 flange offset line to determine a placeable area of screws and pins; calculating a screw arrangement position and a pin arrangement position in the placeable area based on a preset screw pin arrangement criterion; calculating a screw arrangement position and a pin arrangement position in the placeable area based on a preset screw pin arrangement criterion, comprising: selecting two points with the maximum straight-line distance on the contour boundary line of the placeable area, and marking 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 placeable area based on the first point and the second point and in combination with a preset circle drawing distance, so as to 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; selecting a third point, a fourth point, a fifth point and a sixth point from the placeable area based on the first point and the second point and in combination with a preset circle drawing distance, so as to meet the preset screw pin arrangement criterion, comprising: based on the preset circle drawing distance, drawing a first circle and a second circle with the first point and the second point as the centers respectively, selecting one point from the first circle and the second circle respectively, so that the two selected points are located in the placeable area and have the maximum straight-line distance, and marking the two selected points as a third point and a fourth point respectively; based on the preset circle drawing distance, drawing a third circle and a fourth circle with the third point and the fourth point as the centers respectively, selecting a contour point from the contour boundary line in the placeable area except the first circle, the second circle, the third circle and the fourth circle, so that the selected contour point meets a preset position relationship condition with the first point and the second point, and marking the selected contour point as a fifth point; the preset position relationship condition is a contour point with the maximum position relationship function value; based on the preset circle drawing distance, drawing a fifth circle with the fifth point as the center, selecting a point from the contour boundary line in the placeable area except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, so that the selected point meets a preset screw arrangement condition, and marking the selected point as a sixth point; and based on the preset circle drawing distance, drawing a third circle and a fourth circle with the third point and the fourth point as the centers respectively, selecting a contour point from the contour boundary line in the placeable area except the first circle, the second circle, the third circle and the fourth circle, so that the selected contour point meets a preset position relationship condition with the first point and the second point, and marking the selected contour point 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 centers respectively to obtain corresponding third and fourth circles; An arbitrary contour point is selected in the contour boundary line in the arrangeable region except the first, second, third, and fourth circles, and a position relationship function value of the contour point is calculated according to a preset position relationship calculation formula; A contour point corresponding to a maximum value in the position relationship function value is selected, and it is determined that the contour point corresponding to the maximum value satisfies a preset position relationship condition, and the contour point corresponding to the maximum value is recorded as a fifth point; The preset position relationship calculation formula is specifically: ; wherein, is a position relationship function value; is a sum of a distance between the contour point and the first point and a distance between the contour point and the second point; is a distance weight; is an area of a triangle formed by the contour point, the first point and the second 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, and a point is selected in the contour boundary line in the arrangeable region except the first, second, third, fourth, and fifth circles, so that the selected point satisfies a preset screw arrangement condition, and the selected point is recorded as a sixth point, including: Based on the preset circle drawing distance, a circle is drawn with the fifth point as the center to obtain a corresponding fifth circle; An added vector is obtained by adding a vector from the first point to the fifth point and a vector from the second point to the fifth point; 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, second, third, fourth, and fifth circles, if yes, a farthest intersection point 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 nearest point from the straight line is selected as the selected point in the contour boundary line in the arrangeable region except the first, second, third, fourth, and fifth circles to determine that the selected point satisfies the preset screw arrangement condition, and the selected point is recorded as the sixth point.

2. The screw pin arrangement position design method according to claim 1, characterized by, A blade flange offset line and a cutting edge offset line are obtained by offsetting from the two-dimensional design drawing, including: A blade flange boundary and a cutting edge contour boundary are identified from the two-dimensional design drawing; The blade flange boundary is offset to a center point of the two-dimensional design drawing to obtain a blade flange offset line; The cutting edge contour boundary is offset to an outside of a cutting edge to obtain a cutting edge offset line.

3. The screw pin arrangement position design method according to claim 1, characterized by, The region where the cutting edge offset line is located is removed from an internal region of the blade flange offset line to determine an arrangeable region of screws and pins, including: It is determined whether there is an intersection region in the internal region of the blade flange offset line and the region where the cutting edge offset line is located; If no, the region where the cutting edge offset line is located does not need to be removed, and the internal region of the blade flange offset line is determined as the arrangeable region of the screws and pins; If yes, a region in the internal region of the blade flange offset line except the intersection region is determined as the arrangeable region of the screws and pins.

4. A screw pin arrangement position designing device for designing an arrangement position of a screw and a pin, characterized by, including: An acquisition module is configured to acquire a two-dimensional design drawing of a closed trimming insert or a punch insert; The biasing module is configured to bias a block flange biasing line and a blade edge biasing line from the two-dimensional design drawing; The determining module is configured to remove a region where the blade edge biasing line is located from an inner region of the block flange biasing line to determine a region where a screw and a pin can be arranged; The calculating module is configured to calculate a screw arrangement position and a pin arrangement position in the region where the screw and the pin can be arranged based on a preset screw pin arrangement criterion; The calculating module is configured to calculate a screw arrangement position and a pin arrangement position in the region where the screw and the pin can be arranged based on a preset screw pin arrangement criterion, and the calculating comprises: selecting two points with the maximum straight-line distance on the contour boundary line of the region where the screw and the pin can be arranged, 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 region where the screw and the pin can be arranged based on the first point and the second point and in combination with a preset circle drawing distance, the third point, the fourth point, the fifth point and the sixth point satisfying the preset screw pin arrangement criterion respectively; 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; selecting a third point, a fourth point, a fifth point and a sixth point from the region where the screw and the pin can be arranged based on the first point and the second point and in combination with a preset circle drawing distance, the third point, the fourth point, the fifth point and the sixth point satisfying the preset screw pin arrangement criterion respectively, and the selecting comprises: 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, and selecting a point from the first circle and the second circle respectively, the two selected points being located in the region where the screw and the pin can be arranged and having the maximum straight-line distance, 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, and selecting a contour point from the contour boundary line of the region where the screw and the pin can be arranged except the first circle, the second circle, the third circle and the fourth circle, the selected contour point satisfying a preset position relationship condition with the first point and the second point, and recording the selected contour point as a fifth point, the preset position relationship condition being a contour point with the maximum position relationship function value; based on the preset circle drawing distance, making a circle with the fifth point as the center to obtain a fifth circle, and selecting a point from the contour boundary line of the region where the screw and the pin can be arranged except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, the selected point satisfying a preset screw arrangement condition, and recording the selected point as a sixth point; 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, and selecting a contour point from the contour boundary line of the region where the screw and the pin can be arranged except the first circle, the second circle, the third circle and the fourth circle, the selected contour point satisfying a preset position relationship condition with the first point and the second point, and recording the selected contour point as a fifth point, and the selecting comprises: 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 respectively; An arbitrary 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, and a position relationship function value of the contour point is calculated according to a preset position relationship calculation formula; A contour point corresponding to a maximum value in the position relationship function value is selected, and it is determined that the contour point corresponding to the maximum value satisfies a preset position relationship condition, and the contour point corresponding to the maximum value is recorded as a fifth point; The preset position relationship calculation formula is specifically: ; wherein, is a position relationship function value; is a sum of a distance between the contour point and the first point and a distance between the contour point and the second point; is a distance weight; is an area of a triangle formed by the contour point, the first point and the second point; Based on the preset circle drawing distance, a fifth circle is drawn with the fifth point as the center, and a point is selected in the contour boundary line in the arrangement area except the first circle, the second circle, the third circle, the fourth circle and the fifth circle, so that the selected point satisfies a preset screw arrangement condition, and the selected point is recorded as a sixth point, including: Based on the preset circle drawing distance, a fifth circle is drawn with the fifth point as the center; A vector from the first point to the fifth point is added to a 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 arrangement area except the first circle, the second circle, the third circle, the fourth circle and the fifth circle; if yes, a farthest intersection point 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 nearest point from the straight line is selected as the selected point in the contour boundary line in the arrangement area 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.

5. An electronic device, comprising: The computer program is executed by the processor to run the steps in the screw pin arrangement position design method according to any one of claims 1-3.

6. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to run the steps in the screw pin arrangement position design method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Spring lifting pin design method and device, electronic equipment and storage medium

    CN117910149A

  • Simple two-dimensional curve offset method and related equipment

    CN117953100A