CN-121995858-A - Circular cutting knife path planning method for boss
Abstract
The invention provides a ring cutter path planning method for a boss, which comprises the steps of obtaining a boss profile and a workpiece blank profile according to a graph file and a preset boss allowance, inwards shifting the workpiece blank profile according to cutter parameters to obtain a nested blank profile group, and combining the nested blank profile group and the boss profile to obtain the ring cutter path of the boss. The method reduces the scraps generated by processing the boss and increases the universality of the cutter path planning method by re-planning the annular cutter path of the boss.
Inventors
- ZHOU XINGZHI
- XIAO BING
- YANG XUEJING
- PENG ZHENGYI
- LIU XINSHAN
- LIU HAITIAN
Assignees
- 武汉华中数控股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251230
Claims (10)
- 1. A loop cutter path planning method for a boss, comprising: obtaining a boss outline and a workpiece blank outline according to the graphic file and a preset boss allowance; shifting the workpiece blank profile inwards according to the cutter parameters to obtain a nested blank profile group; and merging the nested blank contour group and the boss contour to obtain a circular cutter path of the boss.
- 2. The method of claim 1, wherein the obtaining the boss profile and the workpiece blank profile from the graphic file and the preset boss margin comprises: reading the graphic file to obtain a workpiece blank contour and an initial boss contour; and expanding the initial boss profile according to cutter parameters and preset boss allowance to obtain the boss profile, wherein the cutter parameters at least comprise cutter radius.
- 3. The method of claim 2, wherein the expanding the initial boss profile according to tool parameters and a preset boss margin to obtain the boss profile comprises: Judging the number of the initial boss outlines; If the number of the initial boss contours is one, the initial boss contours expanded according to cutter parameters and preset boss allowance are taken as the boss contours; If the number of the initial boss contours is larger than one, expanding each initial boss contour according to cutter parameters and preset boss allowance, judging whether each expanded initial boss contour is intersected, if so, obtaining a boss contour by solving a union of the intersected initial boss contours, and if not, directly taking the expanded initial boss contour as the boss contour.
- 4. The method of claim 1, wherein said inwardly offsetting the workpiece blank profile according to tool parameters results in a nested blank profile set comprising: Repeatedly performing the step of inwards shifting the workpiece blank outline by a preset step distance to obtain a nested blank outline until the nested blank outline is contained by the boss outline to obtain a nested blank outline group; Wherein the preset step distance is determined according to the radius of the cutter.
- 5. The method of claim 1, wherein said merging said nested blank contour set and said boss contour to obtain a boss loop cutter path comprises: Judging whether the nested blank outlines intersect with the boss outline or not according to each nested blank outline in the nested blank outline group; if yes, storing the union of the nested blank outline and the boss outline as a loop cutter path; if not, storing the nested blank outline as a loop cutter path; And planning a ring cutter path of the boss according to the ring cutter path.
- 6. The method of claim 5, wherein the planning the loop-cut path of the boss according to the loop-cut path comprises: Determining an end point of the outermost layer annular cutter path according to a preset start point of the outermost layer annular cutter path; Determining the starting point and the end point of each annular cutter path according to the end point of the outermost annular cutter path; According to the starting point and the end point of each annular cutter path, the annular cutter path of the boss is obtained from the outside to the inside; The method for determining the starting point and the end point of each loop cutting path comprises the step of calculating the point, closest to the end point of the loop cutting path of the previous layer, of the current layer as the starting point of the current layer.
- 7. The method of claim 6, wherein the connecting the loop-cutting path from outside to inside according to a start point and an end point of each loop-cutting path, further comprises: and connecting a cutter lifting path behind the annular cutter path, moving the cutter to a point on the contour of the boss closest to the innermost annular cutter path, and processing a circle along the contour of the boss.
- 8. A loop cutter routing system for bosses, which can be used to implement the method according to any one of claims 1 to 7, comprising: the pattern reading module is used for obtaining a boss outline and a workpiece blank outline according to the pattern file and a preset boss allowance; The blank offset module is used for inwardly offsetting the workpiece blank profile according to the cutter parameters to obtain a nested blank profile group; and the cutter path planning module is used for combining the nested blank contour group and the boss contour to obtain a circular cutter path of the boss.
- 9. An electronic device, comprising: One or more processors; Storage means for storing one or more programs, Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
- 10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
Description
Circular cutting knife path planning method for boss Technical Field The present disclosure relates to the field of computer-aided manufacturing technology, and more particularly to a hoop cutter routing method for a boss. Background Conventional CAD/CAM (Computer AIDED DESIGN/Computer Aided Manufacturing ) software creates a loop cutter path for the boss, and at a step of 50% or more of the cutter diameter, the machined workpiece will have more or less residue, and more complex algorithms need to be tried to remove the residue. Disclosure of Invention In view of the above, the present disclosure provides a method for planning a circular cutter path for a boss, which can effectively reduce the generation of residue when the step is 50% or more of the cutter diameter. The invention provides a ring cutter path planning method for a boss, which comprises the steps of obtaining a boss profile and a workpiece blank profile according to a graph file and a preset boss allowance, inwards shifting the workpiece blank profile according to cutter parameters to obtain a nested blank profile group, and combining the nested blank profile group and the boss profile to obtain the ring cutter path of the boss. According to the embodiment of the disclosure, a boss profile and a workpiece blank profile are obtained according to a graphic file and a preset boss allowance, the method comprises the steps of reading the graphic file to obtain the workpiece blank profile and an initial boss profile, expanding the initial boss profile according to cutter parameters and the preset boss allowance to obtain the boss profile, and the cutter parameters at least comprise cutter radius. According to the embodiment of the disclosure, an initial boss profile is enlarged according to cutter parameters and preset boss allowance to obtain boss profiles, the boss profile is obtained by judging the number of the initial boss profiles, if the number of the initial boss profiles is one, the initial boss profiles enlarged according to the cutter parameters and the preset boss allowance are used as boss profiles, if the number of the initial boss profiles is larger than one, each initial boss profile is enlarged according to the cutter parameters and the preset boss allowance, judging whether each enlarged initial boss profile is intersected, if yes, combining the intersected initial boss profiles to obtain the boss profile, and if not, directly taking the enlarged initial boss profile as the boss profile. According to the embodiment of the disclosure, the workpiece blank contour is inwardly offset according to the cutter parameters to obtain a nested blank contour set, and the method comprises the steps of repeatedly performing inward offset of the workpiece blank contour by a preset step distance to obtain a nested blank contour until the nested blank contour is contained by the boss contour to obtain the nested blank contour set, wherein the preset step distance is determined according to the cutter radius. According to the embodiment of the disclosure, a nested blank contour set and boss contours are combined to obtain a boss ring cutter path, and the method comprises the steps of judging whether each nested blank contour in the nested blank contour set intersects with the boss contour or not, storing the union of the nested blank contour and the boss contour as a ring cutter path if the nested blank contour intersects with the boss contour, storing the nested blank contour as the ring cutter path if the nested blank contour does not intersect with the boss contour, and planning the ring cutter path of the boss according to the ring cutter path. According to the embodiment of the disclosure, a loop cutter path of a boss is planned according to a loop cutter path, wherein the loop cutter path comprises a starting point of the loop cutter path of the outermost layer, a starting point and a finishing point of each loop cutter path are determined according to the starting point of the loop cutter path of the outermost layer, the loop cutter path of the loop cutter is connected from outside to inside according to the starting point and the finishing point of each loop cutter path, and the loop cutter path of the boss is obtained, and the starting point and the finishing point of each loop cutter path are determined by calculating the closest point of the loop cutter path of the current layer and the finishing point of the loop cutter path of the last layer as the starting point of the current layer. According to the embodiment of the disclosure, the method further comprises the steps of connecting a cutter lifting path after the annular cutter path, moving the cutter to the nearest point on the boss outline to the innermost annular cutter path, and processing one circle along the boss outline according to the starting point and the ending point of each annular cutter path from outside to inside. The second aspect of the disclosure provides a loop-cut