Model.surfacemarkremoveallpinholes#

Model.surfacemarkremoveallpinholes(collection, diameter)#

Removes all pinholes of a specified size from the specified surfaces.

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

  • diameter (double) – The upper-limit of the pinhole’s diameter.

Example#

Remove all pinholes of all surfaces use a radius of 5.0#
import hm
import hm.entities as ent

model = hm.Model()

model.surfacemarkremoveallpinholes(
    collection=hm.Collection(model, ent.Surface), diameter=5.0
)