Model.markcombineelements#
- Model.markcombineelements(elements, tolerance=1, quadstrias=0, validity=False)#
Combines selected shell elements into one quad or tria element.
- Parameters:
elements (Collection) – The collection containing the element entities to be combined.
tolerance (double) – The maximum tolerance value before a node within the group of selected elements is considered to be out of the plane formed by any three nodes attached to the group of selected elements. (default 1.0)
quadstrias (int) –
The option to create either quad or tria element after combine.
0 - Tria
1 - Quad
validity (bool) – The Boolean option to check the validity of combines element. If
validity=True, element is created, else no combine operation is performed.
Example#
Combine two elements with IDs 2 and 3 into a quad element#import hm import hm.entities as ent model = hm.Model() Collection = hm.Collection(model,ent.Element,[2,3]) model.combineelements(elements=Collection,tolerance=1.0,quadstrias=1,validity=True)