Exemplo n.º 1
0
# $Id: twistWidget.py 52150 2017-03-09 20:36:19Z marissa $
#*******************************************************************************

import os, sys, re
import pymel.core as pm
from tip.qt.pkg import QtCore, QtGui, uic

from tip.maya.studio.core import *
from tip.maya.puppet.utils.decorators import undoable
from tip.maya.puppet.tools.templateTools.templateSystems import twistSystem
from tip.maya.puppet.tools.templateTools.templateSystems import muscleTwistSystem

FILEPATH = os.path.dirname(__file__).replace('templateWidgets', 'templateUIs')
__dialogs = list()

form_class, base_class = uic.loadUiType(
    os.path.join(FILEPATH, "twistWidget.ui"))


class TwistWidget(form_class, base_class):

    closeSignal = QtCore.Signal()
    refreshSignal = QtCore.Signal()

    def __init__(self):
        super(TwistWidget, self).__init__()
        self.setupUi(self)
        self.setObjectName('TwistTool')
        self.setWindowTitle('Twist Tool')

        self.reset()
#*******************************************************************************

import os, sys, re
import pymel.core as pm
from tip.qt.pkg import QtCore, QtGui, uic

from tip.maya.studio.core import *
from tip.maya.puppet.utils.decorators import undoable
from tip.maya.puppet.tools.templateTools.templateSystems import digitSystem
from tip.maya.puppet.tools.templateTools.templateSystems import ikNeckSystem
from tip.maya.puppet.tools.templateTools.templateSystems import tailTentacleSystem

FILEPATH = os.path.dirname(__file__).replace('templateWidgets', 'templateUIs')
__dialogs = list()

form_class, base_class = uic.loadUiType(
    os.path.join(FILEPATH, "otherDeformationWidget.ui"))


class OtherDeformationWidget(form_class, base_class):

    closeSignal = QtCore.Signal()
    refreshSignal = QtCore.Signal()

    def __init__(self):
        super(OtherDeformationWidget, self).__init__()
        self.setupUi(self)
        self.setObjectName('otherDeformationTool')
        self.setWindowTitle('Other Deformation Tool')

        #ikNeck
        self.neckJnt_pushButton.clicked.connect(self.assignObject)
#********************************************************************************************************************************
# $Id: poleVectorWidget.py 52150 2017-03-09 20:36:19Z marissa $
#*******************************************************************************

import os, sys, re
import pymel.core as pm
from tip.qt.pkg import QtCore, QtGui, uic

from tip.maya.studio.core import *
from tip.maya.puppet.utils.decorators import undoable
from tip.maya.puppet.tools.templateTools.templateSystems import poleVectorSystem

FILEPATH = os.path.dirname(__file__).replace('templateWidgets', 'templateUIs')
__dialogs = list()

form_class, base_class = uic.loadUiType(
    os.path.join(FILEPATH, "poleVectorWidget.ui"))


class PoleVectorWidget(form_class, base_class):

    closeSignal = QtCore.Signal()
    refreshSignal = QtCore.Signal()

    def __init__(self):
        super(PoleVectorWidget, self).__init__()
        self.setupUi(self)
        self.setObjectName('poleVectorTool')
        self.setWindowTitle('Pole Vector Tool')

        self.reset()
Exemplo n.º 4
0
from tip.maya.studio.workcontext import MayaWorkContext

FILEPATH = os.path.dirname(__file__) + "/builderUI"

DEFBUILDERPATH = os.path.dirname(__file__) + "/defaultBuilderFiles"

editorPath = os.path.join(FILEPATH, "builderWidget.ui")
windowPath = os.path.join(FILEPATH, "builderWidgetMainWindow.ui")
assignPath = os.path.join(FILEPATH, "editFKComponentWidget.ui")

defaultBuilderJson = os.path.dirname(__file__) + "/builderUtils/defaultComponents.json"

QtCore.QCoreApplication.setOrganizationName("Tippett")
QtCore.QCoreApplication.setOrganizationDomain("tippett.com")

form_class, base_class = uic.loadUiType('%s/builderWidget.ui' % FILEPATH)


class BonesWidget(form_class, base_class):

    closeSignal = QtCore.Signal()
    refreshSignal = QtCore.Signal()

class BuilderWidget(form_class, base_class):

    def __init__(self):
        super(BuilderWidget, self).__init__()
        self.setupUi(self)
        self.setObjectName('CreateBuilder')
        self.setWindowTitle('Create Builder')