I've been reading about shape-memory polymers. However, it is not clear to me what tools could be used to design the ultimate shape (the shape one obtains after applying for example electricity or light)? What tools are used to design these shapes (software, methods, apparatus)? Also, it seems to be the case that SMPs could be reprogrammed. What tools do exist for these tasks?