It’s little secret that stepper motors are everywhere in FDM 3D printers, but there’s no real reason why you cannot take another type of DC motor like a brushless DC (BLDC) motor and use that instead.
Cutting foam with a hot wire is a common technique to shape foam in a wide variety of shapes. If you want to cut something ...