How to adjust an Isotrim to an irregular surface?

hello, I’m new to grasshopper and I do not know how to make the isotrim that I made fit the irregular surface that is in green, to then put a brep.


You might want to see this topic.