Game Development Community

Installing the exporter on OS X

by Francis · in Artist Corner · 09/29/2007 (2:30 am) · 9 replies

Right, I have a problem, I have the exporter and the latest vesion of blender, however there is no "scripts folder. It ends in a little Unix executable file "Blender" inside the "MacOs" folder instead of being able to open up "Blender" and put the folder inside the apparatly non existant "scripts". The only way to open that Unix Executable is via terminal.

Any help greatly appreciated.

#1
09/29/2007 (7:06 am)
...
#2
09/30/2007 (1:23 am)
The easiest way on OsX is creating a folder anywhere (I use a "scripts" folder inside the main Blender folder) for all your non-stock scripts, then setting this folder as the default python path (Info window, file paths tab), and save as user defaults (control + U).
#3
12/12/2007 (9:13 am)
Hey Gustavo,

THANK YOU - I've been sweating about this for days - Haven't actually tested the export, but the option finally shows up in the file menu.
#4
12/12/2007 (12:15 pm)
Hey,

Anyone had a 'Python Script Error' when exporting to DTS'

?
#5
12/12/2007 (3:31 pm)
...
#6
12/14/2007 (2:49 am)
Hi joseph,

Sorry, I'm a bit green with Blender - hoiw do I get to the 'console window'

a
#7
12/15/2007 (11:17 am)
I actually just put the scripts needed in the same place as that Unix executable. No need to make another folder.

EDIT: For veiwing the console in OS X, just execute the Unix thing, then export it and look at the terminal (DO NOT close the terminal until you are done with Blender, or it will quit).
#8
12/16/2007 (4:19 am)
OK - got it - thanks for that - Is it an issue with C4d -->blend - I'm using the .obj files? or the way I'm preparing the model?- the 'example.blend' file, that comes with the plug-in renders and imports into torque fine. Here is the log file:

Torque Exporter 0.95
Using blender, version 245
Processing Scene...
Warning: 'COL' designation for collision node deprecated, use 'COLLISION' instead.
Warning: Could not accept child Empty.001 on shape Shape
Cleaning Preference Keys
Exporting...
Writing shape to '/Users/nickwalters/documents/studio/Projects/adgesgadgets/torque_test\bench.dts'.
Processing...
> Shape Details
> Nodes
^^ Bone [Exp-Catch-Root] (parent -1)
> Objects
'bench' : Standard
> Materials
> Detail Levels
Collision-1 (size : -1)
Smallest : Collision-1 (size : 0)
> Internal Sequences
Writing out DTS...
Error: Exception encountered, bailing out.

Traceback (most recent call last):
File "", line 736, in process
File "/Applications/blender/scripts/DTSPython/Dts_Shape.py", line 777, in write
msh.write(dstream)
File "/Applications/blender/scripts/DTSPython/Dts_Mesh.py", line 590, in write
dstream.writePrimitive(p)
File "/Applications/blender/scripts/DTSPython/Dts_Stream.py", line 292, in writePrimitive
self.writes16(value.firstElement)
File "/Applications/blender/scripts/DTSPython/Dts_Stream.py", line 255, in writes16
self.write16(value)
File "/Applications/blender/scripts/DTSPython/Dts_Stream.py", line 185, in write16
def write16(self, value): self.buffer16.append(value)
OverflowError: signed short integer is greater than maximum

thanks,

a
#9
12/16/2007 (9:33 am)
...