Shape memory or other thermo-mechanical elements