vinavfx / vina_gizmos

Nuke Gizmos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

1 - Copy to nuke folder

# Linux:
cd ~/.nuke
git clone https://github.com/vinavfx/vina_gizmos.git

# Windows
# Download git: https://git-scm.com/download/win
git clone https://github.com/vinavfx/vina_gizmos.git "C:\Users\<username>\.nuke\vina_gizmos"

2 - Copy this lines to menu.py

import os

user_nuke = next(i for i in nuke.pluginPath() if '.nuke' in i)
vina_icon = '{}/vina_gizmos/icon.png'.format(user_nuke)
vina_gizmos = nuke.menu('Nodes').addMenu('Vina', icon=vina_icon)

vina_dir = '{}/vina_gizmos/gizmos'.format(user_nuke)

for g in os.listdir(vina_dir):
    vina_gizmos.addCommand(
        g.split('.')[0], lambda: nuke.createNode(os.path.join(vina_dir, g)), icon=vina_icon)

About

Nuke Gizmos

License:GNU General Public License v3.0