For cutting foam without a fancy machine or using templates I see some people are using 1/16 stainless tig wire and bending it to the profile they need.
www.instructables.com

A New Twist to the Hot Wire Foam Cutter
A New Twist to the Hot Wire Foam Cutter: I'm not going to go into too much detail on building a hot wire foam cutter here. There are tons of great instructables and videos already. I am going to show you how my laziness and impatience in building one paid off with a new material to …