Grasshopper

algorithmic modeling for Rhino

Hi  there,

I have a problem with a collection system, because sometimes my tree is not simplified in the same level (nr of sub branch). Even if I set simplify to my data, they don't do it.

I can't use trim brunch, because, in case of 1 level of branch,! they disappear.

Is there any "super simplify", in order to force the simplification of the data?

Thank you.

Views: 851

Replies to This Discussion

What I got is that if I have only one branch of data, even if I graft, they return as null. It they are more than one, I maintain the branch structure (with void data inside).

and with match tree? You must put in all inputs of the merge with a unique guide

(Apparently) I solved in this way:

inside the claster before the big Merge (where I have Start and End output) I put this at the end:

foreach(GH_Path p in x.Paths){
if(x.Branch(p).Count == 0){
x.Add(null, p);
}
}
A = x;

In this way I maintein my structure. Outside, after Merge, I put Flatten and than Graft again to reset my different branch hierarchy. In this way it seems working...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service