I am trying to modify a mesh regarding his two boundaries. My goal is to transform this mesh so the extremes are coincident with the curves in blue, while modifying the rest of the mesh in a smooth way.
mesh_transf_w_boundaries.gh (89.5 KB)
I have tried box morph, but since slices aren’t parallel I would need a twisted box to twisted box morph, a command that I have just found in this link https://www.grasshopper3d.com/forum/topics/advanced-box-morph?id=2985220%3ATopic%3A1107597&page=2#comments but I think the code in it doesn’t work in my case.
I would like to know if any of you have an idea about how could I solve this problem. I attach the GH file so you have the mesh and curves.