Programming tension in 3D printed networks inspired by spiderwebs