My motivation was assuming that the geometry of each leaf could get as complex as you like, and include ironmongery etc so long as you have a reference plane for each one. Substitute the “make 2 boxes” group for any kind of modelling operations you like.