Model.solid_untrim#

Model.solid_untrim(collection, force)#

Untrims solids by removing surfaces that separate them.

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

  • force (int) –

    0 - Only surfaces that separate solids (solid on both sides) are removed.

    1 - Surfaces are deleted even if there is no solid on one of the sides. Normally this causes solid destruction but it may be useful as a way to remove solid cavities.

Example#

Untrimme the surface with ID 100#
import hm
import hm.entities as ent

model = hm.Model()

model.solid_untrim(collection=hm.Collection(model, ent.Surface, [100]), force=0)