how did they turn the cells into a polymer for the heart scaffold ?
May have misunderstood. The heart is gently stripped of cells by using a detergent - this leaves the extracelllular matrix - a polymer of collagen - inert and insoluble. New cells (stem cells) will then be added to the structure to repopulate it with living heart muscle which gain coordination and structure from the matrix.