Shape-memory polymers (SMPs) are remarkable materials able to switch from a temporary shape to their initial permanent shape by crossing a thermal transition, e.g. melting transition. Efficient shap