Computer aided manufacturing for EDM operations based on a feature based workpiece description