I’m currently parsing some .obj files in Grasshopper - pushing all the informations into the corresponding properties. Lets say the file has 100000 vertices (“v”) the face-information (“f”) but 105000 texture-coordinates (“vt”) from a mtl.
Collecting all the vt information in Mesh.TextureCoordinateList - reordering with the vt-information from the faces (f v-index/vt-index) → SetTextureCoordinate(v-index, Mesh.TextureCoordinateList[vt-index]) works fine and produces a valid mesh.
But Rhino somehow behaves different, when using the internal file-import in gh and creates additional vertices. (now 105000 and “different” from the first mesh)
I didn’t found this piece of code in rhino-common and can’t understand the magic behind the additional vertex-creation.
Thanks for your help.