[Bf-python] Can you point me in the right direction? (Please don't delete without reading first)

Justus Self-Medlin jselfmedlin at gmail.com
Tue Mar 27 13:26:05 CEST 2012


Hi! I know you aren't about answering questions, but I have no where else
to go so at the very least if you can't answer my question can you point me
in the correct direction to go?
My question is I am running a python script imported from voodoo. When I
run script I am getting this error message. Python Script failed check
console for now. The script it is referring to is:
#Camera Parameters
*scene.set_frame(0)*
vcam.data.lens = 36.417729
vcam.matrix_world =
mathutils.Matrix([0.998222,0.001166,-0.059587,0.000000],
[0.046988,-0.630424,0.774827,0.000000],
[-0.036662,-0.776250,-0.629358,0.000000],
[-0.040563,19.938493,15.393408,1.000000])
vcam.keyframe_insert('location')
vcam.keyframe_insert('scale')
vcam.keyframe_insert('rotation_euler')
vcam.data.keyframe_insert('lens')

The scene.set_frame(0) is the problem and I can't seem to find a solution
anywhere. What am I writing wrong? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20120327/0d3b6498/attachment.html>


More information about the Bf-python mailing list