I love grasshopper, but not the bugs on empty branches

I love grasshopper, and I have used it for almost 7 years now. It is an amazing tool.

But the data trees have some really strange behaviors regarding empty branches, which have caused me countless hours of pain! :sweat_smile:

Empty branches are not visible inside clusters

The cluster works as expected but it is easy to introduce bugs when all empty branches are removed.


Expression component adds null to empty branches

Adding empty strings when branch is empty

Is this something that will be different in Grasshopper2? :slight_smile:

5 Likes

+1 on this, thanks for bringing it up! :upside_down_face:

Especially the clusters cause a particular headache. The really weird thing is, the clusters do not actually remove empty branches when in a GH-script. When in the cluster editing all would insinuate they are gone but they are still being processed. Caused hours and hours of debugging and unnecessary workaround before realizing.

Will this be fixed soon? @fraguada

1 Like

I don’t know. I believe this is more a question for @DavidRutten et al.

Great list, thanks for bringing this up @Alexander_Radne

This one is particularly gnarly - haven’t really found a good workaround except placing dummy data in the empty branches.

C#/Python scripts producing output on empty branches

There have been many topics about that. It’s a shame that this problem still stands. If it’s too complicated to fix I would like to have some component to put before / after the cluster that could do the workaround and recreate the tree structure for me. I’m not an expert on datatrees, clusters add some obscurity to making it even harder - the whole situation makes me somewhat anxious and avoid clusters. I would really like to use clusters and do not worry about that.

1 Like

I started a new thread this week that reports the same issues, with two GH examples: