STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
256
IN-GAME
1,590
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Issue when importing SMD models
So I have SMD models that were previously BMD and I had used this converter: https://github.com/TARNATlON/bmdsmdconvert but everytime I attempt to load it in, I get this response.

Python: Traceback (most recent call last):
File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_scene_valvesource\import_smd.py", line 80, in execute
self.num_files_imported = self.readSMD(filepath, self.properties.upAxis, self.properties.rotMode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_scene_valvesource\import_smd.py", line 1223, in readSMD
if line == "skeleton\n": self.readFrames()
^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_scene_valvesource\import_smd.py", line 391, in readFrames
rot = Euler([float(values[4]), float(values[5]), float(values[6])])
^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: '�'
< >
Showing 1-6 of 6 comments
Note: it had worked before on 3.3 but doesnt now here are the lines for each error

line 80: self.num_files_imported = self.readSMD(filepath, self.properties.upAxis, self.properties.rotMode)

line 1223: if line == "skeleton\n": self.readFrames()

line 391: rot = Euler([float(values[4]), float(values[5]), float(values[6])])
xdshot 3 Aug @ 9:52am 
Open smd file in text editor and see if there are some anomalies
Originally posted by xdshot:
Open smd file in text editor and see if there are some anomalies
how can i search for anomalies? im not familiar with smd files
xdshot 3 Aug @ 1:26pm 
Originally posted by six seven:
Originally posted by xdshot:
Open smd file in text editor and see if there are some anomalies
how can i search for anomalies? im not familiar with smd files

find one smd that works. Open it in text editor. The format structure is simple you would probably figure it out by just reading it.

>line 391: rot = Euler([float(values[4]), float(values[5]), float(values[6])])
This one expects numbers but it gets not a number
Originally posted by xdshot:
Originally posted by six seven:
how can i search for anomalies? im not familiar with smd files

find one smd that works. Open it in text editor. The format structure is simple you would probably figure it out by just reading it.

>line 391: rot = Euler([float(values[4]), float(values[5]), float(values[6])])
This one expects numbers but it gets not a number
They all had worked before then i paused for a short while and they no longer work. this is the same blender version
Note: After testing with similar models after turning into SMD the same issue occurs. I have no clue what to do.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

All Discussions > Help > Topic Details