Jump to content

Grouping unshared "in-line" edges


konstantin magnus

Recommended Posts

Hey :)

Just something I would do in a wrangle or group expression SOP

//  running over points:

@group_entryPt = neighbourcount(0, @ptnum)==2;

// 

then you just add a group promote, converting it to an edge group (with the checkbox ticked of only include complete entities (or whatever it was called, don't have hou open atm :P))

Edit:

That should at least work for the single extreme edge-entry points.

For the doubles and up, you probably have to do a bit more,
but generally speaking, using the amount of neigbours of a point and the amount of vertices on a point together should work on "2d" geometry, I think ;)
but you may have to create the groups directly in vex, to avoid grouping unintended edges.

But to avoid selecting edges on both sides of a corner separately, you would have to add additional logic (as soon as you allow those double-edge entry points)
if its only 1 and 2 edges you probably can get away with case-by-case handling, if you want to go up to an arbitrary amount of edges, its just will have to get more complicated I guess :P

Edited by acey195
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...