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
""" | |
python C:\Users\admin\Desktop\luminance_batch_hdr.py "C:\Program Files\Luminance HDR\v.2.6.0\luminance-hdr-cli.exe" C:\Users\admin\Desktop\sorted 13 | |
""" | |
import os | |
import sys | |
import subprocess | |
def is_whole(n): | |
return n % 1 == 0 |
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 clique | |
def recursive_read(): | |
path = nuke.getClipname("Choose Folder", multiple=False) | |
collection_names = {} |
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 subprocess | |
import sys | |
import os | |
import json | |
import shutil | |
import requests | |
import opentimelineio as otio | |
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
""" | |
Place in [NUKE_PATH]/Python/StartupUI | |
""" | |
import os | |
from PySide2 import QtCore, QtWidgets | |
import hiero.core.nuke as nuke | |
import hiero.core.nuke.Node |
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 sys | |
import subprocess | |
def get_size(start_path): | |
total_size = 0 | |
for dirpath, dirnames, filenames in os.walk(start_path): | |
for f in filenames: | |
fp = os.path.join(dirpath, f) |
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
""" | |
Select the node to analyze for held frames. | |
Outputs a FrameHold node with animation synced to the held frames. | |
"incremental" > If True only increment held values by 1. If False held values are the frames. | |
"operation" > choice between "Auto Crop" and "Avg Intensities". Different footage can require different operations. If one operation misses a frame movement, then try the other. | |
""" | |
import nuke |
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 subprocess | |
import logging | |
import sys | |
import argparse | |
import webbrowser | |
import traceback | |
import json | |
import ftrack_api |
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
""" | |
Select all meshes that needs to be mirrored. | |
Script produces a mirror locator with a plane for visualizing. | |
""" | |
import pymel.core as pm | |
selection = pm.ls(selection=True) |
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
""" | |
Select the camera you want to cut from, then the geometry you want | |
to be cut. | |
""" | |
import maya.cmds as cmds | |
import pymel.core as pm | |
def cut_to_frustum(camera, geometry): | |
# Gather relevant camera attributes. |
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 re | |
import sys | |
import shutil | |
def get_size(start_path): | |
total_size = 0 | |
for dirpath, dirnames, filenames in os.walk(start_path): | |
for f in filenames: |