Computational co-design of fibrous architecture