Maybe a fabric store
Well, I'll say it....Why cut it in the first place???????????
Put the guns in, they compress the foam when you close the case
and voila-instant snuggle up. That way you can use the case for different things. It doesn't work for something like a big old boxy camera, but for something as flat as a gun there is no need to cut out an outline other than just looking for something to do.
I guess I'll have to be careful with the razor. I don't have a vise where I can secure the foam wedged in between two pieces of wood. I think a hacksaw would just rip the foam if it's unsupported.