Hi,
I've downloaded and set up scenejs-pycollada on my computer. When I run the examples that are included with the github project, I get the following errors:
-----------------------------------------------
Exporting scene 'Scene'...
Traceback (most recent call last):
File "./scenejs-pycollada.py", line 169, in <module>
main(sys.argv[1:])
File "./scenejs-pycollada.py", line 135, in main
translate(serializer, collada_obj, { 'libraries_only': libraries_only }, debug, verbose)
File "C:\Users\menglin\Documents\ECE480\ECLIPSE\pycollada\translator.py", line 51, in translate
jsscene = translate_scene(scene)
File "C:\Users\menglin\Documents\ECE480\ECLIPSE\pycollada\translator.py", line 512, in translate_scene
jscamera = translate_camera(cam)
File "C:\Users\menglin\Documents\ECE480\ECLIPSE\pycollada\translator.py", line 495, in translate_camera
'fovy': float(camera.yfov),
TypeError: float() argument must be a string or a number
--------------------------------------------------
I have created my own Collada file, using sketchup, and when I try to convert it seems to work, but ends with the status:
Exporting geometry 'ID2665'...
Exporting geometry 'ID2669'...
Exporting geometry 'ID2673'...
Exporting scene 'ID1'...
No camera found in the scene 'ID1' generating the default one.
It does not create a .JS file, nor does it create an embed html document, although I've set the feature to true.
Can someone please help me. I have included the collada file that I'm using to this post as well.
Thank you