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
// Duplicate Along Path v1.5.0 | |
// author: John Germann | |
// fixed a bug where deforming failed if the object was too short | |
// added a button for finalizing deform along path | |
// added a feature to reset options to default | |
// added a feature that adds a shelf button for DAP | |
// added tooltips for buttons | |
// added a feature that saves duplication settings on the curve, can load settings from the curve | |
// added auto switch for different scene up prefs |
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
#https://codehandbook.org/how-to-read-email-from-gmail-using-python/ | |
#https://gist.github.com/robulouski/7441883 | |
import smtplib | |
import time | |
import imaplib | |
import email | |
import getpass | |
#https://stackoverflow.com/questions/753052/strip-html-from-strings-in-python |
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 sys | |
import subprocess | |
from PySide2.QtWidgets import QLineEdit, QApplication, QMainWindow, QTextEdit, QVBoxLayout, QPushButton, QWidget | |
from PySide2.QtCore import QTimer | |
from PySide2.QtGui import QColor, QTextCursor | |
class RealTimeOutputApp(QMainWindow): | |
def __init__(self): | |
super().__init__() |
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
""" | |
# paste this .py file into your scripts directory and run this in a python tab to show the UI | |
import maya_icon_browser | |
browser = maya_icon_browser.Window() | |
browser.show() | |
""" | |
__author__ = 'Tyler Thornock' | |
__doc__ = 'UI to show the possible built-in maya icons that can be used.' | |
import logging |
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 tkinter import * | |
import unreal | |
# non blocking example of tkinter, which ships with unreal | |
def show(): | |
window = Tk() | |
window.title("TKinter test") | |
window.geometry('350x200') |
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
# get data block from in a blend file. | |
import blender_asset_tracer.blendfile | |
blend_file = blender_asset_tracer.blendfile.BlendFile(file_path) | |
# print(blend_file.blocks) | |
objs = blend_file.find_blocks_from_code(b'OB') | |
print(objs) | |
# since there is no docs of accepted keys, printing some keys here |