*features_advanced

Generates plot elements between two-dimensional elements whose normals exceed the user-specified angle.

Syntax

*features_advanced entity_type mark_id feature_angle type break_angle created_entity smooth string_array number_of_strings

Type

HyperMesh Tcl Modify Command

Description

Generates plot elements between two-dimensional elements whose normals exceed the user-specified angle.

Inputs

entity_type
The input entity type. Valid values are elements and components.
mark_id
The mark ID that contains the input entities. Valid values are 1 and 2.
feature_angle
The maximum angle allowed between any two plate elements before a plot element or a line is generated between the shared sides of the two elements.
type
  • 0 - Simple
  • 1 - Advanced. This creates features based on the recognition of natural transitions between basic surfaces such as planes or cylinders, as well as features based on the feature angle. When using this option, a feature angle of 60 degrees or more is recommended.
  • 2 - Connected
break_angle
If created_entity = 1, the angle specifying when to break the feature line created into multiple line segments. When the angle between adjoining elements along the feature is larger than the specified value, it splits the line into multiple segments.
created_entity
  • 0 - Creates plot elements to represent the features.
  • 1 - Creates geometric lines representing feature lines.
smooth
  • 0 - Do not smooth the lines.
  • 1 - Smooth the line created through the nodes of the feature.
string_array
The ID of the string array that contains the array of parameters. The string array is created using the *createstringarray command. This should always be set to 1.
Each argument can be either space or comma separated.
IgnoreNormal: <value>
0 - Create features if the angle between adjacent elements is greater than feature_angle, but less than (PI-feature_angle).
1 - Do not create features based on normals.
MergeSmallArea: <value>
Used only when type is set to 1.
  • 0 - Do not merge small features.
  • 1 - Merge features of two regions if their area ratio is less than MergeSmallAreaRatio.
MergeSmallAreaRatio: <value>
The area ratio to use when MergeSmallArea is set to 1.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Example

To create smooth lines representing features on the component hood based on 30.0 degrees feature angle and 20.0 degrees break angle:
*createmark comps 1 hood
*createstringarray 2 "MergeSmaleArea: 1" "MergeSmallAreaRatio 0.5"
*features_advance comps 1 30.0 1 30.0 1 2 2

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

13.0