15 changes that you need to know when migrating from Blender 2.79 to Blender 2.80

  1. Object selection

2.79: selecting with the right mouse button
2.80: left-click selection

  1. T-panel

2.79: called by pressing the “t” key
2.80: it’s gone, functions moved to the main menu and to the context right-click menu

  1. Deselection

2.79: “a” – select all and deselect all
2.80: “a” – select all, “a – a” or “alt+a” – deselect all

Continue reading “15 changes that you need to know when migrating from Blender 2.79 to Blender 2.80”

Node displacement in Blender 2.8

In Blender 2.8, the displacement node in Cycles render-engine was changed from scalar to vector. If you simply connect a black and white height map to the Displace input of the material output node, like in Blender 2.7, it will not give the desired result.

To make the correct node displacement in Blender 2.8 add “CombineXYZ” and “VectorDisplacement” nodes to the material node tree. Connect the height map to the “Y” input of the “CombineXYZ” node and its “Vector” output to the “Vector” input of the “VectorDisplacement” node. After that, connect the “Displacement” output of the “VectorDisplacement” node to the “Displacement” input of the material output node.

Continue reading “Node displacement in Blender 2.8”

How to detect if Local View is on in 3D View window

The following command returns the 3D View areas list with enabled Local View mode:

 

Where are the icons for managing objects visibility in the Outliner window in Blender 2.8

In the latest Blender 2.80 builds, the visibility control icons are disappeared from the Outliner window.

They were not removed, they are just hidden from the interface by default. To return them to their usual place click the button with the funnel image and mark the icons you need to display.

After closing the dialog box, the icons will appear in their places.

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:

How to return the familiar selection mode from Blender 2.7 in Blender 2.8

In Blender 2.8 the selection mode has been changed. The “select all” command is still mapped to pressing the “a” key, but the “deselect all” command in Blender 2.8 is now mapped to a double-click of the “a” key or to the “alt + a” key combination. However, it is easy to return the familiar selection mode from Blender 2.7 – selecting and deselecting all by pressing one “a” key.

To do this, in the “Preferences” window in the “Keymap” section type “object.select” in the search field. In the search results in the “Object mode” section in the line with “a” key snapping set the “Toggle” value to the “Action” parameter.

This will return the familiar selection in object mode.

Continue reading “How to return the familiar selection mode from Blender 2.7 in Blender 2.8”

How to resize panels in Blender UI

In order to resize the T- or N-panel of the Blender UI, you just need to hold the edge of the panel with the mouse and drag it left or right. However, in this case, you can only change the size of the panel itself, but not the interface elements on it.

To change elements size and the font size of the panel, you need:

  • hover cursor on the panel
  • hold together the “ctrl” keyboard button and the middle mouse button (scroll wheel)
  • move the mouse up or down

This works not only for the side panels but also for all the “Properties” window.

Simple rotation around edge

It is difficult to rotate mesh polygons around an edge if this edge is not parallel to the global X, Y, or Z axis — we need to switch to the edge local coordinate system, fix axes, and then rotate polygons about these axes. However, this can be done easier and faster – position the viewport parallel to one of the edges local axis and perform a rotation by simply pressing the “r” key.

To quickly rotate polygons around the edge:

  • switch to the “by Active Element” mode,
  • select geometry to rotate
  • next select the edge, around which you want to rotate the geometry. Selected last it becomes an active element,
  • press shift + Num1 (Num3 or Num7) to set the viewport parallel to one of the edge axes,
  • rotate geometry by pressing the “r” button.

Showing and hiding collections in Blender 2.8

Clicking the collection “eye icon” in Blender 2.8 outliner shows and hides the visibility of objects from this collection in viewport window. To show only objects from the necessary collection and hide objects from all other collections with a single click – click the “eye icon” with the “Ctrl” button pressed.

Top and bottom toolbar position in Blender windows

In Blender 2.8 the toolbars are located on the top of the working windows. But you can easily return them to the habitual bottom position.

Right-click on the panel and select “Flip to Bottom” to move the panel down. To return the panel back to the top, right-click on it and select “Flip to Top”.

This feature is not Blender 2.8 exclusive, the same can be done in Blender 2.7.

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”

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.

How to check if Blender object property/attribute is read-only

To check is an attribute/property of any Blender object (mesh, node, modifier, etc.) read-only:

  1. With the is_property_readonly function, execute the following command:

<object> .is_property_readonly (‘<property name>’)

  1. Through the rna structure, execute the following command:

<object> .bl_rna.properties [‘<property name>’]. is_readonly

For example, for the “is_editmode” mesh property (is the mesh in edit mode or not):

Automatically changing the orthographic mode – perspective mode in Blender 2.8

In the new Blender 2.80 in the “3D View” window (3D Viewport), when scrolling a wheel to zoom or pressing the num pad buttons (1, 3, 7, 9) to center the view to different sides, the projection mode automatically changes between orthographic and perspective.

To disable this automatic mode changing, in the “User Preferences” window – “Navigation”, change the value of the Auto Perspective checkbox:

 

How to find out in what version of Blender the blend file was saved

To check in what version of Blender the blend file was saved:

  • Open your file in Blender
  • In the Python Console window execute the following command:

Or open the blend file in any text editor, for example in Notepad++. The Blender version will be listed in the first 15 characters.

Also, the version of the open blend file can be viewed in the Outliner window in the Data Blocks group:

How to snap to the center of the edge or polygon

In order to align an object to the middle of the edge:

  1. enable snapping: press “shift+tab”, or click the icon with the magnet,
  2. start moving by pressing “g”,
  3. move the cursor to the first vertex of the desired edge,
  4. make an anchor by pressing the “a” key,
  5. move the cursor to the second vertex of the desired edge,
  6. fix the position of the object between two points (anchor and current) by pressing “enter”.

Continue reading “How to snap to the center of the edge or polygon”

How to make Blender fully portable

Even if Blender was downloaded as a zip-file and started from the unpacked archive instead of the installation, the files with its settings are stored separately in the user’s directory. The history, the start scene, and user-installed add-ons are also stored there. So if you transfer Blender to another computer, all these preferences will be lost.

However, at startup, Blender first looks for a config directory in its own folder and only if it does not find it there, it accesses the folder in the user’s directory.

In order to make Blender completely portable, it is enough to copy config folders “config” and “scripts” from the user’s directory into Blender’s own directory into the folder with the version number. This will transfer the settings and installed add-ons to the Blender directory, and now all the changes will be made already here, not in the user directory. Blender becomes portable and can be copied to another computer or removable device.

Continue reading “How to make Blender fully portable”