首页> 中文期刊> 《机械制造与自动化》 >基于OpenGL的数控车削三维仿真系统研究

基于OpenGL的数控车削三维仿真系统研究

         

摘要

根据数控车削的原理和现有仿真软件的特点,对仿真系统做了需求分析,设计了仿真系统的总体方案.基于对NC代码的特点,在Visual C++6.0中定义了目标代码数据结构,实现了NC代码解释算法.基于自下向上,利用基本几何元素的布尔运算,简化了车削仿真环境的建模.利用OpenGL的双缓存技术,采用不断更新显示毛坯和零件的相关部分、移动刀具到当前坐标的方法,简化了仿真算法,实现了车削加工的三维仿真.通过一个实例验证,仿真结果与实际接近,满足仿真需求.%Requirement of the simulation system is analyzed according to the principle of the numerical control turning and characteristics of existing simulation software. The program of the simulation system is design. Based on the characteristics of NC code,the object code data structure is defined in Visual C ++ 6.0,and the NC code explanation algorithm is accomplished. Turning simulation environment modeling is simplified from bottom to top by the use of basic geometrical element Boolean operation and the simulation algorithm is simplified by the use of OpenGL double cache technology and updated relevant display of blank and parts and the way that the cutter is moved to the current coordinate,and the machining 3D simulation is achieved. Through an example,it is verified that the simulation results is consilient with actual results and the simulation system achieves the requirements.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号