针对传统数控培训中存在的场地受限、经费不足等问题,结合虚拟现实与人机交互等技术,提出了一种基于OpenInventor的数控培训系统实现方案。阐述了虚拟数控培训系统的软硬件开发平台,给出了软件系统的结构框架及开发流程。重点研究了虚拟加工场景的绘制及其模型优化、数控代码编译处理,给出事件处理的编程模型,并以直线进给为例阐述了机床的运动行为仿真。运用OpenInventor工具包在VisualC++6.0环境下实现初步原型系统,该系统运行效果良好。
According to the lack of venues and funding which are commonly found in traditional numerical control (NC) training area, with the development of virtual reality and htunan-computer interaction technology, a programme of virtual NC training system based on open inventor is brought forward. Firstly, the software and hardware platforms of virtual NC training system is expounded, the software architecture framework and development process are proposed. Then the research on virtual machining scene mapping and model optimization, NC code compiler process are focused on. The common programming model of an event handling is proposed, and take straight-line feed as an example illustrated the simulation of motion behavior. Finally, an initial prototype system is realized in Visual C++6.0, and this system is stable and good running.