Effective NC machining simulation with OptiX ray tracing engine

  • Marc Jachym
  • Sylvain Lavernhe
  • Charly Euzenat
  • Christophe Tournier
Original Article


The manufacturing of high-added-value products in multi-axis machining requires advanced simulation in order to validate the process. Whereas CAM software editors provide simulation software that allows the detection of global interferences or local gouging, research works have shown that it is possible to consider multi-scale simulations of the surface, with a realistic description of both the tools and the machining path. However, computing capacity remains a problem for interactive and realistic simulations in 5-axis continuous machining. In this context, using general-purpose computing on graphics processing units as well as NVIDIA OptiX ray tracing engine makes it possible to develop a robust simulation application. Thus, the aim of this paper is to evaluate the use of NVIDIA OptiX ray tracing engine compared to a fully integrated CUDA software, in terms of computing time and development effort. Experimental investigations are carried out on different hardware such as Xeon CPU, Quadro4000, Tesla K40 and Titan Z GPUs. Results show that the development of such an application with the OptiX development kit is very simple and that the performances in roughing simulations are very promising. Developed software as well as dataset can be downloaded from


Machining simulation Ray tracing GPU computing CUDA architecture OptiX 



We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Tesla K40 GPU used for this research as well as the support of the Farman Institute (CNRS FR3311).


  1. 1.
    Abecassis, F., Lavernhe, S., Tournier, C., Boucard, P.-A.: Performance evaluation of CUDA programming for 5-axis machining multi-scale simulation. Comput. Ind. 71, 1–9 (2015)CrossRefGoogle Scholar
  2. 2.
    CUDA, C.: Programming Guide, NVIDIA, (2012)
  3. 3.
    He, W., Bin, H.: Simulation model for CNC machining of sculptured surface allowing different levels of detail. Int. J. Adv. Manuf. Technol. 33(11–12), 1173–1179 (2007)CrossRefGoogle Scholar
  4. 4.
    Inui, M., Umezu, N., Shinozuka, Y.: A comparison of two methods for geometric milling simulation accelerated by GPU. Trans. Inst. Syst. Control Inf. Eng. 6(3), 95–102 (2013)Google Scholar
  5. 5.
    Jang, D., Kim, K., Jung, J.: Voxel-based virtual multi-axis machining. Int. J. Adv. Manuf. Technol. 16(10), 709–713 (2000)CrossRefGoogle Scholar
  6. 6.
    Jerard, R.B., Hussaini, S.Z., Drysdale, R.L.: Approximate methods for simulation and verification of numerically controlled machining programs. Vis. Comput. 5(6), 329–348 (1989)CrossRefGoogle Scholar
  7. 7.
    Lavernhe, S., Quinsat, Y., Lartigue, C., Brown, C.: Realistic simulation of surface defects in 5-axis milling using the measured geometry of the tool. Int. J. Adv. Manuf. Technol. 74(1–4), 393–401 (2014)CrossRefGoogle Scholar
  8. 8.
    Moller, T., Trumbore, B.: Fast, minimum storage ray-triangle intersection. J. Graph. Tools 2(1), 2128 (1997)CrossRefGoogle Scholar
  9. 9.
    Morell-Gimenez, V., Jimeno-Morenilla, A., Garcia-Rodrguez, J.: Efficient toolpath computation using multi-core GPUs. Comput. Ind. 64(1), 50–56 (2013)CrossRefGoogle Scholar
  10. 10.
    Parker, S., Bigler, J., Dietrich, A., et al: OptiX: a general purpose ray tracing engine. ACM Transactions on Graphics, Proceedings of ACM SIGGRAPH, 2010, 29(4), Article 66, 13 pages, (2010)Google Scholar
  11. 11.
    Quinsat, Y., Sabourin, L., Lartigue, C.: Surface topography in ball end milling process: description of a 3D surface roughness parameter. J. Mater. Process. Technol. 195(1–3), 135–143 (2008)CrossRefGoogle Scholar
  12. 12.
    Zhang, W.; Majdandzic, I.: Fast triangle rasterization using irregular Z-buffer on CUDA, Chalmers University of Technology, p. 78 (2010)Google Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Authors and Affiliations

  1. 1.LURPA, ENS Paris-Saclay, Univ. Paris-Sud, Université Paris-SaclayCachanFrance

Personalised recommendations