数控加工的层切法中经常会用到环形刀路.在环形刀路生成过程中,关键算法是多边形的偏置算法.在偏置过程中,偏置曲线上可能会产生局部问题,比如局部尖角、无效环等.这些局部问题必须消除,否则得到的环形刀路将无法使用.论文提出一种基于顶点位置有效性检测的多边形偏置算法.通过实例测试,表明该算法能够很好地消除在偏置过程中产生的局部问题,保证环形刀路的准确有效.%Counter parallel tool path plays an important role in CNC machining process. Initial offset curve is obtained by vertex offset via bisector, in the generation of counter parallel tool path, the key algorithm is polygon offset algorithm. On the initial offset curve, local problems, like invalid loops or sharp angles may exist. These local problems should be removed. Otherwise, counter parallel tool path will not be able to use. A new polygon offset algorithm for Point-sequence curve offset based on the effectiveness of the vertex position detection is proposed. The algorithm has been programmed and tested, the results shows that the algorithm can deal well with the local problems in point sequence offset.
展开▼