*autotopocleanuplimited
Performs a limited set of topology cleanup operations on CAD or FE surfaces.
Syntax
*autotopocleanuplimited mark_id element_size min_element_size proximity_suppression_threshold sharp_step_surfs_suppression_width flat_features_suppression_level ?option=<value>?
Type
HyperMesh Tcl Modify Command
Description
Performs a limited set of topology cleanup operations, including merging of narrow surfaces by suppressing topological edges and suppressing topological edges representing flat features. It takes CAD or FE surfaces as the input.
Inputs
- mark_id
- The ID of the mark containing the input surfaces. Valid values are 1 and 2.
- element_size
- The target element size.
- min_element_size
- The minimum element size. The value should be smaller than the element_size.
- proximity_suppression_threshold
- The maximal distance between topological edges of surfaces triggering a partial or complete suppression of one of the edges in proximity. Values smaller or equal to 0 disable the proximity suppression operation, including suppression of sharp edges.
- sharp_step_surfs_suppression_width
- The maximal width threshold for narrow surfaces with sharp edges. If the surface width is lower than the specified value, sharp edges are allowed to be suppressed. If set to 0, sharp edges are not allowed to be suppressed by the proximity suppression tool.
- flat_features_suppression_level
- The integer value controlling the suppression level of flat features' edges. The valid value range is 0 (disabled) to 6 (highest suppression level). Applicable to CAD surfaces only.
- adj_surfs_layers=<value>
- The number of additional layers of surfaces with respect to the original selection. This allows to merge narrow surfaces by edges suppression even if only narrow surfaces are selected. The recommended value is 1. If the option is selected, edges of the originally selected surfaces are allowed to be suppressed.
Examples
To perform topology cleanup on all surfaces of the model using a target element size of
8.0, minimal element size of 4.0, proximity suppression threshold of 3.0, sharp edge
suppression threshold of 1.1, and flat feature suppression level of
1:
*createmark surfs 1 all
*autotopocleanuplimited 1 8.0 4.0 3.0 1.1 1
To perform topology cleanup on narrow surfaces with IDs 165 24 345 allowing to use adjacent
surfaces using a target element size of 8.0, minimal element size of 4.0, proximity
suppression threshold of 3.0, sharp edge suppression threshold of 1.1, and flat feature
suppression level of
1:
*createmark surfs 1 165 24 345
*autotopocleanuplimited 1 8.0 4.0 3.0 1.1 1 adj_surfs_layers=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
2021.2
2022.2 - Added new optional argument adj_surfs_layers.