Model.setcuttingplanethicknesson#

Model.setcuttingplanethicknesson(axis, state)#

Turns the specified cutting plane thickness on/off.

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

  • state (int) –

    Specifies the thickness state for the specified cutting plane. Valid values are:

    0 - off

    1 - on

Example#

Turn off the thickness for cut plane with y - axis as its normal#
import hm
import hm.entities as ent

model = hm.Model()

model.setcuttingplanethicknesson(axis=1, state=0)