Python to make ticking clock?

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
mikasaari
Posts: 5
Joined: Mon Oct 28, 2002 1:04 pm
Contact:

Python to make ticking clock?

Post by mikasaari »

Hi,

Am I able to create running/ticking clock animation using python ? Couldn't find Text handling API (or there seems to be one but it affects to the TextEdit module).

Thanks a lot,
-Mika

verence
Posts: 33
Joined: Thu Nov 07, 2002 12:42 pm

Re: Python to make ticking clock?

Post by verence »

mikasaari wrote:Hi,

Am I able to create running/ticking clock animation using python ? Couldn't find Text handling API (or there seems to be one but it affects to the TextEdit module).

Thanks a lot,
-Mika
do you want to do this inside blender or is this a general python question?

verence

z3r0_d
Posts: 289
Joined: Wed Oct 16, 2002 2:38 am
Contact:

Post by z3r0_d »

you can't modify a Text object (from what I remember) in python.

Though you could have objects for each of the digits, and each of the values that would be there and use python to generate the layer keys. This is not as good a solution as direct modification of a text object.

The text stuff in the blender module is for text windows, so you can edit a text file stored like your python script in python....

(IIRC)

mtr
Posts: 0
Joined: Tue Jul 29, 2003 4:40 pm

Post by mtr »

I think you can do what you want using the GameEngine features, which are disabled in the current version.

However, it is REALLY EASY to re-enable them (without having the full physics bits available).

The procedure is almost explained in the GameBlender documentation.

If this is of help, let me know and I'll give more detail.

If the GameEngine features won't be of use, you'll have to do something else.

Martin

Post Reply