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 displaying 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_CORNERS_AND_JUNCTIONS Keep Corners, Junctions, UVs are smoothed, corners on discontinuous boundary and junctions of 3 or more regions are kept sharp.

  • PRESERVE_CORNERS_JUNCTIONS_AND_CONCAVE Keep Corners, Junctions, Concave, UVs are smoothed, corners on discontinuous boundary, junctions of 3 or more regions and darts and concave corners are kept sharp.

  • PRESERVE_BOUNDARIES Keep Boundaries, UVs are smoothed, boundaries are kept sharp.

  • SMOOTH_ALL All, UVs and boundaries are smoothed.

Type

enum in [‘NONE’, ‘PRESERVE_CORNERS’, ‘PRESERVE_CORNERS_AND_JUNCTIONS’, ‘PRESERVE_CORNERS_JUNCTIONS_AND_CONCAVE’, ‘PRESERVE_BOUNDARIES’, ‘SMOOTH_ALL’], default ‘PRESERVE_BOUNDARIES’

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