fariazz Posted August 13, 2015 Share Posted August 13, 2015 I'm trying to export any file from Blender using File - Export - Babylon.js and I get this error message. Any help would be very much appreciated! Exporter version: 3.0.0, Blender version: 2.70 (sub 0)========= Conversion from Blender to Babylon.js ========= Python World class constructor completed processing begun of mesh: Cylinder.004 processing begun of Standard material: Material.028 num positions : 66 num normals : 66 num uvs : 0 num uvs2 : 0 num colors : 0 num indices : 384 processing begun of mesh: Sphere.006 processing begun of Standard material: Material.033 num positions : 529 num normals : 529 num uvs : 0 num uvs2 : 0 num colors : 0 num indices : 3096 processing begun of mesh: Sphere.005 processing begun of Standard material: Material.027 num positions : 994 num normals : 994 num uvs : 0 num uvs2 : 0 num colors : 0 num indices : 5952 processing begun of mesh: Sphere.004 processing begun of baked material: Sphere.004========= An error was encountered ========= File "/home/fariazz/.config/blender/2.70/scripts/addons/io_export_babylon.py", line 287, in execute mesh = Mesh(object, scene, nextStartFace, forcedParent, nameID, self) File "/home/fariazz/.config/blender/2.70/scripts/addons/io_export_babylon.py", line 695, in __init__ bakedMat = BakedMaterial(exporter, object, recipe) File "/home/fariazz/.config/blender/2.70/scripts/addons/io_export_babylon.py", line 1803, in __init__ bpy.ops.uv.smart_project(angle_limit = 66.0, island_margin = 0.0, user_area_weight = 1.0, use_aspect = True) File "/usr/share/blender/scripts/modules/bpy/ops.py", line 188, in __call__ ret = op_call(self.idname_py(), None, kw)ERROR: Converting py args to operator properties: : keyword "use_aspect" unrecognized========= end of processing =========elapsed time: 0 min, 0.1385 secsThis is version 2.72 of Blender (the one required for the Babylon export script) in Ubuntu. I've tried exporting a new Blender project with no edits, also tried this public domain one Japanese House | Blend Swap and many others, always getting the same "use_aspect" error message. Quote Link to comment Share on other sites More sharing options...
fariazz Posted August 13, 2015 Author Share Posted August 13, 2015 It seems to be an issue with the latest version. It worked fine when I used an older version of the python script. Opened an issue https://github.com/BabylonJS/Babylon.js/issues/655 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 13, 2015 Share Posted August 13, 2015 Thanks JCP will be able to check it Quote Link to comment Share on other sites More sharing options...
gryff Posted August 13, 2015 Share Posted August 13, 2015 Well fariazz, I looked at the Japanese House from Blend swap and at the log above. The exporter does fine with with the first three materials - they do not have textures associated with them. Then it hits mesh Sphere04 - which does have a texture associated with its material - pillowfabric.jpg. Unfortunately, this texture is not being loaded (see image below - right red box) In fact there seem to be at least 5 textures not being loaded (left red box) If textures are somehow copyrighted etc they are often left out of Blendswap files. cheers, gryff Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted August 13, 2015 Share Posted August 13, 2015 2.49 .blend file "Fixed", that is works as good as it did prior to baking with no errors. 2.75 now version for exporter, though 2.74 worked. If not baking, earlier probably still works. See cross post, where I replied to. Quote Link to comment Share on other sites More sharing options...
fariazz Posted August 14, 2015 Author Share Posted August 14, 2015 Thanks guys for the amazingly fast support. Under the new version of the exporter 3.0.1 it works like a charm using Blender 2.75. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.