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.

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

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.

Continue reading “Class naming conventions in Blender 2.8 Python API”

How to set object (mesh) to active in Blender 2.8 Python API

To set mesh (object) as active in Blender 2.8 Python API the “context.view_layer” is used instead of “context.scene”.

When trying to make object active with “bpy.context.scene.objects.active” Blender throws an error:

AttributeError: bpy_prop_collection: attribute “active” not found

To make object active in Blender 2.8 use the following code:

 

Selecting objects (meshes) in Blender 2.8 Python API

According to Blender 2.8 Python API changes mesh (object) can be selected with using getters and setters.

When trying to check the selected status of the mesh through the “bpy.context.active_object.select” property, Blender throws an error:

AttributeError: ‘Object’ object has no attribute ‘select’

To check whether an object is selected in Blender 2.8 use a getter:

To select an object in Blender 2.8 use a setter:

To unselect an object use the same setter:

 

How to copy a single modifier to multiple objects

Sometimes it is necessary to add a single modifier to each part of some complex object. The easiest way is to cycle part by part through all the object and add the desired modifier to each its part manually. But if the object consists of many parts, it will take a lot of time.

There are some ways to greatly facilitate this work:

Continue reading “How to copy a single modifier to multiple objects”