Hexagonal grid pattern on surface with increasing size

Hi, I am having some difficulty trying to create an effect of having a somewhat uniform hexagonal pattern on a curved lofted surface.

This is the shape I am working with
image

But when I use the triremesh method, some weird little pentagons appear.
image

The effect I am looking for is this:
image

Its taken from this thread

I am having trouble understanding the grasshopper codes in the thread and how the codes can be modified to fit my shape.

Attached is my working grasshopper file. Much thanks to anyone that is willing to help
TsingHua Summer Project.gh (7.7 KB)

TsingHua Summer Project Edited v0 Nautilus.gh (12.7 KB)
He made that into a component of his plugin Nautilus.

3 Likes

Wow, I did not know about this method. Thank you so much!