Contour-Parallel Tool Path Generation Method for Efficient Machining of Multi-Island Cavities
Abstract
:1. Introduction
2. Contour Extraction
2.1. Cavity Partitioning
- Initialize the angular threshold of the sub-region as , , , ;
- Obtain the V—value corresponding to the maximum boundary of the boss, and store in the boundary container;
- , If , store the value of into and then the process ends. Otherwise, obtain the parameter value corresponding to ;
- Traverse the boundary of the boss. If , store in and set ; otherwise, just store in ;
- Update the value of , then go to Step 3.
2.2. Contour Discretization
2.3. Constructing Bridge
3. Offset Method for Closed-Loop Contour Curves
3.1. Generation of the Initial Offset Curve
3.2. Rules for Determining Valid Point
- is considered invalid if it lies within the region formed by point and its preimage;
- Determine the preimages and of the intersecting line segment where is located. Make projections of and , respectively, through , and denote the projection points as and . If the line segment or has an intersection point with the line segment in , then is an invalid point.
3.3. Tracing the Valid Loop
4. Generation of Cleaning Tool Path
4.1. Detection of Uncut Areas
4.2. Corner Optimization
5. Results
6. Conclusions
- (1)
- The cavity region is divided into sub-regions, with each subregion being processed independently, effectively simplifying the machining of complex curved cavities.
- (2)
- The centroid arrangement and shortest distance method are employed to bridge the islands and form a closed boundary profile, avoiding the need to handle island and cavity offsets separately.
- (3)
- The Bentley–Ottmann algorithm is utilized to efficiently extract the intersection points of the offset lines, and intersection validity rules are applied to track effective loops, ensuring the formation of a non-interfering tool path. This method efficiently extracts valid tool paths and prevents overcutting.
- (4)
- A comparison with the tool paths generated by the NX 11.0 variable-axis contour milling module shows that the proposed algorithm significantly reduces tool lift occurrences and can generate tool paths for regions with large-angle cavity boundaries.
- (5)
- Experimental machining of the multi-island cavity using the generated tool paths shows that the algorithm can produce continuous tool paths. These paths leave no cutting residue and fully satisfy the high-precision machining requirements for multi-island cavities.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wang, S.; Wang, C.; Wang, P.; Liu, H.; Wang, Y. PDE-Based Spiral Machining Trajectory Planning Method without Tool Feed Marks on 2D Arrayed Multi-Island Regions. Int. J. Adv. Manuf. Technol. 2023, 125, 2021–2034. [Google Scholar]
- Held, M. A Geometry-Based Investigation of the Tool Path Generation for Zigzag Pocket Machining. Visual Comput. 1991, 7, 296–308. [Google Scholar]
- Dong, T.J.; Chen, J.; Ding, H.P. High-Speed Cutting Machining Simulation of Aero Engine Casing Hole. Adv. Mater. Res. 2014, 915–916, 142–149. [Google Scholar]
- Ge, Z.; Hu, Q.; Wang, Z.; Zhu, Y. Spiral tool path generation method for complex pocket machining based on electrostatic field theory. J. Braz. Soc. Mech. Sci. Eng. 2024, 46, 614. [Google Scholar]
- Sun, Y.; Jia, J.; Xu, J.; Chen, M.; Niu, J. Path, feedrate and trajectory planning for free-form surface machining: A state-of-the-art review. Chin. J. Aeronaut. 2022, 35, 12–29. [Google Scholar]
- Kim, B.H.; Choi, B.K. Machining efficiency comparison direction-parallel tool path with contour-parallel tool path. Comput. Aided Des. 2002, 34, 89–95. [Google Scholar]
- Park, S.C.; Choi, B.K. Tool-Path Planning for Direction-Parallel Area Milling. Comput. Aided Des. 2000, 32, 17–25. [Google Scholar]
- Uzun, M.; Usca, Ü.A.; Kuntoğlu, M.; Gupta, M.K. Influence of tool path strategies on machining time, tool wear, and surface roughness during milling of AISI X210Cr12 steel. Int. J. Adv. Manuf. Technol. 2022, 119, 2709–2720. [Google Scholar]
- Huang, N.; Jin, Y.; Lu, Y.; Yi, B.; Li, X.; Wu, S. Spiral toolpath generation method for pocket machining. Comput. Ind. Eng. 2020, 139, 106142. [Google Scholar]
- Xu, J.; Ji, Y.; Sun, Y.; Lee, Y.S. Spiral Tool Path Generation Method on Mesh Surfaces Guided by Radial Curves. J. Manuf. Sci. Eng. 2018, 140, 071016. [Google Scholar]
- Gong, H.; Wang, Y.; Song, L.; Fang, F.Z. Spiral tool path generation for diamond turning optical freeform surfaces of quasi-revolution. Comput. Aided Des. 2015, 59, 15–22. [Google Scholar]
- Hauth, S.; Linsen, L. Double-spiral tool path in configuration space. Int. J. Adv. Manuf. Technol. 2011, 54, 1011–1022. [Google Scholar]
- Zhou, B.; Zhao, J.; Li, L. CNC double spiral tool-path generation based on parametric surface mapping. Comput. Aided Des. 2015, 67, 87–106. [Google Scholar]
- Sun, Y.; Xu, J.; Jin, C.; Guo, D. Smooth tool path generation for 5-axis machining of triangular mesh surface with nonzero genus. Comput. Aided Des. 2016, 79, 60–74. [Google Scholar]
- Zhou, B.; Zhao, J.; Li, L.; Xia, R. A smooth double spiral tool path generation and linking method for high-speed machining of multiply-connected pockets. Precision Eng. 2016, 46, 48–64. [Google Scholar]
- Shi, P.; Tong, X.; Qu, H.; Cai, M. Rapid generation of contour parallel toolpaths for 2.5D closed cavity based on accurate discrete medial axis transform. Precision Eng. 2025, 92, 231–252. [Google Scholar]
- Bahloul, E.; Guerraiche, K. Automatic Call of CPO Toolpaths without Uncut Regions for 2.5D Pocket Milling. Eng. Technol. Appl. Sci. Res. 2024, 14, 15686–15694. [Google Scholar]
- Bo, Q. Recursive polygon offset computing for rapid prototyping applications based on Voronoi diagrams. Int. J. Adv. Manuf. Technol. 2010, 49, 1019–1028. [Google Scholar]
- Kim, H.C. Tool path modification for optimized pocket milling. Int. J. Prod. Res. 2007, 45, 5715–5729. [Google Scholar]
- Dhanik, S.; Xirouchakis, P. Contour parallel milling tool path generation for arbitrary pocket shape using a fast marching method. Int. J. Adv. Manuf. Technol. 2010, 50, 1101–1111. [Google Scholar]
- Park, S.C.; Choi, B.K. Uncut free pocketing tool-paths generation using pair-wise offset algorithm. Comput. Aided Des. 2001, 33, 739–746. [Google Scholar]
- Lambregts, C.A.H.; Delbressine, F.L.; De Vries, W.A.; Van der Wolf, A.C.H. An efficient automatic tool path generator for 2.5D free-form pockets. Comput. Ind. 1996, 29, 151–157. [Google Scholar]
- Held, M.; Lukács, G.; Andor, L. Pocket machining based on contour-parallel tool paths generated by means of proximity maps. Comput. Aided Design. 1994, 26, 189–203. [Google Scholar]
- Held, M.; De Lorenzo, S. Weighted Skeletal Structures For Computing Variable-Radius Offsets. Comput. Aided Des. Appl. 2021, 18, 875–889. [Google Scholar]
- Xu, K.; Li, Y.; Xiang, B. Image processing-based contour parallel tool path optimization for arbitrary pocket shape. Int. J. Adv. Manuf. Technol. 2019, 102, 1091–1105. [Google Scholar]
- Held, M.; de Lorenzo, S. On the generation of spiral-like paths within planar shapes. Int. J. Adv. Manuf. Technol. 2018, 5, 348–357. [Google Scholar]
- Choi, B.K.; Park, S.C. A pair-wise offset algorithm for 2D point-sequence curve. Comput. Aided Design. 1999, 31, 735–745. [Google Scholar]
- Lin, Z.; Fu, J.; He, Y.; Gan, W. A robust 2D point-sequence curve offset algorithm with multiple islands for contour-parallel tool path. Comput. Aided Des. 2013, 45, 657–6705. [Google Scholar]
- Kim, K.; Jeong, J. Tool path generation for machining free-form pockets with islands. Comput. Ind. Eng. 1995, 28, 399–407. [Google Scholar]
- Lee, C.S.; Phan, T.T.; Kim, D.S. 2D curve offset algorithm for pockets with islands using a vertex offset. Int. J. Precis. Eng. Manuf. 2009, 10, 127–135. [Google Scholar]
- An, Y.; Shao, C.; Wang, X.; Li, Z. Geometric properties estimation from discrete curves using discrete derivatives. Comput. Graphics. 2011, 35, 916–930. [Google Scholar]
- Wong, T.N.; Wong, K.W. NC toolpath generation for arbitrary pockets with Islands. Int. J. Adv. Manuf. Technol. 1996, 12, 174–179. [Google Scholar]
- Bentley, J.L. Multidimensional binary search trees used for associative searching. Commun. ACM 1975, 18, 509–517. [Google Scholar]
- Bentley, J.L.; Ottmann, T.A. Algorithms for Reporting and Counting Geometric Intersections. IEEE Trans. Comput. 1979, 100, 643–647. [Google Scholar]
Number of Contour Points | Computing Time (s) | Offset Distance (mm) | Tool Diameter (mm) | Toolpath Length (mm) |
---|---|---|---|---|
2413 | 2.50 | 5 | 10 | 3652.9 |
Sub-Region | Number of Contour Points | Computing Time (s) | Offset Distance (mm) | Tool Diameter (mm) | Toolpath Length (mm) |
---|---|---|---|---|---|
2104 | 2.54 | 4 | 8 | 4874.5 | |
2633 | 2.54 | 4 | 8 | 3695.6 | |
2609 | 2.55 | 4 | 8 | 3584.4 | |
2248 | 2.44 | 4 | 8 | 4892.6 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Jiang, B.; Sun, Y.; Sun, S. Contour-Parallel Tool Path Generation Method for Efficient Machining of Multi-Island Cavities. Machines 2025, 13, 286. https://doi.org/10.3390/machines13040286
Jiang B, Sun Y, Sun S. Contour-Parallel Tool Path Generation Method for Efficient Machining of Multi-Island Cavities. Machines. 2025; 13(4):286. https://doi.org/10.3390/machines13040286
Chicago/Turabian StyleJiang, Bing, Yuwen Sun, and Shuoxue Sun. 2025. "Contour-Parallel Tool Path Generation Method for Efficient Machining of Multi-Island Cavities" Machines 13, no. 4: 286. https://doi.org/10.3390/machines13040286
APA StyleJiang, B., Sun, Y., & Sun, S. (2025). Contour-Parallel Tool Path Generation Method for Efficient Machining of Multi-Island Cavities. Machines, 13(4), 286. https://doi.org/10.3390/machines13040286