1. A computer implemented method comprising the steps of: a) providing a pattern on a support, wherein the pattern comprises a distribution of codes which are arranged such that each code in the pattern is unique, b) deforming, plastically, the support with the pattern, c) taking at least two images of the plastically deformed support under different angles of view, and d) determining a 3D surface model of the plastically deformed support based on the matching of at least one code in the pattern in the at least two images.