Automatic multi-leaf nonperiodic block-by-block pattern generation and computational analysis of historical masonry structures. (15th May 2023)