*detectandcreatefeatures

Detect all feature types within the filter options and create feature entities.

Syntax

*detectandcreatefeatures ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Detect all feature types within the filter options and create feature entities.

Inputs

hole2d_detection=<0/1>
The detection of 2D holes.
0 - Off
1 - On
hole3d_detection=<0/1>
The detection of 3D holes.
0 - Off
1 - On
fillet_detection=<0/1>
The detection of fillets.
0 - Off
1 - On
flange2d_detection=<0/1>
The detection of 2D flanges.
0 - Off
1 - On
logo_detection=<0/1>
The detection of logos.
0 - Off
1 - On
surf_mark=<mark_id>
The ID of the mark containing the surface entities (geometry input). Valid values are 1 and 2.
elem_mark=<mark_id>
The ID of the mark containing the elements (FE input). Valid values are 1 and 2. Not supported for features of type fillet and logo.
hole2d_minradius=<value>
The minimum radius of 2D holes to be detected as a feature.
hole2d_maxradius=<value>
The maximum radius of 2D holes to be detected as a feature.
hole3d_stephole=<0/1>
0 - Each barrel is considered as an individual hole (default).
1 - The full step hole is considered as a single hole.
hole3d_minradius=<value>
The minimum radius of a 3D hole to be detected as a feature (default 0.01).
hole3d_maxradius=<value>
The maximum radius of a 3D hole to be detected as a feature (default 20.0).
hole3d_maxdepth=<value>
The maximum length of a 3D hole to be detected as a feature.
fillet_minradius=<value>
The minimum radius a fillet to be detected as a feature.
fillet_maxradius=<value>
The maximum radius of a fillet to be detected as a feature.
flange2d_maxwidth=<value>
The maximum width of a 2D flange to be detected as a feature.
logo_maxwidth=<value>
The maximum width of a logo to be detected as a feature.
logo_maxheight=<value>
The maximum height of the logo to be detected as a feature.
logo_concavityfactor=<value>
The concavity factor value to be considered during logo detection (default 1.0).

Examples

To detect 2D holes with minimum radius of 0.02 and maximum radius of 20.0:
*createmark surfs 1 all
*detectandcreatefeatures holes2d=true surf_mark=1 elem_mark=2 hole2d_minrad=0.02 hole2_maxrad=20.0

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

2021.1

2022.1 - The mark argument has been replaced with new arguments elem_mark and surf_mark.