Bubble387 / blender-smd

Automatically exported from code.google.com/p/blender-smd
0 stars 0 forks source link

Unable to import SMD. #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Export model as .SMD
2.Attempt to import into another blender instance.
3.

What is the expected output? What do you see instead?
The imported model, instead nothing loads. I see the model listed in the scene.

What version of the product are you using? On what operating system?
Blender 2.63, Windows 7

Please provide any additional information below.

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons\io_smd_tools.py", line 2120, in execute
    self.countSMDs = readSMD(context, self.properties.filepath, self.properties.upAxis, self.properties.rotMode, append=self.properties.append)
  File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons\io_smd_tools.py", line 1592, in readSMD
    if line == "triangles\n": readPolys()
  File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons\io_smd_tools.py", line 1140, in readPolys
    co.append( float(values[i]) )
IndexError: list index out of range

location:<unknown location>:-1

Original issue reported on code.google.com by Will.Wri...@gmail.com on 16 Oct 2012 at 9:53

GoogleCodeExporter commented 8 years ago
Please attach your SMD.

Original comment by cont...@steamreview.org on 16 Oct 2012 at 4:46

GoogleCodeExporter commented 8 years ago

Original comment by Will.Wri...@gmail.com on 16 Oct 2012 at 8:36

GoogleCodeExporter commented 8 years ago
The SMD has somehow ended up with a polygon with more than three sides. Can you 
also upload the .blend, please?

Original comment by cont...@steamreview.org on 16 Oct 2012 at 9:22

GoogleCodeExporter commented 8 years ago

Original comment by Will.Wri...@gmail.com on 16 Oct 2012 at 9:40

GoogleCodeExporter commented 8 years ago
So I can't have quads? Usually when I export to smd they're broken into tris

Original comment by Will.Wri...@gmail.com on 16 Oct 2012 at 9:42

GoogleCodeExporter commented 8 years ago
I fixed the problem by running Remove Doubles, which deleted a duplicated face 
on the back of the left leg. After doing that the export succeeds.

Looks like this is a bug with Blender's built-in "make everything triangles" 
operator.

Original comment by cont...@steamreview.org on 17 Oct 2012 at 7:33