trigger.actions.morph

Action that identify and connect blendshapes

Attributes

ACTION_DATA

log

Classes

Morph

Module Contents

class Morph(**kwargs)

Bases: trigger.core.action.ActionCore

action()

Execute Action - Mandatory

categorize_blendshapes(meshes)

puts each shape into the correct category

create_combination_delta(neutral, non_sculpted_meshes, sculpted_mesh, check_sub_combinations=True, inbetween=False)

Creates a basic delta mesh of the sculpted combination shape against non-sculpted

create_hook_node()

Creates the hook node for blendshapes

feed(action_data, *args, **kwargs)

Feeds the instance with the action data stored in actions session

get_inbetween_base_and_value(shape)

Resolve the base mesh and inbetween value from a given shape.

ingest_base(blendshape)
ingest_combination(blendshape)
ingest_inbetween(blendshape)
is_inbetween(blendshape)

Check if the given shape is an inbetween or not by looking at the digits.

save_action()

Mandatory Method - Save Action

ui(ctrl, layout, handler, *args, **kwargs)

UI - Mandatory

action_data
ACTION_DATA
log