*midmesh_inspect_fix_problems
Repairs found problems in the midmesh inspect module.
Syntax
*midmesh_inspect_fix_problems entity_type mark_id ProblemType=<value> ?<option1>=<value1>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Repairs found problems in the midmesh inspect module. This must be preceded by a call to *midmesh_inspect_init.
Inputs
- entity_type
- The type of entity to repair. Valid values are elements and nodes.
- mark_id
- The ID of the mark of entities to repair. Valid values are 1 and 2.
- ProblemType=<value>
- The type of problem to repair. Valid values are EdgeOffSolidEdge, ElemCenterOffMid, NodeOffMid, and NodeOffSolidEdge. This is a mandatory option.
- SmoothClusters=<value>
- Enables (1) or disables (0, default) smoothing after correction.
- SmoothMethod=<value>
- If SmoothClusters=1, this sets the smoothing method to use. Valid values are Auto, FixShape, FixSize, and QI.
Examples
*createmark components 1 "shell"
*createmark components 2 "MidmeshEdges" "Mid"
*midmesh_inspect_init SourceEntityType=components SourceMark=1 TargetEntityType=components TargetMark=2 MinNodeOffMidDeviation=0.2
*midmesh_inspect_fix_problems nodes 2 ProblemType=NodeOffMid SmoothClusters=1 SmoothMethod=Auto
*midmesh_inspect_delete_sets 2
*midmesh_inspect_end
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021