How to start render in the main window in Blender 2.81

Render starts in a new window in Blender 2.81 by default. And there is no more render display mode settings in the “Render” menu. These settings were moved into the “Preferences”. To configure render execution window – open the “Preferences” window, press the “Interface” button and in the “Temporary Windows” configure the “Render In” parameter as you need.

Calling functions by pressing buttons in Blender custom UI

Button click in basically connected with the operator calling in Blender user interface. However, some times actions, that need to be performed when a button is pressed, are quite simple and do not require a separate operator for them. And it makes no sense to fill a registered operators stack with a multitude of specific operators designed to perform one highly specialized function. It would be much more convenient to associate a button press with a separate function call but the Blender API allows to associate buttons only with an operator call.

To solve the problem of creating a separate operator for each button we can use the fact that the operator can be called with the input parameters.

Continue reading “Calling functions by pressing buttons in Blender custom UI”

How to get a list with all possible values of an EnumProperty

To correctly set values to an EnumProperty type we need to know all its possible entries.

If we try to set a value to an EnumProperty that is out of its available variants, Blender will throw an error:

TypeError: bpy_struct: item.attr = val: enum “xxx” not found in (‘value_001′, value_002’, …)

where:

xxx – the value we tried to set to an EnumProperty

value_001, value_002, … – possible EnumProperty values

Continue reading “How to get a list with all possible values of an EnumProperty”

How to move cursor to vertex

To translate cursor to the desired mesh vertex execute the following code:

Attention to the multiplication order – world matrix should be left.

How to open the File Manager in the main window in Blender 2.81

In Blender 2.81 the File Browser opens in a new window by default. To configure it always open in the current window – open the “Preferences” window, press the “Interface” button and in the “Temporary Windows” group change the “File Browser” parameter to “Full Screen”.

Blender add-on: BIS v. 1.8.1.

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

 

  • If you get material from the “3D Viewport” window it sets to all selected objects, not only to active.
  • New sub-panel “Tools” added to the BIS panel in the “3D Viewport” window. Added new tools button “Active to Selected” to copy material from active object to all selected objects.
Download

BIS – Online Blender material storage

Blender Interplanety Storage (BIS) – the online material (shader) storage add-on for Blender 3D creation. With the BIS add-on, you can save materials (groups of nodes) to the online personal library and then convenient search and upload them. Saved materials are available from any computer through the add-on installed in Blender.

Download

Continue reading “BIS – Online Blender material storage”