Hi all!
It seems that Mesh.TopologyEdges Property have a bug. Or, a “misbehaviour”.
With an unwelded mesh it returns the same outputs as if the mesh were welded.
Notice how vertex indexes 4 and 5 never appear even tough the code is iterating over all the edges:
Thanks a lot, Laurent!
I’m still wondering why I - J are returning:
0 - 4 that edge shouldn’t exist.
2 - 5 that edge shouldn’t exist.
1 - 2 appearing twice.
4 - 5 should exist instead, but it’s not on the output.
You have to understand there is 2 distincts list of Vertices
The vertices we always use because they are outputted by most plugin
Mesh.Vertices
And the vertices that are used to make the topology
Mesh.TopologyVertices
Most of the times they are hidden but they are more useful because if mesh is welded or not they don’t change. At a point for example on a corner of a face there is just one TopologicalVertex and sometime many Vertices