Blender Api

Posted on  by 



Blender (blender.exe). Blender is a free and open source 3D animation suite. It supports the entirety of the 3D pipeline: modeling, rigging, animation, simulation, rendering, compositing and motion. Blender API Change Log. The Blender Python API has areas which are still in development. The following areas are subject to change. Mock for 'cubeadd' Blender API 8Observer8.

For objects rotation, we can use the “rotation_euler” property. This property is a list of three items, each of them corresponds to the rotation angle around the X, Y, and Z-axis. The otation_euler[0] contains the rotation angle around the X-axis, rotation_euler[1] – around the Y-axis, and rotation_euler[2] – around the Z-axis. To rotate an object we must set a rotation angle to the appropriate field of the property.

For example, to rotate an active object around the X-axis to the 90 degrees angle we must execute the following command: