A 2D typology generator for historical masonry elements. (30th September 2018)