Mutant_Tools.Utils.Helpers package

Submodules

Mutant_Tools.Utils.Helpers.ai_helpers module

Mutant_Tools.Utils.Helpers.decorators module

Mutant_Tools.Utils.Helpers.decorators.keep_selection(func)[source]

Restore the original Maya selection when exiting the function.

Mutant_Tools.Utils.Helpers.decorators.undo(func)[source]

Enable undo within Maya after function is run

Mutant_Tools.Utils.Helpers.decorators.viewport_off(func)[source]

Turnoff Maya’s display decorator

Mutant_Tools.Utils.Helpers.decorators.wait_cursor(func)[source]

Set wait cursor while function is running

Mutant_Tools.Utils.Helpers.discord module

Mutant_Tools.Utils.Helpers.helpers module

class Mutant_Tools.Utils.Helpers.helpers.Helpers[source]

Bases: object

capture_viewport(image_name=None, path=None, width=1920, height=1080, ornaments=False)[source]
Args:

image_name: path: width: height: ornaments:

Returns:

export_window(extension='.ma')[source]
find_user_show()[source]
folder_window()[source]
get_inbetween_text(start, finish)[source]
import_window(extension='.ma')[source]
read_json(path, json_file)[source]

will read json file

Args:

path: path to where the json file is (rembember to use to define the folders) json_file: json file name

Returns: dictionary with data

read_setup_file()[source]
reset_to_default()[source]

resetControllers.py - Python Script

Copyright 2012 Carlos Chacon L. All rights reserved.

DESCRIPTION: Resets the selected controllers to their default value.

USAGE: *Select the controllers to be reset. *Run the script.

AUTHOR: Carlos Chacon L. (caedo.00 at gmail dot com) ——————————————————————————————————————–

write_json(path, json_file, data)[source]

Will write json file with data

Args:

path: path to put the json file in (rembember to use to define the folders) json_file: json file name data: dictionary to sabe

Returns: string json file full path

write_setup_file(old_data)[source]

Module contents