Grasshopper

algorithmic modeling for Rhino

Generating Bounding Boxes and Selecting Ones in a Certain Range?

I have a bunch of curves, about 60 of them.  I would like to make a definition that I can enter in a Length and Width and have it select any of the curve's whose bounding box exceeds the Length and Width I entered.

I'm thinking that it shouldn't be that hard, I am just not good with working with lists.

Thanks,
Ryan

Views: 319

Replies to This Discussion

I think this does that. File is attached below. -Chris

Attachments:
Thanks for the quick reply. I think it is really close. Just doing some initial tests. It currently has to fail both the Length and Width parameter to work. I'd like for it to fail if any curve goes over the width or height, is that too much to add? If so I think I can figure it out with this as a starting point.


Thanks again.
It is now giving all curves that exceeded both length and width at the same time. To change it to be either one or the other, then change the AND component to an OR.
sweet, works perfect! I added in a Planar Srf at the end so it will highlight the offending curves more.

Thank you for your help!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service