Model.morphvolumereflect#
- Model.morphvolumereflect(c_collection, s_collection, nauto)#
Creates morph volumes by reflecting the morph volumes on the collection using the specified reflective symmetries (1-plane, 2-plane, 3-plane, cyclical). Optionally the nodes inside the reflected morph volumes can be automatically registered.
- Parameters:
c_collection (Collection) – The collection containing the input morph volume entities to reflect.
s_collection (Collection) – The collection containing the input symmetry entities to use for the reflection of the morph volumes.
nauto (int) –
0 - Do not register new nodes
1 - Register new nodes
Example#
Reflect all morph volumes use the symmetry with ID 4#import hm import hm.entities as ent model = hm.Model() model.morphvolumereflect( c_collection=hm.Collection(model, ent.Morphvolume), s_collection=hm.Collection(model, ent.Symmetry, [4]), nauto=1, )