How to get face vertices numbers?


(Karol Wierzbicki) #1

I need to get mesh face vertices. to create new mesh face on base of vertices that are in the model

.Faces.AddFace() //will add mesh face on base of mesh vertex indices

while

var vertexIndexFace1 = obj_ref.Mesh().Faces.GetTopologicalVertices(faceNumber);

will return topology vertex indices, not face vertex indices

so how to get mesh vertices? Does anybody knows?


Show vertex numbers in viewport
#2

Check Rhino.Geometry.Mesh.Vertices in rhinocommon sdk.


(Karol Wierzbicki) #3

I have actually not check the

obj_ref.Mesh().Faces[faceNumber];

which will actually give me what I want, component A, B, C and D, specific mesh vertex numbers for the given face. Sorry for spamming, this one is solved.