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 pyblish.api | |
import pyblish_maya | |
class DummyCollector(pyblish.api.ContextPlugin): | |
order = pyblish.api.CollectorOrder | |
label = 'Dummy Collector' | |
def process(self, context): | |
print('DUMMY COLLECTOR') |
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
from six.moves import queue as thqueue | |
import json | |
from Qt import QtCore | |
class DataRetrievalThread(QtCore.QThread): | |
failed = QtCore.Signal(object) | |
dataReady = QtCore.Signal(object) | |
def __init__(self, job_queue=None, parent=None): |
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 hou | |
from hutil.Qt import QtCore, QtGui, QtWidgets | |
class DDTest(QtWidgets.QFrame): | |
def __init__(self, parent=None): | |
super(DDTest, self).__init__(parent) | |
self.setWindowFlags(QtCore.Qt.Window) | |
self.myList = QtWidgets.QListView(self) | |
self.myModel = QtGui.QStandardItemModel(self.myList) |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
GroupAdd,ExplorerGroup, ahk_class CabinetWClass | |
GroupAdd,ExplorerGroup, ahk_class ExploreWClass | |
; close all Explorer windows when Winkey x pressed | |
#x:: | |
if ( WinExist("ahk_group ExplorerGroup") ) |
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 | |
use_tx = True | |
filepath = r'C:\Users\Administrador\Desktop\test\UV_1k.jpg' | |
if use_tx: | |
tx_filepath = os.path.splitext(filepath)[0] + '.tx' | |
if os.path.isfile(tx_filepath): | |
filepath = tx_filepath |
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
{ | |
'tool': 'maya', | |
'version': '2014', | |
'platforms': ['windows', 'linux', 'darwin'], | |
'requires': [], | |
'environment': | |
{ | |
'MAYA_VERSION': '2014', | |
'MAYA_LOCATION': { | |
'darwin': '/Applications/Autodesk/maya${MAYA_VERSION}/Maya.app/Contents', |
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 getpass | |
tool = { | |
'tool': 'user', | |
'version': '', | |
'platforms': ['windows', 'linux', 'darwin'], | |
'requires': ['maya'], | |
'environment': | |
{ |