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 – “Interface settings”, 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”

How to hide the title of the Blender window

Every 3D-artist knows that the workplace is always less. The larger monitor, the larger available workspace on it – the work is more convenient and faster. Blender allows winning some extra space on the screen, hiding the window title, which is still not useful.

The key combination:

alt + F11

allows to hide the Blender window title and expand the work area to the entire monitor. Pressing this key combination again returns Blender to its original state.

How to render in Blender without slowing down the other programs

During the image rendering in Blender, it is impossible to do anything else, the computer is strong “brakes”. Blender takes all available computing power without leaving almost nothing to other applications.

In order to run render in Blender with a low priority, so that it does not fill the entire computer and is guaranteed not to slow down the other programs work, you need:

  • Switch the render mode to the CPU
  • Run the render in Blender from the command line:

Windows:

parameters used :

  • /LOW – means that Blender will be launched with the lowest priority, computing power will be allocated to it after the all other programs.
  • /MIN – the window will be minimized in the taskbar.
  • /B – no separate window for launching Blender.
  • /D _path_to_blender_directory_ – here you need to specify the path to the directory where Blender is installed. Since usually all programs are installed in the “Program Files” or “Program Files (x86)” directories (there are spaces in the directory name), you need to enclose it in quotation marks.
  • _full_path_to_blender_ – specify here the full path to the blender.exe file. Enclose it in quotation marks by the same rules.
  • -b – Blender background launch (no graphical interface is created).
  • _path_to_blend_file_ – the full path to the project you need to render. If there are spaces in the path, it must also be enclosed in quotation marks.
  • -f X – instead of X, you need to specify the number of the frame you need to render.
  • -t X1 – instead of X1 you need to specify the number of processor cores that would be allocated for rendering. It is worth to allocate the half of the available cores.

Example:

 

Linux:

used parameters:

  • -n 20 – means that Blender will be launched with the lowest priority, computing power will be allocated to it after the all other programs.
  • -b – Blender background launch (no graphical interface is created).
  • _path_to_blend_file_ – the full path to the project you need to render.
  • -f X – instead of X, you need to specify the number of the frame you need to render.
  • -t X1 – instead of X1 you need to specify the number of processor cores that would be allocated for rendering. It is worth to allocate the half of the available cores.

Example:

 

Fast intermediate nodes view in compositing

Creating a node tree in the compositing window, sometimes it is necessary to see the intermediate result given by some parts of the node tree. For fast viewing click left mouse button on the desired node with the “ctrl” and “shift” keys pressed. Blender adds a new View node (or uses one of the existing) and connects the output of the selected node to it. The result is displayed on the backdrop (if the corresponding checkbox checked) or in the UV/Image Editor window in “Viewer Node” mode.

If the clicked node has several outputs, each subsequent click on that node switches the view to its next output.