针对大规模定制环境下数控加工程序的快速设计问题,在分析变型技术和NC编程技术的基础上,提出了一种适合零件尺寸变型的NC程序主模板的模型。通过加工特征的定义、划分和NC子程序库的设计,对NC程序主模板的内容和结构进行了分析,给出了NC程序主模板的生成过程。开发了NC程序主模板生成向导,以人机交互的方式快速得到定制零件族的NC程序主模板,实现了基于NC程序主模板的数控加工程序生成过程,可以快速得到变型零件的数控加工程序,提高了变型零件数控程序设计的效率和自动化水平,并用实例验证了这些原理的可行性。
Aiming at the rapid design issues of NC machining program in the context of mass customization,a kind of master NC program model that fits to be used in part dimension variant design was presented after analyzing the variant design technologies and NC programming technologies. The content and structure of master NC program were analyzed in detail based on the definition and partition of machining feature as well as the design of NC subprogram base. Then the constructing process of master NC program was presented. At the same time, a design guide of master NC program was developed, so master NC program of customized part family can be constructed rapidly through the interaction of human and computer, and the NC machining program generation based on master NC program is realized. Therefore, the NC machining program of variant part can be generated rapidly, and the efficiency and automation level of NCprogramming are heightened. Finally, an application example was given to verify the feasibility of principles.