InterpCrvOnSrf from a corner to opposite corner of a surface using GH

Hi there,

I would like to automatise using GH a process I often do on Rhino using InterpCrvOnSrf. To be more precise, I would like to InterpCrvOnSrf from a corner of a surface to the opposite corner of the same surface.

I believe ‘Curve on Surface’ is what will help me do so but I’m not sure how to actually make it work…

Please find below a screenshot of the surface and the curve I would like to get from it.


a

In GH, One way is to add a plane that goes through those corners and intersect the plane with that surface to get your curve.

See attached
ShortPath_V1.gh (16.6 KB)

1 Like

Thank you so much @Gijs and @PeterFotiadis for your replies! Especially PeterFotiadis for your file – really appreciate it! It works perfectly :relaxed:

PS. Happy New Year!