is it possible to generate a UV pattern from a mesh pattern ?

i did a 2 D pattern with a mesh in blender with a script X-Y only no Z value

now is it possible to make like a UV map that can be added to a certain 3D shape mesh
and also repeat the pattern along X axis!

thanks

I don’ t really understand your question. Could you post a blend file or a picture of what you would like to have as result?

i was able to make one
now have to find how to generate the points as my mesh shape

but with nodes set up cycles

it does not take the new UV image
i ahve to save it first
is there a way to tell the node to use a new UV image?

thanks