Transform Operators¶
-
bpy.ops.transform.
bbone_resize
(value=1.0, 1.0, 1.0, orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, release_confirm=False, use_accurate=False)¶ Scale selected bendy bones display size
- Parameters
value (float array of 3 items in [-inf, inf], (optional)) – Display Size
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
bend
(value=0.0, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Bend selected items between the 3D cursor and the mouse
- Parameters
value (float array of 1 items in [-inf, inf], (optional)) – Angle
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
create_orientation
(name='', use_view=False, use=False, overwrite=False)¶ Create transformation orientation from selection
- Parameters
name (string, (optional, never None)) – Name, Name of the new custom orientation
use_view (boolean, (optional)) – Use View, Use the current view instead of the active object to create the new orientation
use (boolean, (optional)) – Use After Creation, Select orientation after its creation
overwrite (boolean, (optional)) – Overwrite Previous, Overwrite previously created orientation with same name
-
bpy.ops.transform.
delete_orientation
()¶ Delete transformation orientation
-
bpy.ops.transform.
edge_bevelweight
(value=0.0, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Change the bevel weight of edges
- Parameters
value (float in [-1, 1], (optional)) – Factor
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
edge_crease
(value=0.0, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Change the crease of edges
- Parameters
value (float in [-1, 1], (optional)) – Factor
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
edge_slide
(value=0.0, single_side=False, use_even=False, flipped=False, use_clamp=True, mirror=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, correct_uv=True, release_confirm=False, use_accurate=False)¶ Slide an edge loop along a mesh
- Parameters
value (float in [-10, 10], (optional)) – Factor
single_side (boolean, (optional)) – Single Side
use_even (boolean, (optional)) – Even, Make the edge loop match the shape of the adjacent edge loop
flipped (boolean, (optional)) – Flipped, When Even mode is active, flips between the two adjacent edge loops
use_clamp (boolean, (optional)) – Clamp, Clamp within the edge extents
mirror (boolean, (optional)) – Mirror Editing
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
correct_uv (boolean, (optional)) – Correct UVs, Correct UV coordinates when transforming
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
from_gizmo
()¶ Transform selected items by mode type
-
bpy.ops.transform.
mirror
(orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Mirror selected items around one or more axes
- Parameters
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
push_pull
(value=0.0, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Push/Pull selected items
- Parameters
value (float in [-inf, inf], (optional)) – Distance
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
resize
(value=1.0, 1.0, 1.0, orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, texture_space=False, remove_on_cancel=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Scale (resize) selected items
- Parameters
value (float array of 3 items in [-inf, inf], (optional)) – Scale
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
texture_space (boolean, (optional)) – Edit Texture Space, Edit Object data texture space
remove_on_cancel (boolean, (optional)) – Remove on Cancel, Remove elements on cancel
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
rotate
(value=0.0, orient_axis='Z', orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Rotate selected items
- Parameters
value (float in [-inf, inf], (optional)) – Angle
orient_axis (enum in ['X', 'Y', 'Z'], (optional)) – Axis
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
rotate_normal
(value=0.0, orient_axis='Z', orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, release_confirm=False, use_accurate=False)¶ Rotate split normal of selected items
- Parameters
value (float in [-inf, inf], (optional)) – Angle
orient_axis (enum in ['X', 'Y', 'Z'], (optional)) – Axis
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
select_orientation
(orientation='GLOBAL')¶ Select transformation orientation
- Parameters
orientation (enum in [], (optional)) – Orientation, Transformation orientation
-
bpy.ops.transform.
seq_slide
(value=0.0, 0.0, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Slide a sequence strip in time
- Parameters
value (float array of 2 items in [-inf, inf], (optional)) – Offset
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
shear
(value=0.0, orient_axis='Z', orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, release_confirm=False, use_accurate=False)¶ Shear selected items along the horizontal screen axis
- Parameters
value (float in [-inf, inf], (optional)) – Offset
orient_axis (enum in ['X', 'Y', 'Z'], (optional)) – Axis
orient_axis_ortho (enum in ['X', 'Y', 'Z'], (optional)) – Axis Ortho
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
shrink_fatten
(value=0.0, use_even_offset=False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Shrink/fatten selected vertices along normals
- Parameters
value (float in [-inf, inf], (optional)) – Offset
use_even_offset (boolean, (optional)) – Offset Even, Scale the offset to give more even thickness
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
skin_resize
(value=1.0, 1.0, 1.0, orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Scale selected vertices’ skin radii
- Parameters
value (float array of 3 items in [-inf, inf], (optional)) – Scale
orient_type (enum in [], (optional)) – Orientation, Transformation orientation
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in [], (optional)) – Matrix Orientation
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
tilt
(value=0.0, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Tilt selected control vertices of 3D curve
- Parameters
value (float in [-inf, inf], (optional)) – Angle
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
tosphere
(value=0.0, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Move selected vertices outward in a spherical shape around mesh center
- Parameters
value (float in [0, 1], (optional)) – Factor
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
trackball
(value=0.0, 0.0, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Trackball style rotation of selected items
- Parameters
value (float array of 2 items in [-inf, inf], (optional)) – Angle
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
transform
(mode='TRANSLATION', value=0.0, 0.0, 0.0, 0.0, orient_axis='Z', orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)¶ Transform selected items by mode type
- Parameters
mode (enum in ['INIT', 'DUMMY', 'TRANSLATION', 'ROTATION', 'RESIZE', 'SKIN_RESIZE', 'TOSPHERE', 'SHEAR', 'BEND', 'SHRINKFATTEN', 'TILT', 'TRACKBALL', 'PUSHPULL', 'CREASE', 'MIRROR', 'BONE_SIZE', 'BONE_ENVELOPE', 'BONE_ENVELOPE_DIST', 'CURVE_SHRINKFATTEN', 'MASK_SHRINKFATTEN', 'GPENCIL_SHRINKFATTEN', 'BONE_ROLL', 'TIME_TRANSLATE', 'TIME_SLIDE', 'TIME_SCALE', 'TIME_EXTEND', 'BAKE_TIME', 'BWEIGHT', 'ALIGN', 'EDGESLIDE', 'SEQSLIDE', 'GPENCIL_OPACITY'], (optional)) – Mode
value (float array of 4 items in [-inf, inf], (optional)) – Values
orient_axis (enum in ['X', 'Y', 'Z'], (optional)) – Axis
orient_type (enum in ['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR'], (optional)) –
Orientation, Transformation orientation
GLOBAL
Global, Align the transformation axes to world space.LOCAL
Local, Align the transformation axes to the selected objects’ local space.NORMAL
Normal, Align the transformation axes to average normal of selected elements (bone Y axis for pose mode).GIMBAL
Gimbal, Align each axis to the Euler rotation axis as used for input.VIEW
View, Align the transformation axes to the window.CURSOR
Cursor, Align the transformation axes to the 3D cursor.
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in ['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR'], (optional)) –
Matrix Orientation
GLOBAL
Global, Align the transformation axes to world space.LOCAL
Local, Align the transformation axes to the selected objects’ local space.NORMAL
Normal, Align the transformation axes to average normal of selected elements (bone Y axis for pose mode).GIMBAL
Gimbal, Align each axis to the Euler rotation axis as used for input.VIEW
View, Align the transformation axes to the window.CURSOR
Cursor, Align the transformation axes to the 3D cursor.
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
center_override (float array of 3 items in [-inf, inf], (optional)) – Center Override, Force using this center value (when set)
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
translate
(value=0.0, 0.0, 0.0, orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, cursor_transform=False, texture_space=False, remove_on_cancel=False, release_confirm=False, use_accurate=False, use_automerge_and_split=False)¶ Move selected items
- Parameters
value (float array of 3 items in [-inf, inf], (optional)) – Move
orient_type (enum in ['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR'], (optional)) –
Orientation, Transformation orientation
GLOBAL
Global, Align the transformation axes to world space.LOCAL
Local, Align the transformation axes to the selected objects’ local space.NORMAL
Normal, Align the transformation axes to average normal of selected elements (bone Y axis for pose mode).GIMBAL
Gimbal, Align each axis to the Euler rotation axis as used for input.VIEW
View, Align the transformation axes to the window.CURSOR
Cursor, Align the transformation axes to the 3D cursor.
orient_matrix (float multi-dimensional array of 3 * 3 items in [-inf, inf], (optional)) – Matrix
orient_matrix_type (enum in ['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR'], (optional)) –
Matrix Orientation
GLOBAL
Global, Align the transformation axes to world space.LOCAL
Local, Align the transformation axes to the selected objects’ local space.NORMAL
Normal, Align the transformation axes to average normal of selected elements (bone Y axis for pose mode).GIMBAL
Gimbal, Align each axis to the Euler rotation axis as used for input.VIEW
View, Align the transformation axes to the window.CURSOR
Cursor, Align the transformation axes to the 3D cursor.
constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
mirror (boolean, (optional)) – Mirror Editing
use_proportional_edit (boolean, (optional)) – Proportional Editing
proportional_edit_falloff (enum in ['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'], (optional)) –
Proportional Falloff, Falloff type for proportional editing mode
SMOOTH
Smooth, Smooth falloff.SPHERE
Sphere, Spherical falloff.ROOT
Root, Root falloff.INVERSE_SQUARE
Inverse Square, Inverse Square falloff.SHARP
Sharp, Sharp falloff.LINEAR
Linear, Linear falloff.CONSTANT
Constant, Constant falloff.RANDOM
Random, Random falloff.
proportional_size (float in [1e-06, inf], (optional)) – Proportional Size
use_proportional_connected (boolean, (optional)) – Connected
use_proportional_projected (boolean, (optional)) – Projected (2D)
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
gpencil_strokes (boolean, (optional)) – Edit Grease Pencil, Edit selected Grease Pencil strokes
cursor_transform (boolean, (optional)) – Transform Cursor
texture_space (boolean, (optional)) – Edit Texture Space, Edit Object data texture space
remove_on_cancel (boolean, (optional)) – Remove on Cancel, Remove elements on cancel
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
use_automerge_and_split (boolean, (optional)) – Auto Merge & Split, Forces the use of Auto Merge & Split
-
bpy.ops.transform.
vert_slide
(value=0.0, use_even=False, flipped=False, use_clamp=True, mirror=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, correct_uv=True, release_confirm=False, use_accurate=False)¶ Slide a vertex along a mesh
- Parameters
value (float in [-10, 10], (optional)) – Factor
use_even (boolean, (optional)) – Even, Make the edge loop match the shape of the adjacent edge loop
flipped (boolean, (optional)) – Flipped, When Even mode is active, flips between the two adjacent edge loops
use_clamp (boolean, (optional)) – Clamp, Clamp within the edge extents
mirror (boolean, (optional)) – Mirror Editing
snap (boolean, (optional)) – Use Snapping Options
snap_target (enum in ['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'], (optional)) –
Target
CLOSEST
Closest, Snap closest point onto target.CENTER
Center, Snap transformation center onto target.MEDIAN
Median, Snap median onto target.ACTIVE
Active, Snap active onto target.
snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
snap_align (boolean, (optional)) – Align with Point Normal
snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
correct_uv (boolean, (optional)) – Correct UVs, Correct UV coordinates when transforming
release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
use_accurate (boolean, (optional)) – Accurate, Use accurate transformation
-
bpy.ops.transform.
vertex_random
(offset=0.0, uniform=0.0, normal=0.0, seed=0, wait_for_input=True)¶ Randomize vertices
- Parameters
offset (float in [-inf, inf], (optional)) – Amount, Distance to offset
uniform (float in [0, 1], (optional)) – Uniform, Increase for uniform offset distance
normal (float in [0, 1], (optional)) – Normal, Align offset direction to normals
seed (int in [0, 10000], (optional)) – Random Seed, Seed for the random number generator
wait_for_input (boolean, (optional)) – Wait for Input
-
bpy.ops.transform.
vertex_warp
(warp_angle=6.28319, offset_angle=0.0, min=- 1, max=1.0, viewmat=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, center=0.0, 0.0, 0.0)¶ Warp vertices around the cursor
- Parameters
warp_angle (float in [-inf, inf], (optional)) – Warp Angle, Amount to warp about the cursor
offset_angle (float in [-inf, inf], (optional)) – Offset Angle, Angle to use as the basis for warping
min (float in [-inf, inf], (optional)) – Min
max (float in [-inf, inf], (optional)) – Max
viewmat (float multi-dimensional array of 4 * 4 items in [-inf, inf], (optional)) – Matrix
center (float array of 3 items in [-inf, inf], (optional)) – Center