Jump to content
Sign in to follow this  
lacer8

Procedurally Select Points on Outside Corners

Recommended Posts

Hi there and thanks in advance for any help. 

I have a node that does some damage to imported meshes. In one part of it, I want to get only the points from the outside corners of an imported mesh. I thought this was working, but it turns out that with more complex shapes, my current method fails, and the results are undependable. I've attached an image that I hope explains better what I want. 

This seems like a simple and basic thing. I searched here, but the other topics that test for corners are flat polygons or curves. 

Thanks again! 

outside-corner-selection.jpg

Share this post


Link to post
Share on other sites

Nevermind. I found a way... Hopefully it'll stand up to testing. Basically, I bevel the edges, measure the curvature, create a group based on concavity, delete non-selected points (seems like concavity and convexity are reversed in meaning in Houdini), fuse them just to make sure there's only one point on a corner, and then I add the normals back in because I need them later for orientation on copy to points. So far this is leaving me with only the points I want. 

outside-corner-selection_fix.jpg

Share this post


Link to post
Share on other sites

Measure SOP

Parameters:

Element Type:Points

Measure: Curvature (Principal)

 

Group: points with @curvature>0 

 

Polybevel previous group

Less likely to break...

damage2.thumb.png.c782229f9e833a772a92c5942919249f.png

  • Thanks 1

Share this post


Link to post
Share on other sites

That's a pretty slick method for selecting those points. Thanks for the suggestion! 

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
Sign in to follow this  

×