"Consistently Selecting the Same Edge on Multiple Breps in Grasshopper"

Problem Description

Context: I am working with a set of Breps in Grasshopper and I need to consistently select the same edge on each of them. Currently, when I use the List Item component to select the edges, I get different edges on each BRep.

Objective

Consistently select the same edge on each BRep.

You will have to provide additional information and maybe a file with internalised geometry so someone can take a look…


I want to select the same edge for all breps
Breps-edges.gh (2.8 MB)

You’ll have to sort the edges first.

Your objects don’t have the same number of edges… Some parts have more than four holes.

So you need to separate closed edges and edges inside the object.

Then some of the convex edges are split or in other words some of the objects have 14 cobvex edges and some have 12 convex edges.

I started sorting your objects but I don’t have the energy to dig any deeper.

Breps-edges.gh (2.8 MB)