Wrapping an hexagonal points pattern into a cylindrical surface

Dear experts, thanks in advance for your help!

I´m trying to map an hexagonal points pattern (using LunchBox´s Hex component) into a cylindrical surface. Whereas the a random points pattern can be easily applied to a cylindrical surface using PopGeo component, doing so for an hexagonal pattern seems to be much more elaborated.

Despite I´ve found the way to do it using Map Points to Surface component, I can´t understand how such mapping is performed. What I want is just a simple “wrapping” like mapping. Unfortunately, this is not what I get. The green lines in the following image indicate some weird correspondence between original and mapped points MapToCyl.gh (20.3 KB)

Note that I want to keep control of the number of U and V hexagonal cells as well as of the relative orientation of the cells wrt cylinder axis. In addition, I want to use some robust warping, projection, or mapping procedure in order to implement some other 2D patterns later on.

Is the issue just that your cylinder uv directions aren’t matching those of the rectangle?
So you can transpose to swap u and v, then Sporph to map from one to the other:
transpose_sporph.gh (21.4 KB)

Hi Daniel, thanks for the super quick response!

I didn’t knew Sporph component. So transposing the surface did half of the job, thanks!

Now everything seems “metric”, i.e. neighbouring points in the flat surface are also neighbours in the curved cylindrical surface now :slight_smile:

1 Like