Model.morphupdatemvols#
- Model.morphupdatemvols(ccollection, han, ord, tan)#
Updates morph volumes on the
ccollection.- Parameters:
ccollection (Collection) – The collection containing the input morph volume entities.
han (int) –
0 - Do not create handles for morph volumes.
1 - Create handles for morph volumes.
ord (int) – Order of morph volumes.
tan (int) –
0 - No tangency.
1 - Make neighboring morph volume edges continuously tangent.
Example#
Update the order, handles, and tangency of the morph volumes on theccollectionselected interactively#import hm import hm.entities as ent model = hm.Model() model.morphupdatemvols( ccollection=hm.CollectionByInteractiveSelection(model, ent.Morphvolume), han=1, ord=1, tan=1, )
Note
The order of the morph volumes (
ord) refers to the number of mid-nodes along each edge with an order of one meaning there will be no mid-nodes, an order of two meaning that there will be one mid-node, and so forth.