-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8ea926e
Showing
130 changed files
with
75,071 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Add any directories, files, or patterns you don't want to be tracked by version control | ||
*.pyc | ||
/.project | ||
/.pydevproject | ||
/temp_workFile.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Baguette was originally created in late 2013 by Nimoul "Nims" Bun. | ||
If you have any questions please contact him : | ||
Nimoul "Nims" Bun <[email protected]> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2014-2023 Nims Bun, Baguette and individual contributors. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Baguette is a drag, drop and connect system rig. Each item you create is a module which carries all the data of that item. | ||
The goal of this system is to provide the ability to easily develop rigs by junior riggers, but at the same time be capable of developing advanced rigs by a more senior rigger. | ||
|
||
To launch Baguette UI: | ||
from Baguette import reload_package | ||
reload_package() | ||
|
||
To use some of the rigUtils : | ||
from Baguette.rigModule import rigUtils | ||
|
||
#copy skinning | ||
rigUtils.copySkin(source, sel) | ||
|
||
#mirror some shape | ||
rigUtils.mirrorShape() | ||
|
||
12/24/2018 : a more extensive documentation will come. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
from __future__ import absolute_import | ||
from . import nodeGui, version | ||
from .nodeGui import show | ||
from six.moves import reload_module | ||
|
||
__all__ = ['show', 'nodeGui'] | ||
__version__ = version.__version__ | ||
|
||
def reload_package(): | ||
"""force all files in package to reload""" | ||
from . import nodeGui | ||
nodeGui.close() | ||
|
||
from .utils import Qt | ||
from .ui import graphicsModule | ||
from .ui import mayaNodesList | ||
from .ui import itemGraphic | ||
from .ui import userListModule | ||
from .ui import geo | ||
from .ui import mayaShelf | ||
from .utils import rigUtils | ||
from .utils import faceUtils | ||
from .utils import ikfk | ||
from .utils import shelfBase | ||
from .rigModule import nodeBase | ||
from .rigModule import main | ||
from .rigModule import spine | ||
from .rigModule import head | ||
from .rigModule import leg | ||
from .rigModule import quadLeg | ||
from .rigModule import simpleIk | ||
from .rigModule import foot | ||
from .rigModule import arm | ||
from .rigModule import arm2 | ||
from .rigModule import hand | ||
from .rigModule import oneJoint | ||
from .rigModule import twoJointIk | ||
from .rigModule import spaceSwitch | ||
from .rigModule import chain | ||
from .rigModule import chainRibbon | ||
from .rigModule import quadLeg2 | ||
from .rigModule import leg2 | ||
from .rigModule import faceOneJoint | ||
from .rigModule import faceMain | ||
|
||
reload_module(version) | ||
reload_module(Qt) | ||
reload_module(graphicsModule) | ||
reload_module(nodeGui) | ||
reload_module(mayaNodesList) | ||
reload_module(itemGraphic) | ||
reload_module(userListModule) | ||
reload_module(geo) | ||
reload_module(nodeBase) | ||
reload_module(rigUtils) | ||
reload_module(faceUtils) | ||
reload_module(ikfk) | ||
reload_module(shelfBase) | ||
reload_module(mayaShelf) | ||
reload_module(main) | ||
reload_module(spine) | ||
reload_module(head) | ||
reload_module(leg) | ||
reload_module(quadLeg) | ||
reload_module(simpleIk) | ||
reload_module(foot) | ||
reload_module(arm) | ||
reload_module(arm2) | ||
reload_module(hand) | ||
reload_module(oneJoint) | ||
reload_module(twoJointIk) | ||
reload_module(spaceSwitch) | ||
reload_module(chain) | ||
reload_module(chainRibbon) | ||
reload_module(quadLeg2) | ||
reload_module(leg2) | ||
reload_module(faceOneJoint) | ||
reload_module(faceMain) | ||
|
||
nodeGui.show() |
Binary file not shown.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,229 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>Form</class> | ||
<widget class="QWidget" name="Form"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>362</width> | ||
<height>280</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QWidget" name="createIks_widget" native="true"> | ||
<layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
<item> | ||
<widget class="QCheckBox" name="ikPins_chbx"> | ||
<property name="text"> | ||
<string>Create Iks pin (num joint is locked if checked)</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="doubleJoint_ckb"> | ||
<property name="text"> | ||
<string>double Joint</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QWidget" name="allOptions_widget" native="true"> | ||
<layout class="QVBoxLayout" name="verticalLayout_2"> | ||
<property name="spacing"> | ||
<number>0</number> | ||
</property> | ||
<property name="margin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QWidget" name="numTwist_widget" native="true"> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QLabel" name="label"> | ||
<property name="text"> | ||
<string>num twist :</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QSpinBox" name="numTwist_box"> | ||
<property name="buttonSymbols"> | ||
<enum>QAbstractSpinBox::NoButtons</enum> | ||
</property> | ||
<property name="maximum"> | ||
<number>3</number> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="text"> | ||
<string>(max 3)</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QWidget" name="jointNum_widget" native="true"> | ||
<layout class="QHBoxLayout" name="jointNum_layout"> | ||
<property name="spacing"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QLabel" name="label_5"> | ||
<property name="text"> | ||
<string>num joint :</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QSpinBox" name="numJoint_num"> | ||
<property name="maximumSize"> | ||
<size> | ||
<width>30</width> | ||
<height>16777215</height> | ||
</size> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
<property name="buttonSymbols"> | ||
<enum>QAbstractSpinBox::NoButtons</enum> | ||
</property> | ||
<property name="suffix"> | ||
<string/> | ||
</property> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
<property name="value"> | ||
<number>1</number> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QSlider" name="numJoint_slider"> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
<property name="value"> | ||
<number>1</number> | ||
</property> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QWidget" name="defaultPosition_widget" native="true"> | ||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
<item> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="text"> | ||
<string>default position :</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QRadioButton" name="defaultX_radioBtn"> | ||
<property name="text"> | ||
<string>x</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QRadioButton" name="defaultY_radioBtn"> | ||
<property name="text"> | ||
<string>y</string> | ||
</property> | ||
<property name="checked"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QRadioButton" name="defaultZ_radioBtn"> | ||
<property name="text"> | ||
<string>z</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="reverseOri_ckb"> | ||
<property name="text"> | ||
<string>Reverse</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="scalable_chbx"> | ||
<property name="text"> | ||
<string>Scalable</string> | ||
</property> | ||
<property name="checkable"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="checked"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QComboBox" name="typeSpace_qcb"> | ||
<property name="layoutDirection"> | ||
<enum>Qt::LeftToRight</enum> | ||
</property> | ||
<item> | ||
<property name="text"> | ||
<string>Parent</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Point</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Orient</string> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.