select_faces_by_sides
Find mesh faces of specific side counts to isolate ngons or triangles for topology cleanup. Use comparison operators (EQUAL, GREATER, LESS, NOTEQUAL) to filter faces.
Instructions
Select faces by how many sides they have.
The direct way to find ngons (GREATER than 4) or triangles (EQUAL to 3), which is what topology cleanup usually needs.
Args: object_name: Name of the mesh object. number: Number of sides to compare against. A face has at least 3. comparison: One of: LESS, EQUAL, GREATER, NOTEQUAL. extend: Add to the current selection instead of replacing it.
Returns: Dict with how many faces were selected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extend | No | ||
| number | No | ||
| comparison | No | EQUAL | |
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||