3D printing of polymers which remeber their original shape