Tiling of triply-periodic minimal surfaces