Method and system for implementing a circular hole milling

CN117008534BActive Publication Date: 2026-10-23QINGDAO HAIER MOLDS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310985456.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-07
Publication Date
2026-10-23
Estimated Expiration
2043-08-07

AI Technical Summary

Technical Problem

[0003]本发明的目的在于提供一种圆孔铣削的实现方法及实现系统,以解决现有技术存在的铣削效率低、加工精度低的问题

Benefits of technology

[0014]与现有技术相比,本发明的优点和积极效果是:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117008534B_ABST
    Figure CN117008534B_ABST
Patent Text Reader

Abstract

The application discloses a kind of round hole milling implementation method and implementation system, to solve the low milling efficiency, low machining precision problem existing in prior art.The method comprises: importing the model containing to be milled hole, the position of the model establishes main coordinate system, based on the main coordinate system, the hole feature data of each to be milled hole is generated;According to the hole feature data, determine hole axial direction data;Determine the hole orientation and hole vector direction of to be milled hole in the main coordinate system;Determine the actual depth of to be milled hole, according to the depth data in the cutting parameter and the actual depth, calculate the cutting layering of hole;Determine the feed point, retreat point, first tool cutting track, overall cutting track, feed track and retreat track of each to be milled hole, generate the hole track of a to be milled hole;The hole track of all to be milled holes is sequentially connected, and multiple hole tracks are generated;According to the multiple hole tracks, milling program is generated, and according to the milling program, round hole milling is carried out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of CNC machining technology, specifically, it relates to a method and system for implementing circular hole milling. Background Technology

[0002] When milling circular holes on a CNC machine tool, a three-axis or five-axis milling path is typically generated based on the machine tool structure. The cutting tool moves according to the milling path to mill the desired circular hole. A product model usually contains multiple circular holes to be machined, and these holes are typically located on different surfaces of the model. In existing technologies, when the circular holes to be machined are located on different surfaces, a coordinate system needs to be established for each surface, and then a milling path needs to be generated based on the coordinate system. The process of generating the milling path is extremely tedious and complex, requiring a high level of technical expertise from the developers. Furthermore, existing technologies use point segmentation to obtain the circular path when generating the circular hole milling path. This path is an approximate circle, not a true circle. Point segmentation not only results in more code and lower path generation efficiency, but also, because it is only an approximate circle, it is prone to jamming during machine tool processing, affecting processing efficiency and quality. Moreover, the precision of the machined circular hole is low, often requiring secondary processing, further reducing the efficiency and precision of circular hole milling. Summary of the Invention

[0003] The purpose of this invention is to provide a method and system for milling circular holes, so as to solve the problems of low milling efficiency and low machining accuracy in the prior art.

[0004] To achieve the above-mentioned objectives, the method for milling circular holes provided by this invention employs the following technical solution: A method for milling a circular hole, the method comprising: Import the model containing the holes to be milled into CAM software, establish a principal coordinate system at the location of the model, and generate hole feature data for each hole to be milled based on the principal coordinate system; The axial direction data of the hole is determined based on the hole feature data; Load tool parameters and cutting parameters; Obtain the model's orientation dimensions and position dimensions in the principal coordinate system; Based on the principal coordinate system, the model orientation dimensions, the model position dimensions, and the hole axial direction data, determine the hole orientation in the principal coordinate system. Based on the model orientation dimensions, the model position dimensions, the hole axial direction data, and the hole orientation, determine the hole vector direction of the hole to be milled; The actual depth of the hole to be milled is obtained based on the hole start data and hole end data in the hole feature data and the hole vector direction; Based on the cutting depth data in the cutting parameters and the actual depth, calculate the cutting layers of the hole; Determine the entry and exit points for each hole to be milled; Based on the tool diameter in the tool parameters, the hole diameter and hole diameter center coordinates in the hole feature data, the infeed point, the cutting allowance, cutting speed and cutting rotation speed in the cutting parameters, determine the first cutting trajectory of each hole to be milled; Based on the first cutting trajectory and the cutting layers of the hole, determine the overall cutting trajectory of each hole to be milled; The milling safety height is determined based on the model's orientation dimensions, the model's position dimensions, and the safety height in the cutting parameters; Based on the coordinates of the infeed point, the center coordinates of the hole diameter, and the milling safety height, the infeed trajectory of each hole to be milled is generated; Based on the coordinates of the retraction point, the center coordinates of the hole diameter, and the milling safety height, a retraction trajectory is generated for each hole to be milled. The first cutting path, the overall cutting path, the feed path, and the retraction path form a hole path for a hole to be milled; The hole trajectories of all the holes to be milled are sequentially connected to generate a multi-hole trajectory; A milling program is generated based on the multi-hole trajectory, and circular hole milling is performed based on the milling program.

[0005] In some embodiments of this application, the milling safety height includes a first milling safety height and a second milling safety height. The first milling safety height is determined based on the model orientation dimension, the model position dimension, and the main safety height in the cutting parameters. The second milling safety height is determined based on the model orientation dimension, the model position dimension, and the lateral safety height in the cutting parameters. When milling with a three-axis machine tool, the feed trajectory and the retraction trajectory are generated based on the first milling safety height. When milling with a five-axis machine tool, the feed trajectory and the retraction trajectory are generated based on the second milling safety height.

[0006] In some embodiments of this application, during the process of sequentially connecting the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, if there are side holes in the holes to be milled, the multi-hole trajectory also includes a moving trajectory from the main safety height to the side safety height; the moving trajectory is determined based on the first milling safety height, the second milling safety height, the coordinates of the entry point of the first hole to be milled among all the holes to be milled, and the coordinates of the retraction point of the last hole to be milled among all the holes to be milled.

[0007] In some embodiments of this application, during the process of sequentially connecting the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, a skip feed is also added between two adjacent hole trajectories.

[0008] In some embodiments of this application, the cutting layers of the hole are calculated based on the cutting depth data and the actual depth, specifically including: Calculate the ratio of the actual depth to the cutting depth data; If the ratio is an integer, the ratio is determined as the cutting layer of the hole; If the ratio is not an integer, the integer obtained by rounding the ratio up is determined as the cutting layer of the hole.

[0009] In some embodiments of this application, the method further includes: All holes to be milled are first classified according to the axial direction data of the holes; Then, the holes to be milled after the first classification are classified a second time according to the hole diameter.

[0010] In some embodiments of this application, the method further includes: The holes to be milled after the first and second classifications are displayed according to the following four levels: The first level displays the axial direction types of all holes to be milled; The second level displays the number of milling holes of all types selected in the first level according to the hole diameter; The third level displays all the hole diameter data corresponding to the number of types in the second level; The fourth level displays the hole feature data for each hole to be milled, corresponding to the hole diameter data selected in the third level.

[0011] In some embodiments of this application, the method further includes: Set hole attribute parameters, and use these hole attribute parameters to associate the data displayed at the four levels.

[0012] In some embodiments of this application, generating a milling program based on the multi-hole trajectory specifically includes: The multi-hole trajectory is combined with specified program header data and specified program tail data to generate a specified milling program; the specified program header data and the specified program tail data are determined according to the machine tool system used for milling.

[0013] To achieve the aforementioned objectives, the circular hole milling system provided in this application employs the following technical solution: A system for implementing circular hole milling includes a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to complete the aforementioned method for implementing circular hole milling.

[0014] Compared with the prior art, the advantages and positive effects of the present invention are: The method and system for circular hole milling provided by this invention utilize the coordinates of the tool entry point, the coordinates of the tool exit point, and the milling safety height to determine the tool entry and exit trajectories, realizing the transformation from a main coordinate system to the coordinate systems of other surfaces. Therefore, only one main coordinate system needs to be established to generate the milling trajectories of the holes to be milled on different surfaces of the model, without the need to establish separate coordinate systems for different surfaces, thus simplifying the process of generating milling trajectories and reducing the technical requirements for developers. Furthermore, the cutting layers of the hole are determined based on the depth of cut data and the actual depth of the hole, and the overall cutting trajectory of the hole is determined based on the cutting layers of the hole. The program code is small, the trajectory generation efficiency is high, and the circular trajectory formed based on the overall cutting trajectory is a true circular trajectory, resulting in high precision of the circular hole after machining, reducing the frequency of secondary machining, and improving the efficiency and precision of circular hole milling.

[0015] Other features and advantages of the present invention will become clearer after reading the detailed embodiments of the invention in conjunction with the accompanying drawings. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating one embodiment of the circular hole milling method proposed in this invention. Figure 2 This is a schematic diagram of the interface display of an embodiment of the circular hole milling method proposed in this invention; Figure 3 This is a schematic diagram of an embodiment of the circular hole milling system proposed in this invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] It should be noted that the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they can be implemented by those skilled in the art. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

[0020] Figure 1 The diagram shows a flowchart of one embodiment of the circular hole milling method proposed in this invention.

[0021] like Figure 1 As shown, this embodiment uses the following process to perform circular hole milling.

[0022] S11: Obtain the data of the hole to be milled.

[0023] First, import the model, including the holes to be milled, into the CAM (Computer-Aided Manufacturing) software. The model can be a 2D model or a 3D model.

[0024] Next, the imported model is positioned. This involves placing the model in a coordinate system and initializing the coordinate system, establishing a principal coordinate system at the model's location. The principal coordinate system is the coordinate system used during milling, typically the coordinate system of the front face during milling. Once the principal coordinate system is determined, the model is positioned, and all elements in the model have unique coordinate data. Therefore, the attributes of all holes to be milled in the model also have unique data.

[0025] Based on the definition of the principal coordinate system and the model, the hole feature data for each hole to be milled can be generated. The hole feature data includes, but is not limited to, the hole feature set, hole name, hole diameter, hole start data, hole end data, and hole diameter center coordinate data. Specifically, the hole feature set and hole name are defined in the model; the hole diameter can be determined in the principal coordinate system in conjunction with the model; the hole start data is a numerical value representing the starting point of the hole in the depth direction in the principal coordinate system; the hole end data is also a numerical value representing the ending point of the hole in the depth direction in the principal coordinate system; and the hole diameter center coordinate data is the coordinates of the center of any cross-section of the hole in the principal coordinate system, including the X, Y, and Z coordinates.

[0026] Next, the axial direction data of the hole is determined based on the hole characteristic data. Specifically, the axial direction data can be determined based on the hole start data, hole end data, and hole diameter center coordinate data. More specific determination methods are implemented using existing technologies, which will not be elaborated here.

[0027] S12: Generate a hole trajectory for a hole to be milled.

[0028] The specific implementation process of this step is as follows: Loading tool parameters and cutting parameters. Specifically, based on the actual machining environment, the user selects the desired tool from the known tool library, thus loading the corresponding tool parameters; similarly, cutting parameters can be loaded from the known cutting parameter library. Users can customize the tool library and corresponding databases of tool parameters and cutting parameters according to their own standards and usage specifications, and perform operations such as adding, deleting, modifying, and querying these databases. During use, simply selecting the tool automatically loads the corresponding tool parameters and cutting parameters. Of course, after loading the tool parameters and cutting parameters, adjustments can be made according to the actual machining environment.

[0029] Obtain the model's orientation and position dimensions in the principal coordinate system. These dimensions reflect the model's external dimensions in the principal coordinate system. Once the model is positioned in the principal coordinate system, these two dimensions can be easily obtained.

[0030] Based on the principal coordinate system, model orientation dimensions, model position dimensions, and hole axial direction data, the hole orientation in the principal coordinate system is determined. The hole orientation reflects which quadrant the hole is in, or how many quadrants it crosses, within the principal coordinate system. Calculating the hole orientation provides crucial data support for subsequent tool feed and retraction. The method for determining the hole orientation utilizes existing technology and will not be elaborated upon here.

[0031] Based on the model's orientation dimensions, position dimensions, hole axial direction data, and hole orientation, the hole vector direction is determined. Determining the hole vector direction also determines the top and bottom ends of the hole, and consequently, the direction to be milled, as well as the tool feed and retraction vector directions. The method for determining the hole vector direction utilizes existing technology and will not be elaborated upon here.

[0032] The actual depth of the hole to be milled is obtained based on the hole start and end data and the hole vector direction from the hole feature data. Specifically, the actual depth of the hole to be milled is calculated based on the diameter center coordinates of the cross-section containing the top and bottom ends of the hole, determined by the hole start and end data and the hole vector direction. The method for calculating the actual depth uses existing technology and will not be elaborated here.

[0033] The cutting depth data in the cutting parameters and the actual depth of the hole are used to calculate the cutting layers of the hole.

[0034] In some other embodiments, calculating the cutting delamination of the hole specifically includes: Calculate the ratio of the actual depth to the cutting depth data; If the ratio is an integer, it is determined as the cutting layer of the hole; if the ratio is not an integer, the integer obtained by rounding the ratio up is determined as the cutting layer of the hole. That is, when the actual depth and the cutting depth data cannot be divided evenly, an additional layer is added at the bottom of the hole to ensure that the hole is machined to the required depth and improve machining accuracy.

[0035] Determine the entry and exit points for each hole to be milled. The entry and exit points can be determined based on the actual machining environment. In some embodiments, the intersection of the line between the first and second quadrants of the principal coordinate system on the top view of the hole's vector direction and the hole itself can be selected as the entry and exit points.

[0036] Based on the tool diameter in the tool parameters, the hole diameter and hole diameter center coordinates in the hole feature data, the entry point, and the cutting allowance, cutting speed, and cutting rotation speed in the cutting parameters, the first cutting trajectory for each hole to be milled is determined. The method for determining the first cutting trajectory is implemented using existing technology and will not be described in detail here.

[0037] Based on the first cutting trajectory and the cutting layers of the hole, the overall cutting trajectory for each hole to be milled is determined. Specifically, based on the cutting layers, the cutting trajectories are superimposed on layers, and the coincidence of the start and end points between layers needs to be calculated, thus obtaining the overall cutting trajectory of the hole to be milled.

[0038] After the cutting path is determined, the feed path and retraction path also need to be determined.

[0039] First, the milling safety height is determined based on the model's orientation dimensions, model position dimensions, and the safety height in the cutting parameters. The more detailed process for determining the milling safety height is implemented using existing technology and will not be elaborated here. Then, based on the coordinates of the entry point, the center coordinates of the hole diameter, and the milling safety height, the tool entry trajectory for each hole to be milled is generated. The execution order of the tool entry trajectory is: milling safety height - hole center - entry point. Based on the coordinates of the retraction point, the center coordinates of the hole diameter, and the milling safety height, the retraction trajectory for each hole to be milled is generated. The execution order of the retraction trajectory is: retraction point - hole center - milling safety height. The more detailed process for determining the progress trajectory and retraction trajectory is implemented using existing technology and will not be elaborated here.

[0040] After the above process, the first cutting trajectory, the overall cutting trajectory, the infeed trajectory, and the retraction trajectory form the hole trajectory of the hole to be milled.

[0041] If there are multiple holes, the above process needs to be repeated to generate the hole trajectory for each hole to be milled.

[0042] S13: Generate the multi-hole trajectory for all holes to be milled.

[0043] After generating the hole trajectories for all the holes to be milled, the hole trajectories of all the holes to be milled are sequentially connected, and the tool retraction point of the previous hole is connected to the tool ingress point of the next hole, and so on, until the last hole, thus generating a multi-hole trajectory.

[0044] In some other embodiments, during the process of sequentially concatenating the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, a skip feed is added between two adjacent hole trajectories to speed up the tool movement and improve machining efficiency. The skip feed can be determined and / or modified in the cutting parameters.

[0045] S14: Generate a milling program based on the multi-hole trajectory, and perform circular hole milling based on the milling program.

[0046] In other embodiments, generating a milling program based on a multi-hole trajectory specifically includes: combining the multi-hole trajectory with specified program header data and specified program tail data to generate a specified milling program; the specified program header data and specified program tail data are determined according to the machine tool system used for milling. The program header data includes, but is not limited to, remarks about the hole to be milled, the cutting tool, etc. Thus, the multi-hole trajectory can be applied to different machine tools for round hole milling.

[0047] The circular hole milling method described in the above embodiment utilizes the infeed point coordinates, retraction point coordinates, and milling safety height to determine the infeed and retraction trajectories, achieving a transformation from a primary coordinate system to the coordinate systems of other surfaces. Therefore, only one primary coordinate system needs to be established to generate the milling trajectories for the holes to be milled on different surfaces of the model, eliminating the need to establish separate coordinate systems for different surfaces. This simplifies the process of generating milling trajectories and reduces the technical requirements for developers. Furthermore, this embodiment determines the cutting layers of the hole based on the depth of cut data and the actual depth of the hole, and determines the overall cutting trajectory of the hole based on the cutting layers. This results in less program code, higher trajectory generation efficiency, and a true circular trajectory formed based on the overall cutting trajectory, leading to high precision in the machined circular holes. This reduces the frequency of secondary machining, improves the efficiency and precision of circular hole milling, and reduces the likelihood of jamming during machine tool processing, further enhancing machining efficiency and quality.

[0048] In some other embodiments, the milling safety height includes a first milling safety height and a second milling safety height. The first milling safety height is the safety height in the principal coordinate system, determined by summing the model's orientation dimensions, model's position dimensions, and the principal safety height in the cutting parameters. The second milling safety height is the safety height in the current hole vector direction, determined by summing the model's orientation dimensions, model's position dimensions, and the lateral safety height in the cutting parameters. If a three-axis machine tool is used for milling, the tool feed and retraction paths are generated based on the first milling safety height; if a five-axis machine tool is used for milling, the tool feed and retraction paths are generated based on the second milling safety height.

[0049] In some other embodiments, during the process of sequentially connecting the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, if the holes to be milled have side holes, the multi-hole trajectory also includes a movement trajectory from the main safety height to the side safety height, that is, a movement trajectory requiring the main coordinate system. The movement trajectory is determined based on the first milling safety height, the second milling safety height, the coordinates of the entry point of the first hole to be milled, and the coordinates of the retraction point of the last hole to be milled. The more specific process of determining the movement trajectory is implemented using existing technology and will not be described in detail here.

[0050] In some other embodiments, the method for milling circular holes also includes an automatic classification process for the holes to be milled. Specifically, after acquiring the hole feature data and axial direction data of all holes to be milled, all holes are first classified according to the axial direction data; then, the holes after the first classification are classified a second time according to the hole diameter. It should be understood that during classification, not only the axial direction data and the hole diameter data are classified, but other data in the hole feature data are also classified accordingly. By classifying the holes to be milled first according to the axial direction and then classifying them a second time according to the hole diameter, automatic classification of the holes to be milled is achieved, improving the classification speed and accuracy.

[0051] In other embodiments, to improve the user-friendliness of the human-computer interaction and increase the operator's intuitive understanding of the holes to be milled, the holes to be milled after primary and secondary classification are also displayed in the following four levels: The first level displays the axial direction types of all holes to be milled; The second level displays the number of milling holes of all types selected in the first level in the axial direction, categorized by hole diameter. The third level displays all the hole diameter data corresponding to the number of types in the second level; The fourth level displays the hole feature data for each hole to be milled, corresponding to the hole diameter data selected in the third level.

[0052] In other embodiments, hole attribute parameters are also set to associate the data displayed at the four levels, facilitating the interrelation and synchronized display of data at different levels. The hole attribute parameters can be the hole names from the hole feature data, or other attribute parameters.

[0053] Figure 2 A schematic diagram of the interface display of an embodiment of the circular hole milling method proposed in this invention is shown.

[0054] like Figure 2As shown in the figure, (a1), (a2), (a3), and (a4) are display windows that display the information of the holes to be milled according to four levels.

[0055] (a1) is the first-level display window, showing all the axial direction types of the holes to be milled, including orthogonal angle types such as front, back, front, left, and right (where the right angle is not shown in the current window but can be displayed by scrolling down the drop-down bar), while non-orthogonal angle types are masked and replaced with "*". In some other embodiments, all non-orthogonal angle types may also be displayed.

[0056] (a2) is the second-level display window, used to show how many types of holes are divided according to hole diameter in each axial direction. Specifically, if the "Back" axial direction type is selected in the (a1) display window, the number 2 will be displayed in the (a2) display window, indicating that the milled holes in the "Back" axial direction are divided into two types according to hole diameter.

[0057] (a3) is the third-level display window, which displays the hole diameter. Specifically, the two hole diameters in (a2) are 18.0 and 22.0 respectively.

[0058] (a4) is the fourth-level display window, used to display the number of holes to be milled corresponding to a selected hole diameter in the third level, and simultaneously display the hole feature data of the corresponding holes to be milled. Specifically, after selecting the hole diameter "22.0" in the (a3) ​​display window, it can be seen from the (a4) display window that there are two holes of this diameter, represented by serial numbers 1 and 2 respectively. At the same time, the hole feature set, hole name, hole diameter, hole start Z (i.e., hole start data), hole end Z (i.e., hole end data), and hole diameter center coordinates X / Y / Z are displayed for each hole.

[0059] In addition to displaying information about the holes to be milled in four hierarchical levels, the interface also shows the loaded tool parameters and cutting parameters. Furthermore, a program preview window is provided in the lower right corner of the display window, showing the tool path of the two 22.0mm diameter back faces in a 3D environment. Through this preview window, the operator can clearly see the machining path and tool position.

[0060] Figure 3 The diagram shown is a structural schematic of an embodiment of the circular hole milling system proposed in this invention.

[0061] like Figure 3As shown, the implementation system of this embodiment includes a processor 31 and a memory 32. The memory 32 stores a computer program 321, and the processor 31 is configured to execute the computer program 321 to complete the various embodiments of the above-described method for implementing circular hole milling, and achieve the same technical effects as the various method embodiments. The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions claimed by the present invention.

Claims

1. A method for milling a circular hole, characterized in that, The method includes: Import the model containing the holes to be milled into CAM software, establish a principal coordinate system at the location of the model, and generate hole feature data for each hole to be milled based on the principal coordinate system; The axial direction data of the hole is determined based on the hole feature data; Load tool parameters and cutting parameters; Obtain the model's orientation dimensions and position dimensions in the principal coordinate system; Based on the principal coordinate system, the model orientation dimensions, the model position dimensions, and the hole axial direction data, determine the hole orientation in the principal coordinate system; Based on the model orientation dimensions, the model position dimensions, the hole axial direction data, and the hole orientation, determine the hole vector direction of the hole to be milled; The actual depth of the hole to be milled is obtained based on the hole start data and hole end data in the hole feature data and the hole vector direction; Based on the cutting depth data in the cutting parameters and the actual depth, calculate the cutting layers of the hole; Determine the entry point and retraction point for each hole to be milled; the entry point and the retraction point are the intersection points of the lines of intersection of the first and second quadrants of the principal coordinate system and the hole in the top view of the vector direction of the hole to be milled; Based on the tool diameter in the tool parameters, the hole diameter and hole diameter center coordinates in the hole feature data, the infeed point, the cutting allowance, cutting speed and cutting rotation speed in the cutting parameters, determine the first cutting trajectory of each hole to be milled; Based on the first cutting trajectory and the cutting layers of the hole, determine the overall cutting trajectory of each hole to be milled; The milling safety height is determined based on the model's orientation dimensions, the model's position dimensions, and the safety height in the cutting parameters; Based on the coordinates of the infeed point, the center coordinates of the hole diameter, and the milling safety height, a tool path is generated for each hole to be milled; the execution order of the tool path is: milling safety height - hole center - infeed point; Based on the coordinates of the tool retraction point, the center coordinates of the hole diameter, and the milling safety height, a tool retraction trajectory is generated for each hole to be milled; the execution order of the tool retraction trajectory is: tool retraction point - hole center - milling safety height; The first cutting path, the overall cutting path, the feed path, and the retraction path form a hole path for a hole to be milled; The hole trajectories of all the holes to be milled are sequentially connected to generate a multi-hole trajectory; A milling program is generated based on the multi-hole trajectory, and circular hole milling is performed based on the milling program.

2. The method for implementing circular hole milling according to claim 1, characterized in that, The milling safety height includes a first milling safety height and a second milling safety height. The first milling safety height is determined based on the model orientation dimension, the model position dimension, and the main safety height in the cutting parameters. The second milling safety height is determined based on the model orientation dimension, the model position dimension, and the lateral safety height in the cutting parameters. When milling with a three-axis machine tool, the feed trajectory and the retraction trajectory are generated based on the first milling safety height. When milling with a five-axis machine tool, the feed trajectory and the retraction trajectory are generated based on the second milling safety height.

3. The method for implementing circular hole milling according to claim 2, characterized in that, In the process of sequentially connecting the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, if there are side holes in the holes to be milled, the multi-hole trajectory also includes a moving trajectory from the main safety height to the side safety height; the moving trajectory is determined based on the first milling safety height, the second milling safety height, the coordinates of the entry point of the first hole to be milled among all the holes to be milled, and the coordinates of the retraction point of the last hole to be milled among all the holes to be milled.

4. The method for implementing circular hole milling according to claim 1, characterized in that, In the process of sequentially connecting the hole trajectories of all the holes to be milled to generate a multi-hole trajectory, a skip feed is also added between two adjacent hole trajectories.

5. The method for implementing circular hole milling according to claim 1, characterized in that, Based on the cutting depth data and the actual depth, the cutting layers of the hole are calculated, specifically including: Calculate the ratio of the actual depth to the cutting depth data; If the ratio is an integer, the ratio is determined as the cutting layer of the hole; If the ratio is not an integer, the integer obtained by rounding the ratio up is determined as the cutting layer of the hole.

6. The method for implementing circular hole milling according to any one of claims 1 to 5, characterized in that, The method further includes: All holes to be milled are first classified according to the axial direction data of the holes; Then, the holes to be milled after the first classification are classified a second time according to the hole diameter.

7. The method for implementing circular hole milling according to claim 6, characterized in that, The method further includes: The holes to be milled after the first and second classifications are displayed according to the following four levels: The first level displays the axial direction types of all holes to be milled; The second level displays the number of milling holes of all types selected in the first level according to the hole diameter; The third level displays all the hole diameter data corresponding to the number of types in the second level; The fourth level displays the hole feature data for each hole to be milled, corresponding to the hole diameter data selected in the third level.

8. The method for implementing circular hole milling according to claim 7, characterized in that, The method further includes: Set hole attribute parameters, and use these hole attribute parameters to associate the data displayed at the four levels.

9. The method for implementing circular hole milling according to claim 1, characterized in that, The milling program is generated based on the multi-hole trajectory, specifically including: The multi-hole trajectory is combined with specified program header data and specified program tail data to generate a specified milling program; the specified program header data and the specified program tail data are determined according to the machine tool system used for milling.

10. A system for realizing circular hole milling, characterized in that, The system includes a processor and a memory, the memory storing a computer program, and the processor configured to execute the computer program to complete the method for implementing circular hole milling as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Round hole milling machining method and device, electronic equipment and storage medium

    CN114064009A