[Bf-python] embedding timecode
Johnny Matthews
johnny.matthews at gmail.com
Mon Mar 28 21:40:55 CEST 2005
Ok, after building with the patch,
1. Start a new scene,
2. add a text object (it is called Font by default)
3. Add this script
------------------------------------------
import Blender
ob = Blender.Object.Get("Font")
txt = ob.getData()
txt.setText(Blender.Get('timecode'))
ob.makeDisplayList()
Blender.Window.RedrawAll()
------------------------------------------
4. Then add a scriptlink on FrameChanged to the script.
Check a video here: http://guitargeek.superihost.com/dropbox/0001_0200.mov
Ken Hughes wrote:
> Johnny Matthews wrote:
>
>> There is a patch in the tracker for Blender.Get('timecode') check it
>> out! it returns a string in the format
>>
>> HH:MM:SS:FF where FF is based on the fps of the current scene
>
>
> So not having played with the new Python Text3d module, how would one
> go about converting this into a text object?
>
> Ken
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
More information about the Bf-python
mailing list