摘要
笔者利用Qt平台与OpenGL库开发了一款针对数控加工G代码程序的三维加工仿真软件。该软件能够根据加载的G代码程序提取加工图像点位信息并绘制加工图像并且可以模拟刀具的加工过程,同时可以检测G代码程序的错误并给出错误信息,方便用户提前验证G代码的可行性。通过使用该软件,技术人员无须试加工就可以验证G代码的加工效果,从而能减少资源浪费与缩短开发周期。
Using Qt platform and OpenGL library, the author developed a three-dimensional machining simulation software for NC machining G code program. The software can extract the point information of the processing image and draw the processing image according to the loaded G-code program, and can simulate the process of cutting tool. At the same time, it can detect the errors of G-code program and give the error information, so as to facilitate users to verify the feasibility of G-code in advance. By using this software, technicians can verify the processing effect of G code without trial processing, thus reducing the waste of resources and shortening the development cycle.
作者
梁子财
Liang Zicai(China-EU Institute for Clean And Renewable Energy,Huazhong University of Science and Technology,Wuhan Hubei430074,China)
出处
《信息与电脑》
2019年第17期57-59,共3页
Information & Computer