import os import pymel.core as pm import lct.src.core.lcColor as lcColor import lct.src.core.lcConfiguration as lcConfiguration import lct.src.core.lcGeometry as lcGeometry import lct.src.core.lcPath as lcPath import lct.src.core.lcPlugin as lcPlugin import lct.src.core.lcUI as lcUI import lct.src.core.lcUtility as lcUtility # interface colors hue = 0.6 colorWheel = lcColor.ColorWheel(divisions=2, hueRange=[hue,hue], satRange=[0.4,0.7], valRange=[0.4,0.4]) #set conf values conf = lcConfiguration.Conf.load_conf_file(os.path.join(os.path.abspath(os.path.dirname(__file__)), "{}.conf".format(os.path.basename(__file__).split('.')[0]) ) ) publish = conf['publish'] annotation = conf['annotation'] prefix = conf['prefix'] height = conf['height'] #set paths srcPath = lcPath.Path.getSrcPath() basePath = os.path.abspath(os.path.dirname(__file__)) iconPath = os.path.normpath(os.path.join(basePath, 'icons')) defaultPath = 'Export Path . . .' # #setup configuration node and add necessary attributes
annotation = "Global Texture Node Controls" prefix = 'lcTxT' import os import math import pymel.core as pm from lct.src.core.lcWindow import lcWindow as lcWindow from lct.src.core.lcTexture import Texture as texture from lct.src.core.lcPath import Path as path from lct.src.core.lcShelf import Shelf as shelf import lct.src.core.lcColor as color # interface colors kw = {'hue': 1, 'saturation': 0.5, 'value': 0.5} colorWheel = color.ColorWheel(30, **kw) basePath = os.path.abspath(os.path.dirname(__file__)) + '/' iconBasePath = os.path.abspath(os.path.dirname(__file__)) + "/icons/" def lcTextureToolsUI(dockable=False, *args, **kwargs): ''' ''' ci = 0 #color index iterator windowName = 'lcTextureTools' shelfCommand = 'import lct.src.lcTextureTools.lcTextureTools as lcTxT\nreload(lcTxT)\nlcTxT.lcTextureToolsUI()' icon = basePath + 'lcTextureTools.png' winWidth = 204 winHeight = 174 mainWindow = lcWindow(windowName=windowName,
import os import pymel.core as pm import lct.src.core.lcColor as lcColor import lct.src.core.lcConfiguration as lcConfiguration import lct.src.core.lcPath as lcPath import lct.src.core.lcUI as lcUI # interface colors kw = {'hue': 0.70, 'saturation': 0.5, 'value': 0.5} colorWheel = lcColor.ColorWheel(15, **kw) # set conf values conf = lcConfiguration.Conf.load_conf_file(os.path.join(os.path.abspath(os.path.dirname(__file__)), "{}.conf".format(os.path.basename(__file__).split('.')[0]))) publish = conf['publish'] annotation = conf['annotation'] prefix = conf['prefix'] height = conf['height'] # set paths srcPath = lcPath.Path.getSrcPath() basePath = os.path.abspath(os.path.dirname(__file__)) iconPath = os.path.normpath(os.path.join(basePath, 'icons')) fileName = os.path.splitext(os.path.basename(__file__))[0] # setup configuration node and add necessary attributes global_cfg = lcConfiguration.GlobalSettingsDictionary() lct_cfg = lcConfiguration.ConfigurationNode(lcPath.Path.get_tools_settings_file(), global_cfg) lct_cfg.add('lcPolyBakePop', False)
publish = True annotation = "Hide stuff based on a word/token/string" prefix = 'lcHbT' import os import pymel.core as pm from lct.src.core.lcWindow import lcWindow as lcWindow from lct.src.core.lcUtility import Utility as utility import lct.src.core.lcColor as color # interface colors kw = {'hue': 0.0, 'saturation': 0.5, 'value': 0.5} colorWheel = color.ColorWheel(10, **kw) basePath = os.path.abspath(os.path.dirname(__file__)) + '/' def lcHideByTokenUI(dockable=False, *args, **kwargs): ''' ''' ci = 0 #color index iterator windowName = 'lcHideByToken' shelfCommand = 'import lct.src.lcHideByToken.lcHideByToken as lcHbT\nreload(lcHbT)\nlcHbT.lcHideByTokenUI()' icon = basePath + 'lcHideByToken.png' winWidth = 204 winHeight = 48 mainWindow = lcWindow(windowName=windowName, width=winWidth, height=winHeight, icon=icon,
import os import pymel.core as pm import lct.src.core.lcColor as lcColor import lct.src.core.lcConfiguration as lcConfiguration import lct.src.core.lcPath as lcPath import lct.src.core.lcPrefs as lcPrefs import lct.src.core.lcShader as lcShader import lct.src.core.lcTexture as lcTexture import lct.src.core.lcUI as lcUI # interface colors hue = 0.3 colorWheel = lcColor.ColorWheel(divisions=9, hueRange=[hue, hue], satRange=[0.2, 0.5], valRange=[0.4, 0.6]) # set conf values conf = lcConfiguration.Conf.load_conf_file(os.path.join(os.path.abspath(os.path.dirname(__file__)), "{}.conf".format(os.path.basename(__file__).split('.')[0]))) publish = conf['publish'] annotation = conf['annotation'] prefix = conf['prefix'] height = conf['height'] # set paths srcPath = lcPath.Path.getSrcPath() basePath = os.path.abspath(os.path.dirname(__file__)) iconPath = os.path.normpath(os.path.join(basePath, 'icons')) defaultPath = 'Re-Path Dir . . .' defaultPrefix = 'tx'
publish = True annotation = "Create image planes and add movement controls" prefix = 'lcMIP' import pymel.core as pm import os import math from lct.src.core.lcWindow import lcWindow as lcWindow import lct.src.core.lcColor as color # interface colors kw = {'hue': 0.2, 'saturation': 0.5, 'value': 0.5} colorWheel = color.ColorWheel(15, **kw) basePath = os.path.abspath(os.path.dirname(__file__)) + '/' iconBasePath = os.path.abspath(os.path.dirname(__file__)) + "/icons/" defaultString = 'Unconnected Image Planes' def lcMoveImagePlaneUI(dockable=False, *args, **kwargs): ''' ''' ci = 0 #color index iterator windowName = 'lcMoveImagePlane' shelfCommand = 'import lct.src.lcMoveImagePlane.lcMoveImagePlane as lcMIP\nreload(lcMIP)\nlcMIP.lcMoveImagePlaneUI()' icon = basePath + 'lcMoveImagePlane.png' winWidth = 204 winHeight = 103
import os import pymel.core as pm import lct.src.core.lcColor as lcColor import lct.src.core.lcConfiguration as lcConfiguration import lct.src.core.lcGeometry as lcGeometry import lct.src.core.lcPath as lcPath import lct.src.core.lcPlugin as lcPlugin import lct.src.core.lcTexture as lcTexture import lct.src.core.lcUI as lcUI import lct.src.core.lcUtility as lcUtility # interface colors colorWheel = lcColor.ColorWheel(divisions=8, hueRange=[0.0, 0.9], satRange=[0.4, 0.4], valRange=[0.5, 0.5]) # set conf values conf = lcConfiguration.Conf.load_conf_file( os.path.join(os.path.abspath(os.path.dirname(__file__)), "{}.conf".format(os.path.basename(__file__).split('.')[0]))) publish = conf['publish'] annotation = conf['annotation'] prefix = conf['prefix'] height = conf['height'] width = 205 # set paths srcPath = lcPath.Path.getSrcPath() basePath = os.path.abspath(os.path.dirname(__file__))
import pymel.core as pm import lct.src.core.lcUtility as lcUtility import lct.src.core.lcGeometry as lcGeometry import lct.src.core.lcConfiguration as lcConfiguration import lct.src.core.lcColor as lcColor import lct.src.core.lcShader as lcShader import lct.src.core.lcPath as lcPath import lct.src.core.lcUI as lcUI import lct.src.lcToolbox.lcToolbox as lcToolbox # interface colors hue = 0.0 colorWheel = lcColor.ColorWheel(divisions=3, hueRange=[hue, hue], satRange=[0.5, 0.3], valRange=[0.45, 0.45]) # set conf values conf = lcConfiguration.Conf.load_conf_file( os.path.join(os.path.abspath(os.path.dirname(__file__)), "{}.conf".format(os.path.basename(__file__).split('.')[0]))) publish = conf['publish'] annotation = conf['annotation'] prefix = conf['prefix'] height = conf['height'] # set paths srcPath = lcPath.Path.getSrcPath() basePath = os.path.abspath(os.path.dirname(__file__)) iconPath = os.path.normpath(os.path.join(basePath, 'icons'))