对于可直接仿形加工的产品,提出了一种由产品工业CT切片图像直接生成粗加工数控代码的方法。首先对工业CT切片图像进行阈值分割、边缘提取、轮廓跟踪获取产品的轮廓数据;然后进行内外轮廓判定,并据此将各个轮廓向内或向外偏移,以进行刀具半径补偿和加工余量预留;最后逐层划分加工区域得到粗加工刀具路径并有序连接,生成粗加工数控代码。在轮廓偏移步骤,提出了新的判定内外轮廓的方法。开发了软件系统,最后以实际应用案例验证了方法的有效性与实用性。
This paper proposes a new method of generating a rough cut Numerical Control(NC) codes directly from industrial computerized tomography(CT) slice images for the products which work-piece did not need to be redesigned.The contour structure data of the work-piece are obtained by the threshold segmentation,edge extraction and contour tracing.The inner and outer contours are judged,and the tool radius compensation and the allowance reservation are performed by offsetting the contours according to the judgments.The authors generate the rough cut NC code cut area distinguishing and rough cut path generating in a slice by slice manner.In contour offsetting step,a new approach is proposed to judge inner and outer contours.A software system is developed to generate NC codes.An example is used to verify this approach and results show the feasibility and validity of the approach.