Blenderanimation mit Python erstellen

http://blenderartists.org/forum/showthread.php?237761-Blender-2-6-Set-keyframes-using-Python-script

Um mit einem Pythonscript Lampen an- und abzulöschen:

#Select an object named OBJECTNAME
ob = bpy.data.objects['Lamp']
bpy.context.scene.objects.active=ob

#Set current frame to FRAME
bpy.context.scene.frame_set(30)

#Change its solidify modifier thickness
ob.data.energy = 1

#Make a keyframe for this thickness
ob.data.keyframe_insert(data_path="energy")

Sleep verhindern

http://raspberrycenter.de/forum/monitor-geht

via ssh: ssh -X pi@192.168…… (-X!)

xset -q zeigt aktuelle Einstellungen

xset -dpms

xset s noblank

disabelt das powermanagement etc

http://raspberrypi.stackexchange.com/questions/2059/disable-screen-blanking-in-x-windows-on-raspbian

funktioniert hat aber nur:

You need to edit your script that's starting X. In the default build with lightdm the file to edit is

/etc/lightdm/lightdm.conf

in the SeatDefaults section it gives the command for starting the X server which I modified to get it to turn off the screen saver as well as dpms

[SeatDefaults]
xserver-command=X -s 0 -dpms