Advanced manufacturing of biomaterials