以实体造型仿真和工程应用为目的,以包络理论为理论基础,结合离散造型法和实体造型法这两种造型方法的优点,提出刀具扫描体快速造型的新方法。该方法主要由四个有序部分组成:第一部分是对刀具进行离散采样的预处理;第二部分是刀具上的离散采样点沿着扫描路径运动,生成扫描元曲线;第三部分是利用在扫描路径上建立起来的若干截平面与扫描元曲线相交后得到的交点集,构造平面网格,求解出平面网格的外轮廓顶点后将其分组,分别进行曲线拟合后再组合成刀具扫描体的包络曲线;第四部分则是通过这些包络曲线进行放样,构建刀具扫描体的包络曲面,最终完成刀具扫描体的完整构造。与现有方法相比,该方法能快速有效地对刀具扫描体进行造型,在减少计算量的同时保证了造型的准确性,因而具有广泛的应用价值。
A novel algorithm is proposed to fast approximate the swept volume of a general cutter. This algorithm is based on envelope theory and solid modeling techniques. The pipeline of this approximation consists of four stages: 1. sampling points on the cutter, 2. sweeping the sample points of the cutter along the curved trajectory to create primitive curves; 3. creating planar slices along the trajectory, making planar meshes from the intersecting points between slices and primitive curves and approximating envelop curves through the outer boundary vertices of planar meshes; 4. making an envelope surface of the swept volume by lofting the envelope curves. Experimental results show that the presented algorithm is simple, efficient and accurate, so it can be widely applied in manufacturing.