I am making a cluster to be used to obtain values depending the distance between points obtained by intersecting different crvs.
each curve is referenced in to a GH , i can have up to 8 curves ( 1,2…8 ) each curve is generating a set of values contained in a specific branch and when the curve is missing the corresponding branch must not be created.
PROBLEM : the logic seems to work while running script from inside the cluster but then when i exit the cluster mode there are "ghost branches " showing up also when crv is not referenced.
i don’t know whats wrong , i never faced this problem before , these empty branches are showing up from nowhere , there is no way to get rid of them and there is not a reason for them to be there, the problem is they they messed up everything downstream
Easy to find lots of threads that reference this problem, but no explanation of why this occurs and no solutions.
The Clean Tree components in the file you posted are not having any effect because the “problem” branches are not empty, they contain 1 item.
Since you are passing the original datatree through your cluster, you can use the empty branches from this to cull your result. Not a fix, but a possible workaround for the case you provided.
I understand what you mean my question was about using less than the 8 curves that the definition can handle now
for instance, if you are 100% sure that each Curve Parameter will always contain either nothing or one single curve, instead of Entwine you might use a grafted merge, like this: