I need help for pattern direction

Hi,

Sorry for my bad English. I’m new to grasshopper and learning by myself. I created a texture but I don’t know why the line pattern follows the lamp shape with an angle that is not flat like the picture ( I attached the photo below.


I want to make it goes like the yellow line). I’m planning to make a 3D lamp. Thank you so much
somewaves.gh (21.9 KB)

like this?
image
I think maybe the translation vector is wrong.
somewaves.gh (20.1 KB)
or you can project the normal vector to WorldXY plane.
somewaves (1).gh (24.1 KB)

1 Like

Oh my god. You are god. Thank you so much!!!