[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117951764B - Automatic trimming line segmentation method for trimming and punching die and related equipment - Google Patents

Automatic trimming line segmentation method for trimming and punching die and related equipment Download PDF

Info

Publication number
CN117951764B
CN117951764B CN202410360725.5A CN202410360725A CN117951764B CN 117951764 B CN117951764 B CN 117951764B CN 202410360725 A CN202410360725 A CN 202410360725A CN 117951764 B CN117951764 B CN 117951764B
Authority
CN
China
Prior art keywords
line
trimming
scrap cutter
sub
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410360725.5A
Other languages
Chinese (zh)
Other versions
CN117951764A (en
Inventor
何蕤
谢晖
易建业
杨冬冬
彭栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ji Hua Laboratory
Original Assignee
Ji Hua Laboratory
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ji Hua Laboratory filed Critical Ji Hua Laboratory
Priority to CN202410360725.5A priority Critical patent/CN117951764B/en
Publication of CN117951764A publication Critical patent/CN117951764A/en
Application granted granted Critical
Publication of CN117951764B publication Critical patent/CN117951764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21DWORKING OR PROCESSING OF SHEET METAL OR METAL TUBES, RODS OR PROFILES WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21D37/00Tools as parts of machines covered by this subclass
    • B21D37/20Making tools by operations not covered by a single other subclass
    • B21D37/205Making cutting tools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computational Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Mechanical Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Cutting Processes (AREA)

Abstract

The application belongs to the technical field of mold design, and discloses an automatic trimming line segmentation method and related equipment for a trimming and punching mold, wherein the method comprises the following steps: acquiring a three-dimensional line model comprising a pre-generated original trimming line, a pre-generated scrap cutter line and a pre-generated direction indication line; dividing and cutting the original trimming line according to each waste cutter line to obtain a plurality of sub trimming lines; reconstructing each scrap cutter wire so that one end of each scrap cutter wire falls on the end point of the corresponding sub-trimming wire; according to the direction indication lines, fusing each reconstructed scrap cutter line with the corresponding sub trimming line to obtain a trimming line model comprising a plurality of trimming line segments; therefore, automatic generation of trimming line segments can be realized, and further the working efficiency is improved and the error rate is reduced.

Description

Automatic trimming line segmentation method for trimming and punching die and related equipment
Technical Field
The application relates to the technical field of die design, in particular to an automatic trimming line segmentation method of a trimming and punching die and related equipment.
Background
Referring to fig. 9, a plurality of trimming inserts 90 (or called trimming cutter blocks) are disposed on the trimming and punching die for trimming a workpiece, where the trimming insert 90 includes a cutting edge body 91 and a mounting base plate 92, the cutting edge body 91 is used for cutting the workpiece, the mounting base plate 92 is used for connecting with a base of the trimming and punching die, when the trimming insert 90 is designed, generally, according to the shape and position of the edge where the workpiece is trimmed, a trimming line segment 93 of each trimming insert 90 is generated (as in fig. 10, a bold solid line is the trimming line segment 93 of each trimming insert 90, some trimming line segments 93 have a scrap cutter line portion b, some trimming line segments 93 have no scrap cutter line portion b), then biasing, sweeping, etc. are performed on each trimming line segment 93 to generate a cutting edge body base surface a as shown in fig. 10, then the cutting edge body base surface a is stretched to generate the cutting edge body 91, and finally, the mounting base plate 92 is generated on the cutting edge body 91. Thus, the trim line segment 93 is the basis for generating the trim insert 90.
At present, when the trimming line segment 93 is generated, a large-section original trimming line 94 as shown in fig. 11 and a scrap cutter line 95 as shown in fig. 12 are generally generated according to the shape of the trimmed edge of the workpiece (the original trimming line 94 and the scrap cutter line 95 can be generated by means of manual generation, automatic generation and the like), then the original trimming line 94 is manually broken into a plurality of sub trimming lines according to certain rules and process requirements, and the sub trimming lines and the corresponding scrap cutter line 95 are manually fused into the trimming line segment 93. Because of the need for manual operation, the efficiency is low, and because the number of trimming line segments 93 is large, the manual operation is prone to error leakage, so a method capable of automatically breaking the original trimming line 94 and fusing the broken original trimming line with the scrap cutter line 95 to obtain the trimming line segments 93 is required to be sought, so that the working efficiency is improved and the error rate is reduced.
Disclosure of Invention
The application aims to provide an automatic trimming line segmentation method of a trimming and punching die and related equipment, which can realize automatic generation of trimming line segments, thereby improving the working efficiency and reducing the error rate.
In a first aspect, the present application provides an automatic trimming line segmentation method for a trimming and punching die, for generating a trimming line segment of a trimming insert of the trimming and punching die, including the steps of:
A1. acquiring a three-dimensional line model comprising a pre-generated original trimming line, a pre-generated scrap cutter line and a pre-generated direction indication line;
A2. dividing and cutting the original trimming line according to each waste cutter line to obtain a plurality of sub trimming lines;
A3. Reconstructing each scrap cutter wire so that one end of each scrap cutter wire falls on the end point of the corresponding sub-trimming wire;
A4. And according to the direction indication lines, fusing each reconstructed scrap cutter line with the corresponding sub trimming line to obtain a trimming line model comprising a plurality of trimming line segments.
According to the method, on the basis of the original trimming line, the waste cutter line and the direction indication line which are generated in advance, segmentation of the original trimming line and fusion of the sub trimming line obtained by segmentation and the waste cutter line can be automatically completed, manual operation is not needed, automatic generation of trimming line segments is achieved, and therefore working efficiency is improved and error rate is reduced.
Preferably, a base coordinate system XYZ is established in the three-dimensional line model, the base coordinate system XYZ is a right-hand coordinate system, a Z axis of the base coordinate system XYZ is parallel to a stamping direction of the trimming and punching die, an X axis and a Y axis of the base coordinate system XYZ are perpendicular to each other and are perpendicular to the Z axis, and an origin of the base coordinate system XYZ is located at an inner side of a projection of the original trimming line on an XY plane.
Preferably, step A2 comprises:
Discretizing the original trimming line into a plurality of first straight line segments;
projecting each scrap cutter line before reconstruction to an XY plane to obtain a corresponding first projection line;
Projecting each first straight line segment to an XY plane to obtain a corresponding second projection line;
extending the first projection line toward a side near an origin of the base coordinate system XYZ;
Identifying second projection lines intersecting the extended first projection lines, and extracting the intersection points of each extended first projection line and the corresponding second projection line, and marking the intersection points as first intersection points;
Projecting each first intersection point to the first straight line segment corresponding to the corresponding second projection line to obtain a division point;
and breaking the original trimming line from each dividing point to obtain a plurality of sub trimming lines.
In this way, automatic segmentation of the original trim line can be achieved quickly and accurately.
Preferably, step A3 comprises:
Dispersing each waste cutter line to obtain a corresponding ordered discrete point set;
searching the segmentation points matched with each ordered discrete point set;
searching the discrete points closest to the matched dividing points in each ordered discrete point set, and marking the discrete points as characteristic points;
Replacing the characteristic points in each ordered discrete point set with the matched segmentation points, and discarding the discrete points in the ordered discrete point set which are ordered after the characteristic points to obtain a new ordered discrete point set;
And (3) performing curve fitting on discrete points in each new ordered discrete point set respectively to obtain a reconstructed waste cutter line.
By reconstructing the scrap cutter line, one end point of the scrap cutter line can be ensured to coincide with one end point of the corresponding sub trimming line, so that after fusion, a continuous trimming line segment without bifurcation can be obtained, and errors caused by discontinuous or bifurcation of the trimming line segment in subsequent cutting edge body generation are avoided.
Preferably, step A4 comprises:
A401. searching a sub-trimming line nearest to each direction indication line, and marking the sub-trimming line as a target sub-trimming line;
A402. searching the reconstructed scrap cutter line nearest to each direction indication line, and marking the reconstructed scrap cutter line as a target scrap cutter line;
A403. And fusing the target sub trimming line corresponding to each direction indication line and the corresponding target scrap cutter line into a whole to obtain a plurality of trimming line segments to form the trimming line model.
Preferably, in step a403, after the target trimming line corresponding to each direction indicator line and the corresponding target scrap cutter line are fused into a single body to obtain a plurality of trimming line segments, the method further includes:
If the trimming line segment with the excessive length exists, the trimming line segment with the excessive length is cut into at least two new trimming line segments, so that the length of the new trimming line segment is not excessive.
In a second aspect, the present application provides an automatic trimming line segment device for a trimming and punching die, for generating a trimming line segment of a trimming insert of the trimming and punching die, including:
The first acquisition module is used for acquiring a three-dimensional line model comprising a pre-generated original trimming line, a pre-generated scrap cutter line and a pre-generated direction indication line;
The slitting module is used for slitting the original trimming lines according to the waste cutter lines to obtain a plurality of sub trimming lines;
a reconstruction module, configured to reconstruct each scrap cutter wire such that one end of each scrap cutter wire falls on an end point of the corresponding sub-trimming line;
And the fusion module is used for fusing each reconstructed scrap cutter line with the corresponding sub trimming line according to the direction indication line to obtain a trimming line model comprising a plurality of trimming line segments.
Preferably, the fusing module fuses each reconstructed scrap cutter line with the corresponding sub-trimming line according to the direction indication line, so as to obtain a trimming line model comprising a plurality of trimming line segments, and then the fusing module executes:
searching a sub-trimming line nearest to each direction indication line, and marking the sub-trimming line as a target sub-trimming line;
searching the reconstructed scrap cutter line nearest to each direction indication line, and marking the reconstructed scrap cutter line as a target scrap cutter line;
And fusing the target sub trimming line corresponding to each direction indication line and the corresponding target scrap cutter line into a whole to obtain a plurality of trimming line segments to form the trimming line model.
In a third aspect, the present application provides an electronic device, comprising a processor and a memory, the memory storing a computer program executable by the processor, when executing the computer program, running the steps in the trimming line automatic segmentation method of the trimming and punching die as described above.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the trimming cut punch die trimming line automatic segmentation method as described hereinbefore.
The beneficial effects are that: according to the automatic trimming line segmentation method and the related equipment for the trimming punching die, on the basis of the original trimming line, the waste cutter line and the direction indication line which are generated in advance, segmentation of the original trimming line and fusion of the sub trimming line obtained by segmentation and the waste cutter line can be automatically completed, manual operation is not needed, automatic generation of trimming line segments is achieved, and therefore working efficiency is improved and error rate is reduced.
Drawings
Fig. 1 is a flowchart of an automatic trimming line segmentation method of a trimming and punching die provided by an embodiment of the application.
Fig. 2 is a schematic structural diagram of an automatic trimming line segmentation device for a trimming and punching die according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
FIG. 4 is a schematic diagram of an exemplary three-dimensional line model.
FIG. 5 is a schematic diagram of the distribution position of an exemplary segmentation point.
FIG. 6 is a schematic diagram illustrating the relative positions of an exemplary scrap cutter wire and an original trim wire.
Fig. 7 is a schematic diagram of the relative positions of an exemplary direction indicator line and a sub-trim line and a scrap cutter line.
Fig. 8 is a schematic diagram of an exemplary trim line model.
Fig. 9 is a schematic structural view of an exemplary edging insert.
Fig. 10 is a schematic view of an exemplary trim line segment.
FIG. 11 is a schematic illustration of an exemplary original trim line.
Fig. 12 is a schematic view of an exemplary scrap cutter line.
Description of the reference numerals: 1. a first acquisition module; 2. splitting modules; 3.a reconstruction module; 4. a fusion module; 90. trimming the insert; 91. a cutting edge body; 92. a mounting base plate; 93. trimming a line segment; 94. original trimming line; 95. a scrap knife line; 96. a direction indication line; 301. a processor; 302. a memory; 303. a communication bus.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a schematic diagram of an automatic trimming line segmentation method of a trimming and punching die according to some embodiments of the present application, for generating a trimming line segment 93 of a trimming insert 90 of the trimming and punching die, comprising the steps of:
A1. Acquiring a three-dimensional line model comprising a pre-generated original trim line 94, a pre-generated scrap knife line 95, and a pre-generated direction indicator line 96;
A2. cutting the original trimming line 94 according to each scrap cutter line 95 to obtain a plurality of sub trimming lines;
A3. Reconstructing each scrap cutter wire 95 such that one end of each scrap cutter wire 95 falls on an end point of a corresponding sub-trim wire;
A4. and according to the direction indication line 96, fusing each reconstructed scrap cutter line with a corresponding sub-trimming line to obtain a trimming line model comprising a plurality of trimming line segments 93.
The method can automatically complete segmentation of the original trimming line 94 and fusion of the sub trimming line obtained by segmentation and the waste trimming line 95 on the basis of the pre-generated original trimming line 94, the waste trimming line 95 and the direction indication line 96, and realizes automatic generation of the trimming line segment 93 without manual operation, thereby improving the working efficiency and reducing the error rate.
For example, a schematic diagram of an exemplary three-dimensional line model is shown in fig. 4, wherein the original trim lines 94 include a plurality of segments, the scrap cutter lines 95 include a plurality of segments, the number of direction indicator lines 96 is the same as the number of scrap cutter lines 95, and the scrap cutter lines 95 are disposed in one-to-one correspondence with the direction indicator lines 96.
The direction indication line 96 is used for assisting in determining the corresponding relation between the scrap cutter line 95 and each sub-trimming line, so as to enable the reconstructed scrap cutter line and the corresponding sub-trimming line to be fused into one trimming line segment 93.
In the present application, the method for generating the original trimming line 94, the scrap wire 95, and the direction indicator line 96 is not limited, and may be manually generated or automatically generated.
In some embodiments, as shown in fig. 4, a base coordinate system XYZ is established in the three-dimensional line model, the base coordinate system XYZ is a right-hand coordinate system, the Z axis of the base coordinate system XYZ is parallel to the stamping direction of the trimming and punching die, the X axis and the Y axis of the base coordinate system XYZ are mutually perpendicular and are perpendicular to the Z axis, and the origin of the base coordinate system XYZ is located inside the projection of the original trimming line 94 on the XY plane, that is, the projections of each segment of the original trimming line 94 on the XY plane are distributed around the origin of the base coordinate system XYZ. Thus, the correct extension direction of the first projection line can be determined by the relative positional relationship of the origin of the base coordinate system XYZ and the first projection line of the scrap cutter line 95 on the XY plane in the subsequent step A2 to determine the dividing point (see later for details).
In most cases, the end point of the pre-generated scrap wire 95 does not fall exactly on the original trimming line 94, and sometimes, as shown in fig. 6, there is a certain small distance between the end point of the scrap wire 95 and the original trimming line 94, so that the intersection point of the scrap wire 95 and the original trimming line 94 cannot be directly used to cut the original trimming line 94. To this end, in some embodiments, step A2 comprises:
A201. Discretizing the original trim line 94 into a plurality of first line segments;
A202. Projecting each scrap cutter line 95 before reconstruction to an XY plane to obtain a corresponding first projection line;
A203. Projecting each first straight line segment to an XY plane to obtain a corresponding second projection line;
A204. Extending the first projection line toward a side near the origin of the base coordinate system XYZ;
A205. Identifying second projection lines intersecting the extended first projection lines, and extracting the intersection points of each extended first projection line and the corresponding second projection line, and marking the intersection points as first intersection points;
A206. projecting each first intersection point to a first straight line segment corresponding to a corresponding second projection line to obtain a division point;
A207. breaking the original trimming line from each dividing point to obtain a plurality of sub trimming lines.
In this way, automatic segmentation of the original trim line 94 can be quickly and accurately achieved.
In step a201, the original trimming line 94 may be discretized according to a preset number of discrete line segments (i.e., the number of obtained first line segments is equal to the preset number of discrete line segments and the lengths of the first line segments are equal to each other), or the original trimming line 94 may be discretized according to a preset discrete line segment length threshold (i.e., the original trimming line 94 is discretized into a plurality of first line segments with equal lengths and the lengths of the first line segments are not greater than the preset discrete line segment length threshold).
Generally, the projection of the scrap cutter line 95 on the XY plane (i.e., the first projection line) is a straight line segment, and in step a204, the straight line segment is lengthened, and a preset extension distance can be extended when the straight line segment is lengthened (which can be set according to actual needs, and by setting a suitable preset extension distance, it is ensured that the first projection line after extension can reliably intersect with the corresponding second projection line at a point), and the method for extending the straight line segment is the prior art, which is not described in detail herein. In practice, sometimes the projected first projection line itself intersects a second projection line at a point, and sometimes the projected first projection line does not intersect any second projection line, but in either case, the first projection line is extended first, so that the extended first projection line intersects a second projection line at a point reliably.
In step a204, the distance between the two endpoints of the first projection line and the origin of the base coordinate system XYZ is calculated, then the endpoint with the smaller distance is used as the first endpoint and the other endpoint is used as the second endpoint, and finally the direction of the second endpoint pointing to the first endpoint is used as the extending direction of the first projection line for extending.
The method for identifying whether two straight line segments intersect or not and the method for extracting the intersection point between the two intersecting straight line segments are both prior art, and are not described in detail herein.
For example, in fig. 5, an exemplary distribution position of the division points is shown, where the point c is the division point.
As previously mentioned, the end points of the pre-generated scrap wire 95 may not fall on the original trim line 94, such that the pre-generated scrap wire 95 cannot be directly fused with the sub-trim line into a continuous and non-bifurcated trim line segment 93. To this end, in some embodiments, step A3 comprises:
A301. Dispersing each scrap cutter line 95 to obtain a corresponding ordered discrete point set (wherein a plurality of discrete points are included and are sequentially ordered from one end far from the origin of the base coordinate system XYZ to one end close to the origin of the base coordinate system XYZ along the scrap cutter line 95);
A302. Searching the segmentation points matched with each ordered discrete point set;
A303. Searching discrete points closest to the matched dividing points in each ordered discrete point set, and marking the discrete points as characteristic points;
A304. Replacing the characteristic points in each ordered discrete point set with matched segmentation points (namely replacing the characteristic points in the ordered discrete point set with the matched segmentation points), and discarding the discrete points ordered after the characteristic points in the ordered discrete point set to obtain a new ordered discrete point set;
A305. And (3) performing curve fitting on discrete points in each new ordered discrete point set respectively to obtain a reconstructed waste cutter line.
By reconstructing the scrap cutter wire 95, it is possible to ensure that one end of the scrap cutter wire 95 coincides with one end of the corresponding sub-trimming wire, so that after the fusion, a continuous and non-bifurcated trimming line segment 93 can be obtained, and an error (mainly an error occurring when the base surface a of the cutting edge body is generated) is avoided when the cutting edge body 91 is subsequently generated due to the discontinuity or bifurcation of the trimming line segment 93.
In step a302, the distance between each discrete point in the same ordered discrete point set and each division point is calculated, and is recorded as a first distance, and the division point corresponding to the smallest first distance is extracted as the division point matched with the corresponding ordered discrete point set.
In step a303, a first distance corresponding to the matched segmentation point in the same ordered discrete point set is extracted as a second distance, and a discrete point corresponding to the smallest second distance is used as a feature point of the corresponding ordered discrete point set.
In step a304, the discrete points ordered after the feature point in the ordered discrete point set are discarded, and in fact, the discrete points closer to the origin of the base coordinate system XYZ than the feature point are discarded.
In step a305, spline curve fitting may be performed on discrete points in the new ordered discrete point set, so as to obtain a reconstructed scrap cutter line.
The direction indication line is used for indicating that the reconstructed scrap cutter line is fused with the sub trimming line on one side close to the direction indication line. For example, in fig. 7, f is a direction indicator line, the corresponding sub trimming line is d, and the corresponding reconstructed scrap cutter line is e. Thus, step A4 comprises:
A401. Searching the sub-trimming line nearest to each direction indication line 96, and marking the sub-trimming line as a target sub-trimming line;
A402. searching for the reconstructed scrap knife line nearest to each direction indicator line 96, and noting it as the target scrap knife line;
A403. the target trimming line corresponding to each direction indicating line 96 and the corresponding target scrap cutter line are fused into a whole to obtain a plurality of trimming line segments 93, and a trimming line model is formed.
An exemplary edgeline model is shown, for example, in fig. 8, wherein adjacent edgeline segments 93 are displayed in different gray scale colors to facilitate the display of the resulting individual edgeline segments 93.
In the three-dimensional line model, the minimum distance between each direction indicating line 96 and the corresponding scrap cutter line 95 and the minimum distance between each direction indicating line 96 and the original trimming line 94 are not greater than a preset distance threshold (which can be set according to actual needs), so as to ensure that the corresponding relationship between each direction indicating line 96 and each scrap cutter line 95 and each sub trimming line can be accurately determined.
In step a401, the distance between the midpoint of the two end points of the same direction indicating line 96 and the midpoint of the two end points of each sub-trimming line may be calculated, and the distance is recorded as a third distance, and the sub-trimming line corresponding to the smallest third distance is used as the target sub-trimming line of the corresponding direction indicating line 96; but is not limited thereto.
In step a402, the distance between the midpoint of the two end points of the same direction indicator line 96 and the midpoint of the two end points of each reconstructed scrap cutter line may be calculated, and recorded as a fourth distance, and the reconstructed scrap cutter line corresponding to the fourth minimum distance is used as the target scrap cutter line of the corresponding direction indicator line 96; but is not limited thereto.
The target sub-trim line and the target scrap cutter line of a direction indicator line 96 have a common end point that is a division point, and thus can be merged from the common end point into a continuous and non-bifurcated trim line segment 93.
Sometimes, the length of the obtained trimming line segment 93 may be relatively large, which may cause the corresponding trimming insert 90 to be oversized and not easy to process, so that the trimming line segment 93 with the oversized length may be cut to avoid the oversized trimming insert 90. Thus, in some preferred embodiments, in step a403, after the target sub-trimming lines corresponding to the direction indicator lines 96 and the corresponding target scrap cutter lines are fused together to obtain the plurality of trimming line segments 93, the method further includes:
If the trimming line segment 93 with the excessive length exists, the trimming line segment 93 with the excessive length is cut into at least two new trimming line segments, so that the length of the new trimming line segment is not excessive.
The excessive length of the trimming line segment 93 means that the length of the trimming line segment 93 exceeds a preset trimming line length threshold (which may be set according to actual needs, and the preset distance threshold is smaller than the trimming line length threshold).
For example, the oversized trim line segment 93 may be segmented according to the following method: calculating the quotient of the length of the oversized trimming line segment 93 divided by the preset trimming line length threshold value, adding 1 to the integer part of the quotient as the segmentation number, and then carrying out equal-length segmentation on the oversized trimming line segment 93 according to the segmentation number (assuming that the segmentation number is n and the length of the oversized trimming line segment 93 is L, then segmenting the oversized trimming line segment 93 into n new trimming line segments with equal length, wherein the length of each new trimming line segment is L/n); but is not limited thereto.
From the above, the automatic trimming line segmentation method of the trimming and punching die obtains a three-dimensional line model comprising a pre-generated original trimming line 94, a pre-generated scrap cutter line 95 and a pre-generated direction indication line 96; cutting the original trimming line 94 according to each scrap cutter line 95 to obtain a plurality of sub trimming lines; reconstructing each scrap cutter wire 95 such that one end of each scrap cutter wire 95 falls on an end point of a corresponding sub-trim wire; according to the direction indication line 96, fusing each reconstructed scrap cutter line with a corresponding sub-trimming line to obtain a trimming line model comprising a plurality of trimming line segments 93; thereby, the automatic generation of the trimming line segment 93 can be realized, and further the working efficiency is improved and the error rate is reduced.
Referring to fig. 2, the present application provides an automatic trimming line segmentation device for trimming and punching die, for generating a trimming line segment 93 of a trimming insert 90 of the trimming and punching die, comprising:
A first acquisition module 1 for acquiring a three-dimensional line model containing a pre-generated raw trimming line 94, a pre-generated scrap knife line 95, and a pre-generated direction indication line 96 (refer specifically to step A1 above);
The slitting module 2 is configured to slit the original trimming line 94 according to each scrap cutter line 95 to obtain a plurality of sub trimming lines (refer to the step A2 above specifically);
a reconstruction module 3, configured to reconstruct each scrap cutter wire 95 such that one end of each scrap cutter wire 95 falls on the end point of the corresponding sub-trimming wire (refer to step A3 above specifically);
the fusion module 4 is configured to fuse each reconstructed scrap cutter line with a corresponding sub-trim line according to the direction indicator line 96, so as to obtain a trim line model including a plurality of trim line segments 93 (refer to step A4 above specifically).
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes: processor 301 and memory 302, the processor 301 and memory 302 being interconnected and in communication with each other by a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the computer program being executed by the processor 301 when the electronic device is running to perform the trim punch trim line auto-segmentation method in any of the alternative implementations of the above embodiments to perform the following functions: acquiring a three-dimensional line model comprising a pre-generated original trim line 94, a pre-generated scrap knife line 95, and a pre-generated direction indicator line 96; cutting the original trimming line 94 according to each scrap cutter line 95 to obtain a plurality of sub trimming lines; reconstructing each scrap cutter wire 95 such that one end of each scrap cutter wire 95 falls on an end point of a corresponding sub-trim wire; and according to the direction indication line 96, fusing each reconstructed scrap cutter line with a corresponding sub-trimming line to obtain a trimming line model comprising a plurality of trimming line segments 93.
The embodiment of the application provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, performs the automatic trimming line segmentation method of the trimming and punching die in any optional implementation manner of the above embodiment, so as to realize the following functions: acquiring a three-dimensional line model comprising a pre-generated original trim line 94, a pre-generated scrap knife line 95, and a pre-generated direction indicator line 96; cutting the original trimming line 94 according to each scrap cutter line 95 to obtain a plurality of sub trimming lines; reconstructing each scrap cutter wire 95 such that one end of each scrap cutter wire 95 falls on an end point of a corresponding sub-trim wire; and according to the direction indication line 96, fusing each reconstructed scrap cutter line with a corresponding sub-trimming line to obtain a trimming line model comprising a plurality of trimming line segments 93. The computer readable storage medium may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable Programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM for short), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM for short), programmable Read-Only Memory (PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. An automatic segmentation method of trimming lines of a trimming and punching die is used for generating trimming line segments of trimming inserts of the trimming and punching die and is characterized by comprising the following steps:
A1. acquiring a three-dimensional line model comprising a pre-generated original trimming line, a pre-generated scrap cutter line and a pre-generated direction indication line;
A2. dividing and cutting the original trimming line according to each waste cutter line to obtain a plurality of sub trimming lines;
A3. Reconstructing each scrap cutter wire so that one end of each scrap cutter wire falls on the end point of the corresponding sub-trimming wire;
A4. according to the direction indication lines, fusing each reconstructed scrap cutter line with the corresponding sub trimming line to obtain a trimming line model comprising a plurality of trimming line segments;
A base coordinate system XYZ is established in the three-dimensional line model, the base coordinate system XYZ is a right-hand coordinate system, the Z axis of the base coordinate system XYZ is parallel to the stamping direction of the trimming and punching die, the X axis and the Y axis of the base coordinate system XYZ are mutually perpendicular and are perpendicular to the Z axis, and the origin of the base coordinate system XYZ is positioned at the inner side of the projection of the original trimming line on the XY plane;
the step A2 comprises the following steps:
Discretizing the original trimming line into a plurality of first straight line segments;
projecting each scrap cutter line before reconstruction to an XY plane to obtain a corresponding first projection line;
Projecting each first straight line segment to an XY plane to obtain a corresponding second projection line;
extending the first projection line toward a side near an origin of the base coordinate system XYZ;
Identifying second projection lines intersecting the extended first projection lines, and extracting the intersection points of each extended first projection line and the corresponding second projection line, and marking the intersection points as first intersection points;
Projecting each first intersection point to the first straight line segment corresponding to the corresponding second projection line to obtain a division point;
Breaking the original trimming line from each dividing point to obtain a plurality of sub trimming lines;
The step A3 comprises the following steps:
Dispersing each waste cutter line to obtain a corresponding ordered discrete point set;
searching the segmentation points matched with each ordered discrete point set;
searching the discrete points closest to the matched dividing points in each ordered discrete point set, and marking the discrete points as characteristic points;
Replacing the characteristic points in each ordered discrete point set with the matched segmentation points, and discarding the discrete points in the ordered discrete point set which are ordered after the characteristic points to obtain a new ordered discrete point set;
And (3) performing curve fitting on discrete points in each new ordered discrete point set respectively to obtain a reconstructed waste cutter line.
2. The automatic trimming line segmentation method for trimming and punching die according to claim 1, wherein the step A4 comprises:
A401. searching a sub-trimming line nearest to each direction indication line, and marking the sub-trimming line as a target sub-trimming line;
A402. searching the reconstructed scrap cutter line nearest to each direction indication line, and marking the reconstructed scrap cutter line as a target scrap cutter line;
A403. And fusing the target sub trimming line corresponding to each direction indication line and the corresponding target scrap cutter line into a whole to obtain a plurality of trimming line segments to form the trimming line model.
3. The automatic trimming line segmentation method according to claim 2, wherein in step a403, the target sub-trimming line corresponding to each direction indicator line and the corresponding target scrap cutter line are integrated into one body, so as to obtain a plurality of trimming line segments, and then the method further comprises:
If the trimming line segment with the overlarge length exists, cutting the trimming line segment with the overlarge length into at least two new trimming line segments, so that the length of the new trimming line segment is not overlarge; the excessive length of the trimming line segment means that the length of the trimming line segment exceeds a preset trimming line length threshold.
4. An automatic trimming line segmentation device of a trimming and punching die, which is used for generating a trimming line segment of a trimming insert of the trimming and punching die, and is characterized by comprising:
The first acquisition module is used for acquiring a three-dimensional line model comprising a pre-generated original trimming line, a pre-generated scrap cutter line and a pre-generated direction indication line;
The slitting module is used for slitting the original trimming lines according to the waste cutter lines to obtain a plurality of sub trimming lines;
a reconstruction module, configured to reconstruct each scrap cutter wire such that one end of each scrap cutter wire falls on an end point of the corresponding sub-trimming line;
the fusion module is used for fusing each reconstructed scrap cutter line with the corresponding sub trimming line according to the direction indication line to obtain a trimming line model comprising a plurality of trimming line segments;
A base coordinate system XYZ is established in the three-dimensional line model, the base coordinate system XYZ is a right-hand coordinate system, the Z axis of the base coordinate system XYZ is parallel to the stamping direction of the trimming and punching die, the X axis and the Y axis of the base coordinate system XYZ are mutually perpendicular and are perpendicular to the Z axis, and the origin of the base coordinate system XYZ is positioned at the inner side of the projection of the original trimming line on the XY plane;
the slitting module performs slitting on the original trimming lines according to each waste cutter line to obtain a plurality of sub trimming lines, and performs the following steps:
Discretizing the original trimming line into a plurality of first straight line segments;
projecting each scrap cutter line before reconstruction to an XY plane to obtain a corresponding first projection line;
Projecting each first straight line segment to an XY plane to obtain a corresponding second projection line;
extending the first projection line toward a side near an origin of the base coordinate system XYZ;
Identifying second projection lines intersecting the extended first projection lines, and extracting the intersection points of each extended first projection line and the corresponding second projection line, and marking the intersection points as first intersection points;
Projecting each first intersection point to the first straight line segment corresponding to the corresponding second projection line to obtain a division point;
Breaking the original trimming line from each dividing point to obtain a plurality of sub trimming lines;
The reconstruction module performs, when reconstructing each scrap cutter wire such that one end of each scrap cutter wire falls on an end point of the corresponding sub-trimming wire:
Dispersing each waste cutter line to obtain a corresponding ordered discrete point set;
searching the segmentation points matched with each ordered discrete point set;
searching the discrete points closest to the matched dividing points in each ordered discrete point set, and marking the discrete points as characteristic points;
Replacing the characteristic points in each ordered discrete point set with the matched segmentation points, and discarding the discrete points in the ordered discrete point set which are ordered after the characteristic points to obtain a new ordered discrete point set;
And (3) performing curve fitting on discrete points in each new ordered discrete point set respectively to obtain a reconstructed waste cutter line.
5. The automatic trimming line segmentation apparatus according to claim 4, wherein the fusion module, when fusing each reconstructed scrap cutter line with the corresponding sub-trim line according to the direction indication line, performs:
searching a sub-trimming line nearest to each direction indication line, and marking the sub-trimming line as a target sub-trimming line;
searching the reconstructed scrap cutter line nearest to each direction indication line, and marking the reconstructed scrap cutter line as a target scrap cutter line;
And fusing the target sub trimming line corresponding to each direction indication line and the corresponding target scrap cutter line into a whole to obtain a plurality of trimming line segments to form the trimming line model.
6. An electronic device comprising a processor and a memory, said memory storing a computer program executable by said processor, when executing said computer program, running the steps of the automatic trimming line segmentation method of the trimming and punching die according to any one of claims 1-3.
7. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the automatic trimming line segmentation method of a trimming punch die according to any one of claims 1 to 3.
CN202410360725.5A 2024-03-27 2024-03-27 Automatic trimming line segmentation method for trimming and punching die and related equipment Active CN117951764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410360725.5A CN117951764B (en) 2024-03-27 2024-03-27 Automatic trimming line segmentation method for trimming and punching die and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410360725.5A CN117951764B (en) 2024-03-27 2024-03-27 Automatic trimming line segmentation method for trimming and punching die and related equipment

Publications (2)

Publication Number Publication Date
CN117951764A CN117951764A (en) 2024-04-30
CN117951764B true CN117951764B (en) 2024-05-28

Family

ID=90800260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410360725.5A Active CN117951764B (en) 2024-03-27 2024-03-27 Automatic trimming line segmentation method for trimming and punching die and related equipment

Country Status (1)

Country Link
CN (1) CN117951764B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118133467B (en) * 2024-05-08 2024-08-09 季华实验室 Intelligent generation algorithm and related equipment for bolt hole blank surface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114722538A (en) * 2022-04-19 2022-07-08 东风模具冲压技术有限公司 Solid modeling method, recording medium and system for waste cutter
CN115169161A (en) * 2022-09-06 2022-10-11 季华实验室 Method and device for detecting turned corners and trimmed corners of stamping parts
KR102515993B1 (en) * 2021-09-30 2023-03-30 주식회사 인지디스플레이 Press curling method of chassis for display device
CN116522544A (en) * 2023-06-29 2023-08-01 季华实验室 Trimming segment determination method, device, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102515993B1 (en) * 2021-09-30 2023-03-30 주식회사 인지디스플레이 Press curling method of chassis for display device
CN114722538A (en) * 2022-04-19 2022-07-08 东风模具冲压技术有限公司 Solid modeling method, recording medium and system for waste cutter
CN115169161A (en) * 2022-09-06 2022-10-11 季华实验室 Method and device for detecting turned corners and trimmed corners of stamping parts
CN116522544A (en) * 2023-06-29 2023-08-01 季华实验室 Trimming segment determination method, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
铝合金车身冲压件模具结构特点和工艺设计;魏春谊 等;汽车工艺与材料;20160820(2016年第8期);第17-23页 *

Also Published As

Publication number Publication date
CN117951764A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN117951764B (en) Automatic trimming line segmentation method for trimming and punching die and related equipment
CN110349252B (en) Method for constructing actual machining curve of small-curvature part based on point cloud boundary
CN106249698A (en) Intelligent programming for wire cutting method and system based on three-dimensional graphics design platform
JP2018521434A (en) Machine cutting method and system for sheet material
CN113211795A (en) Three-dimensional object printing method, printing device and storage medium
CN107942928B (en) Tool path generation method for machining propeller blades
CN114722538A (en) Solid modeling method, recording medium and system for waste cutter
CN111730256A (en) Weld joint identification method and device based on digital model, storage medium and terminal
CN102509125B (en) For automatically revising graphic feature to meet the method for resolution limit
CN117910149B (en) Spring ejector pin design method and device, electronic equipment and storage medium
CN112388710B (en) Method and device for cutting edges of board separator, storage medium and board separator
CN111191369A (en) UG-based electrode and part interference detection method, computer device and computer readable storage medium
CN117951842B (en) Intelligent design method and related equipment for trimming insert mounting bottom plate
CN118045917B (en) Splayed trimming line generation method, part trimming method and related equipment
CN113051639B (en) Stirrup and lacing wire identification method, computer equipment and readable storage medium
CN116049986A (en) Design method and system of trimming cutter block in automobile stamping die
CN117910171B (en) Lower die following type rib reinforcing method and device, electronic equipment and storage medium
CN117910286B (en) Automatic pressure calculation method, sheet metal part machining method and related equipment
CN114043727A (en) Method and apparatus for 3D printing, storage medium, and program product
US20220299978A1 (en) Processing program creation device and processing program creation method
CN207489824U (en) Silicon chip identifies read-write system and silicon chip
CN113000910B (en) Hub machining auxiliary method and device, storage medium, control device and system
CN105512357A (en) Sheet metal product technology remain weight calculating method
JP2005275596A (en) Cad model abnormal part detection method
KR20200065937A (en) Vefification and Management System for Tool machine of Mold Manufacture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant