STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
336
游戏中
2,105
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
silver_volt4 2021 年 3 月 24 日 上午 11:26
Importing this .smd file results in a Python error. Unsure if it's my problem or a bug.
Hello, I've installed this tool on my Blender 2.92 installation in hopes of getting a niche set of models that I only found in SFM format. It worked for the most part, but it doesn't want to import this specific file:

https://cdn.discordapp.com/attachments/512271280863445002/824346156229197844/eyelid_001_r_man.smd

This is the Python traceback that I got:

SMD IMPORTER: now working on eyelid_001_r_man - Validated 15 bones against armature "SFMCookietheWolf.qc_skeleton" - Imported 1 new bones WARNING: Found animation in reference mesh "eyelid_001_r_man", ignoring! Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 69, in execute self.num_files_imported = self.readQC(filepath, False, self.properties.doAnim, self.properties.makeCamera, self.properties.rotMode, outer_qc=True) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 1163, in readQC self.readQC(path,False, doAnim, makeCamera, rotMode) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 1163, in readQC self.readQC(path,False, doAnim, makeCamera, rotMode) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 1025, in readQC import_file(2,"smd",REF) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 1020, in import_file self.num_files_imported += (self.readDMX if path.endswith("dmx") else self.readSMD)(path,qc.upAxis,rotMode,False,smd_type,target_layer=layer) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 1240, in readSMD if line == "skeleton\n": self.readFrames() File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_valvesource\import_smd.py", line 386, in readFrames pos = Vector([float(values[1]), float(values[2]), float(values[3])]) IndexError: list index out of range location: <unknown location>:-1

(It is a QC file - I had to put that together to create an avatar from a library of smd files. The head of the character imported fine, but the import stops with this error. If this ends up being a genuine bug instead of my stupidity, I can send those as well if it helps to track down the issue.)

I also tried converting the file to a .obj through a "100% trustworthy online website" (lol), which was successful and blender didn't complain.

Either way, thank you for the great work on the tool! I hope I can get this sorted out.
< >
正在显示第 1 - 1 条,共 1 条留言
Artfunkel 2021 年 3 月 27 日 上午 11:11 
The file contains both an animation and a mesh, which AFAIK is not valid. This SMD probably can't be compiled.

Can you reconfigure the Wall Worm exporter to not do this?
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2021 年 3 月 24 日 上午 11:26
回复数: 1