*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.
- vector_id
- The temporary vector ID created using the *createvector command that defines the normal direction. Must be set to 1.
- symmetry_flag
- 0 - No symmetry plane defined.
- plane_id
- The temporary plane ID created using the *createplane command that defines the symmetry plane. Must be set to 1.
- reduce_depth
- 0 - Do not reduce the draw depth.
- reduce_undercut
- 0 - Do not reduce the undercut.
- alignment_flag
- 0 - Do not optimize the blank area.
- reposition_stamping
- -1 - Do not tip the part in the stamping direction.
- reposition_CAD
- -1 - Do not 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