3D and 4D printing