NodeIcon SelectEdges

Selects edges on a geometry and provides tools for growing, shrinking, and mirroring loop and ring selections. EdgeSelection can be used to define creases in SubdivideGeom.


VisualEditor

The SelectEdges node has a visual editor that lets you create and modify edge selections.

LMB on an edge

Select the edge.

LMB on empty space

Clear the selection.

SHIFT + LMB on an edge

Add one edge to the current selection.

CTRL + LMB on an edge

Remove one edge from the current selection.

CTRL + SHIFT + LMB on an edge

Add a path from the last clicked edge to this edge.

LMB double-click on an edge

Replace the current selection with the edge loop.

SHIFT + LMB double-click on an edge

Add the edge loop to the current selection.

F

Fit the model to the viewport.

ALT + G

Grow the loop selection.

ALT + S

Shrink the loop selection.

ALT + M

Replace the selection with its mirrored counterpart.

ALT + SHIFT + M

Add the mirrored counterpart to the current selection.

The editor has a toolbar with a set of useful tools:

Grow loop:

extends the selection by one loop edge in both directions.

Shrink loop:

removes one edge from each end of every selected loop segment.

Loop:

completes the loop for every selected edge and adds it to the selection.

Grow ring:

extends the selection by one ring edge in both directions.

Shrink ring:

removes one edge from each end of every selected ring segment.

Ring:

completes the ring for every selected edge and adds it to the selection.

Mirror:

replaces the current selection with its mirrored counterpart.

+Mirror:

adds the mirrored counterpart to the current selection.

Note

Mirror and +Mirror require topological symmetry.

Inputs

Input Geometry

Geometry Geometry on which to select edges.

Output

EdgeSelection Selected edges represented by pairs of vertex indices.

Parameters

File Name:

specifies the file used to save or load an edge selection. Supports Path Interpretation.

Save:

saves the current selection to the file specified by File Name.

Load:

immediately reads the file specified by File Name and replaces the current selection with the loaded selection.

Clear:

clears the current selection.

File Format

Wrap can import and export edge selection data as a text file in JSON format. The selection is represented as a flat array of vertex indices:

[0, 1, 55, 100]

Each pair of consecutive indices defines an edge by specifying its two vertices. In this example, the selected edges connect vertices 0 and 1, and vertices 55 and 100. The array must therefore contain an even number of indices. s .. note:: Edge selections must be used with models that have the same topology and vertex indexing. Switching frames does not load a file automatically; click Load to load the selection for the current frame.