*elementtestinterangle

Tests 2 and 3 dimensional elements for whether or not they pass the interior angle element quality check, and puts those that fail on the specified outputmark.

Syntax

*elementtestinterangle entities markmask testangle trias outputmark wantmin dimension contour title

Type

HyperMesh Tcl Modify

Description

Tests 2 and 3 dimensional elements for whether or not they pass the interior angle element quality check, and puts those that fail on the specified outputmark.

Inputs

entities
The entity types to be checked. Currently, elements is the only allowable option.
markmask
The mark that contains the elements to test.
testangle
The value to use as a threshold beyond which elements should be considered to have failed the test (in degrees).
trias
A nonzero value indicates to test trias or tria faces, as opposed to quads or quad faces.
outputmark
The mark where HyperMesh should put the elements that fail the test.
wantmin
A nonzero value indicates to check if the element's smallest angle is less than the threshold, as opposed to its largest angle being greater than the threshold.
dimension
A code telling to measure the dimension of:
  • 1 - Measure 1D elements.
  • 2 - Measure 2D elements.
  • 4 - Measure 3D elements.
contour
A code telling if HyperMesh should:
  • 0 - Display the results of the test normally.
  • 1 - Display the elements color coded by their ratings.
  • 2 - Build a histogram showing the distribution of ratings.
title
The title to label the curve in the histogram.

Example

*createmark(elements,1) "displayed"
*createmark(elements,2)
*elementtestinterangle(elements,1,135.0,0,2,0,2,0,"Quad Max Angle")

The details of the interior angle element quality check can be found in the online help for the Check Elements panel.