shell - Exporting .obj-model to three.js json-object causes python-errors -


i trie export 3d-model use in three.js script. unfortunately not familiar python , 3d stuff much.

when run converter-script (convert_obj_three.py) windows shell error. (the script , model in same directory.)

$ c:/python33/python convert_obj_three.py -i couch.obj -o couch.js file "convert_obj_three.py", line 781 print "warning: skipping morph [%s] different number of vertices [%d] original model [%d]" % (name, n_morph_vertices, n_vertices)                             ^ syntaxerror: invalid syntax 

is because there problem model or make mistake?

the problem use python 3 instead of python 2 run script.

python 2:

print '' 

python 3: print function , no keyword needs brackets:

print('') 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -