ShrinkwrapModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.ShrinkwrapModifier(Modifier)

Shrink wrapping modifier to shrink wrap and object to a target

auxiliary_target

Additional mesh target to shrink to

Type:

Object

cull_face

Stop vertices from projecting to a face on the target when facing towards/away (default 'OFF')

Type:

Literal[Shrinkwrap Face Cull Items]

invert_vertex_group

Invert vertex group influence (default False)

Type:

bool

offset

Distance to keep from the target (in [-inf, inf], default 0.0)

Type:

float

project_limit

Limit the distance used for projection (zero disables) (in [0, inf], default 0.0)

Type:

float

subsurf_levels

Number of subdivisions that must be performed before extracting vertices’ positions and normals (in [0, 6], default 0)

Type:

int

target

Mesh target to shrink to

Type:

Object

use_invert_cull

When projecting in the negative direction invert the face cull mode (default False)

Type:

bool

use_negative_direction

Allow vertices to move in the negative direction of axis (default False)

Type:

bool

use_positive_direction

Allow vertices to move in the positive direction of axis (default True)

Type:

bool

use_project_x

(default False)

Type:

bool

use_project_y

(default False)

Type:

bool

use_project_z

(default False)

Type:

bool

vertex_group

Vertex group name (default “”, never None)

Type:

str

wrap_method

(default 'NEAREST_SURFACEPOINT')

Type:

Literal[Shrinkwrap Type Items]

wrap_mode

Select how vertices are constrained to the target surface (default 'ON_SURFACE')

Type:

Literal[Modifier Shrinkwrap Mode 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