Skip to content

Commit

Permalink
release <- dev (2.3.0)
Browse files Browse the repository at this point in the history
release <- dev (2.3.0)
  • Loading branch information
TrevisanGMW authored Aug 1, 2022
2 parents 65a7509 + b67a10a commit 6a73517
Show file tree
Hide file tree
Showing 8 changed files with 1,299 additions and 847 deletions.
12 changes: 2 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ If you want, you can now delete the downloaded/extracted files (as they have alr

In case you need/want to manually install the scripts. It's also a pretty straightforward process.


<ol>
<li>Close Maya (in case it's opened).</li>
<li>Download the latest release (or clone this repository).</li>
Expand Down Expand Up @@ -354,7 +353,6 @@ In case you need/want to manually install the scripts. It's easy..
<li> PATCH: Small changes used to fix issues or improve existing scripts. </li>
</ul>


</p>

<br>
Expand Down Expand Up @@ -491,7 +489,6 @@ with the provided prefix "Left Side Tag".</p>

</div>


<!-- GT World Space Baker -->
<div>
<h1> GT World Space Baker </h1>
Expand Down Expand Up @@ -954,8 +951,6 @@ If painting the skin weights with "ngSkinTools" (third party plugin) you might h
<br>2. If the character is found, the FK/IK buttons will light up according to the current state.
<br>3. Use the desired function to animate or pose your character.</p>



<h3>FK/IK Tab:</h3>
<ul>
<li><p>This is the FK/IK Switcher. When a button is colored light grey, it means that the system recognized its current state as FK or IK. Use Switch to toggle or click on the desired system to force it into that state. (Whatever pose found in one system will be copied into the other)
Expand Down Expand Up @@ -1133,15 +1128,13 @@ If painting the skin weights with "ngSkinTools" (third party plugin) you might h

</div>


<!-- GT Morphing Attributes -->
<div>
<h1> GT Morphing Attributes </h1>

<img src="./media/gt_morphing_attributes.jpg" align="right"
alt="GT Morphing Attributes GUI">


<p>This script automates the creation of attributes used to drive blend shapes.</p>

<p><b>Load Morphing Object:</b>
Expand Down Expand Up @@ -1455,7 +1448,8 @@ Added attributes don't affect your attribute holder in any way, it's up to you d
<p>Moves the selected objects to the center of the grid (0,0,0) origin point.</p>

<h3>Reset Transforms</h3>
<p>Resets translate, rotate and scale back to zero. For example, you can select all controls of a character and reset its pose.</p>
<p>Resets translate, rotate and scale back to zero. For example, you can select all controls of a character and reset its pose.
<br>This pose will not reset translate for joints.</p>

<h3>Reset Joints Display</h3>
<p>Resets the visibility of all joints. It sets the radius of all joints to one. (Unless the channel is locked) and sets the visibility to "On". It also changes the global joint display scale (multiplier) back to one.</p>
Expand Down Expand Up @@ -1653,7 +1647,6 @@ Do not change the resolution of the image file or crop the image or it might not

</div>


<!-- GT Render Calculator -->
<div>
<h1> GT Render Calculator </h1>
Expand All @@ -1674,7 +1667,6 @@ Do not change the resolution of the image file or crop the image or it might not
<br>The number of computers rendering the same job.
<br>The render time may vary per machine based on the available setup.</p>


<br>

</div>
Expand Down
110 changes: 62 additions & 48 deletions mel-scripts/gt_tools_menu.mel
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,23 @@
// Added "gt_sphere_types.py" to the uninstaller.
// Created "gt_check_updates.py" to better handle updates.
// Changed the "Check For Updates" button in the main menu to call "gt_check_updates.py" instead of a link.
// Fixed issue where unloaded references wouldn't import when using "gtu_import_references" (#15)
// Added"gtu_remove_references" (#16)
// Fixed issue where unloaded references wouldn't import when using "references_import" (#15)
// Added"references_remove" (#16)
// Added a missing reload to "gt_tools_menu.mel"
//
// 1.5.5
// Started storing changelog directly on github. Everything here is now about this menu specifically.
// https://github.com/TrevisanGMW/gt-tools/releases
// Added "gtu_convert_bif_to_mesh"
// Added "convert_bif_to_mesh"
//
// 1.5.6
// Moved "gtu_convert_bif_to_mesh" to the modeling submenu
// Moved "convert_bif_to_mesh" to the modeling submenu
// Added "gt_color_manager"
//
// 1.5.7
// Renamed "gt_create_ctrl_auto_fk" to "gt_create_auto_fk"
// Renamed "gt_create_ctrl_simple_IK_leg" to "gt_create_ik_leg"
// Added "gtu_delete_nucleus_nodes"
// Added "delete_nucleus_nodes"
//
// 1.5.8
// Added "gt_startup_booster"
Expand Down Expand Up @@ -116,10 +116,10 @@
// Updated Make IK Stretchy
//
// 1.6.5
// Added gtu_uniform_jnt_label_toggle to GT Utilities
// Added toggle_uniform_jnt_label to GT Utilities
//
// 1.6.6
// Updated icons for "GTU Uniform LRA Toggle" and "GTU Uniform Label Toggle" to avoid MacOS/Linux compatibility issues
// Updated icons for "Uniform LRA Toggle" and "Uniform Label Toggle" to avoid MacOS/Linux compatibility issues
//
// 1.6.7
// Added Add Sine Attributes
Expand All @@ -132,7 +132,7 @@
// No changes to this menu, only version
//
// 1.7.1
// Added GTU Select Non-unique Objects
// Added Select Non-unique Objects
//
// 1.7.2
// Updated Scripts so they are compatible with Python 3 (Maya 2022+)
Expand All @@ -142,7 +142,7 @@
// Added "gt_transfer_uvs"
//
// 1.7.8
// Added "gtu_full_hud_toggle"
// Added "toggle_full_hud"
//
// 1.7.10
// Added optionVar "gt_check_for_updates_interval_days" and set it to 15 in case it doesn't exist (default value)
Expand All @@ -151,7 +151,7 @@
// Added World Space Baker
//
// 1.7.22
// Added "gtu_generate_udim_previews()"
// Added "generate_udim_previews()"
//
// 1.7.23 - 4 2022-07-13
// Renamed Auto Biped Rigger to Biped Auto Rigger
Expand Down Expand Up @@ -299,13 +299,13 @@ menuItem -l "Curves" -sm true -to true -image "out_stroke.png";

menuItem
-l ("Combine Curves")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_combine_curves')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'curves_combine')\");")
-ann ("Combine curves by moving all the shape objects inside one single transform.")
-image "nurbsCurve.svg";

menuItem
-l ("Separate Curves")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_separate_curves')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'curves_separate')\");")
-ann ("Separate curves by moving every shape object to their own separated transform.")
-image "curveEditor.png";

Expand All @@ -328,18 +328,18 @@ menuItem -l "Modeling" -sm true -to true -image "mesh.svg"; //out_stroke.png
-image "blinn.svg" ;


// GTU Functions
// GT Utility Functions
menuItem -divider true ;

menuItem
-l ("Preview All UDIMs")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_generate_udim_previews')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'generate_udim_previews')\");")
-ann ("Generates UDIM previews for all file nodes.")
-image "textureToGeom.png";

menuItem
-l ("Convert Bif to Mesh")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_convert_bif_to_mesh')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'convert_bif_to_mesh')\");")
-ann ("Converts Bifrost Geometry into Maya Geometry (Mesh). If used with volume or particles the output will be empty.")
-image "nurbsToPolygons.png";

Expand All @@ -348,13 +348,13 @@ menuItem -l "Modeling" -sm true -to true -image "mesh.svg"; //out_stroke.png

menuItem
-l ("Copy Material")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_copy_material')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'material_copy')\");")
-ann ("Copies material to clipboard.")
-image "polyBakeSetAssign.png";

menuItem
-l ("Paste Material")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_paste_material')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'material_paste')\");")
-ann ("Pastes material from clipboard.")
-image "polyBakeSetEdit.png";

Expand Down Expand Up @@ -457,71 +457,79 @@ menuItem -l "Utilities" -sm true -to true -image "bsd-head.png";

menuItem
-l ("Reload File")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_reload_file')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'force_reload_file')\");")
-ann ("Reopens the opened file (to revert back any changes done to the file since it was first opened)")
-image "openLoadGeneric.png";

menuItem
-l ("Resource Browser")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_open_resource_browser')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'open_resource_browser')\");")
-ann ("Opens Maya's Resource Browser. A good way to find icons or elements you may want to use.")
-image "bsd-head.png";

menuItem
-l ("Unlock Default Channels")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_unlock_default_channels')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'unlock_default_channels')\");")
-ann ("Unlocks the default channels of the selected objects. (Default channels : Translate, Rotate, Scale and Visibility)")
-image "Lock_OFF_grey.png";

menuItem
-l ("Unhide Default Channels")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_unhide_default_channels')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'unhide_default_channels')\");")
-ann ("Unhides the default channels of the selected objects. (Default channels : Translate, Rotate, Scale and Visibility)")
-image "RS_filter_list.png";

menuItem
-l ("Uniform LRA Toggle")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_uniform_lra_toggle')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'toggle_uniform_lra')\");")
-ann ("Makes the visibility of the Local Rotation Axis uniform among the selected objects according to the current state of the majority of them.")
-image "srt.png";

menuItem
-l ("Uniform Joint Label Toggle")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_uniform_jnt_label_toggle')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'toggle_uniform_jnt_label')\");")
-ann ("Makes the visibility of the joint labels uniform according to the current state of the majority of them.")
-image "QR_xRay.png";

menuItem
-l ("Convert Joints to Mesh")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_convert_joints_to_mesh')\");")
-ann ("Converts joints to mesh. (Helpful when sending references to other applications)")
-image "HIKCharacterToolSkeleton.png";



menuItem
-l ("Select Non-Unique Objects")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_select_non_unique_objects')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'select_non_unique_objects')\");")
-ann ("Selects all objects with the same short name. (non-unique objects)")
-image "gotoLine.png";

menuItem
-l ("Full HUD Toggle")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_full_hud_toggle')\");")
menuItem
-l ("Complete HUD Toggle")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'toggle_full_hud')\");")
-ann ("Toggles most of the Heads-Up Display (HUD) options according to the state of the majority of them. (Keeps default elements intact when toggling it off)")
-image "channelBox.png";

// Convert
menuItem -divider true;

menuItem
-l ("Convert Joints to Mesh")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'convert_joints_to_mesh')\");")
-ann ("Converts joints to mesh. (Helpful when sending references to other applications)")
-image "HIKCharacterToolSkeleton.png";

menuItem
-l ("Convert to Locators")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'convert_to_locators')\");")
-ann ("Converts transforms to locators. Function doesn't affect selected objects.")
-image "locator.svg";

// References
menuItem -divider true ;

menuItem
-l ("Import References")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_import_references')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'references_import')\");")
-ann ("Imports all references.")
-image "reference.svg";

menuItem
-l ("Remove References")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_remove_references')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'references_remove')\");")
-ann ("Removes all references.")
-image "referenceProxy.png";

Expand All @@ -531,19 +539,19 @@ menuItem -l "Utilities" -sm true -to true -image "bsd-head.png";

menuItem
-l ("Move Pivot to Top")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_move_pivot_to_top')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'move_pivot_top')\");")
-ann ("Moves pivot point to the top of the boundingbox of every selected object.")
-image "moveLayerUp.png";

menuItem
-l ("Move Pivot to Base")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_move_pivot_to_base')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'move_pivot_base')\");")
-ann ("Moves pivot point to the base of the boundingbox of every selected object.")
-image "moveLayerDown.png";

menuItem
-l ("Move Object to Origin")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_move_to_origin')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'move_to_origin')\");")
-ann ("Moves selected objects to origin according to their pivot point.")
-image "grid.svg";

Expand All @@ -552,19 +560,19 @@ menuItem -l "Utilities" -sm true -to true -image "bsd-head.png";

menuItem
-l ("Reset Transforms")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_reset_transforms')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'reset_transforms')\");")
-ann ("Reset transforms. It checks for incomming connections, then set the attribute to 0 if there are none. Currently affects Joints, meshes and transforms. (Only Rotation)")
-image "CenterPivot.png";

menuItem
-l ("Reset Joints Display")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_reset_joint_sizes')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'reset_joint_display')\");")
-ann ("Resets the radius attribute back to one in all joints, then changes the global multiplier (jointDisplayScale) back to one.")
-image "kinJoint.png";

menuItem
-l ("Reset \"persp\" Camera")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_reset_persp_shape_attributes')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'reset_persp_shape_attributes')\");")
-ann ("If persp camera exists (default camera), reset its attributes.")
-image "camera.svg";

Expand All @@ -574,27 +582,33 @@ menuItem -l "Utilities" -sm true -to true -image "bsd-head.png";

menuItem
-l ("Delete Namespaces")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_delete_namespaces')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'delete_namespaces')\");")
-ann ("Deletes all namespaces in the scene.")
-image "renamePreset.png";

menuItem
-l ("Delete Display Layers")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_delete_display_layers')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'delete_display_layers')\");")
-ann ("Deletes all display layers.")
-image "displayLayer.svg";

menuItem
-l ("Delete Nucleus Nodes")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_delete_nucleus_nodes')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'delete_nucleus_nodes')\");")
-ann ("Deletes all nodes related to particles. (Nucleus, nHair, nCloth, nConstraints, Emitter, etc...)")
-image "nParticle.svg";

menuItem
-l ("Delete Keyframes")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_delete_keyframes')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'delete_keyframes')\");")
-ann ("Deletes all nodes of the type \"animCurveTA\" (keyframes).")
-image "keyIntoclip.png";

menuItem
-l ("Delete Unused Nodes")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'delete_unused_nodes')\");")
-ann ("Deletes unused nodes.")
-image "nodeGrapherRemoveNodes.png";

setParent -menu ".." ;

Expand Down Expand Up @@ -670,7 +684,7 @@ menuItem -l "Miscellaneous" -sm true -to true -image "bin.png";
-image "defaultOutliner.svg";

menuItem -l "About"
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'gtu_build_gui_about_gt_tools')\");")
-c ("python(\"gt_tools.execute_script('gt_maya_utilities', 'build_gui_about_gt_tools')\");")
-ann ("Opens about menu.")
-image "help.png" ;

Expand Down
2 changes: 1 addition & 1 deletion python-scripts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os

# Global Vars
PACKAGE_VERSION = "2.2.3"
PACKAGE_VERSION = "2.3.0"

# Initial Setup - Add path and initialize logger
if __name__ != '__main__':
Expand Down
Loading

0 comments on commit 6a73517

Please sign in to comment.