TriangulateModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.TriangulateModifier(Modifier)

Triangulate Mesh

keep_custom_normals

Try to preserve custom normals. Warning: Depending on chosen triangulation method, shading may not be fully preserved, “Fixed” method usually gives the best result here

(default False)

Type:

bool

min_vertices

Triangulate only polygons with vertex count greater than or equal to this number (in [4, inf], default 4)

Type:

int

ngon_method

Method for splitting the n-gons into triangles (default 'BEAUTY')

Type:

Literal[Modifier Triangulate Ngon Method Items]

quad_method

Method for splitting the quads into triangles (default 'SHORTEST_DIAGONAL')

Type:

Literal[Modifier Triangulate Quad Method Items]

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions