View & accessibility
Thumbnails
Motion
Bforartists
5.1
Editors

Geometry

Geometry nodes: Read, Sample, Write, Material, Operations.

13
 min read
Up to date for 
5.1
draft

Add menu - Geometry

Add menu - Geometry
Add menu - Geometry

Here you find nodes to modify the geometry.

Geometry to Instance

Geometry to Instance

Turns every connected input geometry into an instance. These instances can then for example be used in the Instance on Points node.

EntryWhat it does
InputsGeometry: The input geometry.
OutputsInstances: The output instances.

Join Geometry

Join Geometry

The Join Geometry enables you to merge separately generated pieces of geometry into a single one. In case that the inputted pieces contain different types of geometry, the output will contain multiple types of geometry.

EntryWhat it does
InputsGeometry: Standard geometry input.
OutputGeometry: Standard geometry output.

Read

Add menu - Geometry - Read

Add menu - Geometry - Read
Add menu - Geometry - Read

Here you find nodes to modify the geometry.

ID

ID

Retreive the ID of the object.

Outputs
ID

The ID of the object.

Index

Index

Retreives an integer value indicating the position of each element in the list. This list depends on the internal order of the data in the geometry, which is not necessarily visible in the 3D Viewport. However, the index value is visible in the left-most column in the Spreadsheet Editor.

Outputs
Index

Integer value which enumerates each point on the geometry.

Named Attribute

Named Attribute

Adds a field input.

Input
Name

The input name for the field.

Input
Data Type
Data Type

What data type to use.

Output
Attribute

The output attribute name.

Normal

Normal

Returns a vector for each evaluated point indicating the normal direction. The output can depend on the attribute domain used in the node evaluating the field, but the output is always a normalized unit vector.

The output depends on where you plug in the normal node.

EntryWhat it does
FaceOn the face domain, the normal is the “up” direction of the face.
Mesh VerticesFor mesh vertices, the normal is an average of the surrounding face normals. If the vertex does not have any connected faces, the output is simply the normalized position of that vertex.
EdgeThe normal output for each edge is the average of the edge’s two vertex normals.
Face Corner

The output for each face corner is the same as the face normal of the corresponding face.

Curve Control Points

The output of this node when used for curve geometry is the evaluated normal of the curve, which depends on the twist method. The normal vector is always perpendicular to the direction of the curve’s path at every point.

Warning!

Please keep in mind that for NURBS and Bézier spline curves the value retrieved from this node is the value at every control point. Which may not correspond to the visible evaluated points. For NURBS splines the difference may be even more pronounced and the result may not be as expected. A Resample Curve Node can be used to create a poly spline, where there is a control point for every evaluated point.

Outputs
EntryWhat it does
NormalThe normal vector output.
True NormalFor meshes, outputs normal without custom normal attributes taken into account.

Position

Position

The Position node outputs a vector of each point of the geometry the node is connected to.

The node can work on geometry domains besides points. In that case, the position data will be automatically interpolated to the new domain. For example, when used as part of the input to the mesh edge split node, the position for each edge will be the average position of the edges two vertices.

For instances, the output is the origin of each instance. However, if the node is for a geometry node that adjusts data inside instances, the position output of this node will be in the local space of each instance.

Outputs
Position

The position vector output.

Radius

Radius

Retrieve the radius of the object.

Outputs
Radius

The radius output.

Sample

Add menu - Geometry - Sample

Add menu - Geometry - Sample
Add menu - Geometry - Sample

Here you find nodes to modify the geometry.

Geometry Proximity

Geometry Proximity

This node finds the closest position on the target for each point in the input geometry.

Inputs
EntryWhat it does
GeometryThe target object.
Group IDIs evaluated on the face domain, and splits the input mesh into multiple parts, each with its own id.
Sample PositionThe position where the computed location is stored.
Sample Group IDDetermines in which group the closest nearest surface is detected.
Properties
Target Geometry
Target Geometry

The element of the target geometry to calculate the distance from.

Outputs
EntryWhat it does
PositionClosest location on the surface of the target mesh, or the closest point in the target point cloud in Points mode.
DistanceDistance from the source position to the closest location in the target.
Is ValidWether the sampling was successful. It is false when the sampled group is empty.

Index of Nearest

Index of Nearest

Retreive values from specific geometry elements.

EntryWhat it does
InputsPosition: The position of the nearest element. · Group ID: The group ID of the nearest element.
OutputsIndex: The Index of the nearest element. · Has Neighbor: Has this element a neighbor.

Raycast

Raycast

This node sends a raycast and retreives data from the hit target.

Inputs
EntryWhat it does
Target GeometryThis is actually the source object that sends the ray.
AttributeAttribute input.
Interpolation
Interpolation

Mapping from the target geometry to hit points.

EntryWhat it does
Source PositionSource position input.
Ray DirectionA vector 3 for the ray direction.
Ray LengthThe length of the ray.
Properties
Data Type
Data Type

What data to calculate on hit.

Output
EntryWhat it does
Is HitHas the raycast hit something?
Hit PositionThe hit position if any.
Hit NormalThe normal of the hit point.
Hit DistanceThe distance of the hit point.
AttributeThe attribute of the hit object.

Sample Index

Sample Index

Retreive values from specific geometry elements.

Inputs
EntryWhat it does
GeometryThe source object to take the data from.
ValueThe value to retreive.
IndexThe index position of the value.
Properties
Data Type
Data Type

The type for the source and result data.

Domain
Domain

What kind of data to process.

Clamp

Clamp the indices to the size of the attribute domain.

Output
Value

The output value.

Sample Nearest

Sample Nearest

Retreives the element of a geometry closest to a position.

Inputs
EntryWhat it does
GeometryThe source object to take the data from.
Sample PositionThe position of the source object.
Properties
Properties
Domain

What data to process.

Output
Index

The index output.

Write

Add menu - Geometry - Write

Add menu - Geometry - Write
Add menu - Geometry - Write

Here you find nodes to modify the geometry.

Set Geometry Name

Set Geometry Name

Sets the name of the target geometry.

EntryWhat it does
InputsGeometry: Geometry input. · Name: The name that you want to set
Outputs—
GeometryGeometry output.

Set ID

Set ID

Sets the ID of the target geometry.

EntryWhat it does
InputsGeometry: Geometry input. · Selection: Selection input. · ID: ID Input
Outputs—
GeometryGeometry output.

Set Position

Set Position

The Set Position node controls the location of each point, the same way as controlling the position attribute. If the input geometry contains instances, this node will affect the location of the origin of each instance.

The input node for this data is the Position Node.

EntryWhat it does
InputsGeometry: Geometry input. · Selection: Whether or not to change the position of each point or instance. True values mean the position will be changed, false values mean it will remain the same. · Position: The new position for selected elements. By default, this is the same as if the Position Node was connected, meaning the node will do nothing. · Offset: An optional translation for each point. This is evaluated at the same time as the Position input, meaning that fields evaluated for it will not reflect the changed position.
Outputs—
GeometryGeometry outputs.

Material

Add menu - Geometry - Material

Add menu - Geometry - Material
Add menu - Geometry - Material

Here you find nodes to modify the material.

Replace Material.

Replace Material.

Sets the name of the target geometry.

EntryWhat it does
InputsGeometry: Geometry input. · Old: The material that you want to replace. · New: The new material that replaces the old material.
Outputs—
GeometryGeometry output.

Material Index

Material Index

Retreive the material index.

EntryWhat it does
Outputs—
Material IndexThe material index.

Material Selection

Material Selection

Select a mesh part by material.

EntryWhat it does
InputsGeometry: Geometry input.
Outputs—
Material IndexThe material index.

Set Material

Set Material

Assign a material to a selection.

EntryWhat it does
InputsGeometry: Geometry input. · Selection: The selection of the geometry. · Material: The material to assign.
Outputs—
GeometryThe geometry with the new material assigned.

Set Material Index

Set Material Index

Set the material index of a selection.

EntryWhat it does
InputsGeometry: Geometry input. · Selection: The selection of the geometry. · Material Index: The material index to assign to the selection.
Outputs—
GeometryThe geometry with the new material index assigned.

Operations

Add menu - Geometry - Operations

Add menu - Geometry - Operations
Add menu - Geometry - Operations

Here you find nodes to modify the geometry.

Bake

Bake

Allows saving and loading per-calculated geometry node data. This allows you to bake and “freeze” node tree parts to achieve better performance, where any data up to the node will no-longer be evaluated. Another use is to bake data for use with a render engine.

To bake, the file must be saved first.

Note: When baked, the header of the node will show how many frames have been baked.

EntryWhat it does
InputGeometry: Standard geometry input. You can bake multiple geometry inputs.
PropertiesAnimation / Still: Bake an animation or a single frame. Note that the bake node does not do automatic caching.
OperatorsBake: The bake operator button. Press this to bake. · Delete Geometry Node Bake: Delete baked data of a single bake node or simulation.
OutputGeometry: Standard geometry output.

Bounding Box

Bounding Box

The Bounding Box geometry node allows you to work with the values of a bounding box.

EntryWhat it does
InputsGeometry: Standard geometry input. · Use Radius: Take the radius attribute into account when computing curves, point clouds and grease pencil.
OutputBounding Box: Standard output. · Min: The minimum values of the bounding box. · Max: The maximum values of the bounding box.

Convex Hull

Convex Hull

The node allows you to work with the values of a convex hull of this object.

EntryWhat it does
InputsGeometry: Standard geometry input.
OutputConvex Hull: Standard output.

Delete Geometry

Delete Geometry

The node allows you to work with the values of a convex hull of this object.

Inputs
EntryWhat it does
GeometryStandard geometry input.
SelectionA selection of the geomerty
Properties
Properties
Domain

What element to delete.

Mode
Mode

Delete mode. Names should be self explaining.

Output
Geometry

Standard output.

Duplicate Elements

Duplicate Elements

Duplicates a part of a geometry a dynamic number of times.

Inputs
EntryWhat it does
GeometryStandard geometry input.
SelectionA selection of the geomerty.
AmountNumber of times the geometry should be duplicated.
Properties
Properties
Domain

What element to duplicate.

Output
EntryWhat it does
GeometryStandard output.
Duplicate IndexThe index of the duplicated elements.

Merge by Distance

Merge by Distance

Welds the selected geometry below a given distance into one vertice.

Input
EntryWhat it does
GeometryThe input geometry.
SelectionA selection of the input geometry.
Mode
Mode
EntryWhat it does
AllMerges all vertices in reach.
ConnectedMerges just vertices that are connected by edges.
Distance

The merge distance. Everything below this distance will be merged into one vertice.

Output
Geometry

The output geometry.

Sort Elements

Sort Elements

The Sort Elements node rearranges geometry elements by changing their indices.

Input
Geometry

The input geometry.

Selection
Selection

A selection of the input geometry. If left blank, all elements are sorted. Non selected elements will be keep their current indices.

EntryWhat it does
Group IDGroup ID input value. A group is defined as all elements with the same group id. Elements with the same group ID are sorted together. If this is not a field, the node has no affect.
Sort WeightThe sorted values used to do the reordering. If this is not a field, the node has no affect.
Properties
Domain
EntryWhat it does
PointThe fields are evaluated on points, control points, and vertices.
FaceThe fields are evaluated on the edges of the mesh component.
EdgeThe fields are evaluated on the faces of the mesh component.
SplineThe fields are evaluated on the splines in the curve component.
InstanceThe fields are evaluated on the top-level instances. Realized instances are ignored.
Output
Geometry

The output geometry.

Transform Geometry

Transform Geometry

Move, rotate or scale the geometry. The transformation is applied to the entire geometry, and not per element. For example, you can not rotate individual point cloud points with this node.

Inputs
Mode
Mode

The transformation mode for the node.

Components mode

Uses single values and vectors.

EntryWhat it does
GeometryStandard geometry input.
TranslationTranslates the geometry in local space of the modified object.
RotationEuler rotation in local space.
ScaleScale to transform the geometries in local space.
Matrix mode
Matrix mode

Uses a matrix to transform.

EntryWhat it does
GeometryStandard geometry input.
TransformTransform matrix input.
Output
Geometry

Standard geometry output.

Separate Components

Separate Components

Splits a geometry into its components.

EntryWhat it does
InputsGeometry: Geometry input.
OutputsMesh: Mesh component of the input geometry. · Curve: Curve component of the input geometry. · Grease Pencil: Grease Pencil component of the input geometry. · Point Cloud: Point cloud component of the input geometry. · Volume: Volume component of the input geometry. In case that the input contains multiple volume instances, only the first volume component will be calculated. · Instance: The single instances of the geometry.

Separate Geometry

Separate Geometry

Separates a selection of a geometry into its own object.

Tip: when you combine it with the Compare Floats nodem then you get a more precise control of which parts are separated to a given output geometry.

Inputs
EntryWhat it does
GeometryGeometry input.
SelectionSelection input.
Properties
Domain
Domain

What kind of geometry to separate.

Note that when selecting a domain that doesn’t modify all components, the unmodified components will appear in both outputs.

EntryWhat it does
Outputs—
SelectionSeparated selection. · Inverted: The inverted separated selection.

Split to Instances

Split to Instances

This node allows splitting up a geometry into groups. A group is defined as all elements with the same group id.

The node supports meshes, curves, point clouds and instances. Note that it only works on the top-level geometry. It does not go into nested instances because it also generates new instances.

Inputs
EntryWhat it does
GeometryGeometry input.
SelectionSelection input.
Group IDGroup ID input value.
Properties
Domain
Domain

What kind of geometry to separate.

Note that when selecting a domain that doesn’t modify all components, the unmodified components will appear in both outputs.

EntryWhat it does
Outputs—
InstancesInstances output. An Instance per group. · Group ID: Group ID output value.