Grasshopper

algorithmic modeling for Rhino

Hi guys. I've some rooms and windows (windows touch rooms shapes), I need to retrieve only rooms that have windows (at least one for room). I tried with region intersection but doesn't work, is there anyone that could help me? Thanks a lot!! ;-)

Views: 1403

Replies to This Discussion

You need to use physical intersections of the surfaces. Vertical windows will not produce meaningful regions to intersect with.

Hi Hannes, what do you mean for physical intersections? (I tried with solid intersection but doesn't work).

Hi, I have done this

Attachments:

Great approach!! Rooms and Windows inputs are inverted, but no problem. How I can retrieve surfaces? At the end of your definition I see List Replace and String Join. Thanks a lot and sorry Felipe!! 

The end of the definition is a summary of a relation between rooms and windows, "Room 0 and Window 1", etc

Attachments:

Is there a way to select rooms that touch windows? Like the attached file? Then, if 2 windows touch the same room, room selected is one, not 2. Sorry if I'm not clear. Thank U very much Felipe.

you mean that the result appears "Room 0 and windows 1 and 2"? I´m traying to do it

I'm sure there's a simpler way but this generates the right data

Attachments:

I don't know why but a part of your definition doesn't work [IMG 1]

The only thing that I really need is to retrieve rooms surface that has touched by a window (also in special case as with 2 or 3 windows). I need to retrieve the geometry, the surface's rooms [IMG 2]. Sorry for this trouble Felipe.

Hope this help,

Attachments:

Perfect!! This is what I wanted!! I replace "delete consecutive" with "create set", then I remove all duplicates!! Thanks a lot Yasser, and thank U Felipe for helping me!! ;-)

Ouch, I forgot one thing. With "item selector" I can select one room, then I need to obtain windows that belong to room examined. Could you help me with this? Thanks a lot!!

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