Grasshopper

algorithmic modeling for Rhino

I have been working on very large floor plates, generating shortest walks for 80-180 spaces. The calc times are in the 3-4 minute range and we have many iterations and schemes to analyze. So, adding too much complexity is to be avoided if possible.


I can't include the actual work but the attached files spell out the issue I am having.

The paths (as the crow flies) are from center to center of every space on a given set of layers. These spaces and other voids must be avoided in the final walks.

The problem comes when the shortest walk component finds the nearest point on the grid and starts the walk from there. see the path highlighted below.

It would be fantastic if the SW component would consider the nearest several points on the grid before calculating the walk.

My only thought will be to draw additional grid lines from the center points to the nearest 15-20 grid points. But nearest point or containment calcs are costly when dealing with so many spaces...


Does anyone else have a similar issue? If so, how did you solve it?

Views: 1004

Attachments:

Replies to This Discussion

Do not know if it is still important.

But maybe you are interested to have a look into SpiderWeb. There you can calculate all paths from a point to all other points which might make your calculation time shorter and also solve the stated problem. Because then you can select from the nearest 15 the points to the A the one that is closest to B.

Richard

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service