Die machining cutter length design method

By extracting the three-dimensional mold and machine tool head model, calculating and classifying the machining surface to achieve tool design with the same length range, the efficiency and accuracy problems of minimum tool length calculation and classification in mold processing are solved, and the efficiency and quality of mold processing are improved.

CN118656923APending Publication Date: 2024-09-17LIUZHOU FUZHEN BODYWORK IND CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410661405.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

During the mold processing process, it is necessary to quickly calculate and classify the minimum processing tool length of different bosses to avoid interference between the machine tool head and the mold. It is difficult to achieve this goal efficiently and accurately with existing technology.

Method used

By extracting the three-dimensional mold and machine tool head model, discretizing it into triangular mesh surfaces, calculating the coordinate limit values ​​of each point, constructing a two-dimensional rectangular array, projecting and calculating the Z value of each point, the processing depth matrix of the mold and machine tool head is obtained. The interference height calculates the minimum tool length and classifies the machined surfaces to achieve tool design with the same length range.

Benefits of technology

It improves the efficiency and accuracy of mold processing tool length design and ensures the improvement of processing quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
Patent Text Reader

Abstract

The invention aims to provide a die processing cutter length design method, which comprises the following steps of: extracting the height Zmax of a corresponding point of a die and the height Tmax of a machine tool head through an array of a matrix, and then performing local difference operation and minimum distance calculation on the expanded die matrix and a height matrix of the machine tool head to obtain a minimum cutter length matrix TLENmin of die processing, and finally, the minimum machining cutter length of the working face is obtained through the matrix corresponding to each machining working face, the minimum machining cutter lengths of all the working faces are further classified according to the cutter series, and finally the working faces are classified according to the machining cutter lengths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of mold processing, and in particular to a mold processing tool length design method. Background Art

[0002] In the mold processing process, the tool length of CNC machining needs to be minimized. Using the minimum tool length will result in higher processing efficiency and better processing quality. Different bosses need to consider the interference between the body around the boss and the machine head. The minimum tool length for processing without interference is different. It is necessary to quickly calculate the minimum tool length for all bosses, and classify and merge all bosses to be processed in all molds according to the tool length series, and finally realize the same length tool to process bosses with the same minimum tool length range. Summary of the invention

[0003] The present invention aims to provide a method for designing the tool length for mold processing, which method can efficiently and conveniently realize the design of the tool length for mold processing and can ensure the design accuracy.

[0004] The technical solution of the present invention is as follows: The mold processing tool length design method comprises the following steps: S01, extracting the surface of the three-dimensional mold model, and discretizing the surface into triangular mesh surfaces; S02, obtaining the X and Y coordinates of each point in all triangular meshes, obtaining the limit values ​​Xmax, Xmin, Ymax, and Ymin in the point coordinates, and rounding them to the nearest five or ten; S03, with a step size of 5 mm, using Xmin and Xmax as two X-coordinate endpoints and Ymin and Ymax as two Y-coordinate endpoints, a two-dimensional rectangular array of (Xmin:5:Xmax, Ymin:5:Ymax) is constructed; S04, each element in the array represents a position, with an array with a step distance of 5mm, the mth row and the nth column, expressed as coordinates (X=m*5+Xmin, Y=n*5+Ymin), projected on the triangular mesh surface obtained in S01, determine the triangular mesh in which the (X,Y) coordinate is projected, and use the Z value of the intersection of the plane formed by the triangular mesh and the projection line as the Z value corresponding to the (X,Y) coordinate, recorded as the value of the element in the mth row and the nth column of the matrix, to obtain the mold Z value matrix, recorded as Zmax (m,n); the mold Z value matrix is ​​the corresponding processing depth of each processing part of the mold; S05. Perform the same processing on the three-dimensional machine head model according to the method of steps S01-S04, add g to all the Z values ​​in the calculated Z value table, record them as the values ​​of the elements in the p row and q column of the matrix, and obtain the machine head Z value matrix, which is recorded as Tmax(p, q); wherein g is the height value where the three-dimensional machine head model does not interfere with the three-dimensional mold model; S06. Create a new matrix with m+p rows and n+q columns, recorded as Zmaxnew(m+p,n+q), set the Z value of each point in the matrix to 0, and then assign the Z value of the area (p / 2+1:p / 2+m,q / 2+1:q / 2+n) in the matrix according to the mold Z value matrix; S07. From the Zmaxnew matrix, in order from left to right and from top to bottom, take the local matrices of the same dimension as the Z value matrix of the machine head and perform subtraction operations to obtain the minimum value of all elements in each matrix of the same dimension, that is, the minimum distance minDis between the three-dimensional machine head model and the three-dimensional mold model, and obtain the minimum tool length that the machine head needs to be lengthened = g-minDis, and construct a minimum machining tool length matrix array with m rows and n columns of elements, recorded as TLENmin; S08. Retrieve the surfaces to be processed in the three-dimensional mold model, obtain the bounding boxes of each surface to be processed, the limit values ​​of the bounding box coordinates Xboxmax, Xboxmin, Yboxmax, Yboxmin, and round them to the nearest five or ten; calculate the range of the bounding box in the Zmax matrix row and Zmax matrix column respectively: Row: (X box min-Xmin) / 5...(X box max-Xmin) / 5; Set the two endpoints to represent letters: lmin=(X box min-Xmin) / 5, lmax=(X box max-Xmin) / 5; Column: (Y box min-Ymin) / 5...(Y box max-Ymin) / 5; set the two endpoints to represent letters: hmin=(Y box min-Ymin) / 5, hmax=(Y box max-Ymin) / 5; Construct the minimum machining tool length line for each surface that needs to be machined. The minimum machining tool length line is the starting point (e*5+Xmin, f*5+Ymin, Zmax(e,f)) and the end point (e*5+Xmin, f*5+Ymin, TLENmin (e,f)+Zmax(e,f)) Among them, e represents the variable between lmin and lmax, and f represents the variable between hmin and hmax; By comparing the lengths of all the minimum machining tool length lines on the machining surface, the line with the largest length is taken as the minimum tool length required to complete machining of the surface; after completing the calculation for each surface, the minimum machining tool length of all surfaces to be machined is obtained; S09. The minimum machining tool lengths of all the surfaces to be machined obtained in step S08 are classified according to the closest standard tool length series. The classification must simultaneously meet the condition that the minimum machining tool length is less than the standard tool length. Finally, the surfaces within the same standard tool length range are classified together, and the surfaces of the same type are machined together.

[0005] In step S02, the formula for rounding to five or ten is: Xmax=int((Xmax+abs(Xmax) / Xmax*h) / h)*h (1) Here, h is 5 or 10.

[0006] In the step S03, the method of constructing a two-dimensional rectangular array with Xmin and Xmax as two X-coordinate endpoints at a step distance of 5 mm is specifically as follows: Construct (Xmin+5, Y), (Xmin+10, Y), (Xmin+15, Y) ... (Xmax, Y) coordinate matrices; with a step size of 5 mm and Ymin and Ymax as the two X coordinate endpoints, construct (X, Y min+5), (X, Y min+10, (X, Y min+15) ... (X, Ymax) coordinate matrices; thus construct a two-dimensional rectangular array.

[0007] In the step S05, the range of g is 1000-3000 mm.

[0008] In the step S09, the standard knife length series includes the following standard knife lengths: 600mm, 500mm, 450mm, 400mm, 350mm, 300mm, 250mm, 200mm, 150mm, and 100mm.

[0009] The beneficial effects of the present invention are as follows: The method of the present invention can effectively improve the design efficiency of the mold processing tool length while ensuring the design accuracy, and has good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is the minimum tool length diagram for simulating the machining surface with the machine head; Figure 2 It is the minimum machining tool length diagram for all machining surfaces; DETAILED DESCRIPTION

[0011] The present invention will be specifically described below in conjunction with the embodiments. Example 1

[0012] The mold processing tool length design method includes the following steps: S01, extracting the surface of the three-dimensional mold model, and discretizing the surface into triangular mesh surfaces; S02, obtaining the X and Y coordinates of each point in all triangular meshes, obtaining the limit values ​​Xmax, Xmin, Ymax, and Ymin in the point coordinates, and rounding them to five; The formula for rounding to a fifth is: Xmax=int((Xmax+abs(Xmax) / Xmax*h) / h)*h (1) Among them, h is 5; S03, with a step size of 5 mm, using Xmin and Xmax as two X-coordinate endpoints and Ymin and Ymax as two Y-coordinate endpoints, a two-dimensional rectangular array of (Xmin:Xmax, Ymin:Ymax) is constructed; The method of constructing a two-dimensional rectangular array is specifically as follows: Construct (Xmin+5, Y), (Xmin+10, Y), (Xmin+15, Y) ... (Xmax, Y) coordinate matrices; with a step size of 5 mm and Ymin and Ymax as the two Y coordinate endpoints, construct (X, Y min+5), (X, Y min+10, (X, Y min+15) ... (X, Ymax) coordinate matrices; thus constructing a two-dimensional rectangular array; S04, each element in the array represents a position, with an array with a step distance of 5mm, the mth row and the nth column, expressed as coordinates (X=m*5+Xmin, Y=n*5+Ymin), projected on the triangular mesh surface obtained in S01, determine the triangular mesh in which the (X,Y) coordinate is projected, and use the Z value of the intersection of the plane formed by the triangular mesh and the projection line as the Z value corresponding to the (X,Y) coordinate, recorded as the value of the element in the mth row and the nth column of the matrix, to obtain the mold Z value matrix, recorded as Zmax (m,n); the mold Z value matrix is ​​the corresponding processing depth of each processing part of the mold; S05. Perform the same processing on the three-dimensional machine head model according to the method of steps S01-S04, add g to all the Z values ​​in the calculated Z value table, record it as the value of the element in the p row and q column of the matrix, and obtain the machine head Z value matrix, which is recorded as Tmax (p, q); wherein g is the height value of the three-dimensional machine head model and the three-dimensional mold model without interference, and the value here is 1000 mm; S06. Create a new matrix with m+p rows and n+q columns, set the Z value of each point in the matrix to 0, and then assign the Z value of the area (p / 2+1:p / 2+m,q / 2+1:q / 2+n) in the matrix according to the mold Z value matrix; S07. From the mold Z value matrix, take the local matrix of the same dimension as the machine head Z value matrix from the left to right and from the top to the bottom, and perform subtraction operation to obtain the minimum value of all elements in each matrix of the same dimension, that is, the minimum distance minDis between the three-dimensional machine head model and the three-dimensional mold model, and obtain the minimum tool length that the machine head needs to extend = 1000-minDis, and construct a minimum machining tool length matrix array with m rows and n columns of elements, recorded as TLENmin; Figure 1 As shown, the minimum machining tool length diagram of the simulated machining surface of the machine head is constructed; S08. Retrieve the surfaces to be processed in the three-dimensional mold model, obtain the bounding boxes of each surface to be processed, the limit values ​​of the bounding box coordinates Xboxmax, Xboxmin, Yboxmax, Yboxmin, and round them to five; calculate the range of the bounding box in the Zmax matrix row and Zmax matrix column respectively: Row: (X box min-Xmin) / 5...(X box max-Xmin) / 5; Set the two endpoints to represent letters: lmin=(X box min-Xmin) / 5, lmax=(X box max-Xmin) / 5; Column: (Y box min-Ymin) / 5...(Y box max-Ymin) / 5; set the two endpoints to represent letters: hmin=(Y box min-Ymin) / 5, hmax=(Y box max-Ymin) / 5; Construct the minimum machining tool length line for each surface that needs to be machined. The minimum machining tool length line is the starting point (e*5+Xmin, f*5+Ymin, Zmax(e,f)) and the end point (e*5+Xmin, f*5+Ymin, TLENmin (e,f)+Zmax(e,f)) Among them, e represents the variable between lmin and lmax, and f represents the variable between hmin and hmax; By comparing the lengths of all the minimum tool length lines on the processing surface, the line with the longest length is taken as the minimum tool length required to process the surface; after completing the calculation for each surface, the minimum tool length of all surfaces to be processed is obtained; the results are as follows Figure 2 As shown; S09, the minimum machining tool lengths of all the surfaces to be machined obtained in step S08 are classified according to the closest standard tool length series, and the classification must simultaneously meet the condition that the minimum machining tool length is less than the standard tool length. Finally, the surfaces within the same standard tool length range are classified together, and the surfaces of the same type are machined together; The standard knife length series includes the following standard knife lengths: 600mm, 500mm, 450mm, 400mm, 350mm, 300mm, 250mm, 200mm, 150mm, and 100mm.

Claims

1. A mold processing tool length design method, characterized in that: The following steps are involved: S01, extracting the surface of the three-dimensional mold model, and discretizing the surface into triangular mesh surfaces; S02, obtaining the X and Y coordinates of each point in all triangular meshes, obtaining the limit values ​​Xmax, Xmin, Ymax, and Ymin in the point coordinates, and rounding them to the nearest five or ten; S03, with a step size of 5 mm, using Xmin and Xmax as the two X-coordinate endpoints and Ymin and Ymax as the two Y-coordinate endpoints, a two-dimensional rectangular array of (Xmin:5:Xmax, Ymin:5:Ymax) is constructed; S04, each element in the array represents a position, with an array with a step distance of 5mm, the mth row and the nth column, expressed as coordinates (X=m*5+Xmin, Y=n*5+Ymin), projected on the triangular mesh surface obtained in S01, determine the triangular mesh in which the (X,Y) coordinate is projected, and use the Z value of the intersection of the plane formed by the triangular mesh and the projection line as the Z value corresponding to the (X,Y) coordinate, recorded as the value of the element in the mth row and the nth column of the matrix, to obtain the mold Z value matrix, recorded as Zmax (m,n); the mold Z value matrix is ​​the corresponding processing depth of each processing part of the mold; S05. Perform the same processing on the three-dimensional machine head model according to the method of steps S01-S04, add g to all the Z values ​​in the calculated Z value table, record them as the values ​​of the elements in the p row and q column of the matrix, and obtain the machine head Z value matrix, which is recorded as Tmax(p, q); wherein g is the height value where the three-dimensional machine head model does not interfere with the three-dimensional mold model; S06. Create a new matrix with m+p rows and n+q columns, recorded as Zmaxnew(m+p,n+q), set the Z value of each point in the matrix to 0, and then assign the Z value of the area (p / 2+1:p / 2+m,q / 2+1:q / 2+n) in the matrix according to the mold Z value matrix; S07. From the Zmaxnew matrix, in order from left to right and from top to bottom, take the local matrices of the same dimension as the Z value matrix of the machine head and perform subtraction operations to obtain the minimum value of all elements in each matrix of the same dimension, that is, the minimum distance minDis between the three-dimensional machine head model and the three-dimensional mold model, and obtain the minimum tool length that the machine head needs to be lengthened = g-minDis, and construct a minimum machining tool length matrix array with m rows and n columns of elements, recorded as TLENmin; S08. Retrieve the surfaces to be processed in the three-dimensional mold model, obtain the bounding boxes of each surface to be processed, the limit values ​​of the bounding box coordinates Xboxmax, Xboxmin, Yboxmax, Yboxmin, and round them to the nearest five or ten; calculate the range of the bounding box in the Zmax matrix row and Zmax matrix column respectively: Row: (X box min-Xmin) / 5...(X box max-Xmin) / 5; Set the two endpoints to represent letters: lmin=(X box min-Xmin) / 5, lmax=(X box max-Xmin) / 5; Column: (Y box min-Ymin) / 5...(Y box max-Ymin) / 5; set the two endpoints to represent letters: hmin=(Y box min-Ymin) / 5, hmax=(Y box max-Ymin) / 5; Construct the minimum machining tool length line for each surface that needs to be machined. The minimum machining tool length line is the starting point (e*5+Xmin, f*5+Ymin, Zmax(e,f)) and the end point (e*5+Xmin, f*5+Ymin, TLENmin (e,f)+Zmax(e,f)) Among them, e represents the variable between lmin and lmax, and f represents the variable between hmin and hmax; By comparing the lengths of all the minimum machining tool length lines on the machining surface, the line with the largest length is taken as the minimum tool length required to complete machining of the surface; after completing the calculation for each surface, the minimum machining tool length of all surfaces to be machined is obtained; S09. The minimum machining tool lengths of all the surfaces to be machined obtained in step S08 are classified according to the closest standard tool length series. The classification must simultaneously meet the condition that the minimum machining tool length is less than the standard tool length. Finally, the surfaces within the same standard tool length range are classified together, and the surfaces of the same type are machined together.

2. The mold processing tool length design method according to claim 1, characterized in that: In step S02, the formula for rounding to five or ten is: Xmax=int((Xmax+abs(Xmax) / Xmax*h) / h)*h (1) Here, h is 5 or 10.

3. The mold processing tool length design method according to claim 1, characterized in that: In the step S03, the method of constructing a two-dimensional rectangular array with Xmin and Xmax as two X-coordinate endpoints at a step distance of 5 mm is specifically as follows: Construct (Xmin+5, Y), (Xmin+10, Y), (Xmin+15, Y) ... (Xmax, Y) coordinate matrices; at a step size of 5 mm, with Ymin and Ymax as the two Y coordinate endpoints, construct (X, Y min+5), (X, Y min+10, (X, Y min+15) ... (X, Ymax) coordinate matrices; thus construct a two-dimensional rectangular array.

4. The mold processing tool length design method according to claim 1, characterized in that: In the step S05, g is greater than the maximum Z value of the mold.

5. The mold processing tool length design method according to claim 1, characterized in that: In the step S09, the standard knife length series includes the following standard knife lengths: 600mm, 500mm, 450mm, 400mm, 350mm, 300mm, 250mm, 200mm, 150mm, and 100mm.