skinning.utils.conversion module

skinning.utils.conversion.as_chunks(l, num)
Parameters:
  • l (list) –
  • num (int) – Size of split
Returns:

Split list

Return type:

list

skinning.utils.conversion.as_mel_procedure(func, arguments=(), return_type=None)

Create a mel procedure that will call the provided function. This mel procedure can then be used to in contexts etc.

Parameters:
  • func
  • arguments (list[tuple]) –
  • return_type (str) –
Returns:

Procedure name

Return type:

str

skinning.utils.conversion.normalize(l)
Parameters:l (list[float]) –
Returns:Normalized values
Return type:list[float]