Grinding of the cutter-edge of the planar cutting inserts with rake angle at zero and various linetypes is mainly carried out on the flank face. In order to realize CNC (Computer Numerical Control) Grinding, a model of cutting-edge curves is given, and the cutting locations are obtained. Further, by using macro programs, online measuring of the cutting location and the automatic machining programs are generated rapidly. The paper mainly analyses the three factors mentioned above by the theory and the experiment. The test results proved that the proposed method can satisfy the requirement for product accuracy and increase the machining efficiency about 50%.© (2010) COPYRIGHT SPIE--The International Society for Optical Engineering. Downloading of the abstract is permitted for personal use only.