API
Adding buttons to Blender areas header
With the Python API we can customize Blender interface as we need. For example, we can place the most frequently used operators to the header (top menu) of any workspace area. This way we can assemble our own ribbon with “quick favorite” buttons.
Render a single frame for preview when rendering animation
When rendering animations in Blender, it’s often necessary to save one single frame for later use as a preview. Of course, we can do this manually, after finishing the animation rendering, switch to the desired frame and separately render it. However, with the Blender Python API, we can organize the automatic saving of the desired frame during the animation render.
Render a single frame for preview when rendering animationRead More »
Getting the next empty channel number in Sequence Editor with the Blender Python API
To add a new strip to the Sequence Editor programmatically, we need to know the channel number to place it. We can get the number of an empty channel in the Sequence Editor throug the Blender Python API by walking through the list of sequences already added to the Sequence Editor.
Getting the next empty channel number in Sequence Editor with the Blender Python APIRead More »
Adding video strip to the VSE sequencer with Blender Python API
The Blender Python API can be very useful not only for working with meshes or nodes but also when editing video files in the Video Sequence Editor.
Adding video strip to the VSE sequencer with Blender Python APIRead More »
Switching tabs in the Properties window with the Blender Python API
We can switch to the desired tab in the Properties window through the Blender Python API by changing the “context” value in the desired workspace area.
Switching tabs in the Properties window with the Blender Python APIRead More »
Accessing face_strength property from Blender Python API
The “face_strength” parameter is used in the Weighted Normal modifier to calculate normals. We can set and change its values by calling a special operator, or directly getting and setting its values through the Blender Python API.
Accessing face_strength property from Blender Python APIRead More »