Blender add-on: BIS v. 1.6.4.

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

  • Two new modes were introduced to work separately, one for materials (easier to use) and the second – for node groups (for advanced shader making). In the “Material” mode, the entire material is stored and loaded. In the “NodeGroups” mode, everything works without changes, a separate node group is saved and loaded for the convenience of creating complex shaders.
  • In the “NodeGroup” mode uploaded node group adds to the current open node group instead of the node tree root as before.
  • The experimental mode can be enabled/disabled in the add-on preferences.

Blender autocomplete modules

Nutti, the author of the “fake-bpy-modules” project, has made the installation of the Blender Python API autocomplete modules through the pip platform. Pip installation is faster and easier, but sometimes we just need to copy the autocomplete modules to our project but now they are not included in the Nutti’s GitHub.

Copies of the autocomplete modules for Blender versions 2.79 and 2.80 can be downloaded directly from here: https://github.com/Korchy/blender_autocomplete

 

How to get global vertex coordinates

To get the vertex coordinates in the scene global coordinate system when the object’s scale was not applied, we need to multiply the local vertex coordinates by the object world transformation matrix:

Class naming conventions in Blender 2.8 Python API

In Blender 2.8 API the requirements for the class and their identifiers naming are becoming tougher. The class name must match the following convention:

Where the {SEPARATOR} is two letters denoting the class belonging to a certain type (from which type the class is inherited):

  • HT – Header
  • MT – Menu
  • OT – Operator
  • PT – Panel
  • UL – UI list

The class identifier “bl_idname” mast match the class name.