Layer Generation Process on Work-piece in Electrical Discharge Machining