A feature-based open straight slot machining method
By rationally selecting CNC tools and programming methods and optimizing the machining path, the problems of low efficiency and large errors in straight groove machining are solved, and efficient and standardized straight groove machining is achieved, which is suitable for aircraft structural parts.
Patent Information
- Application Number
- CN202311711634.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-12-13
AI Technical Summary
In the existing technology, the CNC program tool path for straight groove processing is lengthy, the running time is long, the equipment utilization rate is low, and the inconsistent skill levels of operators lead to large processing errors, making it difficult to achieve standardized management.
Rationally select CNC tools, establish a three-dimensional coordinate system, define variable parameters, set the processing starting point, write CNC machining macro programs, optimize the feed strategy, reduce redundant paths, and improve programming efficiency.
By optimizing the machining path and programming method, the programming time is reduced, the error rate is lowered, the straight groove machining efficiency is improved, and the cost is reduced. It is suitable for open straight groove machining of aircraft structural parts.
Smart Images

Figure CN117707052B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of metal parts cutting and processing, and in particular to a feature-based open straight groove processing method. Background Art
[0002] In the design of aircraft landing gear components, straight grooves, U-shaped grooves, T-shaped grooves, annular grooves, and other irregular grooves are often incorporated to meet assembly and installation requirements. During machining, technicians typically use CAM software such as UG or CATIA to create CNC machining programs. However, straight groove programs programmed and post-processed using software often result in lengthy toolpaths, long runtimes, and long idle cutting paths. Actual cutting time often accounts for less than 10%-20% of the total program execution time. Furthermore, load and power during cutting are unstable, resulting in extremely low equipment utilization.
[0003] In actual machining, to simplify workflows and save processing time, operators often choose to align the groove machining datum and center, and manually control the handle to perform linear feed machining of the straight groove. However, due to the varying skill levels of operators, different people use inconsistent and unstandardized methods when handling part centers, machining origins, entry and exit points, tool selection, and cutting parameters during manual groove machining. This can sometimes lead to one groove ruining a larger part. This also contributes to negative factors in the standardized management of CNC machining programs in production workshops. Therefore, a standardized, efficient, feature-based, open CNC programming method for straight grooves is urgently needed to improve straight groove machining efficiency. Summary of the Invention
[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and provide a feature-based open straight groove processing method, rationally design the processing path, and improve the efficiency of straight groove processing of aircraft structural parts.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] A method for machining an open straight groove, characterized by comprising the following steps:
[0007] S1. Select a CNC machining tool according to the width of the straight groove of the part to be machined. The root of the tool is equal to the bottom of the groove, and the diameter of the tool is smaller than the groove width and larger than 1 / 2 of the groove width.
[0008] S2. Set the machining origin O and establish a three-dimensional coordinate system for the part to be machined, wherein the side wall of the part to be machined is the XZ plane and the groove width of the part to be machined is the Y axis;
[0009] S3. Define corresponding variable parameters based on the characteristic parameters of the part to be processed, and set the starting point for processing; the variable parameters include the z value of the tool, the cutting depth of each layer, the groove depth, the arc radius of the part to be processed, the angle between the bevel edge of the part to be processed and the Z axis, the angle between the straight edge of the part to be processed and the Z axis, and the offset of the tool in the Y axis direction relative to the processing origin O;
[0010] S4. Calculate, based on the variable parameters, the cutting depth range of the machining tool in the Z direction, the x values of all edge points of the part to be machined in the XZ plane, and the offset of the machining tool in the Y direction, determine the feed strategy of the machining tool in the X, Y, and Z directions, and set the tool path in the Y direction to a straight path and the tool path in the Z direction to a spiral feed form;
[0011] S5. Write CNC machining macro program to process parts;
[0012] Among them, the tool movement and processing statements of the CNC machining macro program are specifically as follows: first, select a point outside the length direction of the straight groove, move the tool to a safe distance, set the starting point of the tool, and the tool moves to the starting point to cut radially on one side wall of the part to be machined. After cutting is completed, the end point of the previous cut is used as the starting point of the next cut, and the tool is fed downward in the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point in the X-axis direction. After cutting is completed, the machining tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact; then the end point of the previous cut is used as the starting point of the next cut, and the tool is continued to be fed downward in the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point in the X-axis direction. After cutting is completed, the tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact, and this process is repeated until the actual cutting depth of the machining tool in the Z-axis direction is equal to the groove depth, and the machining tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact, completing the last layer of cutting.
[0013] Furthermore, in step S1, the CNC machining tool is a standard tool.
[0014] Further, in step S2, the point corresponding to the (x0, z0) coordinate of the processing origin O is the point of the arc of the side wall of the part to be processed, and the point corresponding to the y0 coordinate of the processing origin O is the midpoint of the width of the straight groove of the part to be processed. The three-dimensional coordinate system takes the height direction of the straight groove as the positive direction of the z-axis.
[0015] Furthermore, in step S4, the x-value calculation process of all edge points of the workpiece to be processed in the XZ plane includes:
[0016] S41. Calculate the x value of the edge point of the straight side of the part to be processed based on the angle between the straight side of the part to be processed and the Z axis:
[0017] When the z value of the edge point of the straight side of the workpiece to be processed is greater than 0 and the cutting depth of the tool is less than the arc radius, x1=-sqrt(pot(r4)-pot(r1), where x1 is the x value of the edge point, r4 is the arc radius of the workpiece to be processed, and r1 is the z value of the tool;
[0018] When the z value of the edge point of the straight side of the workpiece to be processed is less than 0 and the tool body is smaller than the arc radius, x1=r1*tan(r6)-r4 / cos(r6), where r6 is the angle between the straight side of the ear piece of the workpiece to be processed and the Z axis;
[0019] S42. Calculate the x value of the edge point of the bevel of the part to be processed based on the angle between the bevel and the Z axis:
[0020] When the z value of the bevel edge point of the workpiece to be machined is greater than the z value of the tangent point, and the tool cutting depth is less than half of the arc radius, x1=sqrt(pot(r4)-pot(r1);
[0021] When the z value of the bevel edge point of the part to be processed is less than the z value of the tangent point, and the tool cutting depth is less than half of the arc radius, x1 = r4 / cos(r5)-r1*tan(r5), where r5 is the angle between the bevel edge of the part to be processed and the Z axis.
[0022] Furthermore, in step S4, the calculation formula of the offset of the machining tool in the Y direction is: Y direction offset = groove width - tool diameter / 2.
[0023] Compared with the prior art, the present invention has the following beneficial effects: by rationally selecting CNC tools for machining, manually compiling CNC programs, rationally designing machining paths, skillfully arranging feed points and retract points, and flexibly setting machining parameters, the present invention can reduce CNC programming time, optimize programming paths, reduce redundant CNC machining paths, improve programming efficiency and reduce error rates, effectively improve groove machining efficiency, and reduce machining costs. The present invention has important application value in CNC machining of open straight grooves on landing gear outer tubes, piston rods and other structural parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A simplified isometric diagram of the machining features of an embodiment of the present invention, (a) is an isometric stereogram, (b) is an isometric front view, and (c) is an isometric top view;
[0025] Figure 2 Schematic diagrams of machining features according to an embodiment of the present invention, (a) is a schematic diagram of machining with the first cut, and (b) is a schematic diagram of machining with the second cut;
[0026] Figure 3Schematic diagram of a typical straight slot of a landing gear part according to an embodiment of the present invention, (a) is a front view of the part, and (b) is a cross-sectional view of the part;
[0027] Figure 4 Schematic diagram of the machining origin "O" of a landing gear part according to an embodiment of the present invention, (a) is a front view of the part, and (b) is a cross-sectional view of the part;
[0028] Figure 5 This is a schematic diagram of all cutting areas in the XZ plane of a landing gear part according to an embodiment of the present invention;
[0029] Figure 6 This is a schematic diagram of a mathematical model of the XZ plane A cutting area of a landing gear part according to an embodiment of the present invention;
[0030] Figure 7 This is a schematic diagram of a mathematical model of the XZ plane B and C cutting areas of a landing gear part according to an embodiment of the present invention;
[0031] Figure 8 This is a schematic diagram of a mathematical model of the XZ plane C and D cutting areas of a landing gear part according to an embodiment of the present invention;
[0032] Figure 9 This is a schematic diagram of a simulated tool path for a landing gear part according to an embodiment of the present invention;
[0033] Figure 10 This is a 3D image of a landing gear part after processing according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0035] like Figure 1 、 Figure 2 As shown, the straight groove processing principle of this embodiment includes: first, select a point outside the straight groove length L, and the point △H with a groove depth H along the Z axis as the starting point of the processing feed, W is the straight groove width, A is the processing part, and K is the processing tool. Set the cutting depth of each cut to △H, and complete Figure 2 (a) In the process of machining a straight groove of a workpiece with a depth of △H, a width of the tool diameter, and a length of L. The machining range of the first tool is Figure 2 (a) A1 in the figure. Then, the Z value of the tool retraction point of the previous cut is moved down by △H and the Y value is offset to the position where the tool fits the right side wall of the workpiece, and the second slot milling process is performed. The processing range of the second cut is Figure 2(b) The part indicated by A2 is repeated n times to complete the straight groove processing.
[0036] On this basis, if Figure 3 As shown, taking a typical straight groove of a landing gear part as an example, the present invention provides a feature-based open straight groove processing method, comprising the following steps:
[0037] S1. The total depth h of the straight groove in this embodiment is about 81.5 mm, and the width w is 28 mm. The CNC machining tool is selected according to the groove width.
[0038] The tool selection principles include: ① The tool root R' should be equal to the groove bottom R'; ② The tool diameter should be smaller than the groove width but larger than 1 / 2 of the groove width; ③ Use standard tools and avoid non-standard tools. Based on these tool selection principles, this example uses a D25R5 CNC machining tool.
[0039] It's important to note that the tool root refers to the initial cutting area of the tool, or the tip. The groove bottom refers to the bottom of the groove in the workpiece. During machining, the tool root contacts the workpiece surface and performs the cutting operation.
[0040] S2. Set the machining origin O and establish a three-dimensional coordinate system for the part to be machined. The three-dimensional coordinate system takes the side wall of the part to be machined as the XZ plane and the groove width direction of the part to be machined as the positive direction of the y-axis.
[0041] like Figure 4 As shown in the figure, the point (x0, z0) corresponding to the machining origin O in this embodiment is the center point of the lug arc, and the point corresponding to the y0 coordinate of the machining origin O is the midpoint of the width of the lug straight groove. A three-dimensional coordinate system is established with the direction of the lug hypotenuse as the positive x-axis direction, the direction along the straight groove width as the positive y-axis direction, and the direction along the straight groove height as the positive z-axis direction.
[0042] S3. Define the corresponding variable parameters according to the characteristic parameters of the part to be processed, and set the processing starting point, as follows:
[0043] Variable 1: r1 = 31.5, where r1 is the coordinate value of the tool on the z-axis, and 31.5 is the initial coordinate value of the tool on the z-axis.
[0044] Variable 2: r2 = -0.8, where r2 is the cutting depth of each layer. Since it is along the negative direction of the Z axis, the variable r2 is assigned a value of -0.8.
[0045] Variable 3: r3 = -50, where r3 is the distance from the machining origin O to the bottom of the groove. Since it is along the negative direction of the Z axis, the total depth of the straight groove is approximately 81.5 mm, and the radius R of the ear arc is 31.5 mm, so the variable r3 is assigned a value of -50.
[0046] Variable 4: r4=r1, where r4 is the characteristic ear arc radius.
[0047] Variable 5: r5 = 30°, where r5 is Figure 4 The angle between the hypotenuse of the middle ear piece and the Z axis.
[0048] Variable 6: r6 = 0°, where r6 is Figure 4 The angle between the straight edge of the middle ear piece and the Z axis.
[0049] Variable 7: r7 = 1.5 indicates that the tool moves to a position of 1.5 mm along the Y-axis relative to the machining origin, where r7 is the offset of the tool along the Y-axis.
[0050] Machining starting point (x', y', z'): g0 g54 x'=r4 y'=r7 z'=r4+20;
[0051] Among them, g0 is to move at the fastest speed of the machine tool, and g54 is to set the coordinate origin.
[0052] S4. Based on the above variable parameters, calculate the cutting depth range of the machining tool in the Z direction, the x values of all edge points of the part to be machined in the XZ plane, and the offset of the machining tool in the Y direction, determine the feed strategy of the machining tool in the X, Y, and Z directions, and set the tool path in the Y direction to a straight path and the tool path in the Z direction to a spiral feed form to achieve contour machining and avoid redundant tool paths.
[0053] ①Calculate the cutting depth range of the machining tool in the Z direction:
[0054] like Figure 4 As shown, in this embodiment, the total straight groove depth h is 81.5 mm, and the cutting depth of each layer is set to r2 = -0.8 mm. According to the groove depth and the cutting depth of each layer, the cutting depth range of the machining tool in the Z direction is determined.
[0055] During the machining process, when the cutting depth r1 is less than the groove depth r3, the machining tool continues to feed according to the cutting depth r2 of each layer until the coordinate value r1 of the tool on the z-axis is equal to the groove depth r3, completing the last layer of cutting.
[0056] ②Calculate the x value of all edge points of the part to be processed in the XZ plane:
[0057] like Figure 5 As shown in the figure, according to the XZ plane cutting area and the meaning of each variable, the x value of the edge point of the side wall of the part to be machined in each cutting area is calculated, thereby determining the feed strategy of the machining tool in the X direction.
[0058] In this embodiment, the characteristic tab is divided into four cutting regions along the x-axis and the z-axis, and numbered A, BC, D, and E. Because there is a tangent point in the BC cutting region, the BC cutting region is further divided into two cutting regions by the line connecting the tangent point and the origin O, and numbered B and C respectively.
[0059] According to the angle between the straight edge of the characteristic ear piece and the Z axis, a mathematical model is established (such as Figure 6 As shown in the figure), calculate the x value of the edge point of the straight edge of the ear piece in the cutting area A and the cutting area E (including the tangent point):
[0060] When the z value of the edge point of the straight side of the ear piece is greater than 0 and r1>0, the calculation formula of the x value of the edge point of the cutting area A is: x1=-sqrt(pot(r4)-pot(r1).
[0061] When the z value of the edge point of the straight side of the ear piece is greater than 0 and r1>0, the calculation formula of the x value of the E cutting area (including the tangent point) is: x1=r1*t an(r6)-r4 / cos(r6).
[0062] According to the angle between the characteristic ear bevel and the Z axis, calculate the x value of the edge point of the ear bevel in the B cutting area, the C cutting area, and the D cutting area:
[0063] When the z value of the edge point of the ear piece is greater than the z value of the tangent point, and r1>1 / 2r4, a mathematical model is established (such as Figure 7 As shown), the calculation formula for the x value of the cutting area B is: x1=sqrt(pot(r4)-pot(r1).
[0064] When the z value of the edge point of the ear piece is less than the z value of the tangent point, and r1>1 / 2r4, a mathematical model is established (such as Figure 8 As shown), the x value calculation formula of the C cutting area and the D cutting area (including the tangent point) is: x1=r4 / cos(r5)-r1*tan(r5).
[0065] ③Calculate the offset of the machining tool in the Y direction: Y direction offset = slot width - tool diameter / 2.
[0066] S5. Write CNC machining macro programs to process parts.
[0067] Among them, the cutting process is specifically as follows: first, select a point outside the length direction of the straight groove, move the tool to a safe distance, set the starting point of the tool, and the tool moves to the starting point to cut radially on one side wall of the part to be processed. After cutting is completed, the end point of the previous cut is used as the starting point of the next cut, and the tool is fed downward along the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point along the X-axis direction. After cutting is completed, the processing tool is offset along the Y-axis direction to the position where the tool and the other side wall of the part to be processed are in contact; then the end point of the previous cut is used as the starting point of the next cut, and the tool is continued to be fed downward along the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point along the X-axis direction. After cutting is completed, the tool is offset along the Y-axis direction to the position where the tool and the other side wall of the part to be processed are in contact, and this process is repeated until the actual cutting depth of the processing tool in the Z-axis direction is equal to the groove depth, and the processing tool is offset along the Y-axis direction to the position where the tool and the other side wall of the part to be processed are in contact, completing the last layer of cutting.
[0068] The specific processing statements are:
[0069] N01 G94 G00 G90 G64 G54 M3=03S3=2000F1800 Set the coordinate system, speed, and feed. N02 Z1=280 Z axis moves to the safety distance
[0070] N03 r1=31.5 Assignment: Arc radius
[0071] N04 r2=-0.8 value: cutting depth per layer
[0072] N05 r3=-50 Assignment: The groove is finally processed to the Z axis position
[0073] N06 r4=r1
[0074] N07 r5=30 Assignment: The angle between the Z axis and the tangent line of the 31.5 arc (positive direction of the X axis)
[0075] N08 r6=0 Assignment: Angle between the Z axis and the tangent line of the 31.5 arc (negative direction of the X axis)
[0076] N09 r7=1.5Assignment: (slot width-tool diameter) / 2
[0077] N10 g0 g54 x1=r4 y1=r7 Set the machining origin, and move the X and Y axes to
[0078] N11 z1=r4+20 Z axis moves to
[0079] N12 g01 z1=r4 Z axis moves to
[0080] When N13, check if the condition r1>r3 holds. If it holds, execute the next line; if not, jump to N30. N14: r1 = r1 + r2, change the R1 variable
[0081] N15: If r1<r3, check if the condition holds. If it holds, execute the next line; if not, jump to N17. N16: r1 = r3, change the R1 variable
[0082] N17: endif, no action (fixed format syntax)
[0083] N18: If r1>sin(r6)*r4, check if the condition holds. If it holds, execute the next line; if not, jump to N21. N19: g1 x1 = -sqrt(pot(r4)-pot(r1)), z1 = r1 - r2*0.5, Move to X-axis and Z-axis
[0084] N20: else, jump to N22
[0085] N21: g1 x1 = r1*tan(r6)-r4 / cos(r6), z1 = r1 - r2*0.5, Move to X-axis and Z-axis
[0086] N22: endif, no action (fixed format syntax)
[0087] N23: y1 = -r7, Move to Y-axis
[0088] N24: If r1>sin(r5)*r4, check if the condition holds. If it holds, execute the next line; if not, jump to N26. N25: x1 = sqrt(pot(r4)-pot(r1)), z1 = r1, Move to X-axis and Z-axis
[0089] [[ID=……]]N26: else, jump to N28<……]]
[0090] [[ID=3……]]N27: x1 = r4 / cos(r5)-r1*tan(r5), z1 = r1, Move to X-axis and Z-axis
[0091] N28: endif, no action (fixed format syntax)
[0092] N29: y1 = r7, Move to Y-axis
[0093] N30: endwhile1, no action (fixed format syntax) [[ID=……]]
[0094] N31: x1 = r1*tan(r6)-r4 / cos(r6), Move to X-axis<00002……]]
[0095] N32: y1 = -r7, Move to Y-axis <00……]]
[0096] Note: Some ellipses are used in the translation to indicate that parts of the original text's line numbers are not fully reflected in the translation due to the complexity of the line numbering system in the original text. The tags are preserved as accurately as possible.N33 x1=r4 / cos(r5)-r1*tan(r5) X axis moves to
[0097] N34 y1=r7 Y axis moves to
[0098] N35 y1=0 Y axis moves to
[0099] N36 g0 z1=250. Z axis moves to the safe distance
[0100] Using the above method, according to the numerical control instructions, computer simulation software is used to simulate the tool movement trajectory (such as Figure 9 After the processing is completed, the 3D image of the parts after processing in this embodiment is as shown Figure 10 shown.
[0101] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which fall within the scope of protection of the present invention.
[0102] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.
[0103] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A feature-based open straight groove processing method, characterized in that: The steps include: S1. Select a CNC machining tool according to the width of the straight groove of the part to be machined. The root of the tool is equal to the bottom of the groove, and the diameter of the tool is smaller than the groove width and larger than 1 / 2 of the groove width. S2. Set the machining origin O and establish a three-dimensional coordinate system for the part to be machined, wherein the side wall of the part to be machined is the XZ plane and the groove width direction of the part to be machined is the y-axis; S3. Define variable parameters based on the characteristic parameters of the part to be processed and set the starting point for processing; the variable parameters include the z value of the tool, the cutting depth of each layer, the groove depth, the arc radius of the part to be processed, the angle between the bevel edge of the part to be processed and the Z axis, the angle between the straight edge of the part to be processed and the Z axis, and the offset of the tool in the Y axis direction relative to the processing origin O; S4. Calculate, based on the variable parameters, the cutting depth range of the machining tool in the Z direction, the x values of all edge points of the part to be machined in the XZ plane, and the offset of the machining tool in the Y direction, determine the feed strategy of the machining tool in the X, Y, and Z directions, and set the tool path in the Y direction to a straight path and the tool path in the Z direction to a spiral feed form; S5. Write CNC machining macro program to process parts; Among them, the tool movement and processing statements of the CNC machining macro program are specifically as follows: first, select a point outside the length direction of the straight groove, move the tool to a safe distance, set the starting point of the tool, and the tool moves to the starting point to cut radially on one side wall of the part to be machined. After cutting is completed, the end point of the previous cut is used as the starting point of the next cut, and the tool is fed downward in the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point in the X-axis direction. After cutting is completed, the machining tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact; then the end point of the previous cut is used as the starting point of the next cut, and the tool is continued to be fed downward in the Z-axis direction at the set cutting depth value per layer, and at the same time, the tool is fed toward the edge point in the X-axis direction. After cutting is completed, the tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact, and this process is repeated until the actual cutting depth of the machining tool in the Z-axis direction is equal to the groove depth, and the machining tool is offset in the Y-axis direction to the position where the tool and the other side wall of the part to be machined are in contact, completing the last layer of cutting.
2. The open straight groove processing method according to claim 1, characterized in that: In step S1, the CNC machining tool is a standard tool.
3. The open straight groove processing method according to claim 1, characterized in that: In step S2, the point corresponding to the (x0, z0) coordinate of the processing origin O is the point of the arc of the side wall of the part to be processed, and the point corresponding to the y0 coordinate of the processing origin O is the midpoint of the width of the straight groove of the part to be processed. The three-dimensional coordinate system takes the height direction of the straight groove as the positive direction of the z-axis.
4. The open straight groove processing method according to claim 3, characterized in that: In step S4, the process of calculating the x values of all edge points of the workpiece to be processed in the XZ plane includes: S41. Calculate the x value of the edge point of the straight side of the part to be processed based on the angle between the straight side of the part to be processed and the Z axis: When the z value of the edge point of the straight side of the workpiece to be processed is greater than 0 and the cutting depth of the tool is less than the arc radius, x1 = -sqrt(pot(r4)-pot(r1)), where x1 is the x value of the edge point, r4 is the arc radius of the workpiece to be processed, and r1 is the z value of the tool; When the z value of the edge point of the straight side of the workpiece to be processed is less than 0 and the tool body is smaller than the arc radius, x1=r1*tan(r6)-r4 / cos(r6), where r6 is the angle between the straight side of the ear piece of the workpiece to be processed and the Z axis; S42. Calculate the x value of the edge point of the bevel of the part to be processed according to the angle between the bevel and the Z axis: When the z value of the bevel edge point of the workpiece to be machined is greater than the z value of the tangent point, and the tool cutting depth is less than half of the arc radius, x1 = sqrt(pot(r4)-pot(r1)); When the z value of the bevel edge point of the part to be processed is less than the z value of the tangent point, and the tool cutting depth is less than half of the arc radius, x1 = r4 / cos(r5)-r1*tan(r5), where r5 is the angle between the bevel edge of the part to be processed and the Z axis.
5. The open straight groove processing method according to claim 1, characterized in that: In step S4, the calculation formula of the offset of the machining tool along the Y direction is: Y direction offset = groove width - tool diameter / 2.
Citation Information
Patent Citations
Processing method of circuit board slotted hole
CN101887251A
Process for machining oil groove part by using macro program
CN113695604A