Lars, thank you, this would be very much appreciated if it is possible.
cr_raul, yes, I thought of that but as far as I can tell I would need to input both horizontal and vertical distances to get the desired result, which means I would need to calculate each according to the slope and diameter of each individual pipe.