user: What is Bpy.Types.Editbone and how is it used in Blender Python scripting?

assistant: ral shape. STICK Stick – Display bones as simple 2D lines with dots. BBONE B-Bone – Display bones as boxes, showing subdivision and B-Splines. ENVELOPE Envelope – Display bones as extruded spheres, showing deformation influence volume. WIRE Wire – Display bones as thin wires, showing subdivision and B-Splines. Type : enum in [ 'ARMATURE_DEFINED' , 'OCTAHEDRAL' , 'STICK' , 'BBONE' , 'ENVELOPE' , 'WIRE' ], default 'OCTAHEDRAL' envelope_distance ¶ Bone deformation distance (for Envelope deform only) Type : float in [0, 1000], default 0.0 envelope_weight ¶ Bone deformation weight (for Envelope deform only) Type : float in [0, 1000], default 0.0 head ¶ Location of head end of the bone Type : mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) head_radius ¶ Radius of head of bone (for Envelope deform only) Type : float in [-inf, inf], default 0.0 hide ¶ Bone is not visible when in Edit Mode Type : boolean, default False hide_select ¶ Bone is able to be selected Type : boolean, default False inherit_scale ¶ Specifies how the bone inherits scaling from the parent bone FULL Full – Inherit all effects of parent scaling. FIX_SHEAR Fix Shear – Inherit scaling, but remove shearing of the child in the rest orientation. ALIGNED Aligned – Rotate non-uniform parent scaling to align with the child, applying parent X scale to child X axis, and so forth. AVERAGE Average – Inherit uniform scaling representing the overall change in the volume of the parent. NONE None – Completely ignore parent scaling. NONE_LEGACY None (Legacy) – Ignore parent scaling without compensating for parent shear. Replicates the effect of disabling the original Inherit Scale checkbox.. Type : enum in [ 'FULL' , 'FIX_SHEAR' , 'ALIGNED' , 'AVERAGE' , 'NONE' , 'NONE_LEGACY' ], default 'FULL' length ¶ Length of the bone. Changing moves the tail end. Type : float in [0, inf], default 0.0 lock ¶ Bone is not able to be transformed when in Edit Mode Type : boolean, default False matrix ¶ Matrix combining location and rotation of the bone (head position, direction and roll), in armature space (does not include/support bone’s length/size) Type : mathutils.Matrix of 4 * 4 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)) name ¶ Type : string, default “”, (never None) parent ¶ Parent edit bone (in same Armature) Type : EditBone roll ¶ Bone rotation around head-tail axis Type : float in [-inf, inf], default 0.0 select ¶ Type : boolean, default False select_head ¶ Type : boolean, default False select_tail ¶ Type : boolean, default False show_wire ¶ Bone is always displayed in wireframe regardless of viewport shading mode (useful for non-obstructive custom bone shapes) Type : boolean, default False tail ¶ Location of tail end of the bone Type : mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) tail_radius ¶ Radius of tail of bone (for Envelope deform only) Type : float in [-inf, inf], default 0.0 use_connect ¶ When bone has a parent, bone’s head is stuck to the parent’s tail Type : boolean, default False use_cyclic_offset ¶ When bone does not have a parent, it receives cyclic offset effects (Deprecated) Type : boolean, default False use_deform ¶ Enable Bone to deform geometry Type : boolean, default False use_endroll_as_inroll ¶ Add Roll Out of the Start Handle bone to the Roll In value Type : boolean, default False use_envelope_multiply ¶ When deforming bone, multiply effects of Vertex Group weights with Envelope influence Type : boolean, default False use_inherit_rotation ¶ Bone inherits rotation or scale from parent bone Type : boolean, default False use_local_location ¶ Bone location is set in local space Type : boolean, default False use_relative_parent ¶ Object children will use relative transform, like deform Type : boolean, default False use_scale_easing ¶ Multiply the final easing values by the Scale In/Out Y factors Type : boolean, default False basename ¶ The name of this bone before any . character. (readonly) center ¶ The midpoint between the head and the tail. (readonly) children ¶ A list of all the bones children. Note Takes O(len(bones)) time. (readonly) children_recursive ¶ A list of all children from this bone. Note Takes O(len(bones)**2) time. (readonly) children_recursive_basename ¶ 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. Note Takes O(len(bones)**2) time. (readonly) parent_recursive ¶ A list of parents, starting with the immediate parent. (readonly) vector ¶ The direction this bone is pointing. Utility function for (tail - head) (readonly) x_axis ¶ Vector pointing down the x-axis of the bone. (readonly) y_axis ¶ Vector pointing down the y-axis of the bone. (readonly) z_axis ¶ Vector pointing down the z-axis of the bone. (readonly) bl_system_properties_get ( * , do_create = False ) ¶ DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data Parameters : do_create ( boolean , ( optional ) ) – Ensure that system properties are created if they do not exist yet Returns : The system properties root container, or None if there are no system properties stored in this data yet, and its creation was not requested Return type : PropertyGroup align_roll ( vector ) ¶ Align the bone to a local-space roll so the Z axis points in the direction of the vector given Parameters : vector ( mathutils.Vector of 3 items in [-inf, inf]) – Vector align_orientation ( other ) ¶ Align this bone to another by moving its tail and settings its roll the length of the other bone is not used. parent_index ( parent_test ) ¶ The same as ‘bone in other_bone.parent_recursive’ but saved generating a list. transform ( matrix , * , scale = True , roll = True ) ¶ Transform the bones head, tail, roll and envelope (when the matrix has a scale component). Parameters : matrix ( mathutils.Matrix ) – 3x3 or 4x4 transformation matrix. scale ( bool ) – Scale the bone envelope by the matrix. roll ( bool ) – Correct the roll to point in the same relative direction to the head and tail. translate ( vec ) ¶ Utility function to add vec to the head and tail of this bone. classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library 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_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ bpy.context.active_bone bpy.context.edit_bone bpy.context.editable_bones bpy.context.selected_bones bpy.context.selected_editable_bones bpy.context.visible_bones Armature.edit_bones ArmatureEditBones.active ArmatureEditBones.new ArmatureEditBones.remove EditBone.bbone_custom_handle_end EditBone.bbone_custom_handle_start EditBone.parent Next EffectStrip(Strip) Previous EdgeSplitModifier(Modifier) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page EditBone(bpy_struct) EditBone EditBone.bbone_curveinx EditBone.bbone_curveinz EditBone.bbone_curveoutx EditBone.bbone_curveoutz EditBone.bbone_custom_handle_end EditBone.bbone_custom_handle_start EditBone.bbone_easein EditBone.bbone_easeout EditBone.bbone_handle_type_end EditBone.bbone_handle_type_start EditBone.bbone_handle_use_ease_end EditBone.bbone_handle_use_ease_start EditBone.bbone_handle_use_scale_end EditBone.bbone_handle_use_scale_start EditBone.bbone_mapping_mode EditBone.bbone_rollin EditBone.bbone_rollout EditBone.bbone_scalein EditBone.bbone_scaleout EditBone.bbone_segments EditBone.bbone_x EditBone.bbone_z EditBone.collections EditBone.color EditBone.display_type EditBone.envelope_distance EditBone.envelope_weight EditBone.head EditBone.head_radius EditBone.hide EditBone.hide_select EditBone.inherit_scale EditBone.length EditBone.lock EditBone.matrix EditBone.name EditBone.parent EditBone.roll EditBone.select EditBone.select_head EditBone.select_tail EditBone.show_wire EditBone.tail EditBone.tail_radius EditBone.use_connect EditBone.use_cyclic_offset EditBone.use_deform EditBone.use_endroll_as_inroll EditBone.use_envelope_multiply EditBone.use_inherit_rotation EditBone.use_local_location EditBone.use_relative_parent EditBone.use_scale_easing EditBone.basename EditBone.center EditBone.children EditBone.children_recursive EditBone.children_recursive_basename EditBone.parent_recursive EditBone.vector EditBone.x_axis EditBone.y_axis EditBone.z_axis EditBone.bl_system_properties_get() EditBone.align_roll() EditBone.align_orientation() EditBone.parent_index() EditBone.transform() EditBone.translate() EditBone.bl_rna_get_subclass() EditBone.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References