---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/polygonmodifier
---

# PolygonModifier

## Overview

`PolygonModifier` is a class in Aspose.3D FOSS for Python.

PolygonModifier.triangulate implements an ear‑clipping algorithm to reliably triangulate arbitrary polygons.

This class declares 2 methods for PolygonModifier objects in Python programs.
Available methods include: `process_node`, `triangulate`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `triangulate(arg1, arg2, arg3, arg4)` → `Union[None, 'Mesh', List[List[int]]]` | Can return None, a Mesh object, or a list of triangle index arrays, giving developers flexibility in handling polygon data |
| `process_node(node)` | Processes the given node to apply polygon modifications |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)