*hf_DiePartPositioning

Repositions the model to avoid an undercut for the die module.

Syntax

*hf_DiePartPositioning entity_type mark_id vector_id symmetry_flag plane_id reduce_depth reduce_undercut alignment_flag reposition_stamping reposition_CAD

Type

HyperMesh Tcl Modify

Description

This command repositions the model to avoid an undercut for the die module.

Inputs

entity_type
Must be set to elems. This is currently ignored.
mark_id
The mark ID containing the elements. Valid values are 1 and 2.
The entities on the mark are currently ignored.
vector_id
The temporary vector ID created using the *createvector command that defines the normal direction. Must be set to 1.
The vector is currently ignored.
symmetry_flag
0 - No symmetry plane defined.
1 - Symmetry plane defined by plane_id.
plane_id
The temporary plane ID created using the *createplane command that defines the symmetry plane. Must be set to 1.
Use only when symmetry_flag is 1.
reduce_depth
0 - Do not reduce the draw depth.
1 - Reduce the draw depth.
reduce_undercut
0 - Do not reduce the undercut.
1 - Reduce the undercut.
alignment_flag
0 - Do not optimize the blank area.
1 - Optimize the blank area.
reposition_stamping
-1 - Do not tip the part in the stamping direction.
1 - Tip the part in the stamping direction.
reposition_CAD
-1 - Do not tip the part in the CAD system.
0 - Tip the part in the CAD system.

Example

To reposition the model:
*createmark elems 1
*createvector 1 0.0 0.0 1.0
*createplane 1 -0.586757294 -0.809460681 -0.022119755 -130.806 8.053 26.519
*hf_DiePartPositioning elems 1 1 0 1 1 1 0 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