Isovist Problem

Hello I have a script here that I’m trying to do Isovist analysis.
however encountered a problem at the point where I’m trying to get all the points that the vision rays and obstructions are intersecting.

does anyone know how to solve this?

Thank you in advance!
Isovist Question.dyn (26.2 KB)

This link may help: https://github.com/DynamoDS/RefineryToolkits/blob/master/src/SpacePlanning/README.md#sample-6---generativetoolkit_isovistfrompointtest