摘要
板材下料是有效开展生产的一项必要活动,AutoCAD是进行下料排样的计算机绘图和设计的常用软件,同时AutoCAD为用户提供了非常开放的二次开发环境。为此,对作为AutoCAD 2007二次开发工具的ObjectARX 2007进行了探讨和研究,分析了基于ObjectARX的AutoCAD二次开发的程序开发流程,详细阐述了进行板料优化排样程序开发的关键技术以及进行AutoCAD二次开发的命令订制方法,然后实施了以ObjectARX 2007为基础、以Visual Studio 2005为开发平台、以遗传算法为主要优化算法的下料程序开发,在AutoCAD中开发出自动排样的优化下料应用程序。最后,通过排样实例验证了本方法的实用性。
Sheet metal cutting is a necessary activity for effective production,AutoCAD is a general computer design and drawing software for placement,and AutoCAD is also easy to be carried out secondary development.in this paper,the research and discussion on ObjectARX which is a tool for developing AutoCAD 2007 have been developed,analysis the process of secondary development based on ObjectARX,describe the key technology for procedure of optimal layout in detail and the methods of custom orders for the secondary development,then the exploitation of cutting program which is taking ObjectARX as foundation,taking Visual Studio 2005 as developing environment,taking genetic algorithm as optimal algorithm has been implemented,and after all the optimal cutting program used for automatic layout has been carried out in AutoCAD.The method has been proved to be be useful through layout example finally.
出处
《机械》
2012年第2期30-32,共3页
Machinery