with grinding discs guided along the workpiece in accordance with the pitch of the required thread