How to map

Hello everyone,
I have taken a pattern, now I do not know how to map it onto a Surface.
it would be appreciated if you can help mepattern by (30.2 KB)

Hi Omid
Hell Well , after decades a Farsi guy !! ,You could use project component to project curves onto surfaces => It is awfully simple to project them to planar ones , Otherwise there’s also a second way to hit : use Hexagon cell component from lunchbox which is a little bit hard to set the correct parameter and UV division value for this kinda pattern Projected pattern by (22.7 KB)

HI Amir,
Thank you so much for your response. Yeah I used Lunchbox , but I can’t get what I want as the surface is not planar and it doesn’t give me a hexagon with equal sideways. And Project doesn,t work here.

You can use project though , if your surface input is not that complicated

But about lunchbox hexagon-cell comp I gotta tell ya that the comp tries to generate cells allover the boundary of input surface , so kinda it shouts that (there y’ll never have even-length hexagons in a “given-boundary”) .
Solution : Write down some c# , python , whatever Code to generate perpendicular even-length hexagons on any given surface;

Why not just use the Map to Surface component?

It can be ,and the lines will deform , I suggested to generate initial hexagon on surfaces

Actually I’m not that much professional in grasshopper, but I tried bot project and Map To Surface. Neither of them worked. I attached my surface. could you please help me with it?RHINO FILE.3dm (52.3 KB)

If using a flat grid of the curves and the proper mapping source the deformation will be the same either way.