I bought a spool of Protopasta iron-filled PLA to test in a project where I need to fit a flyback transformer into a confined space. The prototype will likely be 3D-printed in PLA plastic and contain some moving parts wrapped in magnetic wire for power transfer.
For optimal performance, flyback transformers are generally wound around a ferrite core, which has high magnetic properties but low conductivity to reduce eddy currents.