I’m working with a VTK file and have noticed a discrepancy between what I see in my preview software and what’s actually in the file. I’m hoping someone can help me understand why this is happening.
What I’m seeing:
In my preview software, using the “Hover points on” feature, I can see that node 32781 is connected to two other nodes: 27900 and 32780.
However, when I search the VTK file, I only find one connection for node 32781:
2 32780 32781
I’ve searched the entire file for “32781”, and this is the only instance I can find.
For context, here’s another line from the file showing a similar pattern:
2 32782 32783
My question:
Why does the VTK file only show node 32781 connected to 32780, when my preview software clearly shows it connected to both 32780 and 27900? Am I missing something about how VTK files store connectivity information?
It’s a little hard to say more about the discrepancy you are seeing without seeing more of the file. Are you able to share it via wetransfer.com or similar service?
Just a thought: have you checked the connectivity to point 27900 in your file and the according coordinates of the points? Maybe there are two points at the coordinates of point 32781 and while the hover shows only one of them, 27900 is actually connected to the other one?
You have line segment “soup” in your file. Let’s look at the positions of different nodes in question here:
27900 is at (980.701, 917.531, 18.28)
27901 is at (984.053, 915.391, 17.1658)
32781 is at (984.053, 915.391, 17.1658)
32780 is at (993.063, 909.528, 14.2788)
Node 32781 is a duplicate position of 27901, and 27900 is connected to 27901, but there is no connectivity between 32781 and 27900. It just appears that way in the 3D view.