I wanted to add some additional functionality to this Texture Map Batch Bake Addon (it's not mine, no longer maintained, and I take no credit for it whatsoever).
By default it exports baked textures to a //Textures/ folder in the same folder as the .blend file:
path = StringProperty( name='Bake Folder', subtype='DIR_PATH', default='//textures/', description='Save baked images from this object in this folder', )
In my case though I'll be using this addon on an imported fbx and it doesn't look like the addon keeps track of where it was imported from.
Do I have to somehow use the fbx_io operator to get access to the filepath of the fbx it imported?
I couldn't find any threads about how to get the filepath of an imported fbx post-export, and was hoping someone knows of a way to get it.
Thanks in advance!