Giter Site home page Giter Site logo

tilisleepstealer / blender-addon-fbx-bundle Goto Github PK

View Code? Open in Web Editor NEW
85.0 85.0 14.0 1.16 MB

Unofficial Blender Addon: FBX Bundle ported to blender 2.8

Home Page: https://bitbucket.org/renderhjs/blender-addon-fbx-bundle/src

Python 97.41% C# 2.59%

blender-addon-fbx-bundle's People

Contributors

larsdu avatar tilisleepstealer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blender-addon-fbx-bundle's Issues

Export error when path is long

Hi.

First of all thank you for updating FBX Bundle to Blender 2.8. I create game assets, so the ability to export large number of models all at once is a big time saver for me.

The problem I have is that when I try to export a model to a folder location that has a long path I get the error below. It happens when the path length plus the models name exceed 166 characters.

Traceback (most recent call last):
File "C:\Users\John\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\FBXBundleExporter\op_file_export.py", line 44, in execute
export(self, bpy.context.scene.FBXBundleSettings.target_platform)
File "C:\Users\John\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\FBXBundleExporter\op_file_export.py", line 157, in export
platforms.platforms[mode].file_export(path_full)
File "C:\Users\John\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\FBXBundleExporter\platform_unity.py", line 45, in file_export
bake_space_transform = True
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py", line 201, in call
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx_init_.py", line 634, in execute
return export_fbx_bin.save(self, context, **keywords)
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3198, in save
ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3106, in save_single
encode_bin.write(filepath, root, FBX_VERSION)
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\encode_bin.py", line 291, in write
with open(fn, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Documents\John\GoogleDrive\PublisherProjects\MedievalVillagePolyPack\Models\Blender 2.81\..\..\..\..\..\Projects\UnityProjects\WIP\MedievalVillage\Assets\Nicrom\PolyPacks\MVPP\Models\BuildingParts\Roof\Frames\Ang55\TextCube_01234567890123456789012345678.fbx'

location: C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py:201
location: :-1

Thank you.

License question

What is the license for this add-on? I want to use it for a project for commercial purposes, but this repository doesn't specify a license, and I couldn't find the contact information of the publisher to inquire about it.
If possible you can also reply to this email : [email protected].

Thank you.

Object name is cut when exporting.

Hi.

I create modular assets for video games, so many of my models have pretty long names. Recently I found that if I export a model that has a name with a character length that exceeds 52 characters the name gets cut to 52 characters.

This is before I export. The name has 54 characters.
image

This is after the export. The last 2 characters are removed.
image

Thank you.

Error when saving with Blender 3.1.2

Python: Traceback (most recent call last):
File "C:\Users\harle\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\FBXBundleExporter_init_.py", line 314, in draw
modifier.draw(box)
File "C:\Users\harle\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\FBXBundleExporter\modifier_rename.py", line 42, in draw
super().draw(layout)
File "C:\Users\harle\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\FBXBundleExporter\modifier.py", line 68, in draw
r.operator( op_modifier_apply.op.bl_idname, icon='FILE_TICK' ).modifier_index = modifiers.modifiers.index(self)
AttributeError: 'FBXBUNDLE_OT_modifier_apply' object has no attribute 'modifier_index'

location: :-1

Hierarchy is not preserved

When exported using the add on all child objects are parent directly under the root transform object instead of keeping the hierarchy.
This is important if you would want to animate some parts inside of unity for example. Think a door, frame and handle. Handle is parented to the door, rotate the door taking the handle with it.

Re-export broken in 2.8

Hi,
The Re-Export button doesn't function properly, giving the following traceback:

Traceback (most recent call last):  
  File "C:\Users\kayamon\AppData\Roaming\Blender Foundation\Blender\2.80\scripts
\addons\FBXBundleExporter\op_file_export_recent.py", line 39, in execute  
    export_recent(self)
  File "C:\Users\kayamon\AppData\Roaming\Blender Foundation\Blender\2.80\scripts
\addons\FBXBundleExporter\op_file_export_recent.py", line 68, in export_recent  
    for i in range(len(obj.layers)):  
AttributeError: 'Object' object has no attribute 'layers'

This is using the latest 1.51 release.

It's not a big problem as you can always just re-select everything and do a fresh export.

Adjust position of FBX Bundle Tab in Sidebar?

Is there a possibility to adjust the position of the FBX Bundle Tab in the Sidebar?
Because for some reason it is unchangeably the first tab in my sidebar and I'd rather have it underneath the standard tabs as usually happens with addons in Blender.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.