Custom shape screen-printed magnets