Hi all. I do created a definition to check if some surfaces can project his centroids into the top surface of the parts but unfortunately I do get strange result. At first glance, looks like the number of branches of the output of the Project Point component it is different than the number of branches from the input ones. How I can solve this issue? I do need to check if the points can be projected into the corresponding surfaces and create booleans True/False values as output.
Exactly this it is the idea. To sort the points that are projecting into the top surfaces from the one that are not projecting in any surface and create boolean values accordingly to dispatch the corresponding surfaces associated with that points in two separate branches.
Please can somebody help-me to solve this problem? I do tried a lot of options but I can’t find any viable way to solve if a point it is visible from the top surface or not. I do tried a lot of intersection methods but all I do get it’s just nulls everywhere.
I agree, that would be what I would do if it were my data.
The use of Flatten Tree in that way is interesting! I’ve messed around with entwining “empty” branches in the past to manually structure data in certain cases but I like the flatten tree method with specification of an index/branch value.
Sorry for the late response, overlooked this tread somehow.
Yes, this is what I do need, to separate the points that are colliding with the top surface projected in Z direction from the ones that are not colliding.
Unfortunately this algorithm it is not working properly as I do have some points mismatching the group in which they should be.
how much is important that you are actualling using matching data trees to get your result?
because you could -wrong on many levels- just flatten everything, isovist along Z and GGs, which would work ok if all you need is a visual verification (btw, any intersection method will work)
in alternative, because the tree mismatch @magicteddy noticed is somehow generated upstream in your definition, in order to do things the best way, I would make some changes in the part of definition that comes before your “Points to project” and “Surfaces to project” and generates those data trees, because the problem is there