Integration in design and manufacturing of polymer smart devices