Erik's should do...
you might want frame-20? You'll get 2 curves - original and modified (used)
Here's one that works here
set cut_paste_input [stack 0]
version 6.2 v2
push $cut_paste_input
Blur {
size {{curve(frame-10) x1 0 x10 10}}
name Blur1
selected true
xpos -256
ypos 134
}
H
________________________________
From: Jason Nguyen <[email protected]>
To: Nuke Python discussion <[email protected]>
Sent: Wed, 9 March, 2011 22:13:18
Subject: Re: [Nuke-python] expression to move keyframes instead of going into
curve editor
yeah the project i'm on right now is 6.1 not 6.2. we have 6.2 installed but
not
use until we're done w/this project.
the edit->move in curve editor is good too but just wanna slap the expression
in
so I won't mess w/the original keyframes too much & it's easier to keep track.
curve(frame+#) like Erik showed would be the best but it seems like not working
for me though,
J
On Wed, Mar 9, 2011 at 2:00 PM, Howard Jones <[email protected]> wrote:
Also there's a simple move tool in the dope sheet if you want to set a baked
move
>
>Howard
>
>
>
>
>
________________________________
From: Erik Winquist <[email protected]>
>To: Nuke Python discussion <[email protected]>
>Sent: Wed, 9 March, 2011 20:10:52
>Subject: Re: [Nuke-python] expression to move keyframes instead of going into
>curve editor
>
>
>
>in that knob, right click and Add Expression...
>
>then make the expression, as an example:
>
>curve(frame+20)
>
>
>
>
>Jason Nguyen wrote:
>Hi,
>>
>>I would like to offset(move) my keyframes like 20 frames forward/backward but
>>have to go into curve editor to set in the edit->move... menu, like (x-20) .
>>Is
>>there away to do it the expression?
>>
>>
>>thanks,
>>
>>J
>>
>>
________________________________
_______________________________________________ Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
erik winquist
weta digital
>_______________________________________________
>Nuke-python mailing list
>[email protected]
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python