Forum

RhinoScript – Working on stl file

In my recollection the 'meshfacevertices' command only gives you the countnumber of the vertice. For example face1 may have the vertex 1,2,4,5 and face2 the vertex 2,3,5,6. So they have matching vertex.

The command 'meshvertices' gives you all of the vertices regardless of the faces. The 'meshfacevertices' numbers correspond to the arrayslots of the 'meshvertices' command

Hi:
Yes I figure it out how to work with a .stl file. Now, I need to know another thing for mesh file. If anyone know anything about it then please response. In any mesh file, when I use vertex and face count function it consider each face and consider every vertex in that face. So the faces that have common vertex are counted several time. Is there any way to avoid this. I mean for the common vertex , it should count that vertex only once.