Development of a unified flexible grinding process