You can cut a fairly accurate core with a device called a Feather Cut foam cutter. It is used in model glider (and powered) wing manufacture. They are inexpensive and easy to use.

Rick