Obtaining flakes by scraping a solid layer from a surface