This is a fork of the standard .fbx exporter for Blender that has been modified to handle many static objects with modifiers better. In many cases, it can be substantially faster!
Another change is that "Export Selected" is now on by default.
The export operation supports exporting out objects by their object name! This wastly simplifies the export procces in scripts and can be way faster performance wise!
Example:
Get objects example 1
objs_by_name_list = []
for obj in bpy.context.scene.objects:
if obj.display_type != "WIRE":
objs_by_name_list.append(obj.name)
Get objects example 2
objs_by_name_list = ["Suzanne", "Cylinder", "Cube"]
Export the objects in the list, remember that the list needs to be converted to a string!
bpy.ops.export_scene.faster_fbx(names_of_objects_to_export = str(objs_by_name_list), filepath=path_to_your_export)
New operation property when using Python, you can now choose what objects to export by obj.name!
Limitations: it can only export out objects by obj.name, and the input list needs to be converted to a string. If the names_of_objects_to_export string is not "", it will ovveride the other export settings
Python Example:
Get objects example 1
objs_by_name_list = []
for obj in bpy.context.scene.objects:
if obj.display_type != "WIRE":
objs_by_name_list.append(obj.name)
Get objects example 2
objs_by_name_list = ["Suzanne", "Cylinder", "Cube"]
Export the objects in the list, remember that the list needs to be converted to a string!
bpy.ops.export_scene.faster_fbx(names_of_objects_to_export = str(objs_by_name_list), filepath=path_to_your_export)```
This extension requests the following permission:
Export .fbx files
Report issues page needed, I would also need link to original repository to check license, activity, etc. It's good to have that in description
Hi @nickberckley, thanks for the review!
I have added the missing links that I forgot, it whent a bit too hastily last night when I submitted it for review :)
Perhaps the Report Issue/Support link field should be made mandatory in order to submit an add-on for review?
I assumed this was fork of https://blendermarket.com/products/better-fbx-importer--exporter. It is fork of Blenders native add-on? What exactly is changed from that code-wise? Those numbers look hard to believe.
Hi @nickberckley, yes, sorry for being unclear when I uploaded it, it is indeed based of the deafult Blender Fbx exporter add-on.
The biggest changde in this fork is that the exporter does not re-evaluate the object modifiers for every single object it exports. Since the modifiers are already evaluted in almost all cases, I simply use the existing data thats already there :)
If you do not belive the nummbers, feel free to test out again the deafult fbx exporter in the Blenderman demo file: https://www.blender.org/download/demo-files/
The reson I did this fork was I got really tired of the slow export times in bigger production scenes.
I will approve this, but I suggest you contact FBX maintainers in Blender and talk about this. If your method is valid this kind of speedup will be welcomed in original version, if not you'll hear about potential risks/issues this approach might have which is gonna be important for users as well.
Sign in to comment.
Ready for review