Applying a global color gradient to a Grasshopper array

Hello
first I found that geometry is a bit of a crap. There is no objects but faces.

What is an element/object for you ? There are untrimmed surfaces and also curve.

There are many ways to do that
The best way is surely to apply a texture mapping on Brep, BUT McNeel just put that on Rhino 9

Not on Rhino 8

So the second option
Make all objects to mesh with lots of vertexes and apply color from gradient on each vertex. The only problem, you will not have a nice transition on some places and it isn’t very good for rendering.

third one make a mesh, apply UV coordinate on each point (just U is useful here), then make an image of the gradient, then render.
The image is located in Temp, also note that Nautilus is generating an image at each change so temp folder size is increasing !

You need Nautilus plugin and that must work
05072026田野 增生O-for 論壇 LD.gh (91.9 KB)