0

Same 3D-Model act like different one?

Ardahan 8 years ago updated 8 years ago 1

I load STL files to helixviewport3d and store them in dictionary as key and file name as value.

But then I load same STL file and check if it is already in dictionary. But then It is not found and adding same model into viewport. where do i go wrong?


For who's wondering, I found that I made a mistake. I am load STL files using modelimporter class. And it returns Model3DGroups, not like Model3D. So actually I store in dictionary Model3DGroup. Because of that it gives error when comparing Model3D and Model3DGroup. So I fixed the error storing to dictionary Model3DGroup.Children[0].