Font Size: a A A

Study On Machining Simulation System Of Virtual NC Lathe Based On OpenGL

Posted on:2012-08-17Degree:MasterType:Thesis
Country:ChinaCandidate:G L LiFull Text:PDF
GTID:2211330338967059Subject:Mechanical design and theory
Abstract/Summary:PDF Full Text Request
This paper studies the machining simulation of virtual NC lathe. On the basis of analyzing system structure of virtual NC lathes, an OpenGL-based machining simulation system of virtual NC lathe is designed using Visual C++6.0 as the development platform. The machining process dynamic simulation of NC lathe is achieved under various conditions such as rotation speed, feeding speed and NC codes.3D machining simulation environment is founded through object-oriented method and powerful 3D image edit function provided by OpenGL which is employed in this paper. Simulation systerm framework and friendly man-machine interface are founded using MFC for interface control.Tools library is founded for various machining conditions;NC decode module is designed for driving the lathe;Using the drawing functiong provided by OpenGL is more convenient for bottom development; The machining process dynamic simulation of NC lathe is achieved via subdividing the workpiece which is designed and ingenious cutting arithmetic which decreases the backstage caculation and increased the system operating speed. Meanwhile, in the process of machining simulation, the double buffer technique is used to accelerate graphics display, avoid the scintillation screen,animate processing more continuity and make the workpiece machining process of forming more real-time.The running results of simulation system have showed that the proposed system features good real time, interaction, expansibility and display of 3D graphics. Also, NC codes could be effectively validated, helping to reducing the high consumption and low efficiency caused by trial cutting method and improving the production efficiency of NC facilities.
Keywords/Search Tags:OpenGL, Machining Simulation, NC Code, NC lathe
PDF Full Text Request
Related items