Intelligent deformation of biomedical polyurethane