Masonry structural modelling needs of a completely different methodology from the ones adopted for ductile structures. In fact, the concepts of strength, stiffness and elastic stability, fundamental for the latter structures, play a marginal role in masonry mechanics. In this respect, Heyman's theory, gives a modern turn to the old methods of masonry design, adopting a set of very simple and clear mechanical hypotheses. In these papers, the basic ingredients of a new method based on unilateral equilibrium and rigid block kinematics, which may allow the implementation of Heyman's model for masonry on a computer, is introduced. In particular a simple method based on energy minimisation, with the possibility of combining the effects of loads and settlements on real masonry structures, is developed.