The code you posted below is working here (Nuke9v07 OSX)

Magno.


On Wed, 27 Jan 2016 16:51:31 -0500, Jordan O <jorxs...@gmail.com> wrote:

Thanks for checking gentlemen,

I can confirm that the feather IS pulled out but still returning 0.0, so that's broken on my end. No matter what the feather vertice position relative to the center point, it >returns 0,0,0 in my case.

Magno, can you get the get the featherCenter to return anything but 0?


On Thu, Jan 28, 2016 at 12:42 AM, Magno Borgo <li...@borgo.tv> wrote:
Feather is stored relative to the main point position, so 0,0,0 means no feather.




On Wed, 27 Jan 2016 04:19:39 -0500, Frank Harrison <fr...@thefoundry.co.uk> wrote:

Works AOK for me on OSX on Nuke 9.0v6 and 8.0v6.

Feather curves which aren't pulled out (they are co-locational with the main-curve) are treated specially sometimes to improve performance.


On 27 January 2016 at 07:40, Jordan O <jorxs...@gmail.com> wrote:
Hey fellow TDs,

I had a colleague alert me that a script that worked on Nuke 8 has broken with Nuke 9. (Yes, I realize nuke 10 is about to be released...)


Does this work for you?
a) create a rotopaint node, draw a random closed shape in your viewer, and extend feathers on all points.

run this code with it selected:


rootLayer = nuke.selectedNode()['curves'].rootLayer
shape = rootLayer[0]

print shape[0].center.getPosition(nuke.frame())
# Result: { 678, 423.6, 0 }
print shape[0].featherCenter.getPosition(nuke.frame())
# Result: { 0,0,0 }


What gives? Is featherCenter broken in Nuke9? Seems like an obvious bug, maybe I'm missing something.

cheers,
Jordan

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python




--Frank Harrison
Senior Nuke Software Engineer
The Foundry
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906Web: www.thefoundry.co.uk
Email: frank.harri...@thefoundry.co.uk



--Using Opera's mail client: http://www.opera.com/mail/

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python





--
Using Opera's mail client: http://www.opera.com/mail/
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to