摘要
基于AutoCAD数控铣床图形自动编程系统设计中,各功能模块分别完成将DXF文件中各图元信息读入双向链表、数据排序组环、工艺设置、后处理生成数控加工程序。利用VisualC++6.0语言设计一个比较完整的DXF文件的接口程序读取各图元信息。在读取模块设计中、定义了双向链表结点复合结构体类型。在存储非均匀B样条曲线结构体成员中使用STL类库中list列表容器存储其控制顶点、节点坐标等。简化了读取模块设计。利用迭代和访问方法、可变序列算法和不可变序列算法对列表容器中的元素进行正反迭代指向返回元素个数、查找等操作。可简化后置处理程序设计。
Based on the autoCAD numerical control milling machine graph automatic programming system design in,various functions module completes separately the DXF document in various charts Yuan information readin bidirectional chain table,the data sorting group link,the craft establishment,the post-processing production numerical control processing procedure.Visual the C++ 6.0 language to design a quite complete DXF document the interface routine is used to read various charts Yuan information.In the read module design,the bidirectional chain table point compound syntagma type have been defined.In saves in the inhomogeneous B transect curve syntagma member to use in a STL kind of storehouse the list tabulation vessel to save its control apex,the node coordinates and so on.The read module design is simplified.Using the iteration and the access method,the invariable sequence algorithm and cannot change the sequence algorithm to tabulate in the vessel the element to carry on pro and con iteration direction returns operations and so on element integer,are searched.The post-processing programming may be simplify.
出处
《科学技术与工程》
2010年第33期8241-8246,共6页
Science Technology and Engineering