Gear shaping rough-machines internal gears of planetary reducers, followed by precision grinding after heat treatment. It corrects deformation, ensures high tooth accuracy, low noise, smooth transmission, high load capacity and long service life for reducers.