This paper discusses the technology of undercutting on cam profiles to improve the transmission quality in cam-based speed-reducers. By means of the contact ratio and the pressure angle, two principles for undercutting are established to ensure a feasible mechanism. Polynomials are applied to generate the undercutting curves to satisfy our requirements. Finally, an example is given to illustrate the methodology.