Machining Simulation System of Virtual NC Lathe Based on OpenGL and VC

Virtual NC is one of the virtual manufacturing technologies.A virtual NC machining simulation system is designed by adopting Virtual C++ 6.0 and OpenGL in the paper.Firstly,the three-dimensional models of lathes and processing modules are established on the basis of solid geometry modeling idea.Secondly,the machine tool motion simulation and the machining process simulation are achieved by using MFC framework and programme of OpenGL.The type of lathe in the system is CK0632 made in Shanghai Machine Tool Factory.The system consists of machine scene module,NC code analysis module,virtual machining module,the tool and the blank selection module and control panel module.Experiments show that the simulation results meet the expected requirements and the work has good practical significance.