Yes, the electric knife is what we used to cut our 5 inch foam when we made the new wider twin beds for our
Casita. We used the rounded corner of the original
Casita cushions as our pattern to get the curve just right. We very carefully marked on the foam with a felt tip marker and then followed our line with the knife. It will look a little jagged compared to the factory edge but foam is very forgiving as it looks fine when inside a cover.