Edge trimming insert screw pin position determination method and device, equipment and storage medium

By generating screw and pin positions through standardized area delineation and point extraction, the problem of the lack of unified standards for screw and pin layout in existing technologies is solved. This achieves standardization and normalization of screw and pin layout for trimmed inserts, improves the overall standardization level of mold design, and reduces the difficulty of processing and assembly.

CN121402525BActive 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-30
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In the existing technology, there is a lack of unified standards for determining the position of the trimmed insert screws and pins, resulting in poor consistency in the layout of screws and pins, which increases the complexity of mold design and the difficulty of processing and assembly, making it difficult to meet the needs of large-scale and standardized production.

Method used

By standardizing the region delineation, point extraction, candidate point generation, and layout rule judgment, a unified and standardized screw and pin position for trimmed inlays is generated. This includes obtaining the trimmed inlay entity and trimming line, delineating the arrangeable area, extracting the feature point sequence, generating a set of screw candidate points, and judging the layout rules according to a preset length threshold to generate uniformly distributed or standard screw and pin positions.

Benefits of technology

The standardization and normalization of the layout of trimming inserts, screws, and pins have been achieved, which has improved the overall standardization level of mold design, reduced the adaptation difficulty of subsequent processing and assembly, and provided reliable technical support for large-scale mold production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121402525B_ABST
    Figure CN121402525B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of mold design, and discloses a trimming insert screw pin position determination method, device, equipment and storage medium, comprising obtaining a trimming insert entity and a trimming line, and demarcating a placeable region based on the trimming insert entity and the trimming line; extracting the start point, end point and inflection point of the trimming line to generate a feature point sequence; correcting the feature point sequence to the placeable region to generate a screw candidate point set; performing screw arrangement rule judgment based on the trimming line, the screw candidate point set and a preset threshold to obtain a judgment result; and generating a screw pin position based on the judgment result using an even distribution rule or a standard rule; the present application generates a unified and standardized trimming insert screw pin position based on standardized generation steps, realizes the standardization and normalization of trimming insert screw pin layout, and improves the overall standardization level of mold design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mold design technology, and in particular to a method, apparatus, equipment and storage medium for determining the position of trimming insert screws and pins. Background Technology

[0002] In the mold manufacturing field of modern manufacturing, determining the position of screws and pins in trimmed inserts is a core step in ensuring the assembly accuracy of the inserts and the overall stability of the mold. Currently, the industry relies heavily on the personal experience of engineers to determine the position of screws and pins, lacking a unified standardized process. Different engineers have different standards for defining the deployable area, the logic for selecting feature points, and the basis for adapting the layout rules. This results in poor consistency in the screw and pin layout of trimmed inserts of the same specification. This not only reduces the standardization of mold design, but also increases the difficulty of subsequent processing and assembly due to inconsistent layout. It also brings many inconveniences to mold maintenance and replacement, making it difficult to meet the needs of large-scale and standardized mold production. Summary of the Invention

[0003] To overcome the shortcomings of the prior art, the present invention aims to provide a method, apparatus, device, and storage medium for determining the position of trimmed insert screws and pins. Based on standardized steps of region delineation, point extraction, candidate point generation, rule determination, and layout generation, the present invention generates uniform and standardized positions of trimmed insert screws and pins, solving the problem of lack of uniform standards and poor consistency in screw and pin layout in the prior art. It realizes the standardization and normalization of trimmed insert screw and pin layout, and improves the overall standardization level of mold design.

[0004] The first aspect of this invention provides a method for determining the position of screw pins in a trimmed insert. The method includes the following steps: acquiring the trimmed insert entity and trimming line, and defining a deployable area based on the trimmed insert entity and trimming line; extracting the start point, end point, and inflection point of the trimming line to generate a feature point sequence; correcting the feature point sequence within the deployable area to generate a set of candidate screw points; judging screw placement rules based on the trimming line, the set of candidate screw points, and a preset length threshold to obtain a judgment result; if the judgment result is a long-distance uniform distribution result, converting the set of candidate screw points into uniformly distributed screw pin positions according to a preset uniform distribution rule; if the judgment result is a short-distance standard result, converting the set of candidate screw points into standard screw pin positions according to a preset standard rule.

[0005] Optionally, in a first implementation of the first aspect of the present invention, the step of obtaining the trimming insert entity and trimming line, and delineating the arrangeable area based on the trimming insert entity and trimming line includes: obtaining the trimming insert entity and extracting all edges on the surface of the trimming insert entity to obtain an edge set; obtaining the trimming line from a preset mold and offsetting the trimming line towards the interior of the insert according to a preset cutting edge reference displacement to obtain an inner cutting edge line; firstly, filtering out the edges in the edge set that coincide with the inner cutting edge line, and then integrating the remaining edges in the edge set to obtain the outer contour line of the flange; offsetting the inner cutting edge line towards the interior of the insert according to a preset cutting edge safety displacement to obtain an inner cutting edge offset line, offsetting the outer contour line of the flange towards the interior of the insert according to a preset flange safety displacement to obtain a flange offset line, and enclosing the inner cutting edge offset line and the flange offset line together to obtain an arrangeable area.

[0006] Optionally, in the second implementation of the first aspect of the present invention, the step of extracting the starting point, ending point, and inflection point of the trimming line to generate a feature point sequence includes: identifying the two endpoints of the trimming line to obtain the starting point and ending point of the trimming line; traversing all discrete sampling points of the trimming line, sequentially calculating the area of ​​the triangle formed by each discrete sampling point and the starting point and ending point, and marking the discrete sampling point whose area reaches the maximum value as a first inflection point; using the line connecting the first inflection point and the starting point, and the line connecting the first inflection point and the ending point as the base, respectively, traversing all discrete sampling points of the trimming line again, sequentially calculating the area of ​​the triangle formed by each sampling point and the base, and marking the discrete sampling point whose area reaches the maximum value as a second inflection point; performing distance verification on the first and second inflection points, and summarizing the first and second inflection points that meet the preset spacing requirements as valid inflection points; and sorting the starting point, ending point, and valid inflection points according to the actual spatial order of each point on the trimming line to generate a feature point sequence.

[0007] Optionally, in a third implementation of the first aspect of the present invention, the step of correcting the feature point sequence to the arrangeable area to generate a screw candidate point set includes: mapping all points in the feature point sequence to the arrangeable area to obtain a preliminary corrected point set; calculating the spacing between points in the preliminary corrected point set, merging adjacent points with a spacing less than a preset merging threshold into merged corrected points, and marking adjacent points with a spacing greater than or equal to the preset merging threshold as independent corrected points; and integrating the independent corrected points and the merged corrected points into a screw candidate point set.

[0008] Optionally, in the fourth implementation of the first aspect of the present invention, the step of judging the screw arrangement rules based on the trimming line, the screw candidate point set, and the preset length threshold to obtain the judgment result includes: obtaining the total length of the trimming line and the total number of screw candidate points; judging the screw arrangement rules based on the preset length threshold, the total length of the trimming line, and the total number of screw candidate points to obtain the judgment result; if the total length of the trimming line is greater than the preset length threshold and the total number of screw candidate points is greater than 2, then the judgment result is marked as a long-distance uniform distribution result; if the total length of the trimming line is less than or equal to the preset length threshold, or the total number of screw candidate points is equal to 2, then the judgment result is marked as a short-distance standard result.

[0009] Optionally, in the fifth implementation of the first aspect of the present invention, the step of converting the set of screw candidate points into uniformly distributed screw pin positions according to the preset uniform distribution rules if the judgment result is a long-distance uniform distribution result includes: if the judgment result is a long-distance uniform distribution result, taking all points in the set of screw candidate points as preliminary screw positions; calculating the distance between two adjacent points in the set of screw candidate points, and if the distance is greater than a preset uniform distribution distance threshold, generating a derivative screw point between the two points, and correcting the derivative screw point to the placeable area to obtain the derivative screw position; merging the derivative screw position and the preliminary screw position to obtain the uniformly distributed screw position; taking the pair of screws that are farthest apart in the uniformly distributed screw position as the basis, selecting the pair of points that are farthest apart near the pair of screws in the placeable area, and determining them as the uniformly distributed pin positions; integrating the uniformly distributed screw position and the uniformly distributed pin position to obtain the uniformly distributed screw pin position.

[0010] Optionally, in the sixth implementation of the first aspect of the present invention, the step of converting the set of candidate screw points into standard screw and pin positions according to preset standard rules if the judgment result is a short-distance standard result includes: if the judgment result is a short-distance standard result, drawing a perpendicular bisector with the start and end points of the trimming line, and obtaining the intersection of the perpendicular bisector with the flange offset line, and taking the intersection as the midpoint of the derived screw; calculating the area of ​​the triangle formed by each point in the set of candidate screw points and the midpoint of the derived screw, and selecting the pair of points with the largest area as the original screw position; using the midpoint of the derived screw as a reference, completing the remaining derived screw points according to the preset mold installation specifications to obtain the derived screw position; merging the original screw position and the derived screw position to obtain the standard screw position; based on the pair of screws that are farthest apart in the standard screw position, selecting the pair of points that are farthest apart near the pair of screws in the arrangeable area, and determining them as the standard pin position; integrating the standard screw position and the standard pin position to obtain the standard screw and pin position.

[0011] A second aspect of the present invention provides a device for determining the position of a trimmed insert screw pin, comprising: a region delineation module for acquiring the trimmed insert entity and trimming line, and delineating a deployable region based on the trimmed insert entity and trimming line; a point extraction module for extracting the start point, end point, and inflection point of the trimming line to generate a feature point sequence; a point correction module for correcting the feature point sequence to the deployable region to generate a set of screw candidate points; a rule judgment module for judging screw placement rules based on the trimming line, the set of screw candidate points, and a preset length threshold to obtain a judgment result; a uniform distribution generation module for converting the set of screw candidate points into uniformly distributed screw pin positions according to a preset uniform distribution rule if the judgment result is a long-distance uniform distribution result; and a standard generation module for converting the set of screw candidate points into standard screw pin positions according to a preset standard rule if the judgment result is a short-distance standard result.

[0012] A third aspect of the present invention provides a device for determining the position of a trimming insert screw pin, the device comprising: a memory and at least one processor, the memory storing instructions; the at least one processor invokes the instructions in the memory to cause the computer device to execute the various steps of any of the trimming insert screw pin position determination methods described above.

[0013] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the steps of any of the above-described methods for determining the position of trimming insert screw pins.

[0014] In the technical solution of this invention, firstly, by acquiring the trimmed inlay entity and trimming line and delineating the arrangeable area, the arrangement range is defined according to the standard. Secondly, based on standardized feature point extraction rules, the starting point, ending point, and inflection point of the trimming line are extracted to generate a feature point sequence, avoiding the bias of empirical point selection. The feature points are corrected to the arrangeable area to generate a set of screw candidate points. Then, based on the trimming line, the set of candidate points, and a preset threshold, the arrangement rules are judged to obtain judgment results adapted to different arrangement scenarios. Finally, corresponding rules are executed for different judgment results to generate screw pin positions. This invention generates uniform and standardized screw pin positions for trimmed inlays based on standardized area delineation, point extraction, candidate point generation, rule judgment, and layout generation steps. This solves the problem of lack of uniform standards and poor consistency in screw pin layout in the prior art, realizes the standardization and normalization of trimmed inlay screw pin layout, improves the overall standardization level of mold design, and reduces the adaptation difficulty of subsequent processing and assembly, providing reliable technical support for large-scale mold production. Attached Figure Description

[0015] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0016] Figure 1 This is a first flowchart of a method for determining the position of a trimming insert screw and pin provided in an embodiment of the present invention;

[0017] Figure 2 This is a second flowchart of the method for determining the position of the trimming insert screw and pin provided in an embodiment of the present invention;

[0018] Figure 3 This is a third flowchart of the method for determining the position of the trimming insert screw and pin provided in an embodiment of the present invention;

[0019] Figure 4 This is a fourth flowchart of the method for determining the position of the trimming insert screw and pin provided in an embodiment of the present invention;

[0020] Figure 5 This is a fifth flowchart of the method for determining the position of the trimming insert screw pin provided in an embodiment of the present invention;

[0021] Figure 6 This is a sixth flowchart of the method for determining the position of the trimming insert screw and pin provided in an embodiment of the present invention;

[0022] Figure 7 This is the seventh flowchart of the method for determining the position of the trimming insert screw and pin provided in the embodiments of the present invention;

[0023] Figure 8 This is a schematic diagram of the structure of the trimming insert screw and pin position determination device provided in an embodiment of the present invention;

[0024] Figure 9 This is a structural schematic diagram of the device for determining the position of trimming insert screws and pins provided in an embodiment of the present invention. Detailed Implementation

[0025] This invention provides a method, apparatus, device, and storage medium for determining the position of trimmed insert screws and pins. Based on standardized steps of region delineation, point extraction, candidate point generation, rule determination, and layout generation, it generates uniform and standardized positions for trimmed insert screws and pins. This solves the problem of lack of uniform standards and poor consistency in screw and pin layout in the prior art, realizes the standardization and normalization of trimmed insert screw and pin layout, improves the overall standardization level of mold design, and reduces the adaptation difficulty of subsequent processing and assembly, providing reliable technical support for large-scale mold production.

[0026] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the method for determining the position of the trimming insert screw pin in this invention includes:

[0028] The method for determining the position of the trimming insert screw and pin includes the following steps:

[0029] 101. Obtain the trimmed inlay entity and trimmed line, and define the placeable area based on the trimmed inlay entity and trimmed line;

[0030] In this embodiment, the complete trimming insert entity and the corresponding trimming line are first obtained. Then, the trimming line is offset inward by a preset cutting edge reference distance to obtain the inner cutting edge line. The edges that coincide with the inner cutting edge line in the insert entity edge set are screened out, and the remaining edges are integrated to form the outer contour line of the flange. Subsequently, the inner cutting edge line and the outer contour line of the flange are offset inward by the corresponding safety distance to obtain the inner offset line of the cutting edge and the flange offset line. Finally, the two offset lines enclose the area where the screws and pins can be arranged.

[0031] 102. Extract the starting point, ending point, and inflection point of the trimming line to generate a sequence of feature points;

[0032] In this embodiment, the two endpoints of the trimming line are first identified as the start and end points. Then, the discrete sampling points of the trimming line are traversed, and the area of ​​the triangle formed by each point and the start and end points is calculated. The discrete sampling points whose corresponding areas reach the maximum value are marked as primary inflection points. Next, the area of ​​the triangle formed by the sampling points and the start and end points is calculated again using the lines connecting the primary inflection points to the start and end points as the base, and the secondary inflection points are marked. Distance verification is performed on all inflection points, and inflection points that are too close are removed. The start, end, and valid inflection points are sorted according to the actual spatial direction of the trimming line to generate a feature point sequence.

[0033] 103. Correct the feature point sequence to the placeable area to generate a set of candidate screw points;

[0034] In this embodiment, all points in the feature point sequence are mapped to the deployable area, and points outside the area are projected to the area boundary according to the shortest distance. For each point that is corrected, the area within the safe radius of screw installation around it is removed. The spacing between the corrected points is calculated, and adjacent points with a spacing less than a preset merging threshold are merged into merging correction points. Finally, the points in the deployable area are summarized into a set of screw candidate points.

[0035] 104. Based on the trimming line, the set of candidate screw points, and the preset length threshold, the screw arrangement rules are judged to obtain the judgment result;

[0036] In this embodiment, the total length of the trimming line is first calculated and the total number of screw candidate points is counted. Then, a judgment is made based on the preset length threshold: if the total length of the trimming line is greater than the preset length threshold and the total number of screw candidate points is greater than 2, it is judged as a long-distance uniform distribution result; if the total length of the trimming line is less than or equal to the length threshold, or the total number of screw candidate points is equal to 2, it is judged as a short-distance standard result.

[0037] 105. If the judgment result is a long-distance uniform distribution result, then the screw candidate point set is converted into a uniformly distributed screw pin position according to the preset uniform distribution rule.

[0038] In this embodiment, all candidate screw points are first used as preliminary screw positions. For adjacent points with spacing exceeding the threshold, additional screws are added and corrected to the placeable area to form evenly distributed screw positions. Then, the farthest screw pair is used as a reference, and the farthest point that avoids the workpiece is selected as the pin position. Finally, the evenly distributed screw positions and pin positions are integrated to obtain the evenly distributed screw and pin positions.

[0039] 106. If the judgment result is a short-range standard result, then the set of candidate screw points is converted into standard screw pin positions according to the preset standard rules.

[0040] In this embodiment, the midpoint of the derived screw is first determined by the intersection of the perpendicular bisector of the starting and ending points of the trimming line and the flange offset line. The candidate point pair that forms the largest triangle area with the midpoint of the derived screw is selected as the original screw position. Then, the derived screw position is completed based on the midpoint of the derived screw. The original screw position and the derived screw position are combined into the standard screw position. Then, the farthest screw pair is used as the reference, and the farthest point that avoids the workpiece is selected as the pin position. The standard screw position and the pin position are integrated to obtain the standard screw and pin position.

[0041] In this embodiment of the invention, the process begins by acquiring the trimmed insert entity and trimmed line, and defining the arrangeable area to establish a standard for defining the arrangement range. Next, based on standardized feature point extraction rules, the starting point, ending point, and inflection point of the trimmed line are extracted to generate a feature point sequence, avoiding biases in empirical point selection. The feature points are then corrected to the arrangeable area to generate a set of candidate screw points. Arrangement rules are then judged based on the trimmed line, the candidate point set, and a preset threshold to obtain judgment results suitable for different arrangement scenarios. Finally, corresponding rules are executed to generate screw pin positions based on different judgment results. This invention, based on standardized area delineation, point extraction, candidate point generation, rule judgment, and layout generation steps, generates uniform and standardized screw pin positions for trimmed inserts. This solves the problem of lack of uniform standards and poor consistency in screw pin layout in existing technologies, achieving standardization and normalization of trimmed insert screw pin layout, improving the overall standardization level of mold design, and reducing the adaptation difficulty of subsequent processing and assembly, providing reliable technical support for large-scale mold production.

[0042] Please see Figure 2 Two embodiments of the method for determining the position of the trimming insert screw pin in this invention include step 101, which includes:

[0043] 201. Obtain the trimmed inlay entity and extract all edges on the surface of the trimmed inlay entity to obtain the edge set;

[0044] In this embodiment, the trimming insert entity is an insert part that has completed full parametric 3D modeling during the mold design stage. Its geometric model includes complete topological information of all functional structures such as the cutting edge working area, flange mounting area, reference positioning surface, and chamfer transition area. Subsequently, all outer surfaces of the insert entity are traversed, the boundary edges that constitute the contour of each surface are identified and collected, and then the transition edges of non-core functional areas such as chamfers and fillets are filtered out (such edges are not conducive to subsequent area division and will increase data redundancy). Finally, the remaining effective contour edges are integrated into an edge set.

[0045] 202. Obtain the trimming line from the preset mold, and offset the trimming line into the insert according to the preset cutting edge reference distance to obtain the inner cutting edge line;

[0046] In this embodiment, the trimming line is the trimming process baseline outline that is predefined in the mold overall design stage and stored in the mold design database.

[0047] The calibration of the preset cutting edge reference displacement distance must meet two criteria: first, the cutting edge strength requirements of the trimming process to ensure that the cutting edge has sufficient punching force to avoid breakage during operation; second, the product trimming accuracy standard to ensure that the product size after trimming meets the design requirements. The displacement value can be adjusted according to the punching force and trimming accuracy level. When performing the offset operation, it is necessary to offset at equal intervals along the inner side of the insert thickness direction (the side away from the product to be processed) to ensure that the inner line of the cutting edge obtained after offset is consistent with the actual working position of the cutting edge.

[0048] 203. First, remove the edges in the edge set that coincide with the inner line of the cutting edge, and then integrate the remaining edges in the edge set to obtain the outer contour line of the flange.

[0049] In this embodiment, firstly, each edge in the edge set is spatially matched with the inner line of the cutting edge segment by segment. The set matching deviation threshold needs to be determined based on the CNC precision of the mold processing to ensure the accuracy of the matching result. Secondly, edges that coincide with the inner line of the cutting edge (i.e., edges in the cutting edge area) are screened out, and only the edges of the flange and the reference side are retained. Finally, the remaining edges are closed and fitted in a clockwise spatial connection order to form a complete flange outer contour line. This step realizes the standardized and accurate division of the cutting edge and flange areas, replacing manual experience-based area judgment. The closed flange outer contour line provides complete and continuous boundary conditions for the subsequent layout area construction.

[0050] 204. According to the preset cutting edge safety displacement, the inner line of the cutting edge is shifted into the insert to obtain the inner offset line of the cutting edge. According to the preset flange safety displacement, the outer contour line of the flange is shifted into the insert to obtain the flange offset line. The inner offset line of the cutting edge and the flange offset line are enclosed together to obtain the arrangement area.

[0051] In this embodiment, the calibration rules for the preset safe displacement distance are as follows:

[0052] The calibration basis for the safe displacement of the cutting edge is the minimum safe distance for screw installation and the deformation allowance of the cutting edge after heat treatment. This ensures that the screw and the cutting edge maintain a sufficient safe distance, which avoids installation interference and offsets the deformation after the cutting edge heat treatment, thus preventing contact interference later.

[0053] The calibration basis for flange safety displacement is the minimum load-bearing thickness requirement of the flange structure. It must meet the structural strength standard of fastener connection to avoid the decrease in load-bearing strength due to the standard parts being placed too close to the flange boundary, which would affect the stability of the insert assembly.

[0054] When performing offset and enclosure operations, first offset the inner line of the cutting edge towards the interior of the insert by a corresponding safety distance to generate an inner offset line of the cutting edge, which serves as a safety boundary between the standard part and the cutting edge; then offset the outer contour line of the flange towards the interior of the insert by a corresponding safety distance to generate a flange offset line, which serves as a safety boundary between the standard part and the flange boundary; finally, the two offset lines are spatially closed and enclosed on the surface of the insert flange, and the enclosed area formed is the arrangement area; the arrangement area must meet the geometric requirements of no intersection, no gap, and no overlap.

[0055] Please see Figure 3 In the three embodiments of the method for determining the position of the trimming insert screw pin in this invention, step 102 includes:

[0056] 301. Identify the two endpoints of the trimming line to obtain the start and end points of the trimming line;

[0057] In this embodiment, when identifying endpoints, one endpoint is defined as the starting point and the other endpoint as the ending point, based on the design direction of the trimming line. The determination of the starting point and the ending point must be consistent with the actual processing path direction of the trimming line to ensure the spatial logic of the subsequent point sorting.

[0058] 302. Traverse all discrete sampling points of the trimming line, and calculate the area of ​​the triangle formed by each discrete sampling point, the starting point, and the ending point in sequence. Mark the discrete sampling point whose area reaches the maximum value as an inflection point.

[0059] In this embodiment, contour inflection point recognition based on triangle area filters out the main inflection points through a quantified area threshold, replacing the method of manually observing and judging inflection points. First, the trimming line is uniformly discretized according to a preset sampling precision to obtain a discrete sampling point set covering the entire trimming line. The sampling precision is calibrated based on the curvature change of the trimming line (the sampling density needs to be increased in areas with larger curvature and reduced in areas with gentler curvature, so as to control the amount of computation while ensuring the accuracy of inflection point recognition). During the calculation, the line connecting the start and end points is used as the base of the triangle. The area of ​​the triangle formed by each discrete sampling point and the base is calculated sequentially. The discrete sampling points whose corresponding areas reach the maximum value are marked as inflection points. These inflection points are the main contour turning points of the trimming line.

[0060] 303. Using the line connecting the first inflection point to the starting point and the line connecting the first inflection point to the ending point as the base, traverse all discrete sampling points of the trimming line again, and calculate the area of ​​the triangle formed by each sampling point and the base in sequence. Mark the discrete sampling point whose area reaches the maximum value as the second inflection point.

[0061] In this embodiment, for each marked primary inflection point, two new base edges are constructed: one connecting it to the starting point and the other connecting it to the ending point. Then, all discrete sampling points of the trimming line are traversed in sequence, and the area of ​​the triangle formed by each sampling point and the two new base edges is calculated. The discrete sampling points whose corresponding areas reach the maximum value are marked as secondary inflection points.

[0062] The purpose of extracting secondary inflection points is to supplement and identify secondary contour turning points that were not captured between primary inflection points and the start and end points, such as small bulges or bends next to major inflection points of the trimming line, to ensure full coverage of the trimming line contour features. During the calculation process, sampling points already marked as primary inflection points need to be excluded to avoid duplicate marking. At the same time, the reference bottom edge corresponding to each secondary inflection point is recorded to provide a basis for subsequent verification. This step achieves multi-level feature capture of the trimming line contour through layered and progressive fine-grained inflection point identification, which not only retains the main inflection points but also does not miss secondary inflection points, thus improving the restoration accuracy of the trimming line shape by the feature points.

[0063] 304. Perform distance verification on the first and second inflection points, and summarize the first and second inflection points that meet the preset spacing requirements as valid inflection points;

[0064] In this embodiment, the preset spacing requirement is that the straight-line distance between any two inflection points must be greater than or equal to the preset minimum spacing threshold (this threshold is determined by the screw diameter and the machining accuracy of the insert).

[0065] During verification, the spatial Euclidean distances between all primary inflection points, between all secondary inflection points, and between primary and secondary inflection points are first calculated. Then, inflection points with a distance less than the minimum threshold are filtered out. If the distance between two inflection points does not meet the standard, the inflection point with the higher area peak value is retained (primary inflection points have higher priority than secondary inflection points). If the area peak values ​​are the same, the inflection point closer to the area with greater curvature of the trimming line is retained. Finally, the primary and secondary inflection points that pass the verification are summarized as valid inflection points to ensure the rationality and sparsity of the inflection point distribution and avoid the increased workload of merging subsequent candidate points due to excessively dense inflection points.

[0066] This step optimizes and filters inflection points based on spatial spacing constraints, which can effectively eliminate redundant inflection points and ensure that the distribution of effective inflection points meets the spatial requirements for subsequent screw placement.

[0067] 305. Sort the starting point, ending point, and effective inflection points according to their actual spatial order on the trimming line to generate a sequence of feature points;

[0068] In this embodiment, the geometric correlation information of the starting point, ending point, and all valid inflection points on the trimming line is first retrieved to clarify the actual spatial arrangement of each point along the trimming line. Based on the natural extension trajectory of the trimming line, starting from the starting point, the positions of each valid inflection point are sorted out sequentially along the actual direction of the trimming line until the ending point. If a newly identified inflection point is in the same spatial position as an old inflection point that has been retained (or the distance between them is less than the preset overlap judgment threshold), the principle of discarding the new and retaining the old is executed, and only points with higher priority are retained (the starting point / ending point has higher priority than valid inflection points, and the first inflection point has higher priority than the second inflection point). Finally, a sequence of feature points arranged in an orderly manner according to the spatial direction of the trimming line is formed.

[0069] Please see Figure 4 In the four embodiments of the method for determining the position of the trimming insert screw pin in this invention, step 103 includes:

[0070] 401. Map all points in the feature point sequence to the arrangeable area to obtain a preliminary corrected point set;

[0071] In this embodiment, the generated feature point sequence (including start point, end point, and effective inflection point) and geometric boundary data of the deployable area are retrieved first. For each feature point, a region mapping operation is performed: if the feature point is within the deployable area, its spatial coordinates are directly retained; if the feature point is outside the deployable area, it is vertically projected onto the boundary line of the deployable area according to the shortest distance projection principle, and the projected coordinates are used as correction points. During the mapping process, the deployable area needs to be dynamically updated simultaneously. After each point is mapped, a circular area centered on the point and with the minimum safe radius for screw installation as the radius needs to be removed from the deployable area to avoid interference problems due to insufficient spacing after subsequent point mapping. After all feature points are mapped or corrected, their coordinates are arranged in the original sequence order to form a preliminary correction point set.

[0072] 402. Calculate the spacing between points in the initial correction point set, merge adjacent points with a spacing less than the preset merging threshold into merged correction points, and mark adjacent points with a spacing greater than or equal to the preset merging threshold as independent correction points.

[0073] In this embodiment, the preset merging threshold needs to be calibrated according to the minimum spacing specification for screw installation. During operation, the spatial Euclidean distance between two adjacent points is calculated sequentially according to the order of the preliminary correction point set. Then, the calculated distance is compared with the merging threshold: if the distance between two adjacent points is less than the merging threshold, they are determined to be a close point group and merged using the coordinate mean method, that is, the average of the X, Y, and Z coordinates of the two points is taken as the coordinates of the merging correction point; if the distance between two adjacent points is greater than or equal to the merging threshold, the two points are marked as independent correction points, and their original coordinates remain unchanged.

[0074] This step optimizes and integrates candidate points based on spacing constraints, eliminating redundant close-range points, simplifying the number of subsequent candidate points, and ensuring the rational spatial distribution of each correction point to avoid crowded screw placement due to excessively dense points.

[0075] 403. Integrate independent correction points and merged correction points into a set of candidate screw points;

[0076] In this embodiment, the coordinate data of all independent correction points and merged correction points are summarized, and then the points are reordered according to their spatial order in the original feature point sequence to finally form a structured set of screw candidate points.

[0077] Please see Figure 5 Five embodiments of the method for determining the position of the trimming insert screw pin in this invention include step 104, which includes:

[0078] 501. Obtain the total length of the trimming line and the total number of candidate screw points;

[0079] In this embodiment, obtaining the total length of the trimming line requires first retrieving the complete geometric contour data of the trimming line, performing continuous length integration calculation on the trimming line, and if the trimming line is a contour composed of discrete line segments, then the straight line length or curve arc length of each line segment is accumulated in sequence, and finally the actual total length of the trimming line is obtained.

[0080] To count the total number of candidate screw points, it is necessary to retrieve the structured data of the generated candidate screw point set, traverse the numbering information of all points in the point set, and directly count the total number of candidate points in the point set through the counting function.

[0081] 502. Based on the preset length threshold, the total length of the trimming line, and the total number of screw candidate points, the screw arrangement rules are judged to obtain the judgment result; if the total length of the trimming line is greater than the preset length threshold and the total number of screw candidate points is greater than 2, the judgment result is marked as a long-distance uniform distribution result; if the total length of the trimming line is less than or equal to the preset length threshold, or the total number of screw candidate points is equal to 2, the judgment result is marked as a short-distance standard result.

[0082] In this embodiment, the preset length threshold and candidate point number threshold need to be calibrated in conjunction with the mold trimming process specifications and the strength requirements of the insert structure: the length threshold is set according to the stress characteristics of the insert corresponding to the trimming line. The insert corresponding to the long trimming line needs a more uniform screw distribution to disperse the stress, while the short trimming line can meet the fixing requirements through a standard layout.

[0083] When executing the rule judgment, two conditions must be met simultaneously to determine it as a long-distance uniform distribution result: first, the total length of the trimming line exceeds the preset length threshold (the default length threshold is 500mm, which can be adjusted as needed); second, the total number of screw candidate points is greater than 2. If the above two conditions are not met at the same time, it is determined as a short-distance standard result.

[0084] The short-range standard result specifically includes the following scenarios: when the total length of the trimming line is less than or equal to the preset length threshold, the short-range standard result is selected; when the total number of points in the screw candidate point set is equal to 2, the short-range standard result is selected; when the total length of the trimming line is less than or equal to the preset length threshold and the total number of points in the screw candidate point set is equal to 2, the short-range standard result is also selected.

[0085] The selection principle for long-distance uniform distribution results and short-distance standard results is as follows:

[0086] The logic for generating the candidate screw point set ensures that it "at least includes the start and end points of the trimming line," therefore the total number of candidate points is at least 2. When the total number of candidate points is equal to 2, it means that there are no additional effective inflection points on the trimming line. In this case, regardless of whether the trimming line length exceeds 500mm, the derived screws must be completed using standard rules to avoid instability caused by only two screws. When the total number of candidate points is greater than 2, it means that there are effective inflection points on the trimming line (such as zigzag or curved trimming lines). In this case, the length of the trimming line must be considered. If it is a short distance (total trimming line length less than or equal to 500mm), the standard rules are still used (to avoid crowded layout caused by multiple points). If it is a long distance (total trimming line length greater than 500mm), the uniform distribution rule is used (to achieve uniform force distribution using multiple points).

[0087] This step involves a multi-parameter quantification threshold matching decision logic. By using explicit parameter thresholds, the layout rules are determined, thus eliminating the reliance on manual experience to select layout rules.

[0088] Please see Figure 6 The six embodiments of the method for determining the position of the trimming insert screw pin in this invention include step 105, which includes:

[0089] 601. If the judgment result is a long-distance uniform distribution result, take all points in the screw candidate point set as the preliminary screw position;

[0090] In this embodiment, when the rule judgment result is a long-distance uniform distribution result, it means that the total length of the trimming line exceeds the preset length threshold, and the corresponding trimming area of ​​the inlay is large, so the assembly stress needs to be dispersed by uniformly distributed screws; at this time, all points of the generated screw candidate point set are directly retrieved, and their spatial coordinates are directly used as the initial screw positions.

[0091] 602. Calculate the distance between two adjacent points in the candidate screw point set. If the distance is greater than the preset uniformly distributed distance threshold, generate a derivative screw point between the two points and correct the derivative screw point to the placeable area to obtain the position of the derivative screw.

[0092] In this embodiment, the preset uniform spacing threshold needs to be calibrated according to the screw spacing specification of the mold assembly. Its value needs to meet the uniformity requirement of stress transmission between screws, and at the same time adapt to the load-bearing capacity of the insert flange to ensure that the spacing between adjacent screws is neither too dense, which would weaken the flange strength, nor too sparse, which would cause stress concentration.

[0093] During operation, first, calculate the spatial Euclidean distance between adjacent points according to the initial screw positions in the spatial order of the trimming line. Then, compare the calculation results with the uniform spacing threshold. If the distance between two adjacent points is greater than the threshold, it indicates that the screw distribution in this interval is sparse, and a derivative screw point needs to be generated at the geometric midpoint of the two points. Subsequently, perform a placeable area adaptation correction on the derivative screw point. If the midpoint is within the placeable area, it is directly retained. If it is outside the area, it is projected along the direction of the line connecting the two points to the nearest placeable area boundary, and finally, a compliant derivative screw position is obtained. For cases where the distance between multiple adjacent points exceeds the standard, derivative screws need to be generated sequentially group by group. For each derivative screw position generated, the placeable area needs to be updated synchronously (excluding the safe installation radius of screws around the point) to avoid interference between subsequent derivative screws and already generated points.

[0094] This step supplements the screw layout density based on the spacing threshold, thereby optimizing the uniformity of the screw layout, eliminating the risk of stress concentration in long-distance areas, and ensuring the compliance of derived points through dynamic area updates.

[0095] 603. Combine the derived screw positions and the initial screw positions to obtain the evenly distributed screw positions;

[0096] In this embodiment, the coordinate data of all preliminary screw positions and derived screw positions are summarized, and then reordered according to the spatial order of each point along the trimming line to obtain the evenly distributed screw positions.

[0097] 604. Based on the pair of screws that are farthest apart among the evenly distributed screw positions, select the pair of points that are farthest apart near the pair of screws in the area where they can be arranged, and determine them as the positions of the evenly distributed pins.

[0098] 605. Integrate the positions of the evenly distributed screws and the evenly distributed pins to obtain the positions of the evenly distributed screws and pins;

[0099] In this embodiment, the pins need to form a stable triangular positioning structure with the reference screw pair. To maximize the installation positioning accuracy of the insert, it is necessary to traverse all point combinations of the evenly distributed screw positions, calculate the spatial straight-line distance of each pair of screws, and select the pair of screws with the farthest distance (i.e., the reference screw pair). Then, within the arrangable area (the safe area where all screw installations have been eliminated), using the two points of the reference screw pair as references, select a pair of points with the farthest spatial distance within the legal area around each of them. This pair of points must meet the safe distance requirements from all already arranged screws, while avoiding weak areas of the flange structure. During the selection, points that are perpendicular to the line connecting the reference screw pair should be selected first to enhance positioning stability. The final determined pair of points is the evenly distributed pin position. By summarizing all the point data of the evenly distributed screw positions and the evenly distributed pin positions, the complete evenly distributed screw and pin positions are obtained.

[0100] Please see Figure 7 The seven embodiments of the method for determining the position of the trimming insert screw pin in this invention include step 106, which includes:

[0101] 701. If the judgment result is the short distance standard result, draw the perpendicular bisector line with the start and end points of the trimming line, and obtain the intersection point of the perpendicular bisector line and the flange offset line. Take this intersection point as the midpoint of the derived screw.

[0102] In this embodiment, when the rule judgment result is the short distance standard result, it indicates that the total length of the trimming line does not exceed the preset threshold or the number of screw candidate points is limited, and the screw layout needs to be completed by standardizing the reference points. During operation, firstly, the spatial coordinates of the starting point and the ending point of the trimming line are retrieved, and the perpendicular bisector of the line segment is drawn using the line connecting the two points as the line segment. Then, the perpendicular bisector is extended towards the flange offset line to obtain its intersection with the flange offset line, and this intersection is marked as the midpoint of the derived screw.

[0103] If the mold has a clear preset force direction, it can also replace the method of drawing the vertical bisector. The midpoint between the start and end points of the trimming line is taken as the origin, and a ray is constructed along the preset force direction. Then, the intersection of the ray and the flange offset line is taken as the midpoint of the derived screw. The two methods can be switched according to the actual working conditions of the mold.

[0104] 702. Calculate the area of ​​the triangle formed by each point in the candidate screw point set and the midpoint of the derived screw, and select the pair of points with the largest area as the original screw position.

[0105] In this embodiment, all points in the candidate screw point set are traversed first, and any two candidate points are selected in turn to form a triangle with the midpoint of the derived screw. Then, the actual area of ​​each triangle is calculated, and the group with the largest area is selected from all triangle area data. The two candidate points corresponding to this group are determined as the original screw positions. The selection logic is: the larger the triangle area, the larger the spatial span between the two candidate points and the midpoint of the derived screw. Using this as the original screw position can maximize the fixing torque of the screw and improve the structural stability of the insert assembly.

[0106] This step is based on maximizing spatial torque to select points, replacing manual experience with quantitative area selection to ensure the rationality and standardization of the original screw positions.

[0107] 703. Using the midpoint of the derived screw as a reference, complete the remaining derived screw points according to the preset mold installation specifications to obtain the position of the derived screw;

[0108] In this embodiment, the preset mold installation specifications need to be calibrated according to industry fastener installation standards and the structural strength requirements of the insert flange. Specifically, these include core constraints such as the minimum safe spacing of screws, the minimum distance between screws and the flange boundary, and the symmetrical distribution requirements of derived screws and original screws. During operation, using the midpoint of the derived screw as a symmetrical reference, the remaining derived screw points are supplemented at symmetrical positions between the midpoints of the original screw and the derived screw, or on the other side of the midpoint, according to the preset screw spacing specifications. During the supplementation process, it is necessary to simultaneously check whether each derived screw point is within the arrangeable area. If it exceeds the area, it is projected to the boundary of the area along the symmetrical direction to finally form a compliant derived screw position. For inserts of different specifications, the number of derived screws can be adjusted according to the flange size to ensure that the derived screws and original screws form a stable triangular or symmetrical fixing structure.

[0109] 704. Combine the original screw position with the derived screw position to obtain the standard screw position;

[0110] In this embodiment, the coordinate data of all original screw positions and derived screw positions are summarized, and then reordered according to the spatial order of each point along the trimming line to obtain the standard screw positions.

[0111] 705. Based on the pair of screws that are furthest apart in the standard screw positions, select the pair of points that are furthest apart near the pair of screws in the area where they can be arranged, and determine them as the standard pin positions.

[0112] 706. Integrate the standard screw positions and standard pin positions to obtain the standard screw and pin positions;

[0113] In this embodiment, firstly, all point combinations of the standard screw position are traversed. By calculating the spatial Euclidean distance, the pair of screws with the farthest distance (i.e., the reference screw pair) is selected. Then, within the arrangeable area (the safe area where all screw installations have been eliminated), legal screening sub-areas are delineated around the two points of the reference screw pair as centers. Within the two sub-areas, a pair of points with the farthest spatial distance that meets the safety distance requirements of all screws is selected. During the screening, points that are perpendicular to the line connecting the reference screw pair are selected first to form a stable triangular positioning structure. Finally, this pair of points is determined as the standard pin position. By summarizing all point data of the standard screw position and the standard pin position, the complete uniformly distributed screw and pin positions are obtained.

[0114] The method for determining the position of the trimming insert screw and pin in the embodiments of the present invention has been described above. The device for determining the position of the trimming insert screw and pin in the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 8 One embodiment of the trimming insert screw and pin position determination device of the present invention includes:

[0115] The region delineation module 801 is used to obtain the trimmed inlay entity and trimmed line, and delineate the deployable region based on the trimmed inlay entity and trimmed line.

[0116] The point extraction module 802 is used to extract the starting point, ending point, and inflection point of the trimming line to generate a feature point sequence;

[0117] The point correction module 803 is used to correct the feature point sequence to the placeable area to generate a set of screw candidate points;

[0118] The rule judgment module 804 is used to judge the screw arrangement rules based on the trimming line, the screw candidate point set and the preset length threshold, so as to obtain the judgment result;

[0119] The uniform distribution generation module 805 is used to convert the set of candidate screw points into uniformly distributed screw pin positions according to the preset uniform distribution rules if the judgment result is a long-distance uniform distribution result.

[0120] The standard generation module 806 is used to convert the set of candidate screw points into standard screw pin positions according to preset standard rules if the judgment result is a short-range standard result.

[0121] In this embodiment, firstly, the region delineation module 801 obtains the trimmed inlay entity and trimmed line, and delineates the deployable area, defining the deployment range and defining the criteria. Secondly, based on standardized feature point extraction rules, the point extraction module 802 extracts the starting point, ending point, and inflection point of the trimmed line to generate a feature point sequence. The point correction module 803 corrects the feature points to the deployable area to generate a set of screw candidate points. The rule judgment module 804 then performs deployment rule judgment based on the trimmed line, the candidate point set, and a preset threshold to obtain judgment results suitable for different deployment scenarios. Finally, the uniform distribution generation module... Modules 805 and 806 execute corresponding rules for different judgment results to generate screw pin positions. Based on standardized steps of region delineation, point extraction, candidate point generation, rule judgment, and layout generation, this invention generates uniform and standardized screw pin positions for trimmed inserts. This solves the problem of lack of uniform standards and poor consistency in screw pin layout in the prior art, realizes the standardization and normalization of trimmed insert screw pin layout, improves the overall standardization level of mold design, and reduces the adaptation difficulty of subsequent processing and assembly, providing reliable technical support for large-scale mold production.

[0122] Figure 9 This is a schematic diagram of a device for determining the position of a trimming insert screw pin according to an embodiment of the present invention. The device 900 can vary considerably depending on its configuration or performance. It may include one or more central processing units (CPUs) 910 (e.g., one or more processors) and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing application programs 933 or data 932. The memory 920 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the trimming insert screw pin position determination device 900. Furthermore, the processor 910 may be configured to communicate with the storage media 930 and execute the series of instruction operations in the storage media 930 on the trimming insert screw pin position determination device 900 to implement the steps of the trimming insert screw pin position determination method provided in the above-described method embodiments.

[0123] The trimming insert screw and pin position determination device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input / output interfaces 960, and / or one or more operating systems 931, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 9The illustrated device structure for determining the position of trimming insert screws and pins does not constitute a limitation on the device itself, and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0124] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of the method for determining the position of the trimmed insert screw pin.

[0125] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0126] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0127] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method of determining the position of a trim block screw pin, characterized by, The edge trimming block screw pin position determination method comprises the steps of: obtaining an edge trimming block entity and an edge trimming line, and determining a placeable region based on the edge trimming block entity and the edge trimming line; extracting the start point, end point and inflection point of the edge trimming line to generate a feature point sequence; correcting the feature point sequence to the placeable region to generate a screw candidate point set; judging the screw arrangement rule based on the edge trimming line, the screw candidate point set and a preset length threshold to obtain a judgment result; the judgment result includes: obtaining the total length of the edge trimming line and the total number of points of the screw candidate point set; judging the screw arrangement rule based on the preset length threshold, the total length of the edge trimming line and the total number of points of the screw candidate point set to obtain the judgment result; if the total length of the edge trimming line is greater than the preset length threshold, and the total number of points of the screw candidate point set is greater than 2, the judgment result is marked as a long-distance uniform distribution result; if the total length of the edge trimming line is less than or equal to the preset length threshold, or the total number of points of the screw candidate point set is equal to 2, the judgment result is marked as a short-distance standard result; if the judgment result is a long-distance uniform distribution result, the screw candidate point set is converted into a uniform screw pin position according to a preset uniform distribution rule; if the judgment result is a long-distance uniform distribution result, the screw candidate point set is converted into a uniform screw pin position according to a preset uniform distribution rule, which includes: if the judgment result is a long-distance uniform distribution result, all points in the screw candidate point set are used as preliminary screw positions; the distance between two adjacent points in the screw candidate point set is calculated, if the distance is greater than a preset uniform distribution distance threshold, a derived screw point is generated between the two points, and the derived screw point is corrected to the placeable region to obtain a derived screw position; the derived screw position and the preliminary screw position are combined to obtain a uniform screw position; based on the pair of screws with the farthest distance in the uniform screw position, a pair of points with the farthest distance near the pair of screws is selected in the placeable region, and the pair of points is determined as a uniform pin position; the uniform screw position and the uniform pin position are integrated to obtain a uniform screw pin position; If the judgment result is the short-distance standard result, the screw candidate point set is converted into a standard screw pin position according to a preset standard rule; if the judgment result is the short-distance standard result, the screw candidate point set is converted into the standard screw pin position according to the preset standard rule, including: if the judgment result is the short-distance standard result, a perpendicular bisector is drawn from the start point and the end point of the trimming line, and an intersection point of the perpendicular bisector and the flange offset line is obtained, and the intersection point is taken as a derived screw midpoint; the areas of triangles formed by each point in the screw candidate point set and the derived screw midpoint are calculated, and a pair of points with the maximum area is selected as the original screw position; the derived screw point is completed according to the preset mold installation specification with the derived screw midpoint as the reference, so as to obtain the derived screw position; the original screw position and the derived screw position are combined to obtain the standard screw position; a pair of screws with the farthest distance in the standard screw position is taken as the basis, and a pair of points with the farthest distance near the pair of screws in the arrangeable region is selected, so as to determine the standard pin position; the standard screw position and the standard pin position are integrated to obtain the standard screw pin position.

2. The trim block screw pin location determination method of claim 1, wherein, The obtaining of the trimming insert entity and the trimming line and the demarcation of the arrangeable region based on the trimming insert entity and the trimming line includes: The trimming insert entity is obtained, and all edges of the surface of the trimming insert entity are extracted to obtain an edge set; The trimming line is obtained from the preset mold, and the trimming line is offset to the inside of the insert according to a preset blade reference displacement to obtain an inner blade line; The edges in the edge set that coincide with the inner blade line are filtered out, and the remaining edges in the edge set are integrated to obtain a flange outer contour line; The inner blade line is offset to the inside of the insert according to a preset blade safety displacement to obtain an inner blade offset line, the flange outer contour line is offset to the inside of the insert according to a preset flange safety displacement to obtain a flange offset line, and the inner blade offset line and the flange offset line are jointly enclosed to obtain the arrangeable region.

3. The trim block screw pin location determination method of claim 1, wherein, The extraction of the start point, the end point and the inflection point of the trimming line to generate a feature point sequence includes: Two end points of the trimming line are identified to obtain the start point and the end point of the trimming line; All discrete sampling points of the trimming line are traversed, and the areas of triangles formed by each discrete sampling point, the start point and the end point are calculated in sequence, and the discrete sampling point corresponding to the maximum area is marked as a first inflection point; The line connecting the first inflection point and the start point and the line connecting the first inflection point and the end point are taken as the bottom edges, and all discrete sampling points of the trimming line are traversed again, and the areas of triangles formed by each sampling point and the bottom edges are calculated in sequence, and the discrete sampling point corresponding to the maximum area is marked as a second inflection point; The first inflection point and the second inflection point are distance-verified, and the first inflection point and the second inflection point meeting the preset spacing requirement are collected as effective inflection points; The start point, the end point and the effective inflection points are sorted according to the actual spatial order of the points on the trimming line to generate a feature point sequence.

4. The trim block screw pin location determination method of claim 1, wherein, The correction of the feature point sequence into the arrangeable region to generate a screw candidate point set includes: All points in the feature point sequence are mapped into the arrangeable region to obtain a preliminary corrected point set; The distances between the points in the preliminary correction point set are calculated, and adjacent points with a distance less than a preset merging threshold are merged into a merged correction point, and adjacent points with a distance greater than or equal to the preset merging threshold are marked as independent correction points; The independent correction points and the merged correction points are integrated into a screw candidate point set.

5. An edge trim block screw pin location determining device, characterized by, It comprises: The region demarcation module is used for obtaining the trimming block entity and the trimming line, and demarcating the placeable region based on the trimming block entity and the trimming line; The point position extraction module is used for extracting the start point, end point and inflection point of the trimming line to generate a feature point position sequence; The point position correction module is used for correcting the feature point position sequence to the placeable region to generate a screw candidate point set; The rule judgment module is used for judging the screw arrangement rule based on the trimming line, the screw candidate point set and a preset length threshold to obtain a judgment result; The judgment result includes: obtaining the total length of the trimming line and the total number of points of the screw candidate point set; judging the screw arrangement rule based on the preset length threshold, the total length of the trimming line and the total number of points of the screw candidate point set to obtain the judgment result; if the total length of the trimming line is greater than the preset length threshold, and the total number of points of the screw candidate point set is greater than 2, the judgment result is marked as a long-distance uniform distribution result; if the total length of the trimming line is less than or equal to the preset length threshold, or the total number of points of the screw candidate point set is equal to 2, the judgment result is marked as a short-distance standard result; The uniform distribution generation module is used for converting the screw candidate point set into a uniformly distributed screw pin position according to a preset uniform distribution rule if the judgment result is a long-distance uniform distribution result; if the judgment result is a long-distance uniform distribution result, the screw candidate point set is converted into a uniformly distributed screw pin position according to a preset uniform distribution rule, which includes: if the judgment result is a long-distance uniform distribution result, all points in the screw candidate point set are used as preliminary screw positions; the distance between two adjacent points in the screw candidate point set is calculated, and if the distance is greater than a preset uniform distribution distance threshold, a derived screw point is generated between the two points, and the derived screw point is corrected to the placeable region to obtain a derived screw position; the derived screw position and the preliminary screw position are combined to obtain a uniformly distributed screw position; a pair of screws with the farthest distance in the uniformly distributed screw position is selected as the basis for selecting a pair of points with the farthest distance near the pair of screws in the placeable region, and the pair of points is determined as a uniformly distributed pin position; the uniformly distributed screw position and the uniformly distributed pin position are integrated to obtain a uniformly distributed screw pin position; The standard generation module is configured to convert the screw candidate point set into a standard screw pin location according to a preset standard rule if the judgment result is a short-distance standard result.

6. A trim block screw pin location determination apparatus, characterized by, The edge trimming insert screw pin location determination device includes a memory and at least one processor. The at least one processor invokes the instructions in the memory to enable the edge trimming insert screw pin location determination device to perform each step of the edge trimming insert screw pin location determination method in any one of claims 1-4.

7. A computer-readable storage medium having stored thereon instructions, the computer-readable storage medium comprising: The instructions are executed by the processor to implement each step of the edge trimming insert screw pin location determination method in any one of claims 1-4.

Citation Information

Patent Citations

  • Trimming die insert cutting edge machining method

    CN111136433A

  • Fastener hole site generation method and device, electronic equipment and storage medium

    CN117786782A