OoliteProject / oolite-mesh-converters

Tools for converting to and from Oolite’s 3D mesh format.
http://www.aegidian.org/bb/viewtopic.php?f=4&t=12165
7 stars 2 forks source link

Error #3

Open Kerzian opened 3 years ago

Kerzian commented 3 years ago

Hi! I downloaded the most recent obj to dat converter and titled it "obj2dat.py" I moved that and the obj to a file called 3d on my desktop I then typed:

Python.exe "C:\Desktop\3d\obj2dat.py" "C:\Desktop\3d\MK6_OBJ.obj"

and got this as a return:

C:\Users\mason>Python.exe "C:\Desktop\3d\obj2dat.py" "C:\Desktop\3d\MK6_OBJ.obj" File "C:\Users\mason\Desktop\3d\obj2dat.py", line 11 This script takes a Wavefront .obj file ^ SyntaxError: invalid syntax

C:\Users\mason>

What did I do wrong?

AnotherCommander commented 3 years ago

I think obj2dat is deprecated. Try using Obj2DatTexNorm instead.

Kerzian commented 3 years ago

I used Obj2DatTexNorm, I just named it obj2dat