摘要本文是以轴类零件为研究对象,运用模块化设计的概念,设计并介绍了一种数控车床的自动编程系统。从轴类零件图形的参数录入、图形绘制、后置处理、生成NC代码及校验等,对各大模块的具体内容作了系统介绍,从而体现了CAD/CAM一体化的必要性与优越性。76452

在开发该数控车床系统的过程中, 权衡目前常用的程序开发工具,VC++由于其面向对象的程序设计方法、可视化编程及事件驱动编程机制等特点,设计了仿真软件的界面,通过参考实例,完善了软件的功能,利用Visual C++,MFC类库进行编程,从而能够生成毛坯和刀具的二维模型。

系统总体分为三大模块,分别是自动导入模块,自动编程模块,以及动画展示模块。在程序运行的过程中自动导入模块根据录入的图形数据和工艺参数定义参数,生成矢量化模型;自动编程模块根据矢量化模型生成 NC 代码。动画展示模块根据 NC 代码实现加工轨迹仿真动画展示。

本系统的自动编程为交互式自动编程,利用交互式编程可以减少工作量,缩短编程时间,提高编程准确度。该数控仿真系统的应用,可以直观的模拟数控加工的过程,及时发现程序的不足之处,避免在实际生产加工过程中产生不必要的损失,提高机械加工的水平。

   该论文有图13幅,参考文献32篇。

毕业论文关键词:自动编程  数控  仿真  交互技术  Visual C++ 

Implementation of automatic programming system for NC lathes based on VC

Abstract  Based on the concept of modular design, this paper researches the process of shaft parts, designing and introducing a kind of automatic programming system of NC lathe。 The specific content of each module has been introduced by drawn from the graphics of shaft parts of parameter input, graphics, post processing, generating and checking NC program,which reflects the necessity and superiority of CAD / CAM integration。

  In the process of the development of the CNC lathe system, considering the currently common program development tools, VC + + due to the characteristics of the oriented object programming method, visual programming and event driven programming mechanism, etc,was used to design simulation software interface。By consulting actual case, we used Visual C + + and MFC programming to improve the function of the software, so as to generate blank and tool of two-dimensional model。

  The system is pided into three modules, they are automatic import module, automatic programming module, as well as the animation display module。 In the process of running the automatic import module according to the input graphics data and parameters of the process parameters to generate a vector model; automatic programming module based on the vector model to generate NC code。 Animation display module based on the NC code to achieve the processing trajectory simulation animation display。

  The system uses the way of interactive automatic programming, the use of interactive programming can reduce the workload, save the time of programming , and improve the accuracy of programming。 The application of the NC simulation system can be visualized in the simulation of NC machining process, timely find the inadequacies of the program, avoid unnecessary losses in the actual production process, and improve the level of processing machinery。

Key Words: automatic-programming   numerical-control  simulation; interaction   Visual C++

目  录

摘要 I

Abstract II

图清单 IV

1 绪论 1

1。1 本文研究的工程应用背景和意义

上一篇:Fluent液压支架用大流量液控单向阀的设计
下一篇:小型轮胎拆卸机的设计

87000DWT散货船的舷侧HS25P/S分段建造+CAD图纸

合金元素对镁合金塑性变...

红枣自动去核机的去核机构的设计

减速器试验系统用多自由...

基于DEFORM的棒材旋转挤压工艺研究

UG电脑光驱架钣金件的级进模设计+CAD图纸

基于弹性联接的杯形柔轮...

浅谈高校行政管理人员的...

从政策角度谈黑龙江對俄...

基于Joomla平台的计算机学院网站设计与开发

酵母菌发酵生产天然香料...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

压疮高危人群的标准化中...

浅论职工思想政治工作茬...

上海居民的社会参与研究

提高教育质量,构建大學生...

AES算法GPU协处理下分组加...