*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
mark=<mark_id>
The ID of the mark containing the input entities. Currently supported for surfaces and elements. Valid values are 1 and 2.
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 mark=1 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