SubsurfModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.SubsurfModifier(Modifier)

Subdivision surface modifier

boundary_smooth

Controls how open boundaries are smoothed

  • PRESERVE_CORNERS Keep Corners, Smooth boundaries, but corners are kept sharp.

  • ALL All, Smooth boundaries, including corners.

Type

enum in [‘PRESERVE_CORNERS’, ‘ALL’], default ‘ALL’

levels

Number of subdivisions to perform

Type

int in [0, 11], default 1

quality

Accuracy of vertex positions, lower value is faster but less precise

Type

int in [1, 10], default 3

render_levels

Number of subdivisions to perform when rendering

Type

int in [0, 11], default 2

show_only_control_edges

Skip drawing/rendering of interior subdivided edges

Type

boolean, default True

subdivision_type

Select type of subdivision algorithm

Type

enum in [‘CATMULL_CLARK’, ‘SIMPLE’], default ‘CATMULL_CLARK’

use_creases

Use mesh edge crease information to sharpen edges

Type

boolean, default True

use_custom_normals

Interpolates existing custom normals to resulting mesh

Type

boolean, default False

use_limit_surface

Place vertices at the surface that would be produced with infinite levels of subdivision (smoothest possible shape)

Type

boolean, default False

uv_smooth

Controls how smoothing is applied to UVs

  • NONE None, UVs are not smoothed, boundaries are kept sharp.

  • PRESERVE_CORNERS Keep Corners, UVs are smoothed, corners on discontinuous boundary are kept sharp.

  • PRESERVE_BOUNDARIES All, UVs and boundaries are smoothed.

Type

enum in [‘NONE’, ‘PRESERVE_CORNERS’, ‘PRESERVE_BOUNDARIES’], default ‘PRESERVE_CORNERS’

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.Struct subclass

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