Average vector between surfaces

Hello,

My name is Jonny i’m not very experienced with grasshopper yet.

I have been attempting to find the average vector between two adjacent surfaces. I’ve managed to do it with two surfaces but i don’t know how to go about adjusting the definition to deal with multiple surface at the same time.

Average Surface Vector.gh (16.8 KB)

Any help would be appreciated.

Thanks

You have all the bits and pieces there. Just need to format the script to use data trees.

Nicely done!

Thankyou! It works a treat :slight_smile: