This file contains hidden or 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 ubuntu:latest | |
RUN apt-get -qq update | |
RUN apt-get install python wget -y | |
RUN cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
RUN wget -O dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py | |
VOLUME /root/Dropbox | |
VOLUME /root/.dropbox |
This file contains hidden or 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 hiero | |
seq = hiero.ui.activeSequence() | |
tag_names = ["fluffy", "compositing"] | |
item_names = [] | |
for video_track in seq.videoTracks(): | |
for item in video_track.items(): |
This file contains hidden or 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
sequence = hiero.ui.activeSequence() | |
bin = None | |
for item in sequence.project().clipsBin().bins(): | |
if item.name() == "Conform": | |
bin = item | |
if bin is None: | |
bin = hiero.core.Bin("Conform") |
This file contains hidden or 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
sequence = hiero.ui.activeSequence() | |
bin = None | |
for item in sequence.project().clipsBin().bins(): | |
if item.name() == "Conform": | |
bin = item | |
if bin is None: | |
bin = hiero.core.Bin("Conform") | |
sequence.project().clipsBin().addItem(bin) |
This file contains hidden or 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 pymel.core as pc | |
import os | |
for node in pc.ls(type="file"): | |
path = node.fileTextureName.get() | |
tx_path = os.path.splitext(path)[0] + ".tx" | |
if os.path.exists(tx_path): | |
node.fileTextureName.set(tx_path) |
This file contains hidden or 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
""" | |
Select read nodes to find latest version. | |
Initial search range for versions are 50 versions up. | |
""" | |
import nuke | |
import nukescripts | |
nodes = nuke.selectedNodes() |
This file contains hidden or 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 pymel.core as pc | |
import ngSkinTools.importExport | |
import mgear | |
basename = os.path.basename(pc.sceneName()) | |
filename = os.path.splitext(basename)[0] | |
directory = os.path.dirname(pc.sceneName()) |
This file contains hidden or 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 pymel.core as pc | |
from studiolibrarymaya import animitem | |
basename = os.path.basename(pc.sceneName()) | |
filename = os.path.splitext(basename)[0] | |
directory = os.path.dirname(pc.sceneName()) |
This file contains hidden or 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 pymel.core as pc | |
import mgear.rigbits.facial_rigger.eye_rigger | |
basename = os.path.basename(pc.sceneName()) | |
filename = os.path.splitext(basename)[0] | |
directory = os.path.dirname(pc.sceneName()) |
This file contains hidden or 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 pymel.core | |
basename = os.path.basename(pymel.core.sceneName()) | |
filename = os.path.splitext(basename)[0] | |
directory = os.path.dirname(pymel.core.sceneName()) | |
# Find *.deltamush folder starting with same name as current file |