Now this code works fine the first time you run the script. The problem is, if you save, close then reopen the blend file, the update no longer works, and the text stays in the same state when you save.
Is there a way to make the updating behavior persistence on closing & loading the files? I want to use render farms because rendering on my laptop takes too long, so I need the reopened blend file to work properly.
hi, you could try registering the script to autoload…
from text editor > text > register, but script should be named *.py
you also need to enable ‘auto run scripts’ from preferences
I don’t know if this is enabled in render farms
So I’ve found a walk around based on @liero suggestion.
First thing I found is that you can use Google Colab and use their GPU to render for free. I used this juypter notebook from this video.
Since juypter notebook gives access to shell command, what you can do is to remove the text in your blend file, put the animate text part in a python script, and use the command line tool to open blend file, execute python script to animate text on the spot, and render the scene.
So take the notebook earlier for example, you can add the code to the “setgpu.py” script (expand the first cell to modify it), and then run the following command to render: