*hf_CheckDieModuleElementsRES

Creates and visualizes the contour of draw depth, trim angle and undercut.

Syntax

*hf_CheckDieModuleElementsRES entity_type_part mark_id_part entity_type_binder mark_id_binder vector_id flag

Type

HyperMesh Tcl Modify Command

Description

This command creates and visualizes the contour of draw depth, trim angle and undercut of the elements part with respect to the binder surface. The draw depth, the trim angle and the undercut value are evaluated with respect to the stamping direction.

Inputs

entity_type_part
The entity type of the part. Must be set to elems.
mark_id_part
The mark ID containing the part entities. Valid values are 1 and 2.
entity_type_binder
The entity type of the binder. Must be set to surfs.
mark_id_binder
The mark ID containing the binder entities. Valid values are 1 and 2.
vector_id
The temporary vector ID created using the *createvector command that defines the stamping direction.
flag
A flag that indicates what to visualize. Valid values are:
  • -2 - Trim angle on trim line.
  • -1 - Draw depth between part and z=0 plane.
  • 1 - Draw depth between part and binder.
  • 2 - Trim angle on the part.
  • 3 - Undercut on the part.

Example

To visualize the contour of the draw depth between the part and the binder with respect to the z-axis:
*createmark elems 1 displayed
*createmark surfs 1 displayed
*createvector 1 0.0 0.0 1.0
*hf_CheckDieModuleElementsRES elems 1 surfs 1 1 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0