Blender: python script to import text

Project:Explaining exponential growth
Category:feature request
Project wiki:Explaining exponential growth

The main advantage of remaking the video Are Human smarter than Yeast is to have the source allowing for easier translations of the whole video (audio and video).

The video will be remade with Blender, but we unfortunately, Blender has troubles handling certain fonts.
(See: #407: Blender and Asian fonts , #406: Blender bug: dead keys not working).

The ideal would be to have a python script importing the actual text into the blender text objects. The script could set the font and could much more easily select the proper characters for Chinese.
Also, we'd have a single text file for people to translate the video. Once the text file is translated into another language, we'd have to do minor modifications to the .blender file and re-animate the video in that language.



I don't know much python and I know even less the Blender API.
Maybe I can start to learn from this example:
How do I change cameras during an animation?

import Blender
from Blender import *

def CheckCam():
        frame = Blender.Get("curframe")
        if (frame<=335 and frame >=1):

        if (frame>=336):



When using the 'print' command, where is the information actually printed?
I tried the command line mode, but to no avail:

/blender/my-tests/text-script$ blender -b text-script.blend -P Text.001


#3 is ok. I used the wrong file name. Information is printed in the console.


There is a possible volunteer to translate the video in Hebrew: #427: Translate script in Hebrew
Hebrew is a right-to-left script which compounds the problem with having text objects within blender.

A much easier solution could be using mask images for mapping textures on simple plane objects: #426: Use image mapping for text.