Hi
[Deleted]
I wanta python script that makes my 3d text object counts up every second or let’s say every 25 frames
[Deleted/]
is there a python script that makes a 3d text object counts up every second or let’s say every 25 frames
Hi
[Deleted]
I wanta python script that makes my 3d text object counts up every second or let’s say every 25 frames
[Deleted/]
is there a python script that makes a 3d text object counts up every second or let’s say every 25 frames
Well, at least have you tried planning that script? In other words, to come up with a step by step workflow, just to get programmers more interested in what you “want”, cause it seems like you’re not asking but demanding
edited my thread.
Much better someone help him!!! I’m not an expert in Python!
i made this with layer ipo, but this is tedious
cycle through the first 50 frames
use the 7 segments text file if you want
http://digital.ni.com/public.nsf/allkb/5117E438FDF05A48862564EA00798D3F
counting.blend (148 KB)
I’ve got one , but it only works in 2.49 since the stupid python script links aren’t implemented in 2.5 yet
it’s attached. Based on 25 FPS frame rate - you can change the FPS to whatever you need.
amdbcg_countup.blend (137 KB)
ok, now we want a typing machine effect
like you give it a text like
“blender 123 … some text”
and it types it on the screen like this
“b”
“bl”
“ble”
… etc
each frame has a letter like that
another thing is a text scroller that get’s repeated
thanks man for the nice script!
concatenate the string with an index add based on the framerate.
// output = “”
// string “hello”
// index = currentframe % framerate
output = substr(0,index); // string from 0 to index
this should update on frame change .
Okay, I went ahead and did it for you -
Typewriter() is the function and you just put whatever you want to say in the parameter.
For example,
Typewriter("Hello
World!")
will output, in a typewriter sort of way,
Hello
World!
okay, 3dGURU, now you owe me something
thanks, the counter is working but the typewriter isn’t.
ge see my glass tutorial in www.open-class.org
if you need help with something tell me [although i’m busy]
cFrame had a “/” right before the “#” comment - fixed it.
try this one.
typewriter.blend (143 KB)
not working, and what is cFrame?
the download works fine for blender 2.49.2 (see frame 1-21)
and cFrame is the current frame -like I wrote in the comment next to it