The model was exported from max using Nintoxicated's script; it's possible that was the cause of the error. I'll have a play around with it in a couple of days when I have more time.
C:\Program Files\Blender Foundation\Blender>blender.exe
found bundled python: C:\Program Files\Blender Foundation\Blender\2.62\python
Load D:\StarCraft II Assets\Models\Exclamations and question marks\question.m3
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\init.py", line 860, in execute
m3import.importFile(self.properties.filepath)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3import.py", line 990, in importFile
importer.importFile(filename)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3import.py", line 403, in importFile
self.model = m3.loadModel(filename)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3.py", line 10600, in loadModel
sections = loadSections(filename)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3.py", line 10577, in loadSections
section.determineContentField()
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3.py", line 45, in determineContentField
self.content = self.contentClass.createInstances(rawBytes=self.rawBytes, cou
nt=indexEntry.repetitions)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3.py", line 5969, in createInstances
list.append(SEQSV1(rawBytes=rawBytes[startOffset:stopOffset]));
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s
cripts\m3.py", line 5921, in init
raise Exception("SEQSV1.unknown1 has value %s instead of the expected value
int(-1)" % self.unknown1)
Exception: SEQSV1.unknown1 has value 1 instead of the expected value int(-1)
"Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\modules\addon_utils.py", line 259, in enable
mod = import(module_name)
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\blendM3export\init.py", line 42, in (module)
from . import m3import
File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\blendM3export\m3import.py", line 33, in (module)
from . import m3
ImportError: cannot import name m3
"
In case you still need it.
I'm new to git, using the GUI I rescanned but it didn't seem to pick up any changes or anything; how do I update the plugin?
I don't seem to be able to enable the addon in blender's user preferences. I click the checkbox but it won't enable.
Using the latest official release of Blender 2.62
BlinkHawk, I'd love to write a plugin for blender; I know how to use blender OK but my python and practical programming knowledge is pretty slim to none. If you PM me your IM (MSN, gtalk, or aim) then I'll contact you and see if something is possible.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Sorry I haven't posted anything, my life got wacky recently. I should be back in a couple weeks or sooner hopefully.
The model was exported from max using Nintoxicated's script; it's possible that was the cause of the error. I'll have a play around with it in a couple of days when I have more time.
C:\Program Files\Blender Foundation\Blender>blender.exe found bundled python: C:\Program Files\Blender Foundation\Blender\2.62\python
Load D:\StarCraft II Assets\Models\Exclamations and question marks\question.m3 Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\init.py", line 860, in execute m3import.importFile(self.properties.filepath) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3import.py", line 990, in importFile importer.importFile(filename) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3import.py", line 403, in importFile self.model = m3.loadModel(filename) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3.py", line 10600, in loadModel sections = loadSections(filename) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3.py", line 10577, in loadSections section.determineContentField() File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3.py", line 45, in determineContentField self.content = self.contentClass.createInstances(rawBytes=self.rawBytes, cou nt=indexEntry.repetitions) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3.py", line 5969, in createInstances list.append(SEQSV1(rawBytes=rawBytes[startOffset:stopOffset])); File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\Blendm3s cripts\m3.py", line 5921, in init raise Exception("SEQSV1.unknown1 has value %s instead of the expected value int(-1)" % self.unknown1) Exception: SEQSV1.unknown1 has value 1 instead of the expected value int(-1)
location:<unknown location>:-1
location:<unknown location>:-1
That's the error I recieved on trying to import http://www.udmod.com/downloads.php?do=download&fileid=28 the question mark there. It's a pretty simple mesh so I was surprised it didn't work.
"Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\modules\addon_utils.py", line 259, in enable mod = import(module_name) File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\blendM3export\init.py", line 42, in (module) from . import m3import File "C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\blendM3export\m3import.py", line 33, in (module) from . import m3 ImportError: cannot import name m3 " In case you still need it.
I'm new to git, using the GUI I rescanned but it didn't seem to pick up any changes or anything; how do I update the plugin?
I don't seem to be able to enable the addon in blender's user preferences. I click the checkbox but it won't enable. Using the latest official release of Blender 2.62
I'll do whatever I can to help, although I'm a programming noob and probably won't be of much help :(
EDIT These may be useful: http://code.google.com/p/blendm3/ http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/M3_Import
BlinkHawk, I'd love to write a plugin for blender; I know how to use blender OK but my python and practical programming knowledge is pretty slim to none. If you PM me your IM (MSN, gtalk, or aim) then I'll contact you and see if something is possible.