Hello, everyone.
I've found a topic that is already leading me in the right direction:
https://www.blender.org/forum/viewtopic.php?t=28466However, this script only writes what vertex group contains what amount of vertices.
What I would like to do is write out the vertex indices that are used within that vertex group to a file.
Currently, I cannot think of a good way to go about doing this. Does anyone have any suggestions?
Any help is greatly appreciated.
Replies
Keep in mind, I'm using 2.79. I'm not sure if that means anything, though.
It would look something like that:
How would I go about doing that? Thanks in advance.
I know this is getting older. After having looked at the Blender Python API, and some other sources on the internet, I have managed to come up with this method of getting the correct vertices from the correct bones - all as integers. Here's the code if anyone wants to use it. I know it's not the nicest looking thing, but it works like it's supposed to.
Thank you! Most of my models are low polygon - generally 550 triangles or less. So, I don't think my code is too bad. I'm probably very wrong, though. But, I'll definitely keep this dictionary method in mind. I'm beginning to see why you do it this way. Not only does it take up less code - but it looks like it's becoming easier to reference.