splineIK.utils.colour module

splineIK.utils.colour.getColourFromInt(colour)

Takes a integer and convert it into a the string name of that colour.

Parameters:colour (int) – The controllers colour to get.
Raises:ValueError – When the colour cannot be converted to an string
splineIK.utils.colour.getColourFromString(colour)

Takes a string of a colour and returns mayas number setting for nurbs colour changes.

Parameters:colour (str) –
Raises:ValueError – When the colour cannot be converted to an integer