Computational design for the wire and arc additive manufacturing process