icon Color Control

Download ml_colorControl.py

Revision 2
Last Update 2018-02-17
License MIT

Description

Color selections of nodes as a gradient. Choose a first and last color, and the intermediate colors will be generated by offsetting hsv.

Installation

Copy this file into your maya scripts directory, for example:

C:/Documents and Settings/user/My Documents/maya/scripts/ml_colorControl.py

Run the tool in a python shell or shelf button by importing the module, and then calling the primary function:

import ml_colorControl
ml_colorControl.ui()

Usage

Set the first and last color using the swatch. Select nodes in the order that you want the gradient to run. Finally press the “Color Selected Nodes” button. If you can’t decide on a color, try a random one.

Requirements

This script requires the ml_utilities module, which can be downloaded here: https://raw.githubusercontent.com/morganloomis/ml_tools/master/ml_utilities.py

Installation

Copy this file into your maya scripts directory, for example: C:/Documents and Settings/user/My Documents/maya/scripts/ml_colorControl.py Run the tool in a python shell or shelf button by importing the module, and then calling the primary function: import ml_colorControl ml_colorControl.ui()

Revision History

Revision Date Note
1 2016-09-02 First publish.
2 2018-02-17 Updating license to MIT.