Hi,
Does someone could explain how the vertices topology is defined?
I have two similars meshes, built from scratch with Point3d and Face index. Face index are ordered the same. Point location is almost similar. Basicaly the meshes are built exactly the same way. However the vertices typology changes. May be buggy?
thx
Attached rhino file and Grasshopper file that helps to display vertices topology.
The topology is correct, but it has different indices. I don’t think you can expect the topologies to be the same in their index numbering, only that they describe the topology of the meshes correctly. This is especially important if each face has its own vertices and consequently vertices are duplicated in the vertex list. That makes it impossible to do face-neighbor analysis without a description of the topology.
What do you want to use the topology for that this is a problem for you?
that is probably a correct topology. TopologyVertices are not ordered in a necessary way. They allow you to navigate the mesh by knowing which mesh Vertices are coincident, which edges they share, in which face they are present, etc.
Thank you for your help. The topology is correct, but as the meshes are built excatly the same, with a slightly different point coordinates, I see no reason the indices are differents. Obviously there is one, and I would like to understand it. With an unweld mesh case, if the meshes are built the same way - by same way I mean same face indice order - the topology indices should also be the same. no?
Hi Piac,
thank you for your help. Understood about TopologyVertices purpose and how to access to indices, etc… but I still don’t understand why indices change on similar built meshes. Did you have a look at the gh file? maybe it helps to understand my case…
This is a known limitation of Rhino 5. It has already been addressed in Rhino WIP. Simply rotating the geometry or scaling it will no longer change the order of TopologyVertices. For now, you could keep track of which MeshVertices those TopologyVertices correspond to. Would that be enough?
Is rhino WIP already accessible? I will be very interested to test it. In the mean time I will find a trick. But it’s good to know that it will be adjusted in the next release. Thx