importing .nk roto shapes into nuke?

Home Page forums fx Art and Technique Compositing, Roto, Keying importing .nk roto shapes into nuke?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #203332
    robd
    Participant

    can somebody please tell me how to import a .nk roto shape exported from silhouette into nuke?

    thanks

    rd

    #218653
    Dejan
    Participant

    Using the “import script” on the file menu should do it.

    #218655
    Anonymous
    Inactive

    thanks, that does work but i was hoping to be able to have controls for the shape so it would be editable and not have to go back and forth to silhouette to make fixes. also there are also no visible key frames.

    is there a way to edit the shape after its imported?

    #218654
    mariaclark18
    Participant

    The nodes come inside a group, to access the bezier node:

    Edit > Node > Group > Expand Group

    You may have to do this several times if you have the shapes inside layers on Silhouette.

    #218656

    I had to do something very similar to what you want to do. I had to import several mask from Silhouette and group each one of them…

    So I looked a bit into python and wrote a very simple script that maybe will help you:

    import nuke

    shapesPath = nuke.getFilename(“Choose Silhouette Shapes…”, “*.nk”, “”, “”, “”, multiple = True)
    for i in shapesPath:
    print (i)
    currNode = nuke.nodePaste(i)
    currNode.knob(‘selected’).setValue(True)
    nuke.expandSelectedGroup()

    All you have to do is run the script and select all the different shapes you want to import.

    Hope it helps!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Copy link
Powered by Social Snap