摘要
针对三维激光切割离线编程问题,利用Visual C++开发工具对SolidWorks 2012进行二次开发,给定精度要求,提取SolidWorks中加工零件CAD模型的切割路径,利用基于弧长参数的二分法对曲线进行离散逼近,得到离散切割路径;针对零件上多段离散切割路径,提出了基于包容盒的多安全平面路径规划算法,根据激光束的方向,将所有环路归类到5个安全平面上,在每个平面上分别用蚁群算法和最邻近算法进行排序;根据获取的离散点位信息,利用变换矩阵驱动的方法,实现了在SolidWorks平台上的三维激光切割加工仿真;同时,在各个离散点位置,调用干涉检查API函数,在实现了激光切割仿真的同时,完成其干涉检查。
Payed attention to offline programming problem of three-dimensional laser cutting, by using Visual C + +, to make a secondary development on SolidWorks 2012 ,finally had developed a software successfully that could be anchored in SolidWorks. The software includes the following three aspects. Firstly, in accordance with a given accuracy, to acquare the cutting path from SolidWorks CAD model, meanwhile, using the Dichotomy based on the arc length parameter to discrete the curve acquired approximately. By using the function of SolidWorks API ,proposed different algorithms to obtain normal vector at discrete points from different CAD models. Secondly, on the part of multistage discrete cutting paths,proposed a multi-path planning algorithm based on security planes of bounding box algorithm, depending on the direction of the laser beam, classified all the loops into five security plane, on each plane respectively, by using closest algorithm and the ant colony algorithm to sort on the cutting path, tests showed, which obtained a better results. Particularly, the ant colony optimization algorithm performed a good effect. At last, according to the information of discreted points obtained before, using the transformation matrix-driven approach to realize the simulation of three-dimensional laser cutting on the SolidWorks platform, the results show that the animation of simulation was smooth and clear. While conducting simulation at each discrete point, called the interference checking API function, to complete its interference checking, and stored the coordinates of the points that had been checked out interfered in files, whicd facilitated subsequent adjustments,it greatly improved the efficiency of simulation interference.
作者
韩金臻
邓丽霞
吴敏
汪祥
Han Jinzhen Deng Lixia Wu Min Wang Xiang(Department of Electrical and Electronic Engineering, Zhejiang Industry Polytechnic College, Shaoxing 312000, Zhejiang, China Technical Center of Dongfeng Motor Corporation, Wuhan 430058, China)
出处
《现代制造工程》
CSCD
北大核心
2016年第12期21-25,52,共6页
Modern Manufacturing Engineering
基金
国家自然科学基金资助项目(50875070)