I have 2D plot:
and another 2D plot:
and I want to make a 3D object out of that. It would have to merge from the front, which is p1 to the back, which is p2. How can I do it ? Thank you.