Text this: A model of the mechanical degradation of foam replicated scaffolds