IsoVist - I am missing something

Hi all,
I’m trying to find the first mesh-obstacle from a given point in several directions
I thought the IsoVist component was exactly what I was looking for, but I am having some troubles to understand the logic behind it

I expected the outputs to be like this:
0
2
2
2
3

so I must be missing something here…

isovist_question.gh (14.7 KB)

Thanks for your help!

Replacing your mesh with breps and increasing the radius seems to have done the trick.

Also why not use IsoVist Ray instead?

Christopher, thank you so much!
I was stuck thinking to the bigger part of the definition and I just did not notice the component IsoVist-Ray even existed :slight_smile:

I approached the “obstacle finding” topic by randomly reading about the MeshRay component, which wants meshes as inputs, and unluckily wasn’t working for me because doesn’t provide the index of the first mesh hit by the ray… and for some reason I was just looping that in my mind

also, using breps instead of meshes much simplifies the workflow in my case so… 10 out of 10 :slight_smile:
thanks for the help!