Macroscopic thin-walled thermal rectifier with variable contact area