This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; ------------------------------ | |
; Nvil | |
; ------------------------------ | |
#IfWinActive ahk_exe NVil 1.0.exe | |
end::Esc | |
AppsKey::ScrollLock | |
; Retopo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; ------------------------------ | |
; Nvil | |
; ------------------------------ | |
#IfWinActive ahk_exe NVil 1.0.exe | |
end::Esc | |
AppsKey::ScrollLock | |
; Retopo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import maya.cmds as cmds | |
from time import gmtime, strftime | |
def scene_resolution(): | |
return [cmds.getAttr("defaultResolution.width")*3,cmds.getAttr("defaultResolution.height")*3] | |
def playback_selection_range(): | |
aPlayBackSliderPython = mel.eval('$tmpVar=$gPlayBackSlider') | |
time_selection = cmds.timeControl(aPlayBackSliderPython, q=True, rng=True)[1:-1] |