Model.refineelementsbydeviation#

Model.refineelementsbydeviation(collection, deviation, minlength)#

Refine elements to chordal deviation.

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

  • deviation (double) – The maximum chordal deviation.

  • minlength (double) – The minimum element edge size.

Example#

Refine the elements to chordal deviation#
import hm
import hm.entities as ent

model = hm.Model()

model.refineelementsbydeviation(
    collection=hm.Collection(model, ent.Element, [86, 88, 113]),
    deviation=0.01,
    minlength=0.1,
)