automated spark edm