DecimateModifier(Modifier)¶
base classes — bpy_struct, Modifier
-
class
bpy.types.DecimateModifier(Modifier)¶ Decimation modifier
-
angle_limit¶ Only dissolve angles below this (planar only)
- Type
float in [0, 3.14159], default 0.0872665
-
decimate_type¶ COLLAPSECollapse, Use edge collapsing.UNSUBDIVUn-Subdivide, Use un-subdivide face reduction.DISSOLVEPlanar, Dissolve geometry to form planar polygons.
- Type
enum in [‘COLLAPSE’, ‘UNSUBDIV’, ‘DISSOLVE’], default ‘COLLAPSE’
-
delimit¶ Limit merging geometry
NORMALNormal, Delimit by face directions.MATERIALMaterial, Delimit by face material.SEAMSeam, Delimit by edge seams.SHARPSharp, Delimit by sharp edges.UVUVs, Delimit by UV coordinates.
- Type
enum set in {‘NORMAL’, ‘MATERIAL’, ‘SEAM’, ‘SHARP’, ‘UV’}, default {‘NORMAL’}
-
face_count¶ The current number of faces in the decimated mesh
- Type
int in [-inf, inf], default 0, (readonly)
-
invert_vertex_group¶ Invert vertex group influence (collapse only)
- Type
boolean, default False
-
iterations¶ Number of times reduce the geometry (unsubdivide only)
- Type
int in [0, 32767], default 0
-
ratio¶ Ratio of triangles to reduce to (collapse only)
- Type
float in [0, 1], default 1.0
-
symmetry_axis¶ Axis of symmetry
- Type
enum in [‘X’, ‘Y’, ‘Z’], default ‘X’
-
use_collapse_triangulate¶ Keep triangulated faces resulting from decimation (collapse only)
- Type
boolean, default False
-
use_dissolve_boundaries¶ Dissolve all vertices in between face boundaries (planar only)
- Type
boolean, default False
-
use_symmetry¶ Maintain symmetry on an axis
- Type
boolean, default False
-
vertex_group¶ Vertex group name (collapse only)
- Type
string, default “”, (never None)
-
vertex_group_factor¶ Vertex group strength
- Type
float in [0, 1000], default 1.0
-
classmethod
bl_rna_get_subclass(id, default=None)¶ - Parameters
id (string) – The RNA type identifier.
- Returns
The RNA type or default when not found.
- Return type
bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ - Parameters
id (string) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type
-
Inherited Properties
Inherited Functions