Abstract
Pocket machining is metal removal operation commonly used for creating depressions in machined parts. Numerically controlled milling is the primary means for machining complex die surface. These complex surfaces are generated by a milling cutter which removes material as it traces out pre-specified tool paths. To machine, a component on a CNC machine, part programs which define the cutting tool path are needed. This tool path is usually planned from CAD, and converted to a CAM machine input format. In this paper I proposed a new method for generating NC tool paths. This method generates automatically NC tool paths with dynamic elimination of machining errors in 2$\frac{1}{2}$ arbitrary shaped pockets. This paper generates a spiral-like tool path by dynamic computing optimal pocket of the pocket boundary contour based on the type and size of the milling cutter, the geometry of the pocket contour and surface finish tolerance requirements. This part programming system is PC based and simultaneously generates a G-code file.