摘要
详细介绍了一种利用QTC++编程工具开发的基于OpenGL的数控铣床三维刀具轨迹仿真模块的设计。方法是将通过命令解释模块解释后的数据按有序的格式存放在动态数组中,然后在仿真模块中使用这个动态数组进行绘图。并细述了OpenGL图形操作步骤、动态数组数据的存放格式、以及如何使用这些数据进行绘图、如何实现对图形的控制以方便观察、如何实现用线宽模仿刀具的半径等。
Details on the design of 3D CNC milling machine tool path simulation module based on OpenGL using QT C + + programming tools have been introduced. The data explained by the command explain module is stored in the dynamic array by ordered format and then the dynamic array is used for graphics in the simulation module. This method is introduced in detail by describing the graphics steps, the data storage format of the dynamic array, as well as on how to use the data for drawings, on how to realize the control of drawings for facilitate observation, how to use the width of line for realization the simulation of the cutting tool radius and so on.
出处
《制造技术与机床》
CSCD
北大核心
2009年第2期75-78,共4页
Manufacturing Technology & Machine Tool