弧焊机器人柔性再制造中破损零件模型的分层算法
Research on slicing algorithm of worn components model in flexible remanufacturing based on welding robot
-
摘要: 针对弧焊机器人分层/堆积成形方法实现破损零件的再制造,深入研究了破损零件模型的分层切片算法.考虑到零件破损形式的多样性、随机性,采用任意平面对破损零件STL模型(standard template library)分层切片的策略.为了省去建立拓扑信息及三角面片排序的时间,采取直接分层的方法.首先推导出了任意平面与STL模型的求交算法,然后将每层交点排序,由三次B样条拟合生成切片曲线,最后采用VC++6.0结合OpenGL实现了该分层算法.典型零件的分层实例验证了该算法的可行性,为机器人柔性再制造后续的机器人路径规划奠定基础.Abstract: This paper deeply researched on slicing algorithm of worn components model,aiming at the remanufacturing of worn components model based on slicing and accumulating method of welding robot.Consider the diversity and random of worn components,An arbitrary plane was taken to cut STL model.Direct slicing method was used in order to save the time of building topology information and the triangles array.First of all,an algorithm for intersection between an arbitrary plane and STL model was derived.Secondly,all the intersection points were fit to the section contour using cubic B-spline after queuing intersecting points of each layer.Finally,the algorithm was realized based on VC++6.0 and Open GL.One typical slicing example was given to prove the algorithm's accuracy,providing a basis for the path plan in flexible remanufacturing based on welding robot.