I know that this topic was raised on the forum several times in different versions

I tried to solve the issue of creating labels (mark) for mesh and surfaces myself

In one of the variants, it is intended to use the node of the topology of breps.

but I get an error sometimes confusing marking adjacent panels! Can anyone come across a problem? Or maybe someone has a stable definition for this task?

Another, more complex, solution.
I wanted to try to work only with topology indexesâ€¦ without going codingâ€¦
To make it work I simplified the â€śEdge|Face Adjacency (EF)â€ť tree by doing mass addition for each edge and combining it with FE and later subtracting the index of the face itself to obtain simultaneously the edge and the connected face indexes without using any geometric calculations.
(Indexes shifted by 1 as it wouldnâ€™t work with zerosâ€¦)