This paper presents an extensive investigation on the out-of-plane collapse behavior of single-leaf non-periodic masonry walls. This is achieved by deriving out-of-plane homogenized failure surfaces from test-windows that are extracted from various location within the same non-periodic masonry wall. The concept of “test-window” is inspired by that of Statistically Equivalent Periodic Unit Cell (SEPUC), which is an evolution of that of Representative Element of Volume (REV), and is needed for successfully applying homogenization to non-periodic masonry. An innovative feature introduced in this paper is the automatic generation of a suitable 3D finite element mesh directly from the sketch of the considered masonry test-window, based on a so-c...