Jump to content

Similar select


Houdini7

Recommended Posts

Hi, 

 

Maya has a similar selection function, which enables you to select some faces and then based on this selection to select other similar faces within a tolerance. 

Is there something similar in houdini? 

 

If not I want to build one myself. 

The idea is to select the outer edges of the selected faces and save the angles between the neighboring edges. Then loop ever all edges and look for neighbour edges which have the same angles within a tolerance. Someone has a better algorithm? 

So for this one needs the following vex functions:

* get outer edges of selection, how? There is a sop from animatrix, which does it. But to make it general one would go over all selected islands, so how to do this? 

* get the neighbour edge clockwise

Or get the points of an edge and then the edges of the point. Which vex functions are helpful? 

 

Thanks in advance! 

Link to comment
Share on other sites

18 hours ago, Houdini7 said:

to select some faces and then based on this selection to select other similar faces within a tolerance

what you describe reminds Pattern Selection

select a polygon (point/edge) and a next one with Shift

press Shift+P to create Valid Pattern

then > Shift+up arrow/ down arrow key (clockwise and counterclock-wise) (with Ctrl+Shift+up/down > Expand Forward/Backward to End)

or left and right arrows - to grow selection in other directions

with K you may prehighlight selection

and Ctrl+Shift+E > to Select Boundary Edges

 

Pattern Selection.gif

Edited by zlyu
Link to comment
Share on other sites

29 minutes ago, zlyu said:

what you describe reminds Pattern Selection

select a polygon (point/edge) and a next one with Shift

press Shift+P to create Valid Pattern

then > Shift+up arrow/ down arrow key (clockwise and counterclock-wise) (with Ctrl+Shift+up/down > Expand Forward/Backward to End)

or left and right arrows - to grow selection in other directions

with K you may prehighlight selection

and Ctrl+Shift+E > to Select Boundary Edges

 

Pattern Selection.gif

Thank you. Select similar works differently. You could select some faces which have unique forms, and then this pattern is searched on the whole object. In many cases pattern selection of houdini would not work in these cases. Could make some pics to clarify. 

Link to comment
Share on other sites

2 minutes ago, Houdini7 said:

Thank you. Select similar works differently. You could select some faces which have unique forms, and then this pattern is searched on the whole object. In many cases pattern selection of houdini would not work in these cases. Could make some pics to clarify. 

that's a pity it's not what you're after :)

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...