Using Gradient to display variable mesh Thickness

Hi, I would be grateful if someone experienced with Gradient could comment what Am I doing wrong below: I tried different ways and I can’t figure out why I am having a colour map that apparently does not reflect the value variation (value represent a mesh thickness, represented by the length of the lines normal to the mesh surface):


The gh file:
mesh thickness represented with a Gradient.gh (30.2 KB)

Thank you for your time.
Filipe

Hello
Why are you thinking that your points are in the same order as the mesh vertices ?
Gradient is just sending colors, it doesn’t link the color to a point. Mesh

So you have to seek which mesh vertex is closest to the list of points.

mesh thickness represented with a Gradient.gh (31.8 KB)

1 Like

Dear Laurent, you are right, I was making a wrong assumption.
Many thanks for your valuable help.
warm regards
Filipe

1 Like