BPY plus v 1.6.1.
BPY plus project updated to v. 1.6.1.
- The collections module extended with new methods:
- all()
- active()
- parent()
BPY plus project updated to v. 1.6.1.
One of the common hints to get the user attention when performing certain actions is the changed appearance of the mouse pointer. In Blender, using the Python API, we can set the desired view for the cursor when we need.
To make a texture hidden in Blender so that it does not appear in the list of textures when selected in the Image Editor and is not found through the search, the texture name needs to start with a dot.
In Blender, the block of buttons for selecting an image in the Image Editor is placed in the header of the area by default. If necessary, it can also be placed in the user panel.
Placing the image selection block on the user panelRead More »
In some tools, for example, “eyedropper” or “selection by color”, it is necessary to get the value of the texture pixel that is currently under the mouse cursor. To get pixels data we need to know its coordinates in the texture space.
Sometimes it may be necessary to prevent the mouse cursor from going beyond the boundaries of a particular Blender area. For example, when grabbing and dragging a mesh with the mouse, the captured mesh should not leave the 3D Viewport area, not to be above another type of area, for example, above the Node Editor or Text Editor areas.
Locking the mouse cursor within the area in BlenderRead More »
Remote data storage is becoming more and more useful. Various online libraries of models, materials, textures and assets are becoming more and more popular. Databases are most often used to store data in such libraries. PostgreSQL is one of the most advanced and functional open source databases that we can connect to and work with through the Blender Python API.
With the Blender Python API we can very easily resize images, both common and .hdr or .exr environment maps. Any image loaded to Blender can be resized with the scale function.
We can programmatically add various types of strips – video, audio, images, and image sequences to the Video Sequence Editor with the Blender Python API.
Adding strips to the Blender Video Sequencer EditorRead More »
When we specifying the full path to save the rendered animation, we must correctly set the file extension, which will change depending on the codec chosen for packing animation.
The output file extension for animation with the Blender Python APIRead More »