Working with the Spreadsheet in Blender
local graph
Chapter 6 — Working with the Spreadsheet in Blender
Section titled “Chapter 6 — Working with the Spreadsheet in Blender”In the previous chapter, we saw how to distribute points on a mesh. Now, we will learn how to make use of the Spreadsheet in Blender. Just like in the previous chapter, we will also be using instances in this chapter.
While not part of the Geometry Node editor, we can make great use of the Spreadsheet when using this editor. For example, we can use the Spreadsheet to obtain information about what’s going on in our Geometry Node editor.
We will cover the following topics in this chapter:
- Introduction to the Spreadsheet
- Demonstrating how the Spreadsheet can be useful
- Exercise – creating a procedural Jenga tower
Technical requirements
Section titled “Technical requirements”Some figures in this chapter show the full Blender setup, including node trees, outcomes, and parameter settings. For easier viewing and readability, these figures are also available in the book’s GitHub repository.
You can find the exercise from this chapter in the common .blend file in the GitHub repository.
Introduction to the Spreadsheet
Section titled “Introduction to the Spreadsheet”Let’s start with a broad explanation of the Spreadsheet. The Spreadsheet is a list that contains information about the locations of vertices, edges, faces, and so on. We can inspect their properties and much more in this handy addition to Blender. The Spreadsheet is mainly used to inspect geometry attributes and obtain info about the geometry of our objects.
We will go over all the different datasets that we can inspect in the Exploring the different datasets in the Spreadsheet section.
What does the Spreadsheet do?
Section titled “What does the Spreadsheet do?”The Spreadsheet allows you to display the different properties of the dataset that you want to obtain information from; for example, if you want to obtain information from all the vertices in your mesh, you can use the Spreadsheet to check the positions of all the vertices in their respective X, Y, and Z axes.

Figure 6.1: An overview of the Spreadsheet
You might be wondering what the difference between the Spreadsheet and the GeometryNodesAttributeViewer add-on is.
The difference between these two information tools is that GeometryNodesAttributeViewer will display the information in the Viewport on the location of the data itself, as seen in Figure 6.2:

Figure 6.2: GeometryNodesAttributeViewer on a cube
The Spreadsheet, on the other hand, will show everything in an organized and easy-to-use list of information, where we can also see what different datasets are present in our Geometry Nodes project. Let’s take a look at those!
Exploring the different datasets in the Spreadsheet
Section titled “Exploring the different datasets in the Spreadsheet”Let’s briefly go over the different datasets that we can see in Figure 6.1. Each of the following subheadings refers to a different dataset on the Spreadsheet.
Let’s first explore the different datasets we find in the Mesh tab of the Spreadsheet.
We’re presented with four subtabs in the Mesh tab:
- Vertex
- Edge
- Face
- Face Corner
The Vertex tab defines the location of each vertex. The Edge tab defines how much each edge is creased. The Face tab defines whether the face should be shaded smooth, as well as the normal direction of these faces and the material index, which tells the object what material should be applied to each face.
You are probably familiar with Vertex, Edge, and Face, but Face Corner might be new to you. This option defines the total number of edges attached to the vertices. For example, a cube has eight vertices, and each vertex has three edges attached, so if we multiply 8 by 3, we get a Face Corner value of 24.
Let’s now explore the two different subtabs that the Curve tab presents:
- Control Point
- Spline
The Control Point tab defines the tilt, radius, nurbs weight, and position of each of the control points that your curve contains.
The second option is the Spline tab. This tab shows how many different splines are present inside the selected object. Along with that, it also shows various variables, such as Normal Mode, Nurbs order, Curve type, whether the curve is cyclic or not, Knots mode, and the resolution of the curve, which reflects the resolution set in the Curve Properties tab.
Point Cloud
Section titled “Point Cloud”Here, you’ll see the information that the Spreadsheet delivers about point clouds.
The Point Cloud tab provides information about the various points a point cloud contains. It gives the total number of points, along with the position of each point, the ID of each point, the radius, and the UV Map. UV Map gives a vector value that can be used by the Material node editor to define the placement of textures.
Volume Grids
Section titled “Volume Grids”The Volume Grids tab defines basic information about the volume included in your geometry. If there is no volume included in your geometry, the Volume Grids tab will be empty.
It gives information such as the grid name, the data type, and the class of your volume.
Instances
Section titled “Instances”As mentioned before in the book, an instance is a reference to the original mesh, which can be used to individually manipulate geometry, as shown in Chapter 5. We get a lot of information about instances in the Spreadsheet. We can see the name of the instance, the position vector value, the ID of the instance, the UV map vector, and the rotation and scale of each instance. Using this tab in the Spreadsheet is useful for troubleshooting problems with your instances.
Filtering items using the Spreadsheet
Section titled “Filtering items using the Spreadsheet”We can also filter the entries in the Spreadsheet. This can be done by opening the right-hand menu of the Spreadsheet.

Figure 6.3: Right-hand menu of the Spreadsheet
On opening the menu, you’ll be presented with a button called Add Row Filter.
This will add a new filter to your Spreadsheet. We can enter the column that should be filtered on. For example, you can filter by the position of each vertex. To do so, type position into the Column field.
This is what the filter looks like:

Figure 6.4: Spreadsheet filter
On filling in the parameters to your liking, you will see that entries of the Spreadsheet will start to disappear, leaving only the entries that match your filter(s).
We have multiple operations we can use when filtering entries in the Spreadsheet.
These include the following:
- Equal To
- Greater Than
- Less Than
Using these operations, you should find your desired entries in no time!
Now that we have been introduced to the Spreadsheet, let’s demonstrate how the Spreadsheet can be useful in your Geometry Nodes workflow.
Demonstrating how the Spreadsheet can be useful
Section titled “Demonstrating how the Spreadsheet can be useful”In this section, we will learn how to use the Duplicate Elements node to visualize how the Spreadsheet works.
Introducing the nodes we will need
Section titled “Introducing the nodes we will need”As you can see in Figure 6.5, these are the nodes we will be using in this demonstration:

Figure 6.5: The nodes we will need
Let’s explain each of these nodes:
- Geometry to Instance node: This node will be used to convert our geometry to a usable instance format. As said in previous chapters, instances are used to individually manipulate objects.
- Duplicate Elements node: This node will duplicate any element that you give it. You can choose to duplicate by vertices, edges, faces, or instances. For this demonstration, we will be duplicating instances.
- Translate Instances node: This node will move instances. We will need this node to move our instances away from each other using their unique ID.
As you might have guessed, we will make a custom Array modifier. We will duplicate an instance and offset each duplicate by a specific value defined by its unique ID, which we can find in the Spreadsheet. This will make the node tree function like an Array modifier. After that, we can check whether our calculations are correct using the Spreadsheet.
Building the structure of the node tree
Section titled “Building the structure of the node tree”Let’s now begin the process of assembling our node tree by combining all the nodes mentioned in the previous section:
- Let’s start by opening our Geometry Node editor and converting the base group input to an instance using the Geometry to Instance node. This will make sure we can use Group Input in our Geometry Node editor as an instance. This is important because to make use of the Duplicate Elements node, we will need to make use of instances because they allow us to edit objects separately from each other.
- Now, let’s add a Duplicate Elements node. By default, the Duplicate Elements node will be set to Point. In the following screenshot, you can see this node:

Figure 6.6: Duplicate Elements node
In this case, we want to duplicate each input to an instance because we want to duplicate the inputted mesh in its entirety. So, let’s put this node in instance mode. This node will duplicate an instance x number of times and output it as a single geometry output. We also get the Duplicate Index integer value as an output. This will be important in the next step
- Let’s set the Amount integer to
5. This will make sure that our input will be instanced or duplicated five times.
When you look at the Viewport, you will see that nothing happened. You can just see the object we inputted.

Figure 6.7: Our current node setup
This is normal; it is that way because the instanced duplicates are contained within each other. We will need to find a way to move the instances away from each other with a unique ID.
This is where the Duplicate Index value of the Duplicate Elements node comes into play. This value defines the unique ID of each instance. Looking at the Spreadsheet, we can see which instance gets assigned to each ID.

Figure 6.8: IDs in the Spreadsheet
We can multiply this ID value by a certain number so that each instance will be placed on a location that matches a multiplicate of the given ID. This will make an array effect.
We can achieve this by using the Translate Instances node to move the instances.

Figure 6.9: Translate Instances node
Let’s feed the vector value of this node with a Combine XYZ node. This will make us able to use node connections on each of the three x, y, and z values.
To make the instances move away from each other, let’s multiply the ID value by how much we want each instance to move away from the others. In this demonstration, we will use a multiplication value of 3. We can multiply these values using a Math node, which is set to Multiply. Let’s insert this Math node into the X axis of the Combine XYZ node. If you want the instances to move via the Y axis, you can plug them into the Z axis instead.
This is how our node tree should look.

Figure 6.10: Our current node tree
If we now look at the Viewport, we can see that the instances have separated from each other, as shown in Figure 6.11:

Figure 6.11: Instances separation
If we take a look at the Spreadsheet, we can see that our calculations are executed correctly.

Figure 6.12: Spreadsheet of the demonstration project
We can visualize this data too with the GeometryNodesAttributeViewer add-on by adding some extra nodes:
- Let’s start by taking the View Float Value node from the GeometryNodesAttributeViewer section we covered in Chapter 3. We can drop it between the Translate Instances node and the Group Output node.
You will see that nothing happens at first sight. That’s because we have not configured the node yet.
- Let’s plug the Duplicate Index output of the Duplicate Elements node into the Attribute input of the View Float Value node. After that, change the Domain value of the View Float Value node to
4, which indicates we’re working on an instance level. - The numbers are now visible, but they’re in our mesh. To fix that, use the Z value of the Offset vector to bring them to the surface. We can also use the Scale value to make the numbers bigger.
If you have executed these steps correctly, you will see that our instances are now numbered in the Viewport:

Figure 6.13: GeometryNodesAttributeViewer visualization
If you want some extra practice on visualizing data types using the GeometryNodesAttributeViewer add-on, try to visualize the X coordinate of each instance below the Ico Spheres as well!
And there you have it! That is how you make your very own Array modifier. You can modify the length between each instance by changing the Math Multiply node. You can also change the number of instances by changing the Amount value on the Duplicate Elements node. On top of that, you now know how to use the Spreadsheet to obtain information about your geometry.
To put our newly learned skills to use, let’s use the Duplicate Elements node to create a procedural Jenga tower.
Exercise – creating a procedural Jenga tower
Section titled “Exercise – creating a procedural Jenga tower”To master our skill of the Spreadsheet editor and the Duplicate Elements node, let’s create a procedural Jenga tower!
Sketching the idea
Section titled “Sketching the idea”To achieve this, we’ll have to go through four steps:
- Creating the base: We’ll start this project by duplicating three blocks sized to the dimensions of Jenga blocks.
- Duplicating and rotating the base: After that, we’ll make sure we rotate these three blocks 90 degrees and duplicate them to make the full tower.
- Removing blocks: The next step is to delete some blocks as if it’s a played Jenga game. This is to add randomization to the tower.
- Adding randomization to the blocks: We can add even more randomization by randomizing the Z rotation axis of each of the instances!
Now that we have a rough idea of what we will do in this exercise, let’s get right into it!
Creating the base of the tower
Section titled “Creating the base of the tower”Let’s start by adding a cube to our project and head to the Geometry Nodes workspace. Add a node tree to this cube to get started!
The first step in making the base of our procedural Jenga tower is removing the Group Input node, as we do not need it. Instead, we will be making use of the Cube node primitive.
Let’s start by googling the size of a typical Jenga block, which is around 1.5 cm x 2.5 cm x 7.5 cm.

Figure 6.14: Size of a Jenga block
Let’s enter these dimensions in our Cube node, as follows:

Figure 6.15: Our current node tree
Now that we have the accurate sizing of a Jenga block, let’s start multiplying the blocks.
To start creating duplicates of the block, we need to convert our Cube node to an instance first. We can do that by dropping in a Geometry to Instance node after the Cube node.
Let’s follow that up with the Duplicate Elements node set to Instance, as we’ve seen in previous exercises. Set the count to 3 to match the correct way to make a set in Jenga.
We can see that nothing happens; that is because we still need to spread out the cubes. To do that, add a Translate Instances node.
To properly configure this node, let’s add a Combine XYZ node and connect it to the Translation input.
To get the result we wanted, let’s multiply the Duplicate Index output by 0.026 (the width of our Jenga cube) and plug the end result into the X input of the Combine XYZ node. If you have followed these steps correctly, your node tree should look something like this:

Figure 6.16: Our current node tree
Once you have achieved this node tree, you can see that we successfully created a base of three blocks! To keep your node tree organized nicely, select all your current nodes except for Group Output node and press Shift + P. This will join all the nodes in a frame, which we can use to tidy up our node tree. We can also press F2 to rename this frame. Name it Base.
Duplicating the base procedurally
Section titled “Duplicating the base procedurally”Now that we have the base, let’s create the rest of the tower.
To duplicate the base, we must largely repeat the same steps as the previous section, but we also need to rotate the base at each level:
- Let’s start by adding a Duplicate Elements node set to Instance to the end of our node tree. We’ll give it an amount of
5to start with. - The first step is that we will be moving the duplicated instances upward. To do that, let’s add another Translate Instances node after our Duplicate Elements node.
- Once again, let’s plug a Combine XYZ node into the Translation input of the Translate Instances node, as we’ve done before.
- Let’s multiply the Duplicate Index output by
0.016(the height of our Jenga block) and plug it into the Z input of our Combine XYZ node.
Once you do that, you’ll see this result:

Figure 6.17: Our current node tree
Let’s join these nodes in a new frame by executing Shift + P and naming the frame Adding new layers.
This is a good result, but we still need to rotate each level by 90 degrees to make it more accurate.
Start by adding a Rotate Instances node between the Duplicate Elements node and the Translate Instances node. Be sure to tick Local Space off. This will make sure we’re rotating the instances as a group instead of all separately.
Exactly like before, let’s add a Combine XYZ node into the Rotation input of the Rotate Instances node, followed by a Multiply Math node.
This time, we’ll need to multiply our Duplicate Index with the radians value of 90 degrees. To do that, let’s add an additional Math node set to To Radians and enter 90 degrees in the input field.
Once you’ve done this, you’ll see that our Jenga tower looks a little weird:

Figure 6.18: Rotation error
This is because we did not set the Pivot Point input of the Rotate Instances node to the center of our created base. Let’s set the X value of the Pivot Point input to 0.025, which is the width of our Jenga block. This will put the pivot point at the center of our base.
Once you change that value, you’ll see that we have a working Jenga tower!

Figure 6.19: Your project so far
Now that we know the rotation works correctly, you can put the nodes we used to do the rotation in an additional frame by executing Shift + P and naming the frame Rotation.
Pro tip
You can customize the color of your frames by pressing N to open the right-hand menu, then press the Nodes menu and find the Color option. Let’s make the frame red in the exercise here! This does not serve any real purpose other than to keep your node tree organized.
This is how this part of the node tree should eventually look:

Figure 6.20: Your current node tree
That was the hardest part of this project. Now, we will go over the details of the tower, such as removing certain blocks and adding randomizations to the blocks.
Adding randomizations to your tower
Section titled “Adding randomizations to your tower”To add randomizations to our Jenga tower, let’s first introduce the Delete Geometry node.

Figure 6.21: Delete Geometry node
This node will delete any geometry of the data type selected while also listening to the Selection Boolean input given on the node. For this use case, we’ll set the node to Instance, since we want to delete individual blocks.
Let’s drop this node at the end of our node tree. Once we do that, we’ll see that our entire Jenga tower disappears!
This is normal, because by default, Blender assumes that the Selection input is fully true. That’s not what we want; we want to randomize the blocks.
To do that, let’s add a Random Value node set to Boolean. Set the Probability value to 0.25, as this is a good ratio of deleted blocks.
If you have executed these steps correctly, you’ll see we have deleted some blocks from our Jenga tower! Let’s put these two nodes in a frame using Shift + P and call the frame Deletion.
To further our randomization, let’s add a Rotate Instances node at the end of our node tree. Let’s follow this up by adding a Random Value node set to Vector with the following parameters:

Figure 6.22: Random Value parameters
Connect the output of this node to the Rotation input of the Rotate Instances node. Once you have completed this step, you’ll see that the blocks are now randomly shifted throughout the tower. Just like the last steps, let’s select the relevant nodes and press Shift + P to make a frame of the nodes we just added. Let’s call the frame Randomization.
This is what these frames should look like:

Figure 6.23: Randomization frames
Our node tree is not complete without adding easy-to-use parameters such as Group Input parameters. Let’s do that in the next section.
Adding Group Input values to our node tree
Section titled “Adding Group Input values to our node tree”To easily control the parameters of our node tree, we can add group inputs. These values will show up in our Modifiers panel and will be easily controllable.
In this particular project, it would be beneficial if we could add the Height, Seed, and Probability parameters:
- Let’s start by adding a Group Input node. It does not need to be connected to anything and the location doesn’t matter either; just make sure you can easily access the nodes we’re about to connect.
- Drag the gray node connection of the Group Input node to the second Duplicate Elements node’s Amount input. This input is responsible for the height of the tower.
- When doing that, you’ll see a new variable pop up in the Group Input node called
Amount. To change the name of this variable, select the Group Input node and press N to open the right-hand panel. - Once you’ve done that, click the Group tab and scroll down to Group Sockets. You’ll want to double-click on the Amount variable and rename it
Height.
Figure 6.24: Height variable
- Next, let’s drag the gray node connection to the Probability input of the Random Value node that we set to Boolean. This will add the Probability value to our Modifier.
- The last option we want to add a parameter for is the Seed value of all the Random Value nodes in our node tree. You can do that by doing the following:
- Drag the gray node connection to the first Random Value node’s Seed input. This will create a new variable called
Seed. 2. Once you have completed that step, you can slide this new value’s node connection to the other Random Value node as well.
- Drag the gray node connection to the first Random Value node’s Seed input. This will create a new variable called
This is how that part of the node tree should look if you executed the steps correctly:

Figure 6.25: Group input connections
If you now take a look at your modifier stack, you will see that the variables show up! Try changing them to see what you achieved!

Figure 6.26: Final result
Summary
Section titled “Summary”In this chapter, we learned how to use the Duplicate Elements node to duplicate instances. In the demonstration in the Demonstrating how the Spreadsheet can be useful section, we learned how to make a custom Array modifier, and in the exercise, we learned how to use the Duplicate Elements node to make a procedural Jenga tower.
In the next chapter, we will introduce the String system inside the Geometry Node editor.