Computational Design Of Active 3D-Printed Structures