Model.movecuttingplane#

Model.movecuttingplane(axis, distance)#

Moves a cutting plane a specified distance.

Parameters:
  • axis (int) –

    The axis that is normal to the plane. Valid values are:

    0 - The plane with x-axis as its normal

    1 - The plane with y-axis as its normal

    2 - The plane with z-axis as its normal

  • distance (double) – The distance to move the cutting plane along the plane normal.

Example#

Move the cut plane with y - axis as its normal by a value of 5.0#
import hm
import hm.entities as ent

model = hm.Model()

model.movecuttingplane(axis=1, distance=5.0)