Skip to content

Fork from /theRussetPotato/weights_editor: A Maya tool to edit skin weights

License

Notifications You must be signed in to change notification settings

trevorvanhoof/weights_editor_2025

 
 

Repository files navigation

A skin weights component editor inspired from Softimage.

🖥️ Interface

weightsEditorList
The interface using the list view with averaged values


weightsEditorTable
The interface using the table view for more granular control

⭐ Features

  • Editable table and list views to quickly set weights with selected components (verts, edges, faces)
  • Buttons with preset values to add, subtract, scale, or set weights (buttons are customizable)
  • Quickly lock or unlock selected influences from the list/table/influence views by pressing space
  • Influence list on the side
    • Select the influence
    • Select all vertexes weighted to the influence
  • Displays weights in different color themes
    • 3DsMax style (from blue to red)
    • Maya style (from red to white)
    • Softimage style (displays all influences at once)
    • Maximum influences (colors vertexes red if they are over a specific influence count)
  • Weight utilities
    • Prune weights under a specified value
    • Prune weights over a specified influence count
    • Smooth weights using the vert's influences
    • Smooth weights with the verts neighboring influences (using Brave Rabbit's plugin)
    • Mirror selected vertexes or all weights
    • Copy & paste vertex weights
  • Skin weights exporter, which include dual-quaternion weights
    • A button to batch export let's you export out all skinClusters from the scene to a specified folder.
  • Skin weights importer
    • Import via point order
    • Import via world space positions from the mesh's vertices
    • Weights can also import onto selected vertices only, so you can maintain existing skin weights outside of the selection.
    • A button to batch import let's you pick a folder that contains skin files that were previously exported, and import them all at once.
  • Button to flood full weights to the vertex's closest influence to begin quick blocking
  • All operations support undo/redo
  • Most operations are assigned to hotkeys, which can be re-assigned
import_weights.mp4

Exporting weights then importing them onto a different object via world positions

import_weights_on_selection.mp4

Importing weights onto selected vertices

❤️ Supported Versions

In short, Maya 2017 and above is supported.
Release v2.0.0 was heavily used in production in Maya 2018 Extension 4.
It was also rewritten to work with Python 3 so it will run on Maya 2022.

For earlier versions of Maya using PySide (Qt4), only release v1.0.0 will work as future releases will only support PySide2 (Qt5).

➕ Installation

  • Open up a session of Maya
  • Drag and drop the installer file DRAG_AND_DROP_INSTALLER.py into the viewport. Please do not move this file, it uses relative paths to copy over the files.
  • Follow the instructions to complete the installation.

If you prefer to manually install it then simply copy the weights_editor_tool directory to wherever your Python path is pointing to.

After installation you can immediately launch the tool by executing in the script editor:

from weights_editor_tool import weights_editor
weights_editor.run()

👪 Dependencies

This tool doesn't require any extra libraries and uses all native modules that ship with Maya.

An optional plugin is needed to perform a smooth with all influences.
By default this feature will be disabled if the plugin is not loaded.

The plugin is smoothSkinClusterWeight by Ingo Clemens.
It's fantastic, free, and you can download it here.

🐛 Reporting a Bug

If you run into any errors during installation or using the tool itself, then please create a new issue from this repository.

Please include the following:

  • Your operating system (Windows, Linux, Mac)
  • Your version of Maya
  • If possible, open up the script editor and copy & paste the error message.
  • If possible, include a screenshot showing the error.
  • Include any steps that will reproduce the error.

✉️ Requests and New Features

If you have any ideas to improve this tool then feel free to send any suggestions!

🙏 Credits and Thanks

Enrique Caballero and John Lienard for pushing me to make this.
Ingo Clemens (Brave Rabbit) for his smoothSkinClusterWeight plugin.

Happy skinning 😍🎨🖌️

About

Fork from /theRussetPotato/weights_editor: A Maya tool to edit skin weights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Batchfile 0.1%