base class — bpy_struct
Editmode bone in an Armature datablock
Length of first Bezier Handle (for B-Bones only)
Type: | float in [0, 2], default 0.0 |
---|
Length of second Bezier Handle (for B-Bones only)
Type: | float in [0, 2], default 0.0 |
---|
Number of subdivisions of bone (for B-Bones only)
Type: | int in [1, 32], default 0 |
---|
B-Bone X size
Type: | float in [0, 1000], default 0.0 |
---|
B-Bone Z size
Type: | float in [0, 1000], default 0.0 |
---|
Bone deformation distance (for Envelope deform only)
Type: | float in [0, 1000], default 0.0 |
---|
Bone deformation weight (for Envelope deform only)
Type: | float in [0, 1000], default 0.0 |
---|
Location of head end of the bone
Type: | float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) |
---|
Radius of head of bone (for Envelope deform only)
Type: | float in [0, inf], default 0.0 |
---|
Bone is not visible when in Edit Mode
Type: | boolean, default False |
---|
Bone is able to be selected
Type: | boolean, default False |
---|
Layers bone exists in
Type: | boolean array of 32 items, default (False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False) |
---|
Bone is not able to be transformed when in Edit Mode
Type: | boolean, default False |
---|
Read-only matrix calculated from the roll (armature space)
Type: | float array of 16 items in [-inf, inf], default (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), (readonly) |
---|
Type: | string, default “”, (never None) |
---|
Bone rotation around head-tail axis
Type: | float in [-inf, inf], default 0.0 |
---|
Type: | boolean, default False |
---|
Type: | boolean, default False |
---|
Type: | boolean, default False |
---|
Bone is always drawn as Wireframe regardless of viewport draw mode (useful for non-obstructive custom bone shapes)
Type: | boolean, default False |
---|
Location of tail end of the bone
Type: | float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) |
---|
Radius of tail of bone (for Envelope deform only)
Type: | float in [0, inf], default 0.0 |
---|
When bone has a parent, bone’s head is stuck to the parent’s tail
Type: | boolean, default False |
---|
When bone doesn’t have a parent, it receives cyclic offset effects (Deprecated)
Type: | boolean, default False |
---|
Enable Bone to deform geometry
Type: | boolean, default False |
---|
When deforming bone, multiply effects of Vertex Group weights with Envelope influence
Type: | boolean, default False |
---|
Bone inherits rotation or scale from parent bone
Type: | boolean, default False |
---|
Bone inherits scaling from parent bone
Type: | boolean, default False |
---|
Bone location is set in local space
Type: | boolean, default False |
---|
Object children will use relative transform, like deform
Type: | boolean, default False |
---|
The name of this bone before any ‘.’ character (readonly)
The midpoint between the head and the tail. (readonly)
A list of all the bones children. (readonly)
A list of all children from this bone. (readonly)
Returns a chain of children with the same base name as this bone. Only direct chains are supported, forks caused by multiple children with matching base names will terminate the function and not be returned. (readonly)
The distance from head to tail, when set the head is moved to fit the length.
A list of parents, starting with the immediate parent (readonly)
The direction this bone is pointing. Utility function for (tail - head) (readonly)
Vector pointing down the x-axis of the bone. (readonly)
Vector pointing down the y-axis of the bone. (readonly)
Vector pointing down the z-axis of the bone. (readonly)
Align the bone to a localspace roll so the Z axis points in the direction of the vector given
Parameters: | vector (float array of 3 items in [-inf, inf]) – Vector |
---|
Align this bone to another by moving its tail and settings its roll the length of the other bone is not used.
The same as ‘bone in other_bone.parent_recursive’ but saved generating a list.
Transform the the bones head, tail, roll and envelope (when the matrix has a scale component).
Parameters: |
|
---|
Utility function to add vec to the head and tail of this bone
Inherited Properties
Inherited Functions
References