I feel that "from where" is slightly incorrect and that "from which" is better. But it depends on whether a pipe feels like a "thing" or a "place." If it's a thing, we would say "which," if it's a place, we would say "where."
We could complicate the question further by asking if we could say "from whence!"