Model.remove_fe_cracks#

Model.remove_fe_cracks(collection, stitch_tol)#

Stitches free edge loops in FE.

Parameters:
  • collection (Collection) – The collection containing the element entities to stitch.

  • stitch_tol (double) – The tolerance to use for stitching.

Example#

Stitch all displayed element cracks , use a tolerance of 0.1#
import hm
import hm.entities as ent

model = hm.Model()

model.remove_fe_cracks(
    collection=hm.CollectionByDisplayed(model, ent.Element), stitch_tol=0.1
)