ShrinkwrapModifier(Modifier)¶
base classes — bpy_struct, Modifier
- class bpy.types.ShrinkwrapModifier(Modifier)¶
Shrink wrapping modifier to shrink wrap and object to a target
- cull_face¶
Stop vertices from projecting to a face on the target when facing towards/away
OFFOff, No culling.FRONTFront, No projection when in front of the face.BACKBack, No projection when behind the face.
- Type
enum in [‘OFF’, ‘FRONT’, ‘BACK’], default ‘OFF’
- invert_vertex_group¶
Invert vertex group influence
- Type
boolean, default False
- 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
- use_invert_cull¶
When projecting in the negative direction invert the face cull mode
- 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 True
- 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_SURFACEPOINTNearest Surface Point, Shrink the mesh to the nearest target surface.PROJECTProject, Shrink the mesh to the nearest target surface along a given axis.NEAREST_VERTEXNearest Vertex, Shrink the mesh to the nearest target vertex.TARGET_PROJECTTarget Normal Project, Shrink the mesh to the nearest target surface along the interpolated vertex normals of the target.
- Type
enum in [‘NEAREST_SURFACEPOINT’, ‘PROJECT’, ‘NEAREST_VERTEX’, ‘TARGET_PROJECT’], default ‘NEAREST_SURFACEPOINT’
- wrap_mode¶
Select how vertices are constrained to the target surface
ON_SURFACEOn Surface, The point is constrained to the surface of the target object, with distance offset towards the original point location.INSIDEInside, The point is constrained to be inside the target object.OUTSIDEOutside, The point is constrained to be outside the target object.OUTSIDE_SURFACEOutside Surface, The point is constrained to the surface of the target object, with distance offset always to the outside, towards or away from the original location.ABOVE_SURFACEAbove Surface, The point is constrained to the surface of the target object, with distance offset applied exactly along the target normal.
- Type
enum in [‘ON_SURFACE’, ‘INSIDE’, ‘OUTSIDE’, ‘OUTSIDE_SURFACE’, ‘ABOVE_SURFACE’], default ‘ON_SURFACE’
- 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