popupCAD: Design and Manufacturing Automation for Programmable Printable Machines