Add-on preferences panel

When developing add-ons it is often necessary to give an ability to set a number of parameters that affect the whole add-on work to the user. For example, the user can specify a directory for saving/loading files, set some default variables or switch between add-on modes. Of course, the interface for setting such parameters can be placed in the add-on panel, but it is better to place it in a separate add-on preferences panel, which is located in the “Preferences” window under the add-on installation panel.

The main advantage of the add-on preferences is that they don’t reset when Blender restarts. The user does not need to configure the add-on preferences each time, it’s enough to set the necessary parameters once, personalizing the add-on for convenient work.

Let’s create an add-on and define a parameter, placing it in the add-on preferences panel.

Continue reading “Add-on preferences panel”

How to check what version of Python interpreter is used in Blender

To find what Python interpreter version is used in current Blender version type the following commands in Python Console window in Blender:

It means that the version of Python used in Blender is 3.7.0.

To make it more readable type the following command:

or with full info:

Porting add-on from Blender 2.7 to Blender 2.8

In the latest version 2.8 of Blender developers have made many changes in API, so all the scripts and add-ons written for earlier Blender versions (2.7 and below) have stopped working. To run your add-ons in the new Blender 2.8, you need to port them – correct their code to work properly with the new Blender API.

To enable your add-on in Blender 2.80 you have to make the following changes in code:

Continue reading “Porting add-on from Blender 2.7 to Blender 2.8”

BIS add-on for Blender 2.8

BIS (Blender Interplanety Storage) add-on is ported to Blender 2.8

The add-on branch for Blender 2.7 is fixed on the number 1.5. The master release for Blender 2.8 has the version number 1.6 and higher in future development.

For both add-on versions the same library is used, so all BIS materials are available for all add-on versions, however, please note, materials made for Blender 2.8 may not look correct in Blender 2.7 and backward.

Now the download consists of two archives to install the add-on:

  • bis_2_7.zip – for Blender 2.7
  • BIS.zip – for Blender 2.8
Download

How to add input of integer type to the node group

To make an integer input/output in the node group:

  1. Install the BIS add-on 1.5.2. version or later,
  2. Select the desired node group in the Node Editor,
  3. In T-panel in the “BIS” tab, “Tools” section: click “+ Input” to create an input or “+ Output” to create an output in the selected node group.

BIS: Pro- account

The BIS library is free and fully accessible for all users. Any content (materials or meshes) from the open part of the library can be downloaded by any user without any restrictions. So why do you need a pro- account?

At first, this is a way to support the project. Like any other free project, BIS needs for users support. However, the BIS pro- account is not only a status attachment. The pro- status does not provide any additional content, but it allows you to make your pipeline with BIS more convenient.

Pro- account users have the following advantages:

Continue reading “BIS: Pro- account”

BIS: Saving meshes (objects) to the storage

The “Meshes” section of the BIS library is for storing meshes (objects).

Saving objects to the BIS personal storage:

The BIS interface for saving/downloading objects is placed in the “BIS” tab of the T-panel in “3D View” window.

  1. Authorize it the Blender add-on.

  1. Mark one or more objects selected.

Continue reading “BIS: Saving meshes (objects) to the storage”