Jump to content

Detect Edges of n sided holes


Recommended Posts

Hey guys,

I'm ripping a mesh using the Granular Sheet method but i'm getting these popping holes around the ripped part.
If I use a group + unshared edges i'm able to select all the holes + ripped part.

Does anyone knows a way to select only the holes with an n amount of  sides? Let's say, holes with less than 8 sides only

I would really appreciate any other ideas on how to get rid of the holes. 

wc89N7C.gif wVtoIy0.jpg

Thank's
Alvaro

granular sheet - ripping it - Skybar - cap holes.rar

Link to comment
Share on other sites

I cannot download your file (.rar) but you can try using a divideSOP with Remove Shared Edges activated, then delete any primitive that has an area above a certain threshold:

in a primitive wrangle:

float measured_area = primintrinsic(0, "measuredarea", @primnum);
if (measured_area > ch("th"))  removeprim(geoself(), @primnum, 1);

 

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