Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8553

Reordering Ngons in a mesh C#

$
0
0

@Petras_Vestartas wrote:

Is it possible to reorder ngons in mesh by id list?

For instance there are 3 ngons in a mesh

I would like to shuffle the order so that ngon order would change from 0 1 2 to 2 0 1

I started from this linq:
surfaceMesh.Ngons = flatten.Select(i => surfaceMesh.Ngons[i]).ToList();

but surfaceMesh.Ngons is not datastructure of list but meshNgonList

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8553

Trending Articles