Grasshopper

algorithmic modeling for Rhino

Sorting Lists & area comparisons, Please help!

Hi, 

I'm pretty new to Grasshopper and i'm using it for a unit of my Masters. 

The problem is: 

I have 2 sets of curve(polygon) data. Set 1 is small building outlines. Set 2 is the plots of land which the buildings sit. There are over 2000 of these entries (Its a small village).

I am trying to figure out the way that grasshopper sorts lists using the sort list tool. I basically want to calculate the area of the buildings and the individual plot sizes and then calculate the percentage of plot surrounding the building (so basically the difference but in a percentage not m2). The basic maths of this is fine, what I cant get grasshopper to do is match the correct building with the correct plot from the the list of 2000 values!! Does anyone know how to do this? 

The final stage of the process is to then extrude each plot according to the percentage calculated. This part is also fine. The problem currently is that grasshopper doesn't understand which value to match from each list. 

The current algorithm looks like this: 

I have tried just sorting the lists but it doesn't seem to be sorting them in the same order! 

Any help with this would be greatly appreciated! 

Thanks 

J

Views: 160

Comment

You need to be a member of Grasshopper to add comments!

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service