Needs some help
by Matthew Ketcham · in Artist Corner · 03/24/2005 (8:38 am) · 2 replies
Alright I'm not on much of the tech side of this, but is there a tutorial or can someone walk me threw on getting Blender to export to a dts file for use in Torque. I got it saying in the export menu for Blender to show torque dts to export it, but it does not work.
The console gives me this when I try to export a simple cube as a dts.
import site failed; use -v for traceback
no instaled python found.
only built-in modules are availave. some scripts may not run.
countinuting happily.
traceback (most recent call last):
File "", line 37, in ?
importError: No moduale named DTSPython
What am I doing wrong? I set the python path as the tutorials have stated to do so. Do I have my folders wrong or something.
This is where my python is installed C:\Python
This is where blender is installed
C:\Program Files\Blender Foundation\Blender
This is what I typed in for my edit system variables under environment variables. Where the tutrorials sets the path for blender.
SET PYTHONPATH=C:\PYTHON22;C:\PYTHON22\DLLS;C:\PYTHON22\LIB;C:\PYTHON22\LIB\LIB-TK
I dont know why it's not working, If someone could help me that would be great, it would make my day:)
Also I have version 1. something of python that I havde downloaded. Is this the wrong version to be using?
I think I gave everyone enough info on my problem so now some help me fix it!
Thanks in advance.
Alright I have just downloaded and installed python ver 2.3 I set the pathe to 23 now in the set pythonepath still wont exprot it still getting the same error message.
The console gives me this when I try to export a simple cube as a dts.
import site failed; use -v for traceback
no instaled python found.
only built-in modules are availave. some scripts may not run.
countinuting happily.
traceback (most recent call last):
File "
importError: No moduale named DTSPython
What am I doing wrong? I set the python path as the tutorials have stated to do so. Do I have my folders wrong or something.
This is where my python is installed C:\Python
This is where blender is installed
C:\Program Files\Blender Foundation\Blender
This is what I typed in for my edit system variables under environment variables. Where the tutrorials sets the path for blender.
SET PYTHONPATH=C:\PYTHON22;C:\PYTHON22\DLLS;C:\PYTHON22\LIB;C:\PYTHON22\LIB\LIB-TK
I dont know why it's not working, If someone could help me that would be great, it would make my day:)
Also I have version 1. something of python that I havde downloaded. Is this the wrong version to be using?
I think I gave everyone enough info on my problem so now some help me fix it!
Thanks in advance.
Alright I have just downloaded and installed python ver 2.3 I set the pathe to 23 now in the set pythonepath still wont exprot it still getting the same error message.
About the author
#2
www.sanctuslegacy.com/forum/viewtopic.php?t=1820
Let me know how it goes -- I'm always looking to improve on future tutorials.
Scott
03/24/2005 (6:02 pm)
Once you get the script itself basically working, check out my tutorial for how to set up your own mesh for exporting.www.sanctuslegacy.com/forum/viewtopic.php?t=1820
Let me know how it goes -- I'm always looking to improve on future tutorials.
Scott
Torque 3D Owner Richard:
Seems you may have the SET path correct (for your setup); but nothing devised to let Python know where to find the Blender tree. Obviously some differences will exist in our Folder structure but you should be able to figure out and implement your by pulling from mine ..
My SET Path is as follows ..
SET PYTHONPATH=C:\PYTHON23;C:\PYTHON23\DLLS;C:\PYTHON23\LIB;c:\python23\lib\plat-win;C:\PYTHON23\LIB\LIB-TK;c:\python23\lib\site-packages;c:\sw\Blender2.35a\python23.zip;C:\SW\Blender2.35a\.blender\scripts;c:\sw\Blender2.35a\.blender\scripts\DTSPython;c:\sw\Blender2.35a\.blender\scripts\util;c:\sw\\blender\Blender2.36\python23.zip;c:\sw\\blender\Blender2.36\.blender\scripts;c:\sw\\blender\Blender2.36\.blender\scripts\DTSPython;c:\sw\\blender\Blender2.36\.blender\scripts\util
I'm using Py 2.3.3 and Blender versions 2.35a and 2.36. Both versions are called upon in my SET Path instructions.
This should clear your problems almost instantly (fingers crossed> and make certain you have your DTS Python script in the correct Blender folder (remember to do an UPDATE in the Py list).
Once you have SET Path in place, reboot for the changes to take effect.
~Ciao