Model.hm_ce_mesh_imprint_option_set#

Model.hm_ce_mesh_imprint_option_set(name, value)#

Sets a mesh imprint option value.

Parameters:
  • name (hwString) –

    Valid names are:

    avoid_imprint - If enabled, create patches and resolve conflicts, skip mesh imprint.

    avoid_int_snapping - If enabled, avoid snapping in meshing side.

    keep_snap - If enabled, do snapping during patch creation.

    skip_imprint - If enabled, just create patches, skip mesh imprint.

    skip_overlap_check - If enabled, skip conflict checks.

    strict_imprint - If enabled, any conflict causes an error.

  • value (unsigned int) – The value of the option, 0 or 1.

Returns:

Example#

Set the value of avoid_imprint to 1#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_ce_mesh_imprint_option_set(
    name="avoid_imprint",
    value=1
)