예제 #1
0
파일: __init__.py 프로젝트: RocketGun/Sojus
    def setPresets(self):
        import cam_presets
        cam_presets.nodePresetCamera()

        import reformat_presets
        reformat_presets.nodePresetReformat()
예제 #2
0
#set default font so we don't run into the issue of it picking the wrong one on different operating systems, fix this in a bit
#def mydefaultFontPath():
#    return '/Library/Fonts/Arial.ttf'
#nuke.defaultFontPathname = mydefaultFontPath
#nuke.knobDefault('Text.font', mydefaultFontPath())



import nuke
import tabtabtab
m_edit = nuke.menu("Nuke").findItem("Edit")
m_edit.addCommand("Tabtabtab", tabtabtab.main, "Tab")

##########################################################################################
#Nuke to Mari knob defaults
                                      
#nuke.root().knob('socketPort').setValue(50008)
#nuke.root().knob('hostName').setValue('localhost')
#nuke.root().knob('mariDataDir').setValue('/tmp')
#mari.prefs.set('Scripts/Mari Command Port/port', 6105)
                       

###########################   NODE PRESETS   ########################### 

#adding presets for different nuke nodes
#if ( nuke.NUKE_VERSION_MAJOR >= 6) and ( nuke.NUKE_VERSION_MINOR >= 3 ): 
import cam_presets
cam_presets.nodePresetCamera()
import reformat_presets
reformat_presets.nodePresetReformat()
예제 #3
0
파일: init.py 프로젝트: tws0002/nuke-plugin
nuke.knobDefault('Write.afterRender', 'sendToAvconv.sendToAvconv()')

# ROOT
nuke.knobDefault('Root.project_directory',
                 '[python {nuke.script_directory()}]/../')
nuke.knobDefault('Root.format', 'HD')
nuke.knobDefault('Root.proxy_type', 'scale')
nuke.knobDefault('Root.proxy_scale', '.5')
nuke.knobDefault('Root.fps', '23.976')

# NODE PRESETS
# ////////////////////////////////////////////////////////////////////////////////
import cam_presets

cam_presets.nodePresetCamera()
import reformat_presets

reformat_presets.nodePresetReformat()

# LUTs
#Example
#nuke.knobDefault('Viewer.viewerProcess', 'rec709')
#nuke.knobDefault('monitorLut', 'rec709')
#nuke.knobDefault('floatLut', 'rec709')

# OTHER
# ////////////////////////////////////////////////////////////////////////////////

#Goofy Titles for untitled scripts
#nuke.untitled = nukescripts.goofy_title()
예제 #4
0
    def setPresets(self):
        import cam_presets
        cam_presets.nodePresetCamera()

        import reformat_presets
        reformat_presets.nodePresetReformat()