Grasshopper

algorithmic modeling for Rhino

Hi,

I am trying to get an analysis of sightlines working. So I have one area (observer) and want to know how much of a second target area it can "see", including any obstables.

My approach is very simple :
-I devide the observer area into a point grid of sample points
-I devide the target area into a point grid and draw the lines connecting these points
- I check if the lines intersect the obstacle, if they do, I cull those lines from the sightlines coming from that point. Then I could calculate the number of "lost" sightlines from that point and have a %.

 Trouble is I can't get the "cull of line intersects" logic to work - or another way would be counting the intersections, and obviously I know how many intersections I have, but only overall, not per sample point which I would need to calc any percentag ....

 

any help, or totally different approach?

thanks,

P

 

 

 

 

Views: 1826

Attachments:

Replies to This Discussion

Trying an approach with  IsoVist

Attachments:

cool, that seems to work

- trying to do the % calculation per sample / observer point now

thanks,

P

oh sorry, just realized that you already did that ...

:)

Hi! I'm trying to do a similar thing but the files attached above don't work, could you re-upload the final one? 

hi, I'll have to look for the filme tomorrow at work ... will upload then 

hi , I tried but uploading doesn't seem to work right now

I'll try again later

I'll be greatfull, thx :)

hi, see attached.

Jope it works for you,

Peter

Attachments:

Thank you :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service