Import Anim Operators

bpy.ops.import_anim.bvh(filepath="", filter_glob="*.bvh", target='ARMATURE', global_scale=1.0, frame_start=1, use_cyclic=False, rotate_mode='NATIVE', axis_forward='-Z', axis_up='Y')

Load a BVH motion capture file

  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • target (enum in [‘ARMATURE’, ‘OBJECT’], (optional)) – Target, Import target type.
  • global_scale (float in [0.0001, 1e+06], (optional)) – Scale, Scale the BVH by this value
  • frame_start (int in [-inf, inf], (optional)) – Start Frame, Starting frame for the animation
  • use_cyclic (boolean, (optional)) – Loop, Loop the animation playback
  • rotate_mode (enum in [‘QUATERNION’, ‘NATIVE’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’], (optional)) – Rotation, Rotation conversion.
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
File :


Previous topic

Image Operators

Next topic

Import Curve Operators