I have a sort of big definition, I’m trying to pinpoint the bug by removing part of the code but for now I can’t find the logic. Here a gif:
I’m using 2 geometry pipeline before this part of the code. With swap hidden/visible rhino command they re-trigger all the definition.
It seems Combine&Clean always fails and returns an Invalid mesh when swapping, but reconnecting might resolve the problem.
What I’m seeing is that I’m also able to make the invalid mesh “flow backward” ! (see the gif)
Asked my top IT guru: he said that you maybe date the wrong girl (use TopologyVertices - and combine vertices [better safe than sorry]). He also said something about a Mesh VS droplets of water … but I have no idea what he’s talking about.
Thank you for the help.
Combine&Clean is innocent… behave the same as a simple mesh parameter but act as a dam for the “data reflux”.
With your insights I found it.
I have another script component that was doing:
m.Vertices.Clear();
m.Vertices.AddVertices(pts);
And this caused the mesh to become invalid.
The strange part is that the mesh object (now invalid) also affect the past(on the left) copies of itself on the GH canvas (but stops at components that recompute/edit the mesh… sort of).
Using double precision vertices didn’t solve it, but doing a whole new copy of the mesh did.
Thanks for sharing this.
Glad your issue is sorted now.
I still don’t understand why replacing the vertices with points like that is causing the double/single precision verts to get out of sync though. It does seem like maybe a bug.