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.
Tags:
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).
(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...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by