sweet hack!
thanks

On Thu, Sep 12, 2013 at 9:01 AM, Ben Dickson <[email protected]> wrote:

> If you are creating a new SplineWarp, you can always just generate a
> string to shove into the knob with toScript/fromScript:
>
> Set up the node as you wish in the GUI, then get an example string:
>
> print nuke.selectedNode()['curves'].**toScript()
>
> Write some code to generate a string in a similar format, then to create a
> new node:
>
> warper = nuke.nodes.SplineWarp3()
> warper['curves'].fromScript(""**"AddMode 0 0 0 0 {{v x3f99999a}\n  {f
> 0}\n .... """)
>
>
> Awful, ugly and error-prone, but.. works..
>
>
> On 12/09/13 02:38, Gustaf Nilsson wrote:
>
>> Thanks Magno. I have forwarded this to the foundry('s spam folder?)
>>
>>
>> On Wed, Sep 11, 2013 at 5:19 PM, Magno Borgo <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     __
>>
>>     Not possible, you can create Pin points and put them on A, B or AB
>>     but you cannot connect 2 curves with python.
>>
>>     Join the club and reinforce these bug ids with support:
>>
>>     Bug 35393 – Unable to create splinewarp curve via python
>>     _curveknob.Shape
>>     Bug 34896 – a way to join splinewarp shapes via Python
>>
>>     Magno.
>>
>>
>>
>>
>>         sorry I accidentally sent this email for finishing it:
>>
>>         "thank you with sugar on top!"
>>
>>         G
>>
>>
>>         On Wed, Sep 11, 2013 at 3:36 PM, Gustaf Nilsson
>>         <[email protected] <mailto:[email protected]>**> wrote:
>>
>>             I give up. How can i create a connected pair of pins in a
>>             spline warp?
>>
>>             --
>>             ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
>>
>>
>>
>>
>>         --
>>         ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
>>
>>
>>
>>
>>     --
>>     Magno Borgo
>>     Certified Nuke Trainer
>>     www.boundaryvfx.com <http://www.boundaryvfx.com>
>>     www.borgo.tv <http://www.borgo.tv>
>>
>>     Brasil:Curitiba:GMT= -3
>>
>>     ______________________________**_________________
>>     Nuke-python mailing list
>>     
>> Nuke-python@support.**thefoundry.co.uk<[email protected]>
>>     
>> <mailto:Nuke-python@support.**thefoundry.co.uk<[email protected]>
>> >,
>>
>>     http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>>     http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**
>> nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>>
>>
>>
>>
>> --
>> ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
>>
>>
>> ______________________________**_________________
>> Nuke-python mailing list
>> Nuke-python@support.**thefoundry.co.uk<[email protected]>,
>> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>>
>
> --
> ben dickson
> 2D TD | [email protected]
> rising sun pictures | www.rsp.com.au
>
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<[email protected]>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>



-- 
■ ■ ■ ■ ■ ■ ■ ■ ■ ■
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to