Introduction: With the development of computer technology and data modeling, the use of point cloud models to generate tool paths is particularly important for improving productivity and accuracy.Methods: This study proposes a new method that first preprocesses the point cloud data using four-point denoising and octree methods to improve processing efficiency. Subsequently, roughing tool paths were analyzed using the layer slicing method and finishing paths using the residual height method.Results and Discussion: The experimental results show that the layer slicing method has a minimum error close to 10% on the roughing path generation and the computation time is reduced to 35 s, while the residual height method has an error rate of 10.17% on the finishing path and the computation time is only 11.82 s, which reflects a high trajectory smoothness and accuracy. The above results show that the study not only optimizes the tool path generation process and improves the machining efficiency and accuracy, but also demonstrates the potential application of point cloud models in the machining of complex parts.Conclusion: The novel tool roughing and finishing methods provide more reliable path planning for actual machining operations, and future research will be devoted to further improving the performance of the data processing algorithms and exploring more efficient path planning strategies to facilitate automated production.