How to morph this mesh around these objects

Hello, I am very lost, What I’m trying to do is take this sweep1 I’ve created, and then deform it by moving an object into the brep, in the screenshots I’ve attached the red object is the one I’m trying to deform, and the green object is what I want to deform it with, the other screenshot, it the effect I’d like to achieve but with much easier control of the shape. I’ve tried extracting the points and deforming it that way, but I can’t seem to get it to work, and I’m at a complete loss as to how to create this bit of code.

Wall of (48.9 KB)
Wall of Smoothnessp02.3dm (9.1 MB)