*normalsadjustbynodes

Adjusts the normals of 3D elements according to nodes of a solid element.

Syntax

*normalsadjustbynodes entity_type mark_id node_mark_id size display

Type

HyperMesh Tcl Modify

Description

Adjusts the normals of 3D elements according to nodes of a solid element.

Inputs

entity_type
The type of entity to adjust normals for. Valid values are elements and components.
mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
node_mark_id
The ID of the mark containing the nodes that define the selected solid element face. Valid values are 1 and 2.
size
Specifies the size of the normal graphics to be drawn. If set to zero, the vector is drawn at 10% of the screen size.
display
0 - Display all elements normals upon command completion.
1 - Display only adjusted element normals upon command completion.

Example

To adjust the normals of elements 1-10 based on faces defined by nodes 5, 7 and 9 using a display size of 10.0:

*createmark elems 1 1-10
*createmark nodes 1 5 7 9 
*normalsadjustbynodes elems 1 1 10.0 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.120