Model.reviewcontactnormalinconsistency#

Model.reviewcontactnormalinconsistency(entity_type, name, flag=0, elements_3d_flag=0)#

Graphically reviews the group entity region where the contact normal is inconsistent.

Parameters:
  • entity_type (EntityFullType) – The type of entity to review. Currently only supported for groups.

  • name (hwString) – The name of the entity to review.

  • flag (int) –

    0 - Review secondary elements

    1 - Review main elements

  • elements_3d_flag (int) –

    0 - Ignore 3D elements

    1 - Consider 3D elements

Examples#

Review the region where group “group1” has inconsistent main element contact normals#
import hm
import hm.entities as ent

model = hm.Model()

model.reviewcontactnormalinconsistency(
    entity_type=ent.Group, name="group1", flag=1, elements_3d_flag=0
)
Review the region where group “ group1 “ has inconsistent secondary element contact normals#
import hm
import hm.entities as ent

model = hm.Model()

model.reviewcontactnormalinconsistency(
    entity_type=ent.Group, name="group1", flag=0, elements_3d_flag=0
)