传统的基于三角片模型雕刻曲面数控加工中,只有少量的三角片参与每个刀位点计算,大量的工作是在全体三角片中搜索刀具投影区覆盖的三角片。为克服上述缺点,提出了一种矩形包络法,快速滤除了绝大多数刀具投影区外的三角片。在一次搜索过程中,将刀具投影区覆盖的三角片独立保存,避免了进一步计算时搜索整个STL文件。针对与刀具投影区叠加的每个三角片,计算其平面、顶点、三条边与刀具的接触点来计算最终的刀位点,得到刀具运动轨迹。给出了利用该方法得到的刀具轨迹仿真实例,验证了算法的可行性。
In conventional Numerical Control (NC) machining of sculptured surface based on triangular facet model, to calculate each Cutter Location (CL) point of the flatted cutter, only few facets were actually used in the calculation of the tool projection region. However, most calculations were conducted to search those triangular facets overlapped by the tool pro- jection region from the total facet set. To overcome such weakness, a novel rectangle envelope method was proposed, in which most facets outside the projection region were filtered out. During the course of a searching process, all facets overlapped by the tool projection region were saved independently so as to avoid searching the total STL (STereo Lithography) file again in next steps. For each facet overlapped by the tool projection region, the CL point was calculated by the cutter contract points with the vertexes, sides and the plane, finally the tool-path was obtained. Simulation experiment was used to demonstrate the feasibility of the proposed method.