I use a scroll saw to cut EVA foam mats (I use metal cutting blades, fine tooth blades work best for me). I operate mine on a relatively high rpm setting, and feed the material through slowly and carefully to get clean edges. Very important to make sure the foot is adjusted properly to not bind the material when feeding through, but not so loose the foam is able to move up and down with the blade, which will cause the cut seam to be rough. This will also create a bit of foam dust, so using it inside is not ideal. And as always, you will being using your hands close to a sharp fast moving blade, use gloves and caution.