Convert to 3d fig