Model.linecreateatsurfacefeatures#

Model.linecreateatsurfacefeatures(collection, reserved, radius)#

Detects locations of internal surface features defined as high curvature areas or discontinuities on input surfaces, and splits surfaces at those locations to provide improved meshing conditions.

Parameters:
  • collection (Collection) – The collection containing the input surface entities.

  • reserved (int) – Reserved for future development. Must be set to 0.

  • radius (double) – The minimal curvature radius value. If set to negative or zero, then the radius is estimated automatically from the input surface size.

Example#

Detect the location of the internal surfaces from all the dispalyed surfaces with a minimal curvature radius value of 0.5#
import hm
import hm.entities as ent

model = hm.Model()

model.linecreateatsurfacefeatures(
    collection=hm.CollectionByDisplayed(model, ent.Surface), reserved=0, radius=0.5
)