3D Systems has signed a multi-year agreement with The Hershey Company to develop opportunities for using 3D printing technology in creating edible foods.