Model.surfacesplitwithsurface#

Model.surfacesplitwithsurface(surface1, surface2)#

Splits one surface with another.

Parameters:
  • surface1 (Entity) – The entity surface to be split.

  • surface2 (Entity) – The entity surface used to split surface1.

Example#

Split the surface with ID 1 with the surface with ID 2#
import hm
import hm.entities as ent

model = hm.Model()

model.surfacesplitwithsurface(
    surface1=ent.Surface(model, 1), surface2=ent.Surface(model, 2)
)