CREATE GRADIENT ON SURFACE FROM MULTIPLE POINTS?

Hi!

I simply cant figure this out, and had no luck finding answers on the forum.. 

I have to do a facade study and want to create a gradient on the facade to illustrate where it is supposed to be more opened or closed. Along the curve in the middle the facade is supposed to be more translucent, which the blue color should illustrate.

I found a really good definition here, but I can only make it work with one point. 

I need the blue color to go all the way along the middle curve, but it can only take one point. 

Does anybody know how I can modify this script for the multiple points?

Any help or suggestions is HIGHLY appreciated!

It's late night here in Beijing and I'm walking in circles, but I know that your brains are still fresh if you're further west in the world right now;)

PEACE/sophia

  • up

    David Rutten

    You can use Closest Point instead of Distance.

    --

    David Rutten

    david@mcneel.com

    Poprad, Slovakia

    1
    • up

      Rémy Maurcot

      Hi sophie,
      Please look the definition.

      I'm speak little english, escuse me for my bad english.

      1