STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
379
IN-GAME
2,214
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
bpy.ops.export_scene.smd(export_scene=True) creates duplicates on all layers
Hello guys and happy Easter!

Issue is relatively easy to reproduce. Load up the startup scene, set up the export settings in the scene-panel.
Then execute this python script:

import bpy import os bpy.ops.export_scene.smd(export_scene=True)

Scene-export using the gui works as expected though.
I'm not sure if I missed or found something here.
Last edited by Artfunkel; 3 Apr, 2016 @ 3:03am
< >
Showing 1-7 of 7 comments
Artfunkel 29 Mar, 2016 @ 1:40pm 
I can't even get that far in Blender 2.77 as printing anything to the console fails! Which version are you using?
InstantMuffin 29 Mar, 2016 @ 1:40pm 
2.76 (64Bit) on win7
Last edited by InstantMuffin; 29 Mar, 2016 @ 1:41pm
Artfunkel 29 Mar, 2016 @ 1:43pm 
Hmm, I get the same encoding error there. I'll have to look into this before I can start working on this bug.
InstantMuffin 10 Apr, 2016 @ 9:51am 
np it's not urgent since exporting using the gui works fine.
InstantMuffin 4 May, 2016 @ 11:15am 
Actually, this (automatic import and export) would be really handy for my current project, where it would help me automatically create lods of existing models and pair them together to reduce overall polycount and drawcalls.
If there's any way I can help or speed this up, please let me know.
Artfunkel 4 May, 2016 @ 2:44pm 
I have some questions. What platform are you on? Do you have Blender's bpy.app.debug_value value enabled?
InstantMuffin 4 May, 2016 @ 3:16pm 
Still Windows 7 64-Bit. I could try Ubuntu though if it helps.
I barely have any python experience, let alone with blender's scripting interface (I do get stuff to work, but it takes quite a while).
I didn't know about said value, so I go ahead and say no (at least not on purpose). I'm literally only using the given snippet in the default scene after setting up the export folder and the model format to smd in the gui.
Last edited by InstantMuffin; 4 May, 2016 @ 3:18pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details