How to build an interface between two solid by using pymatgen

I have two solid materials (given POSCARs) and want to build an interface structure with specific surfaces, for example, their Miller indices are [111] and [112]. How can I build the interface by using pymatgen? And, how to analyze the matching? you know there are several different configurations about this interface. Thank you so much for your help.

Besides, are there any examples of the interface structure building?

There is currently some functionality in pymatgen to do this, but it is still in early testing: