摘要
This paper presents an approximation method to display realistic pictures of numerical control (NC) machining simulation very quickly. T he tool movement envelope is divided into many small regions and the normal to t hese small regions is calculated. The system saves the calculated result in a fi le before starting animation display. When the system starts displaying machinin g animation, it does not need to calculate small triangular facets normal to the workpiece surface. It only needs to find out what part of the cutter cuts the w orkpiece surface and to read the normal from the file. A highly efficient NC cod e verification method is also presented in this paper. The method first detects the error in z direction. If some points are reported to be out of the tolerance , the system divides neighborhood of these points into smaller grids and calcula tes the normal surface at each grid intersection and the error in the normal ve ctor direction.
提出了一种快速显示数控加工仿真高质量真实感图形的近似方法。刀具运动扫掠体被划分成一些小区域 ,系统计算出每个小区域的法向量并将这些向量存储在一个文件中。当显示加工动画时不必再计算毛坯表面小平面的法向量 ,仅仅需要计算是刀具的哪部分切削了该小平面 ,然后从文件中读出对应的法向量。文中还提出了一种高效率的 NC加工代码验证方法。该方法先计算 z方向的误差。如果发现某些点超差 ,在这些点附近系统自动对毛坯进行进一步细分 ,计算出表面法向量的误差。