Blender add-on: BIS v. 1.9.1.

BIS (Blender Interplanety Storage) updated to v.1.9.1.

  • All materials in the database have been updated for the new data storage format.
  • The current version fixes the final transition to the new format. Please update the addon to the current version and no longer use the previous ones.
  • The base of materials with the previous format is saved in the archive. If you have any difficulties with your materials, it is always possible to restore the material from the previous backup version. To do that please contact the BIS administration.

Download

Blender add-on: BIS v. 1.9.0.

BIS (Blender Interplanety Storage) updated to v.1.9.0.

  • Updated some parameters for Blender 2.83 nodes
  • The format of data storage in the library has been changed. Now the backward compatibility is fully supported, saved materials, and node groups for any previous versions can be loaded with the add-on version 1.9.0. In the future, it is planned to update all materials and node groups in the repository to version 1.9.0. After that, backward compatibility with older versions will be removed from the add-on. Users can update their materials themselves by downloading the material from the repository and updating it by clicking the “update” button. It is not necessary to do this; in the future, all non-updated materials will be updated to version 1.9.0. automatically.
  • A code refactoring was made, now more attributes are saved for each node. Getting of the attributes is now automatic.
  • The size of the saved data is reduced due to archiving on the fly, which should reduce the amount of traffic when working with the add-on.

Download

How to get the render pixels coordinates in compositing

When fine-tuning the finished render in “Compositing”, sometimes it is necessary to refer to the pixels coordinates of the processed image, for example, to apply effects distributed over the entire width or height of the image.

We can get the distribution factor of coordinates along with the height or width of the rendered image using texture nodes.

Continue reading “How to get the render pixels coordinates in compositing”

How to check the list of operators added to the area header

To add an operator to the area header, we can use the “append” and “prepend” functions specifying in its parameters the drawing function of the operator call button.

For example, to add an operator of adding the default cube to the header of the viewport (3D View) area, we need to define the operator drawing function:

and add it to the window header:

The operator button will appear in the header of the viewport window.

Now we can view a list of all the functions that add operators to the area header by the “_draw_funcs” property of the “draw” method.

Note that the “_draw_funcs” property would be defined only if custom operators have been added to the area header. If custom operators were not added to the header, an error will be thrown:

AttributeError: ‘function’ object has no attribute ‘_draw_funcs’

How to create camera through the Blender Python API

To create and add a camera to the scene with the Blender Python API we need to do the following:

1. Create a camera data-block

2. Create an object and link it with the camera date-block, we created

3. Add created camera-object to the scene

A new camera will be created in the current scene in its main collection.

Final code:

How to append an object from another blend file to the scene using the Blender Python API

The Blender Python API provides the ability to append or link objects from another *.blend file to the current scene using the “append” command.

To append an object (for example – a mesh) from another .blend file, we need to do the following:

Continue reading “How to append an object from another blend file to the scene using the Blender Python API”

Using the FileBrowser interface window to opening and saving files

In scripts and add-ons for importing-exporting files with formats that are not supported in Blender by default, we must give the user an ability to select files using the “FileBrowser” interface.

To open the file browser window, and after the user selects the necessary file, to return the path to it, we need to use the “ImportHelper” and the “ExportHelper” classes.

Continue reading “Using the FileBrowser interface window to opening and saving files”

Watermark Plus add-on – workflow sample

Why the Watermark Plus add-on is useful for a designer:

I use it like this: until the customer pays for the project in full, he has all the renders in final quality, in the final size, but with watermarks. The customer has access to the “Conform” folder. And after paying for the project, I just give access to download from the “Final” folder.
Very simple, very effective.

Yuriy Tudgin

Blender EEVEE transparency blend modes – Multiply and Additive

In Blender 2.83 in the EEVEE render engine the “Additive” and “Multiply” modes that were present in Blender 2.80 were removed from the possible transparency blending modes.

But if you need to use these transparency blending modes in Blender 2.83, you can get them with nodes.

Continue reading “Blender EEVEE transparency blend modes – Multiply and Additive”

How to install required packages to the Blender Python with pip

For add-ons developing, sometimes it is necessary to use packages that are not included in the core set of the Blender Python interpreter. Most often, the dependencies you need are included in the Python Package Index (PyPI) and can be installed to Blender through the Pip package management system.

The Pip Package Manager is already installed in Blender. However, Blender does not allow us to install the desired packages in a common way with the “pip install package_name” command.

Continue reading “How to install required packages to the Blender Python with pip”