zBuilder.nodes.utils package

Submodules

zBuilder.nodes.utils.constraint module

class zBuilder.nodes.utils.constraint.Constraint(*args, **kwargs)[source]

Bases: zBuilder.nodes.dg_node.DGNode

The base node for the node functionality of all nodes

EXTEND_ATTR_LIST = []

List of maya attributes to add to attribute list when capturing.

SEARCH_EXCLUDE = ['_class', '_attrs']

List of attributes to exclude with a string_replace

TYPES = ['pointConstraint', 'orientConstraint', 'parentConstraint']

The type of node.

build(*args, **kwargs)[source]

Builds the zCloth in maya scene.

Parameters:
  • attr_filter (dict) –

    Attribute filter on what attributes to get. dictionary is key value where key is node type and value is list of attributes to use.

    tmp = {‘zSolver’:[‘substeps’]}

  • permissive (bool) – Pass on errors. Defaults to True
constrained
populate(maya_node=None)[source]
targets
type = None
zBuilder.nodes.utils.constraint.get_constrained(constraint_name)[source]
zBuilder.nodes.utils.constraint.get_targets(constraint_name)[source]

Module contents