Package bpy :: Package ops :: Module armature
[hide private]
[frames] | no frames]

Module armature

Functions [hide private]
 
align()
Align selected bones to the active bone (or to their parent).
 
armature_layers(layers=(False, False, False, False, False, False, False, False, False...)
Change the visible armature layers.
 
autoside_names(type='XAXIS')
Automatically renames the selected bones according to which side of the target axis they fall on.
 
bone_layers(layers=(False, False, False, False, False, False, False, False, False...)
Change the layers that the selected bones belong to.
 
bone_primitive_add(name='Bone')
(undocumented operator)
 
calculate_roll(type='GLOBALUP')
(undocumented operator)
 
click_extrude()
(undocumented operator)
 
delete()
(undocumented operator)
 
duplicate()
(undocumented operator)
 
duplicate_move()
(undocumented operator)
 
extrude(forked=False)
(undocumented operator)
 
extrude_forked()
(undocumented operator)
 
extrude_move()
(undocumented operator)
 
fill()
Add bone between selected joint(s) and/or 3D-Cursor.
 
flags_set(type='DRAWWIRE', mode='CLEAR')
Set flags for armature bones.
 
flip_names()
Flips (and corrects) the names of selected bones.
 
merge(type='WITHIN_CHAIN')
Merge continuous chains of selected bones.
 
parent_clear(type='CLEAR')
(undocumented operator)
 
parent_set(type='CONNECTED')
(undocumented operator)
 
select_all(action='TOGGLE')
(undocumented operator)
 
select_hierarchy(direction='PARENT', extend=False)
(undocumented operator)
 
select_inverse()
(undocumented operator)
 
select_linked(extend=False)
(undocumented operator)
 
separate()
Isolate selected bones into a separate armature.
 
subdivide_multi(number_cuts=2)
(undocumented operator)
 
subdivide_simple()
(undocumented operator)
 
subdivs(type='SIMPLE', number_cuts=2)
(undocumented operator)
 
switch_direction()
(undocumented operator)
Function Details [hide private]

armature_layers(layers=(False, False, False, False, False, False, False, False, False...)

 

Change the visible armature layers.

Parameters:
  • layers (boolean array of 32 items)

autoside_names(type='XAXIS')

 

Automatically renames the selected bones according to which side of the target axis they fall on.

Parameters:
  • type (enum) - Axis tag names with. in (XAXIS, YAXIS, ZAXIS)

bone_layers(layers=(False, False, False, False, False, False, False, False, False...)

 

Change the layers that the selected bones belong to.

Parameters:
  • layers (boolean array of 32 items)

bone_primitive_add(name='Bone')

 

(undocumented operator)

Parameters:
  • name (string)

calculate_roll(type='GLOBALUP')

 

(undocumented operator)

Parameters:
  • type (enum) - in (GLOBALUP, CURSOR)

extrude(forked=False)

 

(undocumented operator)

Parameters:
  • forked (boolean)

flags_set(type='DRAWWIRE', mode='CLEAR')

 

Set flags for armature bones.

Parameters:
  • type (enum) - in (DRAWWIRE, DEFORM, MULT_VG, HINGE, NO_SCALE, LOCKED)
  • mode (enum) - in (CLEAR, ENABLE, TOGGLE)

merge(type='WITHIN_CHAIN')

 

Merge continuous chains of selected bones.

Parameters:
  • type (enum) - in (WITHIN_CHAIN)

parent_clear(type='CLEAR')

 

(undocumented operator)

Parameters:
  • type (enum) - What way to clear parenting in (CLEAR, DISCONNECT)

parent_set(type='CONNECTED')

 

(undocumented operator)

Parameters:
  • type (enum) - Type of parenting in (CONNECTED, OFFSET)

select_all(action='TOGGLE')

 

(undocumented operator)

Parameters:
  • action (enum) - Selection action to execute in (TOGGLE, SELECT, DESELECT, INVERT)

select_hierarchy(direction='PARENT', extend=False)

 

(undocumented operator)

Parameters:
  • direction (enum) - in (PARENT, CHILD)
  • extend (boolean)

select_linked(extend=False)

 

(undocumented operator)

Parameters:
  • extend (boolean)

subdivide_multi(number_cuts=2)

 

(undocumented operator)

Parameters:
  • number_cuts (int) - in (1, inf)

subdivs(type='SIMPLE', number_cuts=2)

 

(undocumented operator)

Parameters:
  • type (enum) - in (SIMPLE, MULTI)
  • number_cuts (int) - in (1, inf)