Grasshopper

algorithmic modeling for Rhino

Now I'm trying to get rid of the resulting split surfaces that correspond to where the windows are so I'm just left with the walls so I can get just their area later. The way I'm going about doing it is

1. Find the centroid of the split faces

2. cross reference the list with the list of window surfaces centroids and then measure the distance. The idea being the surface of the wall that was cut by the window will have the closest centroid.

3. Sort the lists so the shortest distance/s is on the bottom. As mentioned sometimes I will need to have multiple results for each branch based on how many windows on the wall there are.

4. then run a boolean senario to dispatch the list of split surfaces.

My issue, which you can see in the image is for some reason, I can't work out why, the sorting component is returning a list that has the larger values at the top then runs normally. It is interesting to note the number of larger values corresponds to how many windows are on that wall, so I'm assuming it has something to do with that.

Any help would be much appreciated.

Views: 115

Attachments:

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service