improved apparatus for shaping electrodes wherein an abrasive die member is driven into contact with an electrode workpiece member while the die and workpiece members are oscillated with respect to one another in the horizontal plane and wherein the relative vertical motion of the die and workpiece members is controlled as a function of the relative vertical position thereof .