# 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

    - `OFF` Off, No culling.
    - `FRONT` Front, No projection when in front of the face.
    - `BACK` Back, No projection when behind the face.

    Type: | enum in [‘OFF’, ‘FRONT’, ‘BACK’], default ‘OFF’

  `offset`

    Distance to keep from the target

    Type: | float in [-inf, inf], default 0.0

  `project_limit`

    Limit the distance used for projection (zero disables)

    Type: | float in [0, inf], default 0.0

  `subsurf_levels`

    Number of subdivisions that must be performed before extracting vertices’ positions and normals

    Type: | int in [0, 6], default 0

  `target`

    Mesh target to shrink to

    Type: | `Object`

  `use_keep_above_surface`

    Type: | boolean, default False

  `use_negative_direction`

    Allow vertices to move in the negative direction of axis

    Type: | boolean, default False

  `use_positive_direction`

    Allow vertices to move in the positive direction of axis

    Type: | boolean, default False

  `use_project_x`

    Type: | boolean, default False

  `use_project_y`

    Type: | boolean, default False

  `use_project_z`

    Type: | boolean, default False

  `vertex_group`

    Vertex group name

    Type: | string, default “”, (never None)

  `wrap_method`
    - `NEAREST_SURFACEPOINT` Nearest Surface Point, Shrink the mesh to the nearest target surface.
    - `PROJECT` Project, Shrink the mesh to the nearest target surface along a given axis.
    - `NEAREST_VERTEX` Nearest Vertex, Shrink the mesh to the nearest target vertex.

    Type: | enum in [‘NEAREST_SURFACEPOINT’, ‘PROJECT’, ‘NEAREST_VERTEX’], default ‘NEAREST_SURFACEPOINT’

Inherited Properties

`bpy_struct.id_data` `Modifier.name` `Modifier.type` `Modifier.show_viewport` `Modifier.show_render` | `Modifier.show_in_editmode` `Modifier.show_on_cage` `Modifier.show_expanded` `Modifier.use_apply_on_spline`

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`