Message 1 of 4
Reading texture data associated with meshes

Not applicable
02-02-2016
10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a mesh which I have imported into Fusion 360. I have added an appearance for every body and verified that this appearance is associated with an image file. It appears textured within Fusion360.
However when I iterate over the TriangleMesh entities in custom script (C++ code), hasTexture() returns false for every mesh. They are clearly the correct meshes however since the triangle data matches what I expect to see.
Am I looking for the texture data in the wrong place? I would have expected the hasTexture() to return true, and for the texture coordinates on the TriangleMesh to be populated.
Any help appreciated.