How to manage such like this form (zaha hadid's works)

first is how to make two pipes growing up and meet at some points like attached naturally(that like modelling could be done in nurbs?)

and second is make such surface between the 2 lines ( i dont think it is just a boolean difference)

if you know anyway to make like this please share your idea