Blender to Ogre mesh exporter

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
71puccini
Gnoblar
Posts: 20
Joined: Sun Jun 07, 2020 5:14 pm

Blender to Ogre mesh exporter

Post by 71puccini »

Hi,
I am trying to export my model from blender to ogre mesh.

1. Got the blender2ogre code from https://github.com/OGRECave/blender2ogre
2.Copy the io_ogre folder into the $BLENDER_DIR/scripts/addons folder.
3. I also set the correct path to OGRETOOLS_XML_CONVERTER in io_ogre/config.py prior to the first run.
4. After copying the addon enable it in Blender from User Preferences > Add-Ons > Import-Export (CTRL+ALT+U). Search for ogre and check the box on the right.
5. then I got the following error complaining about line 46 in __init__.py which is simply: from . import ui
6. If you look at the stack trace here: https://gyazo.com/4f5c4b89983225c897a0fbfab13fd16f
it's really coming down to line 224 in importer.py in "ui" directory ==> default=config.get('MESH_TOOL_VERSION')) = {}
becuase io_ogre.config has not attribute called 'MESH_TOOL_VERSION'

not sure where is this module: io_ogre.config and am I missing a step?

thanks!
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 450
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: Blender to Ogre mesh exporter

Post by sercero »

Please tell us what OGRE version are you using and also which Blender version.

Also, are you upgrading blender2ogre from an earlier version or is this a new install of the add-on?

Thanks.
Post Reply