为了提高复杂曲面的加工效率,解决编程人员凭经验分片导致加工特征遗漏和区域参数不合理的问题,提出了一种基于k-均值聚类的模具型腔曲面分片方法.首先,将型腔曲面根据曲面加工特点进行分类;然后,根据k-均值聚类分析原理,将型腔曲面上加工特性相似且相邻的点归集到一个加工区域内;进而,型腔曲面被分割成若干具有不同加工特性的曲面片;最后,针对每个曲面片的特性规划刀具路径实施分片加工,将接刀痕迹控制在曲面片的交接处,以达到提高效率及加工表面质量的目的.结果表明,此方法能明显减少加工轨迹的长度,提高加工的效率及质量.
To improve the machining efficiency and avoid making mistakes when NC program members devide the surface into many patches and plan the tool path for each patch according to their experiences and characteristics of the sculptured surface,the paper presents a new method for surface patching machining.First,the machining surface is classified according to similar symbol and surface local characteristics.Second,the points with similar machining characteristics are put into a patch based on k-means clustering.Finally,after patching surface,the tool paths are generated by different planning methods for each patch,and the tool mark is controlled at the adjacent area.The example shows that the method can reduce the length of the tool path and improve the efficiency.