*delete_logo
Removes geometric logos.
Syntax
*delete_logomark_id max_height max_size concavity_factor
Type
HyperMesh Tcl Modify Command
Description
Removes small geometric features that represent company logos from the model design.
Inputs
- mark_id
- The ID of the mark containing the surfaces or solids to consider for logo removal. Valid values are 1 and 2.
- max_height
- The maximum height/depth of a letter in the logo, as measured normal to the "shiny" surface.
- max_size
- The maximum size of a letter in the logo, as measured along/parallel to the "shiny" surface.
- concavity_factor
- Creates a filter to provide more flexible control of automatic logo recognition. This is a heuristic tool and may remove real features (such as flat bottom round dimples) which are not intended for removal.
Examples
To remove logos from all surfaces, using a max size of 30.0, a max height of 1.1 and a
concavity factor of
2.0:
*createmark surfs 1 all
*delete_logo 1 1.1 30.0 2.0
To remove logos from all surfaces, auto-calculating the max height and
size:
*createmark surfs 1 all
*delete_logo 1 -1.0 -1.0 2.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
2017.1 - Solids are now supported.