Welcome to
Mod The Sims
Online: 2640
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 8 (Who?), Viewed: 2605 times.
Search this Thread
Old 24th Feb 2011, 03:00 AM Error with importing .smd file? #1
CKandee
Original Poster

Test Subject

Join Date: Dec 2010
Posts: 9


Hello! I've just started to try using blender for bodyshop meshing and was using Bobcatben's tutorial on it. When I get to importing the .smd file however, I always get the error message 'Python script error: check console', so I do! and then the console says:

Traceback (most recent call last):
File "C:\Users\(my user)\Documents\New Folder\.blender\scripts\import_smd.py", line 164, in import_smd
mesh.verts[-1:][0].no[0] = v[3]
IndexError: list index out of range

I've been searching for how to fix the 'IndexError: list index out of range' but i haven't found a clear answer yet (or maybe I have but since I barely know anything about what I'm doing I can't understand it).

Someone please explain how to solve this or at least explain what the problem is, in simple terms .

Also, the Documents\New Folder is where I installed blender and it turns out I can import the skeleton alone, but not the mesh with it or just the mesh.
Last edited by CKandee : 27th Feb 2011 at 12:04 AM.
Old 28th Feb 2011, 09:39 AM #2
Ove51
Test Subject

Join Date: Apr 2008
Posts: 28
Thanks: 322 in 2 Posts
4 Achievements


Hello! I've got that error before and I think that was due to specific mesh (as there was made by one creator). I think that's probably the result of the way the creator made his/her mesh. What mesh do you use? Did you try with other meshes?
Old 3rd Mar 2011, 04:12 AM #3
CKandee
Original Poster

Test Subject

Join Date: Dec 2010
Posts: 9


I can't exactly remember what meshes I've used because I've tried many. I've tried custom meshes and meshes that came with the game but each still have the same problem :/
Old 3rd Mar 2011, 01:32 PM #4
Ove51
Test Subject

Join Date: Apr 2008
Posts: 28
Thanks: 322 in 2 Posts
4 Achievements


Which version of Blender do you use?
Did you try to redownload the python script and reinstall it?
Old 4th Mar 2011, 02:11 AM #5
CKandee
Original Poster

Test Subject

Join Date: Dec 2010
Posts: 9


i use blender 2.49 with Python 2.6.4

haha in the beginning I had many problems when it came to finding out which python I was compatible with. although on the console when i start it up it says it compiles with Python 2.6.1, when I tried that, it for some reason didn't work . So I stuck with 2.6.4.
I have tried redownloading and reinstalling python, but no luck.

I've ALSO tried installing a different version of blender and python and trying that out, but it still has the same problem.
Old 4th Mar 2011, 08:57 AM #6
Ove51
Test Subject

Join Date: Apr 2008
Posts: 28
Thanks: 322 in 2 Posts
4 Achievements


Quote:
Originally Posted by CKandee
although on the console when i start it up it says it compiles with Python 2.6.1, when I tried that, it for some reason didn't work . So I stuck with 2.6.4.


I fear the problem comes from that. I think it needs to be reinstalled properly. Unfortunately, as I use it on linux OS, I can't help you on that part.
Old 7th Mar 2011, 11:58 AM #7
Screaming Mustard
Lab Assistant

Join Date: Feb 2011
Posts: 69
Thanks: 6778 in 182 Posts
11 Achievements


First of all I assume Blender 2.49 is the same as Blender 2.49b. I use Python 2.6.1 with Blender 2.49b (plus I’ve run it with both Vista and Windows 7 if it's any consolation).

I get the OUT OF RANGE message ALL THE TIME for .obj files with Blender. I solved it by simply importing the finished .obj into Milkshape and then exporting it back out again without changing it at all. I have NO IDEA why this worked, but it turned out Blender and Python were somehow screwing up my meshes.
I've had the message a couple of times with .smd files, but it was usually because of my own stuuuuuupid mistakes.

If possible could you send me the .smd mesh you are trying to import? I might be able to take a look and play around with it, determine if it’s Blender that’s somehow screwing up your mesh or if it’s something else.
Old 16th Mar 2011, 01:11 AM #8
CKandee
Original Poster

Test Subject

Join Date: Dec 2010
Posts: 9


I'm not sure what you mean by sending you the .smd file because i'm still pretty new to the mts, and just sims in general database. Do you mean like attach it to a pm and send it to you? :L
Old 16th Mar 2011, 05:29 AM #9
Screaming Mustard
Lab Assistant

Join Date: Feb 2011
Posts: 69
Thanks: 6778 in 182 Posts
11 Achievements


You could email it to me, or just upload it somewhere online and send me a link. My email is fatal.but.not.serious (at) gmail.com if you want to email it.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.