I don't know where this came from but it is sitting in my archive waiting to help someone.
The last couple of pictures, if you click on them, you can rotate them about so you understand it a little better. I suppose you can alter the measurements to suit your pipework.