Does anyone know of a quick and easy way to select N-Gons or polygons with more then 4 points in Houdini ?
I did a little Google search and all I could find is some pointer to Polydoctor. But strangely enough Polydoctor only repairs N-Gons but it doesn't let you create groups for N-Gons that could be selected later on.
Basic stuff one would think …
Thanks,
R
Select N-Gons
3254 4 1- toonafish
- Member
- 407 posts
- Joined: March 2014
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
PolyDoctor can mark any polys above quads.
Set 5+ Edges to Mark then set all the other options below to None.
This creates a poly attribute called valid_poly where all the invalid polygons are set to 0.
There is a visualizer option. In the Visualize tab turn on Invalid Polys to see the offending n-gons.
You can follow with a Blast SOP and in the group filed use:
and you can see all the invalid polys isolated.
Or use viewport selectors by attribute to do all this in the viewport if you want.
Set 5+ Edges to Mark then set all the other options below to None.
This creates a poly attribute called valid_poly where all the invalid polygons are set to 0.
There is a visualizer option. In the Visualize tab turn on Invalid Polys to see the offending n-gons.
You can follow with a Blast SOP and in the group filed use:
@valid_poly==0
Or use viewport selectors by attribute to do all this in the viewport if you want.
There's at least one school like the old school!
- toonafish
- Member
- 407 posts
- Joined: March 2014
- Offline
Ah, thanks. That was very helpful.
As a relative newbie I was looking for a more intuitive way to create a group for N-Gons because strangely enough the Polybevel SOP doesn't have a “selected/none-selected” option like the Delete SOP. Something I would expect in all SOPs that use groups, much easier then figuring out one has to use a “!” to invert the selected group.
As a relative newbie I was looking for a more intuitive way to create a group for N-Gons because strangely enough the Polybevel SOP doesn't have a “selected/none-selected” option like the Delete SOP. Something I would expect in all SOPs that use groups, much easier then figuring out one has to use a “!” to invert the selected group.
- Siavash Tehrani
- Member
- 710 posts
- Joined: July 2005
- Online
- toonafish
- Member
- 407 posts
- Joined: March 2014
- Offline
-
- Quick Links