Not working for Blender 4.0
Opened this issue · 3 comments
jjohnson7182 commented
When I try to export my file as a .b3d object, it will let me name the file, but after
I click export, when I look for the file in the selected folder, it isn't there.
joric commented
Oh god there's 4.0 already? I'll see what I can do.
Sembiance commented
Just wanted to say that I was able to use this with blender 4.0, via python. So I created a python script b3d2blend.py
:
import bpy
import sys
bpy.ops.wm.read_factory_settings(use_empty=True)
bpy.ops.preferences.addon_enable(module="io_scene_b3d")
bpy.ops.import_scene.b3d(filepath=sys.argv[5])
bpy.ops.wm.save_as_mainfile(filepath=sys.argv[6])
Then ran blender (under linux) as: blender-4.0 --background --python b3d2blend.py -- test.b3d test.blend
joric commented
I did 4.0 branch in the meantime https://github.com/joric/io_scene_b3d/tree/4.0 there are some other fixes also. I am at 3.6 personally because of send2ue so maybe later when 4.2 becomes the new LTS.