algorithmic modeling for Rhino
Hi guys,
I've got a problem with selecting breps that intersecting an interpolate line. Can anyone help me?I've got a grid of brep components made out of tetrahedrons and octahedrons and a green curve that cuts through these objects. I want to only select the breps that are intersecting the green curve. Any idea how to go about doing so?
Tags:
Make sure your Breps are grafted and your Curve is flattened. Then get the list length of the intersection results, and test whether or not it is equal to 0. Use the boolean result of the Equals component as the pattern by which to dispatch your original list of Breps.
Hi Andrew, thanks for the quick response. by any chance you could show me the components? this is my first go at grasshopper and i can only figure out till getting the list length...
an idea
Hi Fernando,
it's works like a charm! thanks! now the hard part is understanding what you just did! hahah
Thanks a lot :)
Andrew
Very clever use of lists to obtain a geometric result!
only you would add the function to join breps selecting only the tetrahedra. the oppositemay select any triangle.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by