Grasshopper

algorithmic modeling for Rhino

 

Hi there,

 

I got a triangulated surface and I need to create a list where the neibouring triangles of each triangle are listed in groups, for example

{0;0;0;1}

0 23(index of first neibouring triangle)

1 54

2 72

 

something like this.

I found a way to do it for one specified triangle within the surface(thanks to the forum) but now I need to get it for all in one list.

Right now it is working by distance between the centre points of the edges of the triangle, but if there is a way to do it by vertices (check if there are triangle with two equal vertices) I would prefer that...

 

 

Views: 218

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service