trigger.utils.parentToSurface

Functions

convertToCmFactor()

parentToSurface([objects, surface, mode, ...])

Attaches the given objects to the surface by follicles

Module Contents

convertToCmFactor()
parentToSurface(objects=None, surface=None, mode='parent', source_parent_cutoff=None)

Attaches the given objects to the surface by follicles Args:

objects: (List) Objects list. surface: (String) The surface that the objects will be attached on. Comptaible types are mesh and nurbs mode: attach mode. Valid values are ‘parent’, ‘parentConstraint’, ‘pointConstraint’, ‘matrixConstraint’

and ‘None’

source_parent_cutoff: (String) Only valid with ‘matrixConstraint’ mode. specified object will reverse-followed

Returns: Follicle Transform Node