I've purchased an Addon called 'Bmesh Clean' which basically systematically cleans up any selected mesh.
I'm trying to write my own script that will automate a process, which will include using the Bmesh Clean function, however I have no idea how to actually call it from my script, and I keep getting 'Python script fail'.
My script is very simple currently, it just imports an FBX, selects all, and then tries to call the Bmesh Clean;
#import bpy bpy.ops.import_scene.fbx(filepath="C:\\Users\\Work\\Desktop\\my_file.fbx") bpy.ops.object.select_all(action='SELECT')
In the Bmesh Clean, there is a 'def bmesh_clean():'
However, I cannot figure out how to call this. Using import bmesh_clean fails, I even tried the script name as import which fails too. I assume that once I've imported it correctly, I only need to call 'bmesh_clean()' on my script.
Any advice? Thanks