The 3D real-time display of processing needs to be implemented on control interface to improve foreseeability and security of machine numerical control system. A 3D display module of CNC processing based on Linux is built with the linking module of OpenGL and Tcl/Tk and model analysis of NC code to realize processing trajectory tracking The module accomplishes smoothing and lifelike animation effect and supports various graphic.%为了提高机床数控系统加工的预见性和安全性,数控系统需要在控制界面上对加工过程进行三维实时显示.通过利用OpenGL和Tcl/Tk的接口模块进行程序连接,然后对NC代码进行模型解析并实现加工轨迹跟踪,构建出一个基于Linux操作环境的数控系统加工过程的三维显示模块.该模块能够生成平滑逼真的动画效果,并支持多种图形操作控制.
展开▼