Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 of 4
Robin Betts
  • 77.3k
  • 8
  • 78
  • 191

This approach assumes that there are 1 or 2 faces per edge.

The strategy:

  • Capture face and edge indices, then split edges.
  • Accumulate face indices, grouped by captured edge index.
  • The 'Leading' output of Accumulate Field is the index of the first face of the edge.
  • If 'Leading' and 'Total' are equal, there is no second face.
  • Else the second face index is 'Total' minus 'Leading'.
  • The group captures the 'Face 1' and 'Face 2' indices on edges, with non-existent second-face indices represented as -1.

enter image description here

Robin Betts
  • 77.3k
  • 8
  • 78
  • 191