Bioinspired rational design of bi-material 3D printed soft-hard interfaces