3D magnetic patterning in additive manufacturing via site-specific in-situ alloy modification. (March 2020)