Skip to content
ImagineWorld

Must-Have Add-ons for Building Node Trees

node_idnode-book_procedural-3d-modeling-using-geometry-nodes-in-blender_chapter-03-must-have-add-ons-for-building-node-trees
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num3
chapter_titleMust-Have Add-ons for Building Node Trees
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 3 — Must-Have Add-ons for Building Node Trees

Section titled “Chapter 3 — Must-Have Add-ons for Building Node Trees”

In the previous chapter, you learned what basic nodes do. In this chapter, let’s have a look at the different add-ons you can use with the Geometry Node editor. These add-ons have some cool features, and they can help speed up your workflow greatly. We will also show you how to use these add-ons and where you can find them.

In this chapter, we will cover the following topics:

  • Exercise – how to enable and install add-ons in Blender
  • Understanding the Node Wrangler add-on
  • Exploring the GeometryNodesAttributeViewer add-on

We will begin this chapter by learning about the Node Wrangler add-on. This is a tool that you will use a lot in your Geometry Nodes workflow.

Exercise – how to enable and install add-ons in Blender

Section titled “Exercise – how to enable and install add-ons in Blender”

If you have watched any Blender tutorials on YouTube or other tutorial platforms, you’ll have noticed that the Node Wrangler and GeometryNodesAttributeViewer add-ons are widely used because they offer a wide variety of handy tools that could be useful in any node editor inside Blender. In fact, every tutorial expects you to have at least Node Wrangler installed, so we really recommend installing the add-ons before continuing with this chapter and the rest of this book. Let’s first go over how to install and enable these add-ons!

We will first need to enable these add-ons for them to work since they’re not enabled by default.

Let’s quickly cover how to enable the upcoming add-ons:

  1. Let’s start by heading over to the Blender Preferences dialog inside Blender, which can be found in the Edit menu on top of your main Blender page. Once you are in Blender Preferences, click on the Add-ons tab:

Figure 3.1: Blender Preferences dialog

  1. When you are in the Add-ons tab, search for the first add-on we will be covering, called Node Wrangler:

Figure 3.2: Node Wrangler add-on entry

  1. You can enable this add-on by clicking the square on the left-hand side of the title.

This will add the Node Wrangler add-on to your Blender preferences and will stay there even if you open another project. To disable the add-on, just uncheck the check mark.

Here, we’ve seen how you can install the Node Wrangler add-on yourself. This progress is the same for any other official Blender add-on. However, when adding unofficial add-ons, the process is a little different.

In the instructions that follow, we’ll show you how to install unofficial add-ons for Blender made by third parties and maybe even your self-created add-ons! Let’s get into it:

  1. When installing unofficial add-ons, head to the top-right corner of the Add-ons tab and press the down-facing arrow.
  2. In this menu, you’ll find an option called Install from Disk…:

Figure 3.3: Add-ons settings menu

  1. Once you press this button, Blender will ask you for the file of the downloaded add-on, which is usually in a .zip format.
  2. Once you’re done selecting your add-on, go ahead and press the button labeled Install from Disk, which will automatically activate the add-on:

Figure 3.4: Install from Disk button for confirmation

Now that it’s clear how to install add-ons and where these add-ons can be found, let’s move on to covering what the power of add-ons can do! The first add-on we’ll be covering is called Node Wrangler.

The Node Wrangler add-on was developed by Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, and Florian Meyer. It provides tons of great tools and features to speed up your workflow in any node editor inside Blender. In this section, we will go over how to use the add-on, along with the shortcuts this add-on makes use of.

This is a built-in add-on inside Blender and does not need additional installation to get it working.

The Node Wrangler add-on is mainly designed to be used with shortcuts. So, we will be explaining the usage of some of the most useful shortcuts that can be applied using this add-on.

It is notable to mention that this add-on isn’t only usable in the Geometry Node editor but is made for use in every node editor in Blender. This includes the Compositor and the Material editor.

Let’s start by explaining how to easily connect nodes. Usually, you’ll have to connect node sockets by dragging one dot to another dot. With this trick, you’ll be able to drag one node to another to automatically connect them.

Many users struggle with efficiently connecting nodes, but this add-on makes that really easy.

By using the Alt + right-click shortcut while dragging from one node to another, the Node Wrangler add-on will automatically create an appropriate link between both nodes. It will check what the most plausible way to connect the two nodes is.

By using the Alt + X shortcut, Node Wrangler will delete any unused or unconnected nodes from your node tree. This is very useful when you have finished a big node tree and you want to clean it up.

The Shift + C shortcut allows you to copy the settings from one node to another. Keep in mind that these nodes have to be of the same type. This might be useful if you have a node that you want to append inside of a node tree, but you don’t want to disconnect it.

By selecting the receiver node first and then the main node, the main node will transfer its attributes to the receiver node. In this menu, you also have the option to copy and transfer various types of labels from the selected nodes.

If you want to clear a label from a node, you can always use the Alt + L shortcut.

Along with clearing labels, of course, we also have the option to modify our node labels. To modify a label using the Node Wrangler add-on, you can press the Shift + Alt + L shortcut. This will allow you to quickly rename any node or node group.

Using the / (slash) shortcut, you can conveniently add reroutes to your node tree.

“What’s a reroute?” I hear you ask.

In Figure 3.5, you see an illustration of a reroute connection:

Figure 3.5: Reroute connection

A reroute is a type of node connection that is not dependent on a node. It is used to organize your node tree, as well as to easily connect large amounts of nodes to other nodes. The color of the reroute depends on the color of the node connection that it is inputted into. As said before, a reroute acts much like a normal node connection. This reroute can also be moved around by pressing G on your keyboard.

We will get into organizing your node tree in a later chapter.

When you press the / key, you’ll see this menu appear:

Figure 3.6: Add Reroutes menu

Let’s break down this menu here:

  • To All Outputs means that the Node Wrangler add-on will add reroutes to all outputs of nodes.
  • To Loose Outputs means it’s only going to add reroutes to node outputs that aren’t occupied by a node connection.
  • To Linked Outputs means it’s only going to add reroutes to node outputs that are occupied by a node connection. Additionally, you can also add reroutes by pressing Shift + right-click and dragging over a node connection line.

By pressing O, you can connect the selected node to the end node, the Group Output node.

This is useful for seeing the effects of the selected node. Let’s say you want to see what a certain node is outputting. Pressing O on this node will connect it to the Group Output node, allowing you to quickly see the effects of the selected node.

You can reverse this connection by pressing Ctrl + Z, like in any program.

Let’s also cover the quick access panel of Node Wrangler. This might be more useful to users who aren’t big fans of using many shortcuts in Blender. The panel can be accessed from the right-hand side of the Geometry Node editor or by pressing Shift + W:

Figure 3.7: Node Wrangler menu

Let’s break down this panel here:

  • At the top of this menu, we see the Merge Selected Nodes option, which allows you to merge any type of data, such as geometry or math data, in a convenient manner. We have four main options to merge geometry data:
    • Join Geometry
      • Intersect
      • Union
      • Difference

These options will add the appropriate nodes to make the selection possible.

  • We also have an option called Use Math Nodes, which allows us to conveniently add Math nodes in Blender.
  • The Detach Outputs button does exactly as the name suggests: it detaches the outputs of the current node that you have selected. Here, we also have the option to swap links, which will swap the input fields of a node that has more than two input fields connected to other nodes.
  • The next button, Frame Selected, will group the selected nodes in a frame; this is convenient for when you want to clean up your node tree or make your node tree easier to understand for other people. You can also use this to add comments to your node trees.
  • Below that, we have the Align Nodes button. This is useful for aligning all nodes on a straight line. This can help you with the process of cleaning up your node tree.

Let’s go over the shortcuts we’ve learned in this chapter so far:

Auto-connect nodes
Delete unused nodes
Switch node types
Copy node attributes
Clear a node label
Modify a node label
Add reroutes
Drag and add a reroute
Connect a node to Group Output
Open the quick access panel

Figure 3.8: Blender shortcuts

Keep in mind that this shortcut list is based on the Blender default shortcut settings.

Let’s now take a look at another useful add-on for inspecting the data of geometry nodes live in your Viewport.

Exploring the GeometryNodesAttributeViewer add-on

Section titled “Exploring the GeometryNodesAttributeViewer add-on”

Attributes in Geometry Nodes define the type of data being processed—for example, Float, Vector, or String values.

A problem a lot of Geometry Nodes users run into is that they can’t visualize multivalued attributes well in their projects; that’s what the GeometryNodesAttributeViewer add-on is made for.

This add-on is written by Griperis (Zdeněk Doležal) and helps the user visualize data from the Geometry Node editor right into the Viewport. This add-on is very handy when debugging your node tree to see what the values of certain locations are.

Since this add-on is not an official add-on, you’ll have to first download it from the GitHub repository before being able to use it. The add-on can be downloaded from the link here: https://github.com/Griperis/GeometryNodesAttributeViewer.

Where to find the functions of this add-on

Section titled “Where to find the functions of this add-on”

Let’s start by heading to our Geometry Node editor and adding a new node tree to our default cube.

To add new nodes to your node tree, you execute the Shift + A shortcut.

Once you execute this, you’ll see an option called View, which is where the GeometryNodesAttributeViewer add-on resides:

Figure 3.9: Add nodes menu with the View option highlighted

Let’s uncover what’s in this add-on does by hovering your mouse over the View button.

Once you do that, you’ll see the following options appear on your screen:

Figure 3.10: View nodes menu

Let’s start by covering what each of these options does!

This is what you’ll see when you add any of the presented nodes:

Figure 3.11: GeometryNodesAttributeViewer nodes

At first sight, this might seem very overwhelming, but let’s break each of the options down:

  • On each of the nodes, we see an option to input a Geometry base and a Selection input. From previous chapters, you know that this Selection input is used to define what points are influenced based on a Boolean attribute type.
  • If we look further down each node, we see that each node has a Domain option. This is to define where we will measure our attributes. The value goes as follows:
    • 0: The values will be measured and placed on each vertex.
      • 1: The values will be measured and placed on each edge.
      • 2: The values will be measured and placed on each face.
      • 3: The values will be measured and placed on each face corner.
      • 4: The values will be measured and placed on each instance. We will go further into instances in later chapters.
      • 5: The values will be measured and placed on each spline. A spline is a part of a curve, which we will also cover in later chapters.
  • The Base option present on some of the nodes is used to calculate numbers used in different number systems, which you should generally not touch.
  • The Scale option present on all nodes will scale the values of information that the nodes provide.
  • The Color value will change the color of the debug information for each of the nodes.
  • At the bottom of all of the nodes we see two Boolean inputs, which are explained here:
    • Viewport Only: This option will make sure the annotations or debug information won’t show up in renders.
      • Show Original Geometry: This option will hide or show the original Geometry object plugged into the beginning of the node. This is useful if you want to further alter the object without altering the debug text.
  • Lastly, the most important input of this node: the Attribute input. This will be the input that will be receiving all the data that needs to be shown in the Viewport. Depending on what node you use, the datatype will vary.

You might be asking: What node do I use for what scenario? That all depends on what datatype or attribute type you’re trying to visualize. The GeometryNodesAttributeViewer add-on can visualize four types of attributes:

  • Float Values
  • Vector Values
  • Vectors
  • Colors

To answer what the difference between Vector Values and Vectors is, let’s quickly take a look at what a vector is in math.

A vector can be seen as a coordinate that defines a direction – specifically, an x, y, and z coordinate. Vectors can be used in Blender for multiple things, such as defining a position, a direction/rotation, or a scale.

For simplicity, we’re going to explain it in a 2D version, which only includes two values. Keep in mind that in Blender, vectors make up three values, because we use 3D.

By looking at the following screenshot, we define a direction by sending a vector to coordinate (2,2):

Figure 3.12: Visualization of a vector in math

To answer the original question, the View Vector node will display the direction this arrow is pointing in, while the View Vector Values node will display the three x, y, and z values, respectively. These colors are usually defined as red (x), green (y), and blue (z).

In the screenshot shown next, you visually see the differences and use cases of all the nodes we covered in this add-on:

Figure 3.13: Implementations of GeometryNodesAttributeViewer

In Figure 3.13, you can clearly see the different types of data visualization possible with the GeometryNodesAttributeViewer add-on; along with that, the input we used is also mentioned. This add-on is excellent for debugging or finding out how an object exactly forms itself.

And with that, we have come to the end of this chapter!

In this chapter, you learned how to use the Node Wrangler add-on with both shortcuts and the quick access panel. This chapter also showed you how to use the GeometryNodesAttributeViewer add-on. It also showed how to access as well as install these add-ons.

These add-ons will help you greatly by offering tools that are useful in the Geometry Node editor, as well as in other node editors such as the Material editor and the Compositor.

In the next chapter, we’ll go over primitive shape nodes. You will learn how to add these nodes to the Geometry Node editor, what all the nodes do, and their options.