Mesh transformation from boundaries

Hey there,

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.

Thanks,
Dídac

Here’s the result with the Spatial Deform component with a falloff of 1/x^3
(It’s a standard Grasshopper component, though not one I see used very often, but it seems perfect here)


mesh_transf_w_boundaries.gh (85.3 KB)

3 Likes

Hello Daniel,

This is just what I was looking for!

Thanks

1 Like