*morphremeshedges

Remeshes selected elements or domains with the target element size.

Syntax

*morphremeshedges e_entity_type e_mark_id starg size skew mesh preserve qa

Type

HyperMesh Tcl Modify Command

Description

This command will remesh the selected domains or elements using the parameters specified. If domains are selected, edge domains between selected domains or along free edges will also be remeshed.

Shapes will be preserved no matter if they are saved as node or handle perturbations. Note that the morphs on the undo/redo list are not preserved unless the preserve flag is set.

If auto smoothing is turned on, remeshed domains will also be smoothed.

During remeshing, HyperMorph will preserve nodes which are part of morph constraints or which have handles attached to them.

Inputs

e_entity_type
Valid values are domains and elems.
e_mark_id
The ID of the mark containing the domains or elements. Valid values are 1 and 2.
starg
The target element size. If ≤ 0, the target element size used will be the average element size for the entities on the mark.
size
0 - Do not use size control in remeshing
1 - Use size control
skew
0 - Do not use skew control in remeshing
1 - Use skew control
mesh
0 - Mesh with trias
1 - Mesh with quads
2 - Mesh with trias and quads
3 - Mesh with right trias
preserve
0 - Do not preserve shapes after remesh, do auto QA if set.
1 - Preserve shapes after remesh, do auto QA if set.
2 - Do not preserve shapes after remesh, do not do auto QA if set.
3 - Preserve shapes after remesh, do not do auto QA if set.
qa
0 - Do not wait during auto quality check
1 - Wait for mouse click during auto quality check

Examples

To remesh all domains with a target element size of 10.0 model units:

*createmark domains 1 "all"
*morphremeshedges domains 1 10.0 1 1 1 1 0

To remesh all elements with a target element size of 10.0 model units:

*createmark elems 1 "all"
*morphremeshedges elems 1 10.0 1 1 1 1 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

9.0