Jump to content
seth_ro18

Inverting an edge group selection

Recommended Posts

Hi, in the Group Geometry node, I am selecting a group of edges with the "Edge Depth" option in the Edges tab. (Given a point group, it selects all edges of the prims that are adjacent to the points in that point group.) I would like to invert the edge selection (not the prim or point group) then delete all prims adjacent to the edges in that inverted selection. How can I achieve this? The group node is only outputting point or prim selections, but I want the edges. Thanks!

Share this post


Link to post
Share on other sites

Try this Seth! (doesn't look like edge selection in this image, I don't know why, it's edge depth. In any case, it works with edge angle as well)

inverted.hipnc

post-4013-12938418619_thumb.jpg

post-4013-129384186671_thumb.jpg

Edited by Macha

Share this post


Link to post
Share on other sites

Thanks, what you have is close, but I don't want any overlapping green edges between the selection and its inverse. Something like the attached images.

I think the difficulty is that the Group node is still doing Point or Prim selection, and not edge selection, so it does not know how to get the exact inverse of edges, which is exactly what I need. Is that even possible?

Happy New Year!

post-4798-129390704932_thumb.jpg

post-4798-129390706188_thumb.jpg

Share this post


Link to post
Share on other sites

In this particular case you can achieve that by changing the Edge Depth parameter so that they differ by 1 for each of the two nodes.

Edited by Macha

Share this post


Link to post
Share on other sites

It looks like the two edge groups still share boundary edges, which unfortunately will not work for my case. I will try to set up a more specific example of my problem and get back. I really appreciate you looking into this!

Share this post


Link to post
Share on other sites

if you want to use that group to delete primitives, then convert it to primitive group first in edit/convert tab of group SOP, there is an option to include only primitives with all points selected or not depending on your needs

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×