Grasshopper

algorithmic modeling for Rhino

Selection of objects within a closed curve.(Objects in curves?)

Hello,

I have a neighbourhood plan of a city. i have the boundaries of the localities as closed curves, as well as all building outlines. I need to select buildings based on their locality.
Like point in curves, is there a way to select geometries in curves ?

Thanks a lot,

Chai.

Views: 9569

Replies to This Discussion

There's no shape in curve component. Can you compute the area or volume centroids, or maybe bounding box centers of your buildings and test those points for inclusion?

Is this something thats in the works? Or is it just so easily solvable my other methods that its not really a priority?

there is a rhino command selBoundary which I think is doing what you are asking.

Hi!

Update:

I was able to figure out the solution, which is to get the polygon centroids of all the building outlines and test them for inclusion within the neighbourhood closed curve. However this will only give me the list of centroid points and not the geometry.
Further to select the building outlines belonging to these centroids, i used item index to get the corresponding items from the list of curves(Building outlindes).

hello,

what component did you use to check the centroids inclusions?

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