zBuilder.nodes.deformers package¶
Submodules¶
zBuilder.nodes.deformers.blendShape module¶
-
class
zBuilder.nodes.deformers.blendShape.
BlendShape
(*args, **kwargs)[source]¶ Bases:
zBuilder.nodes.deformer.Deformer
-
EXTEND_ATTR_LIST
= ['origin']¶
-
MAP_LIST
= ['inputTarget[*].inputTargetGroup[*].targetWeights', 'inputTarget[*].baseWeights']¶
-
get_map_meshes
()[source]¶ This is the mesh associated with each map in obj.MAP_LIST. Typically it seems to coincide with mesh store in get_association. Sometimes it deviates, so you can override this method to define your own list of meshes against the map list.
For blendShapes we don’t know how many maps so we are generating this list based on length of maps.
Returns: of long mesh names. Return type: list()
-
long_target
¶
-
target
¶
-
type
= 'blendShape'¶
-
zBuilder.nodes.deformers.deltaMush module¶
zBuilder.nodes.deformers.skinCluster module¶
-
class
zBuilder.nodes.deformers.skinCluster.
SkinCluster
(*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', '_builder_type', 'type']¶ List of attributes to exclude with a string_replace
-
TYPES
= []¶ The type of node.
-
populate
(maya_node=None)[source]¶ This extends ZivaBase.populate()
Adds parent and child storage.
Parameters: maya_node – Maya node to populate with.
-
type
= 'skinCluster'¶
-
zBuilder.nodes.deformers.wrap module¶
-
class
zBuilder.nodes.deformers.wrap.
Wrap
(parent=None, maya_node=None, builder=None, deserialize=None)[source]¶ Bases:
zBuilder.nodes.deformer.Deformer
-
static
get_meshes
(node)[source]¶ Queries the deformer and returns the meshes associated with it.
Parameters: node – Maya node to query. Returns: list of strings of mesh names. Return type: list od strings
-
type
= 'wrap'¶
-
static