Hi guys, I wanted to know if there is a way I can select one point(low point) in between two points(medium points) and join a line in between them so it becomes medium-low-medium line.
T6_F_Color_1.gh (82.5 KB)
When you find yourself doing something like this (copy/paste below), please stop. You are doing it wrong, largely missing the point of Grasshopper.
I don’t see a pattern in the GH file that matches your image and don’t understand what you are asking.
I actually didn’t know any other way to take out the individual colored surfaces from the script so
Do you believe me when I say that copy/paste as you did here is the wrong way?
I recognize the code I wrote for you in another thread but don’t want to rewrite this… the answer, in a single word, is branches. Clearly, you didn’t understand the code I gave you.
Too bad for you.
Okay thank for the feedback. Will look into it
@Adarsh_79945
Okay, I couldn’t help it. Just had to try to do this on my own.
I reworked much of the code (Forgive me.)
Still not sure quite what you are looking for with the points but I have some guesses and will try them out.
Here is the reworked code with the colors. do as many or few divisions as you like. I saw that you had grouped the 9 sections into 3? So why not just start with 3?
Anyways here is what I had in mind. I did not use @Joseph_Oster 's code since I wanted to try from scratch on my own. His was better most likely.
T6_F_Color_1 Ryan.gh (67.6 KB)