Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Shared Edge of Adjacent Mesh Faces

$
0
0

@timothytai wrote:

Hi all,

Is there any method in Rhinocommon to access the shared edge between two adjacent mesh faces?
I can only seem to find methods for getting the ids of adjacent faces, but nothing further:

DataTree<int> f_id = new DataTree<int>();
    for(int i = 0; i < f_cnt; ++i){
      f_id.AddRange(m.Faces.AdjacentFaces(i), new GH_Path(i));
    }
}

Something like an iterator for adjacent faces would be great.

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles