Grasshopper

algorithmic modeling for Rhino

I have a geometry component that contain either meshes, breps or a mix of them. From that component I want to filter out meshes and breps separately. Is there a way to do that in a faster and more elegant way than my solution below?

The only solution I've found so far is to use an Evaluate component to filter out meshes and breps by using their name. Which works but with 20k-100k+ geometry it's not a particularly fast and elegant solution. 

See attached screenshot with 3 different approacesh where no. 3 is the above and the only one that works. No. 1 & 2 are more elegant and probably much faster, but as far as I know they can't provide the functionality I want..? 

All help appreciated

All the best

Mikael

Views: 577

Attachments:

Replies to This Discussion

The Human tool (fantastically useful for many things - thank you, Andrew Heumann!) does this with the "SortByType" component. 

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