Split tree had an option that if we connect 2 Masks , the Positive output would be the first mask and Negative output would be the second mask ,
As you can see here I showed how it should work :
split tree bug.gh (8.0 KB)
That’s because I used Dot Display to put it on forum and turned off unnecessary previews .
You should just see the positive and negative outputs separately
(as I said , the first picture is what we are expecting to see )
I was trying to understand the problem as well. I am not at Inno’s level of tree management, so apologies in advance if I get corrected following this comment.
However, based on my understanding:
P outputs positive side of the split*
*That is, whatever mask(s) you’re using, they precisely determine this ‘P’, while ‘N’ would be the other side of the split, correct? My take is you already know that.
My first thought is:
“the two masks are alternating which set of indices get picked depending on the branch…OR: for even branches, give me every other point starting at 1…for odd branches, also give me every other point BUT start at 0…”
Right? Sorry, exhausting, I know.
That IS what SplitTree is outputting as the {P} positive set.
Thank you for your comment , as long as I remember , if we used two masks , we would get both masks in order P and N outputs . Maybe I just mixed it up with another component or function …
Who knows! Not necessarily - maybe you had to dispatch the original grid first, plus entwine the dispatched elements, but that sounds like a slightly different question (vs split tree working oddly). The real/new question is why did you give yourself the solution?
if more then one mask is supplied, they are sort of combined together with an OR logic behavior
so P (Positive) output will return data that matches at least one of the masks
while N (Negative) output will return data that did not match any of the masks
Thanks, Actually because I realized that I mixed that with something else (as long as I even tried that in rhino 7 last night and it was the same ) I wanted to somehow show that It was my confusion so I decided to mark my post as solution
But anyway thank you guys for continuing this topic so we can learn more from you
Hi René , now that I looked up your script , this is exactly what I was looking for . I really enjoyed your logic , Thanks (I will give you the solution )
Haha all good - jokes aside though, honestly I asked yesterday because I was curious to learn myself what you had found out as solution and didn’t tell us