Model.surfacemarksplitwithelemedges#

Model.surfacemarksplitwithelemedges(surf_colllection, edge_list)#

Trims the input CAD and/or FE surfaces by selected list of element edges.

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

  • edge_list (hwString) – A string representing a list of element edges represented by start and end node IDs of each edge.

Example#

Trim the surface with ID 3425 by the list of element edges defined by node ID pairs 1098 - 1096 , 1034 - 1100 , 1034 - 1035 , and 1100 - 1098#
import hm
import hm.entities as ent

model = hm.Model()

model.surfacemarksplitwithelemedges(
    surf_colllection=hm.Collection(model, ent.Surface, [3425]),
    edge_list="1098-1096 1034-1100 1034-1035 1100-1098",
)