LukeLetellier Posted February 9, 2016 Share Posted February 9, 2016 Is there a way to automatically place polygon islands into their own individual groups? See screenshot. Once I have them in their own groups, I'll be able to get the bbox dimensions of each island, and (theoreticaly) place a point at the center, and a sphere on the point - using the bbox data to size the spheres so that they fit perfectly in the island. That's the goal at least. But I need to group them first, and that's where I'm struggling. Thanks! Luke Quote Link to comment Share on other sites More sharing options...
carlo_c Posted February 9, 2016 Share Posted February 9, 2016 Looks like you can do it using the Partition SOP, here's a quick file thrown together to show it working group_polygon_islands.hipnc 2 1 Quote Link to comment Share on other sites More sharing options...
mestela Posted February 9, 2016 Share Posted February 9, 2016 (edited) A connectivity or assemble sop will identify islands for you. Can then feed that directly to a for-each loop, and a bound sop in sphere mode. spheres_from_islands.hip (edit) ahh, pipped at the post by carlos! Edited February 9, 2016 by mestela Quote Link to comment Share on other sites More sharing options...
LukeLetellier Posted February 9, 2016 Author Share Posted February 9, 2016 Beautiful! Thank you both! I figured it would need a SOP or two that didn't have the word "group" in their names. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.