Digital design, optimisation and manufacturing of architectural components