- Object selection
2.79: selecting with the right mouse button
2.80: left-click selection
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
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”
There are three mathematical constants in Blender which you can enter in any field and immediately get its numeric value.
- pi – “Pi” number = 3.1415…
- e – Euler number = 2,7182…
- tau – “Tau” number = 6.2831…
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”
The following command returns the 3D View areas list with enabled Local View mode:
[area for area in bpy.context.screen.areas if area.type =='VIEW_3D' and area.spaces.local_view]
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.
The convenient Blender 2.7 feature to remove duplicated vertices “Remove Doubles” has disappeared from the Blender 2.80 menu. In 2.8 it was renamed to “By Distance” and moved to the Vertex – Merge Vertices menu.
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:
object = bpy.data.objects['_MY_OBJECT_']
v_local = object.data.vertices[_VERT_NUMBER_].co # local vertex coordinate
v_global = object.matrix_world @ v_local # global vertex coordinates
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”
Blender color themes can be configured manually, but it is much convenient to install already prepared custom theme.
To install a new color theme to Blender you need:
Continue reading “How to install custom color theme to Blender”
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.
The coordinate axes widget in the viewport window can be switched to a simple and familiar look, like in Blender 2.7.
To do that:
Continue reading “Familiar coordinate axes in Blender 2.8”
When deleting objects with pressing the “x” keyboard key, Blender shows the confirmation dialog:
To delete objects immediately without confirmation:
Continue reading “How to remove delete object confirmation in Blender 2.8”
The “shift+r” key combination, which repeats a perfect action, works not only with editing a mesh but also with the Blender interface. For example, with this key shot, we can simply move the modifier in the modifier stack up and down, without hunting the runaway arrows.
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.
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.
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.
The combination of Ctrl + Shift + Num+ keys continues the selection with the specified step. Each pressing increases the selection by one step.
Num+ is the “+” button on the numeric keypad.
To find what Python interpreter version is used in current Blender version type the following commands in Python Console window in Blender:
# sys.version_info(major=3, minor=7, micro=0, releaselevel='final', serial=0)
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:
# 3.7.0 (default, Aug 26 2018, 16:05:01) [MSC v.1900 64 bit (AMD64)]
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”
To make an integer input/output in the node group:
- Install the BIS add-on 1.5.2. version or later,
- Select the desired node group in the Node Editor,
- 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.
To check is an attribute/property of any Blender object (mesh, node, modifier, etc.) read-only:
- With the is_property_readonly function, execute the following command:
<object> .is_property_readonly (‘<property name>’)
- 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):
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:
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:
In order to align an object to the middle of the edge:
- enable snapping: press “shift+tab”, or click the icon with the magnet,
- start moving by pressing “g”,
- move the cursor to the first vertex of the desired edge,
- make an anchor by pressing the “a” key,
- move the cursor to the second vertex of the desired edge,
- 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”
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”